Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarZonesAudioFocusUnitTest.java72 private CarZonesAudioFocus.CarFocusCallback mMockCarFocusCallback; field in CarZonesAudioFocusUnitTest
88 mMockCarFocusCallback) in newCarZonesAudioFocus_withNullAudioManager_throws()
96 null, mMockZones, mCarAudioSettings, true, mMockCarFocusCallback) in newCarZonesAudioFocus_withNullPackageManager_throws()
104 mMockPackageManager, null, mCarAudioSettings, true, mMockCarFocusCallback) in newCarZonesAudioFocus_withNullCarAudioZones_throws()
113 mMockCarFocusCallback) in newCarZonesAudioFocus_withEmptyCarAudioZones_throws()
121 mMockPackageManager, mMockZones, null, true, mMockCarFocusCallback) in newCarZonesAudioFocus_withNullCarAudioSettings_throws()
188 verify(mMockCarFocusCallback) in onAudioFocusRequest_withFocusCallback_callsOnFocusChange()
228 verify(mMockCarFocusCallback).onFocusChange(eq(expectedZoneIds), captor.capture()); in setRestrictFocus_notifiesFocusCallbackForAllZones()
271 mMockCarFocusCallback); in getCarZonesAudioFocus()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTest.java84 private CarFocusCallback mMockCarFocusCallback; field in CarZonesAudioFocusTest
290 verify(mMockCarFocusCallback).onFocusChange(eq(new int[]{PRIMARY_ZONE_ID}), in onAudioFocusRequest_notifiesFocusCallback()
305 verify(mMockCarFocusCallback).onFocusChange(eq(new int[]{PRIMARY_ZONE_ID}), in onAudioFocusAbandon_notifiesFocusCallback()
340 mCarAudioSettings, enableDelayedFocus, mMockCarFocusCallback); in getCarZonesAudioFocus()