Searched refs:mAudioControlV2 (Results 1 – 2 of 2) sorted by relevance
53 IAudioControl mAudioControlV2; field in AudioControlWrapperV2Test57 AudioControlWrapperV2 audioControlWrapperV2 = new AudioControlWrapperV2(mAudioControlV2); in setFadeTowardFront_succeeds()60 verify(mAudioControlV2).setFadeTowardFront(FADE_VALUE); in setFadeTowardFront_succeeds()65 AudioControlWrapperV2 audioControlWrapperV2 = new AudioControlWrapperV2(mAudioControlV2); in setBalanceTowardRight_succeeds()68 verify(mAudioControlV2).setBalanceTowardRight(BALANCE_VALUE); in setBalanceTowardRight_succeeds()73 AudioControlWrapperV2 audioControlWrapperV2 = new AudioControlWrapperV2(mAudioControlV2); in supportsHalAudioFocus_returnsTrue()80 AudioControlWrapperV2 audioControlWrapperV2 = new AudioControlWrapperV2(mAudioControlV2); in registerFocusListener_succeeds()84 verify(mAudioControlV2).registerFocusListener(mockListener); in registerFocusListener_succeeds()91 when(mAudioControlV2.registerFocusListener(mockListener)).thenReturn(mockCloseHandle); in unregisterFocusListener_closesHandle()93 AudioControlWrapperV2 audioControlWrapperV2 = new AudioControlWrapperV2(mAudioControlV2); in unregisterFocusListener_closesHandle()[all …]
39 private IAudioControl mAudioControlV2; field in AudioControlWrapperV255 mAudioControlV2 = Objects.requireNonNull(audioControlV2); in AudioControlWrapperV2()80 mCloseHandle = mAudioControlV2.registerFocusListener(focusListener); in registerFocusListener()94 mAudioControlV2.onAudioFocusChange(usage, zoneId, focusChange); in onAudioFocusChange()115 mAudioControlV2.setFadeTowardFront(value); in setFadeTowardFront()124 mAudioControlV2.setBalanceTowardRight(value); in setBalanceTowardRight()133 mAudioControlV2.linkToDeath(this::serviceDied, 0); in linkToDeath()143 mAudioControlV2.unlinkToDeath(this::serviceDied); in unlinkToDeath()152 mAudioControlV2 = AudioControlWrapperV2.getService(); in serviceDied()