Searched refs:focusChanges (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarDuckingTest.java | 240 SparseArray<List<AudioFocusInfo>> focusChanges = new SparseArray<>(); in onFocusChange_withMultipleZones_notifiesForEachZone() local 241 focusChanges.put(PRIMARY_ZONE_ID, List.of(mMediaFocusInfo)); in onFocusChange_withMultipleZones_notifiesForEachZone() 242 focusChanges.put(PASSENGER_ZONE_ID, List.of(mNavigationFocusInfo)); in onFocusChange_withMultipleZones_notifiesForEachZone() 244 mCarDucking.onFocusChange(zoneIds, focusChanges); in onFocusChange_withMultipleZones_notifiesForEachZone() 256 SparseArray<List<AudioFocusInfo>> focusChanges = new SparseArray<>(); in onFocusChange_withOemServiceAvailable_notifiesForEachZone() local 257 focusChanges.put(PRIMARY_ZONE_ID, List.of(mMediaFocusInfo)); in onFocusChange_withOemServiceAvailable_notifiesForEachZone() 259 mCarDucking.onFocusChange(zoneIds, focusChanges); in onFocusChange_withOemServiceAvailable_notifiesForEachZone() 271 SparseArray<List<AudioFocusInfo>> focusChanges = new SparseArray<>(); in onFocusChange_withOemServiceReady_notifiesForEachZone() local 272 focusChanges.put(PRIMARY_ZONE_ID, List.of(mMediaFocusInfo)); in onFocusChange_withOemServiceReady_notifiesForEachZone() 274 mCarDucking.onFocusChange(zoneIds, focusChanges); in onFocusChange_withOemServiceReady_notifiesForEachZone() [all …]
|
D | CarAudioFocusUnitTest.java | 282 List<Integer> focusChanges = getFocusChanges(mediaFocusInfo); in onAudioFocusAbandon_whileMediaWaitsForRingerAndCall_focusRegained() local 284 .that(focusChanges).containsExactly(AUDIOFOCUS_LOSS_TRANSIENT, AUDIOFOCUS_GAIN); in onAudioFocusAbandon_whileMediaWaitsForRingerAndCall_focusRegained() 298 List<Integer> focusChanges = getFocusChanges(mediaFocusInfo); in onAudioFocusAbandon_whileMediaWaitsOnCallOnly_focusRegained() local 300 .that(focusChanges).containsExactly(AUDIOFOCUS_LOSS_TRANSIENT, AUDIOFOCUS_GAIN); in onAudioFocusAbandon_whileMediaWaitsOnCallOnly_focusRegained()
|
D | CarAudioServiceUnitTest.java | 4591 List<Integer> focusChanges = getFocusChanges(audioFocusInfo); in switchZoneToConfig_withPendingFocus_regainsFocus() local 4593 .that(focusChanges).containsExactly(AUDIOFOCUS_LOSS_TRANSIENT, AUDIOFOCUS_GAIN); in switchZoneToConfig_withPendingFocus_regainsFocus() 5158 List<Integer> focusChanges = getFocusChanges(audioFocusInfo); in disableAudioMirrorForZone_withPendingFocus() local 5160 .that(focusChanges).containsExactly(AUDIOFOCUS_LOSS_TRANSIENT, AUDIOFOCUS_GAIN); in disableAudioMirrorForZone_withPendingFocus() 5249 List<Integer> focusChanges = getFocusChanges(audioFocusInfo); in disableAudioMirror_withPendingFocus() local 5251 + "mirror for zones config").that(focusChanges) in disableAudioMirror_withPendingFocus()
|