Searched refs:mMockCarOemProxyService (Results 1 – 7 of 7) sorted by relevance
414 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 …]
184 protected CarOemProxyService mMockCarOemProxyService; field in CarZonesAudioFocusTestBase201 CarLocalServices.addService(CarOemProxyService.class, mMockCarOemProxyService); in setUp()202 when(mMockCarOemProxyService.isOemServiceReady()).thenReturn(false); in setUp()203 when(mMockCarOemProxyService.isOemServiceEnabled()).thenReturn(false); in setUp()
85 private CarOemProxyService mMockCarOemProxyService; field in CarDuckingTest100 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()
88 private CarOemProxyService mMockCarOemProxyService; field in CarAudioPolicyVolumeCallbackTest120 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()
137 private CarOemProxyService mMockCarOemProxyService; field in CarAudioFocusUnitTest152 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 …]
89 private CarOemProxyService mMockCarOemProxyService; field in CarZonesAudioFocusUnitTest99 CarLocalServices.addService(CarOemProxyService.class, mMockCarOemProxyService); in setUp()
467 private CarOemProxyService mMockCarOemProxyService; field in CarAudioServiceUnitTest667 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()