Home
last modified time | relevance | path

Searched refs:isPrimaryZone (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZone.java91 boolean isPrimaryZone() { in isPrimaryZone() method in CarAudioZone
245 isPrimaryZone()); in dump()
270 proto.write(CarAudioZoneProto.PRIMARY_ZONE, isPrimaryZone()); in dumpProto()
DCarAudioZonesValidator.java105 zone.isPrimaryZone() && useCoreAudioRouting)) { in validateZoneConfigsForEachZone()
DCarAudioFocus.java1207 return (defaultCarAudioFadeConfigFromXml == null || mCarAudioZone.isPrimaryZone()) in getTransientFadeManagerConfig()
DCarAudioService.java2111 private void updateFadeManagerConfigurationLocked(boolean isPrimaryZone) {
2112 if (!mUseFadeManagerConfiguration || !isPrimaryZone) {
3241 updateFadeManagerConfigurationLocked(zone.isPrimaryZone());
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java471 expectWithMessage("Primary zone").that(zones.get(0).isPrimaryZone()).isTrue(); in loadAudioZones_parsesIsPrimary()
472 expectWithMessage("Primary secondary zone").that(zones.get(2).isPrimaryZone()).isFalse(); in loadAudioZones_parsesIsPrimary()
489 .that(zones.get(0).isPrimaryZone()).isTrue(); in loadAudioZones_versionTwoParsesIsPrimary()
491 .that(zones.get(2).isPrimaryZone()).isFalse(); in loadAudioZones_versionTwoParsesIsPrimary()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioZoneUnitTest.java203 expectWithMessage("Primary zone").that(primaryZone.isPrimaryZone()).isTrue(); in isPrimaryZone_forPrimaryZone_returnsTrue()
208 expectWithMessage("Non-primary zone").that(mTestAudioZone.isPrimaryZone()).isFalse(); in isPrimaryZone_forNonPrimaryZone_returnsFalse()
DCarAudioFocusUnitTest.java2049 when(mMockCarAudioZone.isPrimaryZone()).thenReturn(zoneId == PRIMARY_AUDIO_ZONE); in getCarAudioFocus()