Home
last modified time | relevance | path

Searched refs:mAudioControlV2 (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperV2Test.java53 IAudioControl mAudioControlV2; field in AudioControlWrapperV2Test
57 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 …]
/packages/services/Car/service/src/com/android/car/audio/hal/
DAudioControlWrapperV2.java39 private IAudioControl mAudioControlV2; field in AudioControlWrapperV2
55 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()