Home
last modified time | relevance | path

Searched refs:mCarAudioZoneConfigs (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZone.java61 private final SparseArray<CarAudioZoneConfig> mCarAudioZoneConfigs; field in CarAudioZone
74 mCarAudioZoneConfigs = new SparseArray<>(); in CarAudioZone()
97 return mCarAudioZoneConfigs.get(mCurrentConfigId); in getCurrentCarAudioZoneConfig()
103 for (int c = 0; c < mCarAudioZoneConfigs.size(); c++) { in getDefaultAudioZoneConfigInfo()
104 if (!mCarAudioZoneConfigs.valueAt(c).isDefault()) { in getDefaultAudioZoneConfigInfo()
107 return mCarAudioZoneConfigs.valueAt(c).getCarAudioZoneConfigInfo(); in getDefaultAudioZoneConfigInfo()
116 List<CarAudioZoneConfig> zoneConfigList = new ArrayList<>(mCarAudioZoneConfigs.size()); in getAllCarAudioZoneConfigs()
117 for (int index = 0; index < mCarAudioZoneConfigs.size(); index++) { in getAllCarAudioZoneConfigs()
118 zoneConfigList.add(mCarAudioZoneConfigs.valueAt(index)); in getAllCarAudioZoneConfigs()
171 if (mCarAudioZoneConfigs.size() == 0) { in validateZoneConfigs()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DTestCarAudioZoneBuilder.java31 private final List<CarAudioZoneConfig> mCarAudioZoneConfigs = new ArrayList<>(); field in TestCarAudioZoneBuilder
51 mCarAudioZoneConfigs.add(carAudioZoneConfig); in addCarAudioZoneConfig()
59 for (int i = 0; i < mCarAudioZoneConfigs.size(); i++) { in build()
60 carAudioZone.addZoneConfig(mCarAudioZoneConfigs.get(i)); in build()