Searched refs:mAudioControlV1 (Results 1 – 2 of 2) sorted by relevance
46 private IAudioControl mAudioControlV1; field in AudioControlWrapperV164 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()
67 private IAudioControl mAudioControlV1; field in AudioControlWrapperV1Test73 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()