Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTest.java414 when(mMockCarOemProxyService.getCarOemAudioFocusService()) in onAudioFocusRequest_withNullOemService_notifiesFocusCallback()
438 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(true); in onAudioFocusAbandon_withNullCallback_notifiesCarOemAudioFocusService()
439 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in onAudioFocusAbandon_withNullCallback_notifiesCarOemAudioFocusService()
440 when(mMockCarOemProxyService.getCarOemAudioFocusService()) in onAudioFocusAbandon_withNullCallback_notifiesCarOemAudioFocusService()
470 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(true); in onAudioFocusRequest_notifiesCarOemAudioFocusService()
471 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in onAudioFocusRequest_notifiesCarOemAudioFocusService()
472 when(mMockCarOemProxyService.getCarOemAudioFocusService()) in onAudioFocusRequest_notifiesCarOemAudioFocusService()
494 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(true); in onAudioAbandon_notifiesCarOemAudioFocusService()
495 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in onAudioAbandon_notifiesCarOemAudioFocusService()
496 when(mMockCarOemProxyService.getCarOemAudioFocusService()) in onAudioAbandon_notifiesCarOemAudioFocusService()
[all …]
DCarZonesAudioFocusTestBase.java184 protected CarOemProxyService mMockCarOemProxyService; field in CarZonesAudioFocusTestBase
201 CarLocalServices.addService(CarOemProxyService.class, mMockCarOemProxyService); in setUp()
202 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(false); in setUp()
203 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(false); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarDuckingTest.java85 private CarOemProxyService mMockCarOemProxyService; field in CarDuckingTest
100 CarLocalServices.addService(CarOemProxyService.class, mMockCarOemProxyService); in setUp()
253 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in onFocusChange_withOemServiceAvailable_notifiesForEachZone()
254 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(false); in onFocusChange_withOemServiceAvailable_notifiesForEachZone()
268 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in onFocusChange_withOemServiceReady_notifiesForEachZone()
269 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(true); in onFocusChange_withOemServiceReady_notifiesForEachZone()
335 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in enableOemDuckingService()
336 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(true); in enableOemDuckingService()
337 when(mMockCarOemProxyService.getCarOemAudioDuckingService()) in enableOemDuckingService()
DCarAudioPolicyVolumeCallbackTest.java88 private CarOemProxyService mMockCarOemProxyService; field in CarAudioPolicyVolumeCallbackTest
120 CarLocalServices.addService(CarOemProxyService.class, mMockCarOemProxyService); in setUp()
482 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in enableOemVolumeService()
483 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(true); in enableOemVolumeService()
484 when(mMockCarOemProxyService.getCarOemAudioVolumeService()) in enableOemVolumeService()
DCarAudioFocusUnitTest.java137 private CarOemProxyService mMockCarOemProxyService; field in CarAudioFocusUnitTest
152 CarLocalServices.addService(CarOemProxyService.class, mMockCarOemProxyService); in setUp()
1674 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in onAudioFocusRequest_withOemServiceEnabled_capturesFocusRequest()
1675 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(true); in onAudioFocusRequest_withOemServiceEnabled_capturesFocusRequest()
1676 when(mMockCarOemProxyService.getCarOemAudioFocusService()) in onAudioFocusRequest_withOemServiceEnabled_capturesFocusRequest()
1708 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in onAudioFocusRequest_withOemServiceEnabledAndEnabledFadeManager()
1709 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(true); in onAudioFocusRequest_withOemServiceEnabledAndEnabledFadeManager()
1710 when(mMockCarOemProxyService.getCarOemAudioFocusService()) in onAudioFocusRequest_withOemServiceEnabledAndEnabledFadeManager()
1750 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in onAudioFocusRequest_withOemServiceEnabledAndEnableIsolatedFocus()
1751 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(true); in onAudioFocusRequest_withOemServiceEnabledAndEnableIsolatedFocus()
[all …]
DCarZonesAudioFocusUnitTest.java89 private CarOemProxyService mMockCarOemProxyService; field in CarZonesAudioFocusUnitTest
99 CarLocalServices.addService(CarOemProxyService.class, mMockCarOemProxyService); in setUp()
DCarAudioServiceUnitTest.java467 private CarOemProxyService mMockCarOemProxyService; field in CarAudioServiceUnitTest
667 CarLocalServices.addService(CarOemProxyService.class, mMockCarOemProxyService); in setUpService()
1961 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in isAudioFeatureEnabled_withEnabledFocusService()
1962 when(mMockCarOemProxyService.getCarOemAudioFocusService()).thenReturn(focusProxyService); in isAudioFeatureEnabled_withEnabledFocusService()
1976 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in isAudioFeatureEnabled_withEnabledVolumeService()
1977 when(mMockCarOemProxyService.getCarOemAudioVolumeService()).thenReturn(volumeProxyService); in isAudioFeatureEnabled_withEnabledVolumeService()
1991 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(true); in isAudioFeatureEnabled_withEnabledDuckingService()
1992 when(mMockCarOemProxyService.getCarOemAudioDuckingService()) in isAudioFeatureEnabled_withEnabledDuckingService()