Searched refs:mAudioControl (Results 1 – 4 of 4) sorted by relevance
152 private IAudioControl mAudioControl; field in AudioControlWrapperAidlTest177 when(mAudioControl.getInterfaceVersion()).thenReturn(AIDL_AUDIO_CONTROL_VERSION_3); in setUp()178 when(mBinder.queryLocalInterface(anyString())).thenReturn(mAudioControl); in setUp()196 verify(mAudioControl).setFadeTowardFront(FADE_VALUE); in setFadeTowardFront_succeeds()203 verify(mAudioControl).setBalanceTowardRight(BALANCE_VALUE); in setBalanceTowardRight_succeeds()231 doThrow(new RemoteException()).when(mAudioControl).getInterfaceVersion(); in supportsFeature_forGainCallbackEithRemoteException_returnsTrue()241 doThrow(new RemoteException()).when(mAudioControl).getInterfaceVersion(); in supportsFeature_forModuleCallbackEithRemoteException_returnsTrue()253 verify(mAudioControl).registerFocusListener(any(IFocusListener.class)); in registerFocusListener_succeeds()258 doThrow(new RemoteException()).when(mAudioControl) in registerFocusListener_throws()276 verify(mAudioControl).registerFocusListener(captor.capture()); in requestAudioFocus_forFocusListenerWrapper_succeeds()[all …]
71 private IAudioControl mAudioControl; field in AudioControlWrapperAidl86 mAudioControl = IAudioControl.Stub.asInterface(binder); in AudioControlWrapperAidl()105 return mAudioControl.getInterfaceVersion() > AIDL_AUDIO_CONTROL_VERSION_1; in supportsFeature()112 return mAudioControl.getInterfaceVersion() > AIDL_AUDIO_CONTROL_VERSION_2; in supportsFeature()129 mAudioControl.registerFocusListener(listenerWrapper); in registerFocusListener()145 if (mAudioControl.getInterfaceVersion() < AIDL_AUDIO_CONTROL_VERSION_2) { in registerAudioGainCallback()150 mAudioControl.registerGainCallback(agc); in registerAudioGainCallback()170 mAudioControl.onAudioFocusChangeWithMetaData(metaData, zoneId, focusChange); in onAudioFocusChange()184 mAudioControl.onAudioFocusChange(usageName, zoneId, focusChange); in onAudioFocusChange()196 writer.printf("Aidl Version: %d\n", mAudioControl.getInterfaceVersion()); in dump()[all …]
126 @Mock private IAudioControl mAudioControl; field in CarAudioGainMonitorTest140 when(mBinder.queryLocalInterface(anyString())).thenReturn(mAudioControl); in setUp()
461 IAudioControl mAudioControl; field in CarAudioServiceUnitTest582 when(mBinder.queryLocalInterface(anyString())).thenReturn(mAudioControl); in setUpAudioControlHAL()