Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTest.java98 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_withNoCurrentFocusHolder_requestGranted() local
101 requestFocusAndAssertIfRequestNotGranted(carZonesAudioFocus, audioFocusInfo); in onAudioFocusRequest_withNoCurrentFocusHolder_requestGranted()
109 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_forTwoDifferentZones_requestGranted() local
113 requestFocusAndAssertIfRequestNotGranted(carZonesAudioFocus, audioFocusInfoClient1); in onAudioFocusRequest_forTwoDifferentZones_requestGranted()
120 requestFocusAndAssertIfRequestNotGranted(carZonesAudioFocus, audioFocusInfoClient2); in onAudioFocusRequest_forTwoDifferentZones_requestGranted()
131 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_forTwoDifferentZones_abandonInOne_requestGranted() local
134 requestFocusAndAssertIfRequestNotGranted(carZonesAudioFocus, audioFocusInfoClient1); in onAudioFocusRequest_forTwoDifferentZones_abandonInOne_requestGranted()
141 requestFocusAndAssertIfRequestNotGranted(carZonesAudioFocus, audioFocusInfoClient2); in onAudioFocusRequest_forTwoDifferentZones_abandonInOne_requestGranted()
143 carZonesAudioFocus.onAudioFocusAbandon(audioFocusInfoClient2); in onAudioFocusRequest_forTwoDifferentZones_abandonInOne_requestGranted()
154 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_withBundleFocusRequest_requestGranted() local
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarZonesAudioFocusUnitTest.java270 CarZonesAudioFocus carZonesAudioFocus = new CarZonesAudioFocus(mFocusMocks, true, in getCarZonesAudioFocus() local
272 carZonesAudioFocus.setOwningPolicy(mCarAudioService, mAudioPolicy); in getCarZonesAudioFocus()
274 return carZonesAudioFocus; in getCarZonesAudioFocus()