Home
last modified time | relevance | path

Searched refs:ioHandle (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/media/java/android/media/
DAudioMixPort.java33 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, in AudioMixPort() argument
38 mIoHandle = ioHandle; in AudioMixPort()
53 public int ioHandle() { in ioHandle() method in AudioMixPort
63 if (mIoHandle != other.ioHandle()) { in equals()
/frameworks/av/media/libmedia/
DAudioSystem.cpp89 sp<AudioIoDescriptor> AudioSystem::getIoDescriptor(audio_io_handle_t ioHandle) in getIoDescriptor() argument
94 desc = afc->getIoDescriptor(ioHandle); in getIoDescriptor()
202 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
206 return af->setParameters(ioHandle, keyValuePairs); in setParameters()
209 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) in getParameters() argument
215 result = af->getParameters(ioHandle, keys); in getParameters()
269 status_t AudioSystem::getSamplingRate(audio_io_handle_t ioHandle, in getSamplingRate() argument
274 sp<AudioIoDescriptor> desc = getIoDescriptor(ioHandle); in getSamplingRate()
276 *samplingRate = af->sampleRate(ioHandle); in getSamplingRate()
281 ALOGE("AudioSystem::getSamplingRate failed for ioHandle %d", ioHandle); in getSamplingRate()
[all …]
DIAudioFlinger.cpp273 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const in sampleRate()
277 data.writeInt32((int32_t) ioHandle); in sampleRate()
293 virtual size_t frameCount(audio_io_handle_t ioHandle) const in frameCount()
297 data.writeInt32((int32_t) ioHandle); in frameCount()
412 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
416 data.writeInt32((int32_t) ioHandle); in setParameters()
422 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const in getParameters() argument
426 data.writeInt32((int32_t) ioHandle); in getParameters()
610 virtual uint32_t getInputFramesLost(audio_io_handle_t ioHandle) const in getInputFramesLost()
614 data.writeInt32((int32_t) ioHandle); in getInputFramesLost()
[all …]
DIAudioPolicyService.cpp663 audio_io_handle_t *ioHandle, in acquireSoundTriggerSession() argument
666 if (session == NULL || ioHandle == NULL || device == NULL) { in acquireSoundTriggerSession()
678 *ioHandle = (audio_io_handle_t)reply.readInt32(); in acquireSoundTriggerSession()
1282 audio_io_handle_t ioHandle = AUDIO_IO_HANDLE_NONE; in onTransact() local
1284 status_t status = acquireSoundTriggerSession(&session, &ioHandle, &device); in onTransact()
1288 reply->writeInt32(ioHandle); in onTransact()
/frameworks/av/include/media/
DAudioSystem.h92 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
93 static String8 getParameters(audio_io_handle_t ioHandle, const String8& keys);
120 static status_t getSamplingRate(audio_io_handle_t ioHandle,
124 static status_t getFrameCount(audio_io_handle_t ioHandle,
151 static uint32_t getInputFramesLost(audio_io_handle_t ioHandle);
174 static status_t getFrameCountHAL(audio_io_handle_t ioHandle,
323 audio_io_handle_t *ioHandle,
388 sp<AudioIoDescriptor> getIoDescriptor(audio_io_handle_t ioHandle);
418 sp<AudioIoDescriptor> getIoDescriptor_l(audio_io_handle_t ioHandle);
448 static sp<AudioIoDescriptor> getIoDescriptor(audio_io_handle_t ioHandle);
DIAudioFlinger.h107 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const = 0;
112 virtual size_t frameCount(audio_io_handle_t ioHandle) const = 0;
144 virtual status_t setParameters(audio_io_handle_t ioHandle,
146 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys)
188 virtual uint32_t getInputFramesLost(audio_io_handle_t ioHandle) const = 0;
257 virtual size_t frameCountHAL(audio_io_handle_t ioHandle) const = 0;
DIAudioPolicyService.h156 audio_io_handle_t *ioHandle,
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSoundTriggerSession.cpp26 audio_io_handle_t ioHandle) in acquireSession() argument
28 add(session, ioHandle); in acquireSession()
DAudioInputDescriptor.cpp42 void AudioInputDescriptor::setIoHandle(audio_io_handle_t ioHandle) in setIoHandle() argument
45 mIoHandle = ioHandle; in setIoHandle()
DAudioOutputDescriptor.cpp233 void SwAudioOutputDescriptor::setIoHandle(audio_io_handle_t ioHandle) in setIoHandle() argument
236 mIoHandle = ioHandle; in setIoHandle()
/frameworks/av/services/audioflinger/
DAudioFlinger.h133 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const;
135 virtual size_t frameCount(audio_io_handle_t ioHandle) const;
136 virtual size_t frameCountHAL(audio_io_handle_t ioHandle) const;
158 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
159 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const;
200 virtual uint32_t getInputFramesLost(audio_io_handle_t ioHandle) const;
525 ThreadBase *checkThread_l(audio_io_handle_t ioHandle) const;
DAudioFlinger.cpp731 uint32_t AudioFlinger::sampleRate(audio_io_handle_t ioHandle) const in sampleRate()
734 ThreadBase *thread = checkThread_l(ioHandle); in sampleRate()
736 ALOGW("sampleRate() unknown thread %d", ioHandle); in sampleRate()
753 size_t AudioFlinger::frameCount(audio_io_handle_t ioHandle) const in frameCount()
756 ThreadBase *thread = checkThread_l(ioHandle); in frameCount()
758 ALOGW("frameCount() unknown thread %d", ioHandle); in frameCount()
766 size_t AudioFlinger::frameCountHAL(audio_io_handle_t ioHandle) const in frameCountHAL()
769 ThreadBase *thread = checkThread_l(ioHandle); in frameCountHAL()
771 ALOGW("frameCountHAL() unknown thread %d", ioHandle); in frameCountHAL()
1091 status_t AudioFlinger::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSoundTriggerSession.h30 status_t acquireSession(audio_session_t session, audio_io_handle_t ioHandle);
DAudioInputDescriptor.h38 void setIoHandle(audio_io_handle_t ioHandle);
DAudioOutputDescriptor.h102 void setIoHandle(audio_io_handle_t ioHandle);
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h218 audio_io_handle_t *ioHandle,
302 …virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs =…
304 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) = 0;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h160 virtual void setParameters(audio_io_handle_t ioHandle,
192 audio_io_handle_t *ioHandle,
288 status_t parametersCommand(audio_io_handle_t ioHandle,
489 …virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs =…
491 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys);
DAudioPolicyService.cpp739 status_t AudioPolicyService::AudioCommandThread::parametersCommand(audio_io_handle_t ioHandle, in parametersCommand() argument
746 data->mIO = ioHandle; in parametersCommand()
751 keyValuePairs, ioHandle, delayMs); in parametersCommand()
1102 void AudioPolicyService::setParameters(audio_io_handle_t ioHandle, in setParameters() argument
1106 mAudioCommandThread->parametersCommand(ioHandle, keyValuePairs, in setParameters()
DAudioPolicyInterfaceImpl.cpp662 audio_io_handle_t *ioHandle, in acquireSoundTriggerSession() argument
669 return mAudioPolicyManager->acquireSoundTriggerSession(session, ioHandle, device); in acquireSoundTriggerSession()
DAudioPolicyInterfaceImplLegacy.cpp594 audio_io_handle_t *ioHandle __unused, in acquireSoundTriggerSession()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp561 audio_io_handle_t ioHandle; in loadSoundModel() local
564 status = AudioSystem::acquireSoundTriggerSession(&session, &ioHandle, &device); in loadSoundModel()
569 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type); in loadSoundModel()
858 audio_io_handle_t ioHandle, audio_devices_t device, in Model() argument
861 mCaptureIOHandle(ioHandle), mCaptureDevice(device), mType(type) in Model()
DSoundTriggerHwService.h71 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h217 audio_io_handle_t *ioHandle,
594 void updateAudioProfiles(audio_devices_t device, audio_io_handle_t ioHandle,
DAudioPolicyManager.cpp2899 audio_io_handle_t *ioHandle, in acquireSoundTriggerSession() argument
2903 *ioHandle = (audio_io_handle_t)mpClientInterface->newAudioUniqueId(AUDIO_UNIQUE_ID_USE_INPUT); in acquireSoundTriggerSession()
2906 return mSoundTriggerSessions.acquireSession(*session, *ioHandle); in acquireSoundTriggerSession()
5397 audio_io_handle_t ioHandle, in AudioPolicyManager() argument
5405 reply = mpClientInterface->getParameters(ioHandle, in AudioPolicyManager()
5430 reply = mpClientInterface->getParameters(ioHandle, in AudioPolicyManager()
5441 reply = mpClientInterface->getParameters(ioHandle, in AudioPolicyManager()
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp259 pContext->ioId = offloadParam->ioHandle; in Effect_command()

12