Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/hal/
DAudioControlWrapperV1.java46 private IAudioControl mAudioControlV1; field in AudioControlWrapperV1
64 mAudioControlV1 = Objects.requireNonNull(audioControlV1); in AudioControlWrapperV1()
112 mAudioControlV1.setFadeTowardFront(value); in setFadeTowardFront()
121 mAudioControlV1.setBalanceTowardRight(value); in setBalanceTowardRight()
164 return mAudioControlV1.getBusForContext(audioContext); in getBusForContext()
174 mAudioControlV1.linkToDeath(this::serviceDied, 0); in linkToDeath()
184 mAudioControlV1.unlinkToDeath(this::serviceDied); in unlinkToDeath()
193 mAudioControlV1 = AudioControlWrapperV1.getService(); in serviceDied()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperV1Test.java67 private IAudioControl mAudioControlV1; field in AudioControlWrapperV1Test
73 mAudioControlWrapperV1 = new AudioControlWrapperV1(mAudioControlV1); in setUp()
80 verify(mAudioControlV1).setFadeTowardFront(FADE_VALUE); in setFadeTowardFront_succeeds()
87 verify(mAudioControlV1).setBalanceTowardRight(BALANCE_VALUE); in setBalanceTowardRight_succeeds()
93 when(mAudioControlV1.getBusForContext(CONTEXT_NUMBER)).thenReturn(busNumber); in getBusForContext_returnsBusNumber()
101 doThrow(new RemoteException()).when(mAudioControlV1).getBusForContext(CONTEXT_NUMBER); in getBusForContext_throws()
218 verify(mAudioControlV1).linkToDeath(any(), eq(0L)); in linkToDeath_succeeds()
223 doThrow(new RemoteException()).when(mAudioControlV1).linkToDeath(any(), eq(0L)); in linkToDeath_throws()
243 verify(mAudioControlV1).unlinkToDeath(any()); in unlinkToDeath_succeeds()
248 doThrow(new RemoteException()).when(mAudioControlV1).unlinkToDeath(any()); in unlinkToDeath_throws()