/frameworks/base/media/java/android/media/ |
D | AudioMixPort.java | 39 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, in AudioMixPort() argument 44 mIoHandle = ioHandle; in AudioMixPort() 47 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, in AudioMixPort() argument 50 mIoHandle = ioHandle; in AudioMixPort() 66 public int ioHandle() { in ioHandle() method in AudioMixPort 76 if (mIoHandle != other.ioHandle()) { in equals()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioFlingerService.aidl | 63 int sampleRate(int /* audio_io_handle_t */ ioHandle); in sampleRate() argument 67 long frameCount(int /* audio_io_handle_t */ ioHandle); in frameCount() argument 105 void setParameters(int /* audio_io_handle_t */ ioHandle, in setParameters() argument 107 @utf8InCpp String getParameters(int /* audio_io_handle_t */ ioHandle, in getParameters() argument 137 int getInputFramesLost(int /* audio_io_handle_t */ ioHandle); in getInputFramesLost() argument 201 long frameCountHAL(int /* audio_io_handle_t */ ioHandle); in frameCountHAL() argument
|
D | SoundTriggerSession.aidl | 26 int ioHandle;
|
D | AudioIoDescriptor.aidl | 27 int ioHandle;
|
/frameworks/base/services/core/jni/ |
D | com_android_server_soundtrigger_middleware_AudioSessionProviderImpl.cpp | 35 audio_io_handle_t ioHandle; in acquireAudioSession() local 39 &ioHandle, in acquireAudioSession() 56 static_cast<int>(ioHandle), in acquireAudioSession()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 194 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const = 0; 199 virtual size_t frameCount(audio_io_handle_t ioHandle) const = 0; 235 virtual status_t setParameters(audio_io_handle_t ioHandle, 237 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) 270 virtual uint32_t getInputFramesLost(audio_io_handle_t ioHandle) const = 0; 333 virtual size_t frameCountHAL(audio_io_handle_t ioHandle) const = 0; 364 uint32_t sampleRate(audio_io_handle_t ioHandle) const override; 366 size_t frameCount(audio_io_handle_t ioHandle) const override; 384 status_t setParameters(audio_io_handle_t ioHandle, 386 String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) [all …]
|
D | AudioSystem.h | 131 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs); 132 static String8 getParameters(audio_io_handle_t ioHandle, const String8& keys); 177 static status_t getSamplingRate(audio_io_handle_t ioHandle, 181 static status_t getFrameCount(audio_io_handle_t ioHandle, 208 static uint32_t getInputFramesLost(audio_io_handle_t ioHandle); 231 static status_t getFrameCountHAL(audio_io_handle_t ioHandle, 386 audio_io_handle_t *ioHandle, 580 sp<AudioIoDescriptor> getIoDescriptor(audio_io_handle_t ioHandle); 613 sp<AudioIoDescriptor> getIoDescriptor_l(audio_io_handle_t ioHandle); 659 static sp<AudioIoDescriptor> getIoDescriptor(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 | 632 audio_io_handle_t *ioHandle) in openDuplicating() argument 637 *ioHandle = mClientInterface->openDuplicateOutput(output2->mIoHandle, output1->mIoHandle); in openDuplicating() 638 if (*ioHandle == AUDIO_IO_HANDLE_NONE) { in openDuplicating() 643 mIoHandle = *ioHandle; in openDuplicating()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 231 uint32_t AudioFlingerClientAdapter::sampleRate(audio_io_handle_t ioHandle) const { in sampleRate() 233 int32_t ioHandleAidl = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in sampleRate() 252 size_t AudioFlingerClientAdapter::frameCount(audio_io_handle_t ioHandle) const { in frameCount() 254 int32_t ioHandleAidl = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in frameCount() 382 status_t AudioFlingerClientAdapter::setParameters(audio_io_handle_t ioHandle, in setParameters() argument 384 int32_t ioHandleAidl = VALUE_OR_RETURN_STATUS(legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in setParameters() 390 String8 AudioFlingerClientAdapter::getParameters(audio_io_handle_t ioHandle, const String8& keys) in getParameters() argument 393 int32_t ioHandleAidl = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in getParameters() 496 uint32_t AudioFlingerClientAdapter::getInputFramesLost(audio_io_handle_t ioHandle) const { in getInputFramesLost() 498 int32_t ioHandleAidl = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in getInputFramesLost() [all …]
|
D | AudioSystem.cpp | 146 sp<AudioIoDescriptor> AudioSystem::getIoDescriptor(audio_io_handle_t ioHandle) { in getIoDescriptor() argument 150 desc = afc->getIoDescriptor(ioHandle); in getIoDescriptor() 246 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) { in setParameters() argument 249 return af->setParameters(ioHandle, keyValuePairs); in setParameters() 252 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) { in getParameters() argument 257 result = af->getParameters(ioHandle, keys); in getParameters() 331 status_t AudioSystem::getSamplingRate(audio_io_handle_t ioHandle, in getSamplingRate() argument 335 sp<AudioIoDescriptor> desc = getIoDescriptor(ioHandle); in getSamplingRate() 337 *samplingRate = af->sampleRate(ioHandle); in getSamplingRate() 342 ALOGE("AudioSystem::getSamplingRate failed for ioHandle %d", ioHandle); in getSamplingRate() [all …]
|
D | AidlConversion.cpp | 1152 legacy->mIoHandle = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_io_handle_t(aidl.ioHandle)); in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor() 1168 aidl.ioHandle = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(legacy->mIoHandle)); in legacy2aidl_AudioIoDescriptor_AudioIoDescriptor()
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareImpl.java | 68 AudioSession(int sessionHandle, int ioHandle, int deviceHandle) { in AudioSession() argument 70 mIoHandle = ioHandle; in AudioSession()
|
/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 | 380 audio_io_handle_t *ioHandle);
|
/frameworks/av/services/audioflinger/ |
D | PatchPanel.cpp | 734 audio_io_handle_t ioHandle = patch.sinks[0].ext.mix.handle; in releaseAudioPatch() local 735 sp<ThreadBase> thread = mAudioFlinger.checkRecordThread_l(ioHandle); in releaseAudioPatch() 737 thread = mAudioFlinger.checkMmapThread_l(ioHandle); in releaseAudioPatch() 739 ALOGW("%s() bad capture I/O handle %d", __func__, ioHandle); in releaseAudioPatch() 755 audio_io_handle_t ioHandle = src.ext.mix.handle; in releaseAudioPatch() local 756 sp<ThreadBase> thread = mAudioFlinger.checkPlaybackThread_l(ioHandle); in releaseAudioPatch() 758 thread = mAudioFlinger.checkMmapThread_l(ioHandle); in releaseAudioPatch() 760 ALOGW("%s() bad playback I/O handle %d", __func__, ioHandle); in releaseAudioPatch()
|
D | AudioFlinger.cpp | 1033 uint32_t AudioFlinger::sampleRate(audio_io_handle_t ioHandle) const in sampleRate() 1036 ThreadBase *thread = checkThread_l(ioHandle); in sampleRate() 1038 ALOGW("sampleRate() unknown thread %d", ioHandle); in sampleRate() 1055 size_t AudioFlinger::frameCount(audio_io_handle_t ioHandle) const in frameCount() 1058 ThreadBase *thread = checkThread_l(ioHandle); in frameCount() 1060 ALOGW("frameCount() unknown thread %d", ioHandle); in frameCount() 1068 size_t AudioFlinger::frameCountHAL(audio_io_handle_t ioHandle) const in frameCountHAL() 1071 ThreadBase *thread = checkThread_l(ioHandle); in frameCountHAL() 1073 ALOGW("frameCountHAL() unknown thread %d", ioHandle); in frameCountHAL() 1552 status_t AudioFlinger::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument [all …]
|
D | AudioFlinger.h | 148 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const; 150 virtual size_t frameCount(audio_io_handle_t ioHandle) const; 151 virtual size_t frameCountHAL(audio_io_handle_t ioHandle) const; 179 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs); 180 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const; 211 virtual uint32_t getInputFramesLost(audio_io_handle_t ioHandle) const; 719 ThreadBase *checkThread_l(audio_io_handle_t ioHandle) const;
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 249 audio_io_handle_t *ioHandle, 403 …virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs =… 405 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) = 0;
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.h | 263 virtual void setParameters(audio_io_handle_t ioHandle, 501 status_t parametersCommand(audio_io_handle_t ioHandle, 711 …virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs =… 713 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys);
|
D | AudioPolicyService.cpp | 1870 status_t AudioPolicyService::AudioCommandThread::parametersCommand(audio_io_handle_t ioHandle, in parametersCommand() argument 1877 data->mIO = ioHandle; in parametersCommand() 1882 keyValuePairs, ioHandle, delayMs); in parametersCommand() 2300 void AudioPolicyService::setParameters(audio_io_handle_t ioHandle, in setParameters() argument 2304 mAudioCommandThread->parametersCommand(ioHandle, keyValuePairs, in setParameters()
|
D | AudioPolicyInterfaceImpl.cpp | 1587 audio_io_handle_t ioHandle; in acquireSoundTriggerSession() local 1597 mAudioPolicyManager->acquireSoundTriggerSession(&session, &ioHandle, &device))); in acquireSoundTriggerSession() 1602 _aidl_return->ioHandle = VALUE_OR_RETURN_BINDER_STATUS( in acquireSoundTriggerSession() 1603 legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in acquireSoundTriggerSession()
|
/frameworks/av/media/libeffects/proxy/ |
D | EffectProxy.cpp | 272 pContext->ioId = offloadParam->ioHandle; in Effect_command()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 257 audio_io_handle_t *ioHandle, 899 void updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, audio_io_handle_t ioHandle,
|
D | AudioPolicyManager.cpp | 4364 audio_io_handle_t *ioHandle, in acquireSoundTriggerSession() argument 4368 *ioHandle = (audio_io_handle_t)mpClientInterface->newAudioUniqueId(AUDIO_UNIQUE_ID_USE_INPUT); in acquireSoundTriggerSession() 4372 return mSoundTriggerSessions.acquireSession(*session, *ioHandle); in acquireSoundTriggerSession() 6833 audio_io_handle_t ioHandle, in updateAudioProfiles() argument 6842 ioHandle, String8(AudioParameter::keyStreamSupportedFormats)); in updateAudioProfiles() 6843 ALOGV("%s: supported formats %d, %s", __FUNCTION__, ioHandle, reply.string()); in updateAudioProfiles() 6867 ioHandle, in updateAudioProfiles() 6878 reply = mpClientInterface->getParameters(ioHandle, in updateAudioProfiles()
|