Home
last modified time | relevance | path

Searched refs:setModuleChangeCallback (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioModuleChangeMonitor.java56 void setModuleChangeCallback(HalAudioModuleChangeCallback callback) { in setModuleChangeCallback() method in CarAudioModuleChangeMonitor
58 mAudioControlWrapper.setModuleChangeCallback(callback); in setModuleChangeCallback()
DCarAudioService.java2236 mCarAudioModuleChangeMonitor.setModuleChangeCallback(mHalAudioModuleChangeCallback);
3743 mCarAudioModuleChangeMonitor.setModuleChangeCallback(mHalAudioModuleChangeCallback);
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperAidlTest.java864 public void setModuleChangeCallback() throws Exception { in setModuleChangeCallback() method in AudioControlWrapperAidlTest
865 mAudioControlWrapperAidl.setModuleChangeCallback(mHalAudioModuleChangeCallback); in setModuleChangeCallback()
867 verify(mAudioControl, timeout(TEST_CALLBACK_TIMEOUT_MS)).setModuleChangeCallback(any()); in setModuleChangeCallback()
874 mAudioControlWrapperAidl.setModuleChangeCallback(mHalAudioModuleChangeCallback); in setModuleChangeCallback_withLowerVersion()
877 .setModuleChangeCallback(any()); in setModuleChangeCallback_withLowerVersion()
882 doThrow(new IllegalStateException()).when(mAudioControl).setModuleChangeCallback(any()); in setModuleChangeCallback_withIllegalStateException_retries()
884 mAudioControlWrapperAidl.setModuleChangeCallback(mHalAudioModuleChangeCallback); in setModuleChangeCallback_withIllegalStateException_retries()
901 mAudioControlWrapperAidl.setModuleChangeCallback(mHalAudioModuleChangeCallback); in onAudioPortsChanged()
904 verify(mAudioControl, timeout(TEST_CALLBACK_TIMEOUT_MS)).setModuleChangeCallback( in onAudioPortsChanged()
DAudioControlWrapperV1Test.java195 () -> mAudioControlWrapperV1.setModuleChangeCallback(mock( in setModuleChangeCallback_throws()
DAudioControlWrapperV2Test.java239 () -> mAudioControlWrapperV2.setModuleChangeCallback(mock( in setModuleChangeCallback_throws()
/packages/services/Car/service/src/com/android/car/audio/hal/
DAudioControlWrapperAidl.java269 public void setModuleChangeCallback(HalAudioModuleChangeCallback moduleChangeCallback) { in setModuleChangeCallback() method in AudioControlWrapperAidl
282 mAudioControl.setModuleChangeCallback(callback); in setModuleChangeCallback()
295 mAudioControl.setModuleChangeCallback(callback); in setModuleChangeCallback()
DAudioControlWrapper.java147 void setModuleChangeCallback(HalAudioModuleChangeCallback moduleChangeCallback); in setModuleChangeCallback() method
DAudioControlWrapperV1.java138 public void setModuleChangeCallback(HalAudioModuleChangeCallback moduleChangeCallback) { in setModuleChangeCallback() method in AudioControlWrapperV1
DAudioControlWrapperV2.java169 public void setModuleChangeCallback(HalAudioModuleChangeCallback moduleChangeCallback) { in setModuleChangeCallback() method in AudioControlWrapperV2
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioServiceUnitTest.java2173 verify(mAudioControlWrapperAidl, never()).setModuleChangeCallback(any()); in init_withAudioModuleCallbackFeatureDisabled()
2270 verify(mAudioControlWrapperAidl, never()).setModuleChangeCallback(any()); in serviceDied_withAudioServerDown()
2284 verify(mAudioControlWrapperAidl).setModuleChangeCallback(any()); in serviceDied_setsModuleChangeCallback()
2300 verify(mAudioControlWrapperAidl, never()).setModuleChangeCallback(any()); in serviceDied_withNullModuleChangeCallback()
2494 .setModuleChangeCallback(any()); in onAudioServerUp_forCarAudioServiceCallback()
2529 .setModuleChangeCallback(any()); in onAudioServerUp_forCarAudioServiceCallback_withFadeManagerEnabled()
2565 .setModuleChangeCallback(any()); in onAudioServerUp_forCarAudioServiceCallback_withCoreVolumeAndRouting()
6463 verify(mAudioControlWrapperAidl).setModuleChangeCallback(captor.capture()); in getHalModuleChangeCallback()