/frameworks/base/media/java/android/media/ |
D | AudioMixPort.java | 36 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/ |
D | AudioSystem.cpp | 96 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 …]
|
D | IAudioFlinger.cpp | 178 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 …]
|
D | IAudioPolicyService.cpp | 802 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/ |
D | AudioSystem.h | 104 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);
|
D | IAudioFlinger.h | 349 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;
|
D | IAudioPolicyService.h | 182 audio_io_handle_t *ioHandle,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | SoundTriggerSession.cpp | 26 audio_io_handle_t ioHandle) in acquireSession() argument 28 add(session, ioHandle); in acquireSession()
|
D | AudioOutputDescriptor.cpp | 601 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/ |
D | PatchPanel.cpp | 703 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()
|
D | AudioFlinger.cpp | 1002 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 …]
|
D | AudioFlinger.h | 140 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;
|
D | Effects.cpp | 1495 cmd.ioHandle = io; in setOffloaded()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | SoundTriggerSession.h | 30 status_t acquireSession(audio_session_t session, audio_io_handle_t ioHandle);
|
D | AudioOutputDescriptor.h | 371 audio_io_handle_t *ioHandle);
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 232 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/ |
D | AudioPolicyService.h | 180 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);
|
D | AudioPolicyService.cpp | 1395 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()
|
D | AudioPolicyInterfaceImpl.cpp | 1096 audio_io_handle_t *ioHandle, in acquireSoundTriggerSession() argument 1104 return mAudioPolicyManager->acquireSoundTriggerSession(session, ioHandle, device); in acquireSoundTriggerSession()
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 612 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()
|
D | SoundTriggerHwService.h | 74 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle,
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 250 audio_io_handle_t *ioHandle, 797 void updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, audio_io_handle_t ioHandle,
|
D | AudioPolicyManager.cpp | 3917 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/ |
D | EffectProxy.cpp | 262 pContext->ioId = offloadParam->ioHandle; in Effect_command()
|