Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioMixPort.java36 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, in AudioMixPort() argument
41 mIoHandle = ioHandle; in AudioMixPort()
57 public int ioHandle() { in ioHandle() method in AudioMixPort
67 if (mIoHandle != other.ioHandle()) { in equals()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp96 sp<AudioIoDescriptor> AudioSystem::getIoDescriptor(audio_io_handle_t ioHandle) in getIoDescriptor() argument
101 desc = afc->getIoDescriptor(ioHandle); in getIoDescriptor()
209 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
213 return af->setParameters(ioHandle, keyValuePairs); in setParameters()
216 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) in getParameters() argument
222 result = af->getParameters(ioHandle, keys); in getParameters()
301 status_t AudioSystem::getSamplingRate(audio_io_handle_t ioHandle, in getSamplingRate() argument
306 sp<AudioIoDescriptor> desc = getIoDescriptor(ioHandle); in getSamplingRate()
308 *samplingRate = af->sampleRate(ioHandle); in getSamplingRate()
313 ALOGE("AudioSystem::getSamplingRate failed for ioHandle %d", ioHandle); in getSamplingRate()
[all …]
DIAudioFlinger.cpp178 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const in sampleRate()
182 data.writeInt32((int32_t) ioHandle); in sampleRate()
198 virtual size_t frameCount(audio_io_handle_t ioHandle) const in frameCount()
202 data.writeInt32((int32_t) ioHandle); in frameCount()
354 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
358 data.writeInt32((int32_t) ioHandle); in setParameters()
364 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const in getParameters() argument
368 data.writeInt32((int32_t) ioHandle); in getParameters()
549 virtual uint32_t getInputFramesLost(audio_io_handle_t ioHandle) const in getInputFramesLost()
553 data.writeInt32((int32_t) ioHandle); in getInputFramesLost()
[all …]
DIAudioPolicyService.cpp802 audio_io_handle_t *ioHandle, in acquireSoundTriggerSession() argument
805 if (session == NULL || ioHandle == NULL || device == NULL) { in acquireSoundTriggerSession()
817 *ioHandle = (audio_io_handle_t)reply.readInt32(); in acquireSoundTriggerSession()
2030 audio_io_handle_t ioHandle = AUDIO_IO_HANDLE_NONE; in onTransact() local
2032 status_t status = acquireSoundTriggerSession(&session, &ioHandle, &device); in onTransact()
2036 reply->writeInt32(ioHandle); in onTransact()
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h104 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
105 static String8 getParameters(audio_io_handle_t ioHandle, const String8& keys);
135 static status_t getSamplingRate(audio_io_handle_t ioHandle,
139 static status_t getFrameCount(audio_io_handle_t ioHandle,
166 static uint32_t getInputFramesLost(audio_io_handle_t ioHandle);
189 static status_t getFrameCountHAL(audio_io_handle_t ioHandle,
342 audio_io_handle_t *ioHandle,
484 sp<AudioIoDescriptor> getIoDescriptor(audio_io_handle_t ioHandle);
517 sp<AudioIoDescriptor> getIoDescriptor_l(audio_io_handle_t ioHandle);
560 static sp<AudioIoDescriptor> getIoDescriptor(audio_io_handle_t ioHandle);
DIAudioFlinger.h349 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const = 0;
354 virtual size_t frameCount(audio_io_handle_t ioHandle) const = 0;
390 virtual status_t setParameters(audio_io_handle_t ioHandle,
392 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys)
433 virtual uint32_t getInputFramesLost(audio_io_handle_t ioHandle) const = 0;
511 virtual size_t frameCountHAL(audio_io_handle_t ioHandle) const = 0;
DIAudioPolicyService.h182 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()
DAudioOutputDescriptor.cpp601 audio_io_handle_t *ioHandle) in openDuplicating() argument
606 *ioHandle = mClientInterface->openDuplicateOutput(output2->mIoHandle, output1->mIoHandle); in openDuplicating()
607 if (*ioHandle == AUDIO_IO_HANDLE_NONE) { in openDuplicating()
612 mIoHandle = *ioHandle; in openDuplicating()
/frameworks/av/services/audioflinger/
DPatchPanel.cpp703 audio_io_handle_t ioHandle = patch.sinks[0].ext.mix.handle; in releaseAudioPatch() local
704 sp<ThreadBase> thread = mAudioFlinger.checkRecordThread_l(ioHandle); in releaseAudioPatch()
706 thread = mAudioFlinger.checkMmapThread_l(ioHandle); in releaseAudioPatch()
708 ALOGW("%s() bad capture I/O handle %d", __func__, ioHandle); in releaseAudioPatch()
724 audio_io_handle_t ioHandle = src.ext.mix.handle; in releaseAudioPatch() local
725 sp<ThreadBase> thread = mAudioFlinger.checkPlaybackThread_l(ioHandle); in releaseAudioPatch()
727 thread = mAudioFlinger.checkMmapThread_l(ioHandle); in releaseAudioPatch()
729 ALOGW("%s() bad playback I/O handle %d", __func__, ioHandle); in releaseAudioPatch()
DAudioFlinger.cpp1002 uint32_t AudioFlinger::sampleRate(audio_io_handle_t ioHandle) const in sampleRate()
1005 ThreadBase *thread = checkThread_l(ioHandle); in sampleRate()
1007 ALOGW("sampleRate() unknown thread %d", ioHandle); in sampleRate()
1024 size_t AudioFlinger::frameCount(audio_io_handle_t ioHandle) const in frameCount()
1027 ThreadBase *thread = checkThread_l(ioHandle); in frameCount()
1029 ALOGW("frameCount() unknown thread %d", ioHandle); in frameCount()
1037 size_t AudioFlinger::frameCountHAL(audio_io_handle_t ioHandle) const in frameCountHAL()
1040 ThreadBase *thread = checkThread_l(ioHandle); in frameCountHAL()
1042 ALOGW("frameCountHAL() unknown thread %d", ioHandle); in frameCountHAL()
1503 status_t AudioFlinger::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
[all …]
DAudioFlinger.h140 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const;
142 virtual size_t frameCount(audio_io_handle_t ioHandle) const;
143 virtual size_t frameCountHAL(audio_io_handle_t ioHandle) const;
171 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
172 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const;
212 virtual uint32_t getInputFramesLost(audio_io_handle_t ioHandle) const;
682 ThreadBase *checkThread_l(audio_io_handle_t ioHandle) const;
DEffects.cpp1495 cmd.ioHandle = io; in setOffloaded()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSoundTriggerSession.h30 status_t acquireSession(audio_session_t session, audio_io_handle_t ioHandle);
DAudioOutputDescriptor.h371 audio_io_handle_t *ioHandle);
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h232 audio_io_handle_t *ioHandle,
353 …virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs =…
355 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) = 0;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h180 virtual void setParameters(audio_io_handle_t ioHandle,
215 audio_io_handle_t *ioHandle,
470 status_t parametersCommand(audio_io_handle_t ioHandle,
678 …virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs =…
680 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys);
DAudioPolicyService.cpp1395 status_t AudioPolicyService::AudioCommandThread::parametersCommand(audio_io_handle_t ioHandle, in parametersCommand() argument
1402 data->mIO = ioHandle; in parametersCommand()
1407 keyValuePairs, ioHandle, delayMs); in parametersCommand()
1805 void AudioPolicyService::setParameters(audio_io_handle_t ioHandle, in setParameters() argument
1809 mAudioCommandThread->parametersCommand(ioHandle, keyValuePairs, in setParameters()
DAudioPolicyInterfaceImpl.cpp1096 audio_io_handle_t *ioHandle, in acquireSoundTriggerSession() argument
1104 return mAudioPolicyManager->acquireSoundTriggerSession(session, ioHandle, device); in acquireSoundTriggerSession()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp612 audio_io_handle_t ioHandle; in loadSoundModel() local
615 status_t status = AudioSystem::acquireSoundTriggerSession(&session, &ioHandle, &device); in loadSoundModel()
637 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type, in loadSoundModel()
946 audio_io_handle_t ioHandle, audio_devices_t device, in Model() argument
950 mCaptureIOHandle(ioHandle), mCaptureDevice(device), mType(type), in Model()
DSoundTriggerHwService.h74 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h250 audio_io_handle_t *ioHandle,
797 void updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, audio_io_handle_t ioHandle,
DAudioPolicyManager.cpp3917 audio_io_handle_t *ioHandle, in acquireSoundTriggerSession() argument
3921 *ioHandle = (audio_io_handle_t)mpClientInterface->newAudioUniqueId(AUDIO_UNIQUE_ID_USE_INPUT); in acquireSoundTriggerSession()
3925 return mSoundTriggerSessions.acquireSession(*session, *ioHandle); in acquireSoundTriggerSession()
6219 audio_io_handle_t ioHandle, in updateAudioProfiles() argument
6228 ioHandle, String8(AudioParameter::keyStreamSupportedFormats)); in updateAudioProfiles()
6229 ALOGV("%s: supported formats %d, %s", __FUNCTION__, ioHandle, reply.string()); in updateAudioProfiles()
6252 ioHandle, in updateAudioProfiles()
6263 reply = mpClientInterface->getParameters(ioHandle, in updateAudioProfiles()
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp262 pContext->ioId = offloadParam->ioHandle; in Effect_command()