Home
last modified time | relevance | path

Searched refs:audioService (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/media/
DVolumeCtrl.java129 IAudioService audioService = IAudioService.Stub.asInterface(ServiceManager.checkService( in run() local
131 if (audioService == null) { in run()
138 if ((volIndex > audioService.getStreamMaxVolume(stream)) in run()
139 || (volIndex < audioService.getStreamMinVolume(stream))) { in run()
142 audioService.getStreamMinVolume(stream), in run()
143 audioService.getStreamMaxVolume(stream))); in run()
153 audioService.setStreamVolume(stream, volIndex, flag, pack/*callingPackage*/); in run()
155 audioService.adjustStreamVolume(stream, adjDir, flag, pack); in run()
158 cmd.log(LOG_V, "volume is " + audioService.getStreamVolume(stream) in run()
159 + " in range [" + audioService.getStreamMinVolume(stream) in run()
[all …]
/frameworks/av/services/oboeservice/
DAAudioServiceEndpointCapture.cpp38 AAudioServiceEndpointCapture::AAudioServiceEndpointCapture(AAudioService& audioService) in AAudioServiceEndpointCapture() argument
40 new AudioStreamInternalCapture(audioService.asAAudioServiceInterface(), true)) { in AAudioServiceEndpointCapture()
DAAudioServiceEndpointPlay.cpp45 AAudioServiceEndpointPlay::AAudioServiceEndpointPlay(AAudioService& audioService) in AAudioServiceEndpointPlay() argument
47 new AudioStreamInternalPlay(audioService.asAAudioServiceInterface(), true)) {} in AAudioServiceEndpointPlay()
DAAudioEndpointManager.cpp145 sp<AAudioServiceEndpoint> AAudioEndpointManager::openEndpoint(AAudioService &audioService, in openEndpoint() argument
150 openExclusiveEndpoint(audioService, request, endpointToSteal); in openEndpoint()
156 return openSharedEndpoint(audioService, request); in openEndpoint()
DAAudioServiceEndpointPlay.h41 explicit AAudioServiceEndpointPlay(android::AAudioService &audioService);
DAAudioServiceEndpointCapture.h32 explicit AAudioServiceEndpointCapture(android::AAudioService &audioService);
DAAudioServiceStreamShared.cpp42 AAudioServiceStreamShared::AAudioServiceStreamShared(AAudioService &audioService) in AAudioServiceStreamShared() argument
43 : AAudioServiceStreamBase(audioService) in AAudioServiceStreamShared()
DAAudioEndpointManager.h61 android::sp<AAudioServiceEndpoint> openEndpoint(android::AAudioService &audioService,
DAAudioServiceEndpointMMAP.h45 explicit AAudioServiceEndpointMMAP(android::AAudioService &audioService);
DAAudioServiceEndpointMMAP.cpp50 AAudioServiceEndpointMMAP::AAudioServiceEndpointMMAP(AAudioService &audioService) in AAudioServiceEndpointMMAP() argument
52 , mAAudioService(audioService) {} in AAudioServiceEndpointMMAP()
DAAudioServiceStreamBase.cpp52 AAudioServiceStreamBase::AAudioServiceStreamBase(AAudioService &audioService) in AAudioServiceStreamBase() argument
55 , mAudioService(audioService) { in AAudioServiceStreamBase()
/frameworks/base/media/java/android/media/
DMediaActionSound.java122 IAudioService audioService = IAudioService.Stub.asInterface(b); in mustPlayShutterSound() local
124 result = audioService.isCameraSoundForced(); in mustPlayShutterSound()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaDevice.java56 public UsbAlsaDevice(IAudioService audioService, int card, int device, String deviceAddress, in UsbAlsaDevice() argument
59 mAudioService = audioService; in UsbAlsaDevice()
/frameworks/base/core/java/android/hardware/
DCamera.java295 IAudioService audioService = IAudioService.Stub.asInterface(b); in getCameraInfo() local
297 if (audioService.isCameraSoundForced()) { in getCameraInfo()
1653 IAudioService audioService = IAudioService.Stub.asInterface(b); in enableShutterSound() local
1655 if (audioService.isCameraSoundForced()) { in enableShutterSound()
1737 IAudioService audioService = IAudioService.Stub.asInterface(b); in updateAppOpsPlayAudio() local
1739 if (audioService.isCameraSoundForced()) { in updateAppOpsPlayAudio()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2792 IAudioService audioService = IAudioService.Stub.asInterface( in getAudioService() local
2794 if (audioService == null) { in getAudioService()
2797 return audioService; in getAudioService()