Home
last modified time | relevance | path

Searched refs:getZoneId (Results 1 – 25 of 39) sorted by relevance

12

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainConfigInfo.java44 public int getZoneId() { in getZoneId() method in CarAudioGainConfigInfo
59 + getZoneId() in toString()
75 return getZoneId() == other.getZoneId() in equals()
82 return Objects.hash(getZoneId(), getDeviceAddress(), getVolumeIndex()); in hashCode()
DCarAudioPolicyVolumeCallback.java109 mVolumeCallback.onGroupVolumeChange(info.getZoneId(), info.getId(), in evaluateVolumeAdjustmentExternal()
115 mVolumeCallback.onMuteChange(info.isMuted(), info.getZoneId(), info.getId(), flags); in evaluateVolumeAdjustmentExternal()
121 mCarVolumeInfo.getVolumeGroupInfo(info.getZoneId(), info.getId()); in evaluateVolumeAdjustmentExternal()
123 mVolumeCallback.onMuteChange(info.isMuted(), info.getZoneId(), in evaluateVolumeAdjustmentExternal()
127 mVolumeCallback.onGroupVolumeChange(info.getZoneId(), in evaluateVolumeAdjustmentExternal()
DCarAudioZone.java178 if (zoneConfig.getZoneId() != mId) { in validateZoneConfigs()
181 zoneConfig.getZoneId(), in validateZoneConfigs()
DCarDuckingInfo.java57 public int getZoneId() { in getZoneId() method in CarDuckingInfo
DCarAudioGainMonitor.java84 int zone = gain.getZoneId(); in handleAudioDeviceGainsChanged()
DCarAudioPlaybackMonitor.java130 int zoneId = currentZoneConfig.getZoneId(); in getActivationInfo()
DCarHalAudioUtils.java51 duckingInfo.zoneId = carDuckingInfo.getZoneId(); in generateDuckingInfo()
DCarAudioZoneConfig.java100 int getZoneId() { in getZoneId() method in CarAudioZoneConfig
636 int getZoneId() { in getZoneId() method in CarAudioZoneConfig.Builder
DCarAudioZonesHelper.java424 final int audioZoneId = getZoneId(isPrimary, parser); in parseAudioZone()
458 private int getZoneId(boolean isPrimary, XmlPullParser parser) { in getZoneId() method in CarAudioZonesHelper
648 mCarAudioSettings, mCarAudioContext, zoneConfigBuilder.getZoneId(), in parseVolumeGroups()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarDuckingUtilsTest.java145 assertThat(duckingInfo.getZoneId()).isEqualTo(ZONE_ID); in generateDuckingInfo_succeed()
163 assertThat(duckingInfo1.getZoneId()).isEqualTo(ZONE_ID); in generateDuckingInfo_succeed()
179 assertThat(duckingInfo2.getZoneId()).isEqualTo(ZONE_ID); in generateDuckingInfo_succeed()
192 assertThat(duckingInfo3.getZoneId()).isEqualTo(ZONE_ID); in generateDuckingInfo_succeed()
DCarAudioPolicyVolumeCallbackTest.java413 TEST_PRIMARY_GROUP_INFO.getZoneId(), TEST_PRIMARY_GROUP_INFO.getId(), in onVolumeAdjustment_onMute_withOemVolumeService_withChange()
427 verify(mVolumeCallbackInternal).onGroupVolumeChange(TEST_PRIMARY_GROUP_INFO.getZoneId(), in onVolumeAdjustment_onRaise_withOemVolumeService_withChange()
448 changedInfo.getZoneId(), changedInfo.getId(), TEST_EXPECTED_FLAGS); in onVolumeAdjustment_onSame_withOemVolumeService_muteChanged()
467 verify(mVolumeCallbackInternal).onGroupVolumeChange(changedInfo.getZoneId(), in onVolumeAdjustment_onSame_withOemVolumeService_gainChanged()
DCarDuckingInfoTest.java90 assertThat(duckingInfo.getZoneId()).isEqualTo(ZONE_ID); in constructor_validInputs_succeeds()
DCarAudioGainConfigInfoTest.java49 .that(carGainInfo.getZoneId()) in constructor_succeeds()
/packages/services/Car/tests/carservice_unit_test/src/android/car/media/
DCarAudioZoneConfigInfoUnitTest.java101 public void getZoneId() { in getZoneId() method in CarAudioZoneConfigInfoUnitTest
103 .that(TEST_ZONE_CONFIG_INFO.getZoneId()).isEqualTo(TEST_ZONE_ID); in getZoneId()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioUtils.java44 .filter(c -> c.getZoneId() == zoneId && c.getConfigId() == configId) in getCarAudioZoneConfigInfoOrNull()
DAudioConfigurationInformationTabs.java59 if (info.getZoneId() != mZoneId) { in updateConfigs()
DZoneConfigInfoFragment.java67 zoneView.setText(context.getString(generic_name_and_id, "Zone id", info.getZoneId())); in onCreateView()
DZoneConfigSelectionController.java236 zoneConfigInfo.getZoneId()); in getUpdatedConfigInfo()
DAudioConfigurationTestFragment.java199 zoneId = info.getZoneId(); in setAutoConnectConfiguration()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntry.java81 mZoneId = batteryInformation.getZoneId(); in BatteryHistEntry()
111 mZoneId = batteryInformation.getZoneId(); in BatteryHistEntry()
/packages/services/Car/service/src/com/android/car/user/
DExperimentalCarUserService.java510 int zoneId = getZoneId(occupantType); in getAvailablePassengerZone()
594 private int getZoneId(@CarOccupantZoneManager.OccupantTypeEnum int occupantType) { in getZoneId() method
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtilsTest.java127 assertThat(batteryInformation.getZoneId()).isEqualTo(TimeZone.getDefault().getID()); in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()
192 assertThat(batteryInformation.getZoneId()).isEqualTo(TimeZone.getDefault().getID()); in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()
230 assertThat(batteryInformation.getZoneId()).isEqualTo(TimeZone.getDefault().getID()); in convertBatteryEntryToContentValues_nullBatteryEntry_returnsExpectedContentValues()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DVolumeUI.java110 if (infos.get(infoIndex).getZoneId() == mAudioZoneId) {
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioZoneConfigInfo.java146 public int getZoneId() { in getZoneId() method in CarAudioZoneConfigInfo
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DVolumeTestFragment.java225 fragment = mZoneVolumeFragments.get(groupInfos.get(0).getZoneId()); in sendFragmentChangedMessageForEvents()

12