Home
last modified time | relevance | path

Searched refs:mAudioPolicyService (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DServiceHolderTest.java66 @Mock private IAudioPolicyService mAudioPolicyService; field in ServiceHolderTest
81 return mAudioPolicyService; in setUp()
88 when(mAudioPolicyService.asBinder()).thenReturn(mBinder); in setUp()
101 assertThat(mServiceHolder.checkService()).isEqualTo(mAudioPolicyService); in testServiceSuccessfullyPopulated_whenCallback()
108 assertThat(mServiceHolder.checkService()).isEqualTo(mAudioPolicyService); in testCheckServiceCalled_whenUncached()
120 assertThat(mServiceHolder.waitForService()).isEqualTo(mAudioPolicyService); in testWaitForServiceCalled_whenUncached()
145 assertThat(mServiceHolder.checkService()).isEqualTo(mAudioPolicyService); in testStartTaskCalled_onStart()
147 verify(mTaskTwo).accept(eq(mAudioPolicyService)); in testStartTaskCalled_onStart()
159 assertThat(mServiceHolder.checkService()).isEqualTo(mAudioPolicyService); in testStartTaskCalled_onStartFromCallback()
160 verify(mTaskTwo).accept(eq(mAudioPolicyService)); in testStartTaskCalled_onStartFromCallback()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp89 mAudioPolicyService->registerOutput(*output, config, flags); in openOutput()
112 mAudioPolicyService->unregisterOutput(output); in closeOutput()
187 return mAudioPolicyService->setStreamVolume(stream, volume, output, in setStreamVolume()
195 mAudioPolicyService->setParameters(io_handle, keyValuePairs.c_str(), delay_ms); in setParameters()
207 return mAudioPolicyService->setVoiceVolume(volume, delay_ms); in setVoiceVolume()
226 mAudioPolicyService->setEffectSuspended(effectId, sessionId, suspended); in setEffectSuspended()
233 return mAudioPolicyService->clientCreateAudioPatch(patch, handle, delayMs); in createAudioPatch()
239 return mAudioPolicyService->clientReleaseAudioPatch(handle, delayMs); in releaseAudioPatch()
246 return mAudioPolicyService->clientSetAudioPortConfig(config, delayMs); in setAudioPortConfig()
251 mAudioPolicyService->onAudioPortListUpdate(); in onAudioPortListUpdate()
[all …]
DAudioPolicyService.h767 explicit AudioPolicyClient(AudioPolicyService *service) : mAudioPolicyService(service) {} in AudioPolicyClient()
895 AudioPolicyService *mAudioPolicyService;