/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/include/media/ |
D | AudioIoDescriptor.h | 46 AudioIoDescriptor(audio_io_handle_t ioHandle) : mIoHandle(ioHandle) {} in AudioIoDescriptor() argument 49 audio_io_handle_t ioHandle, const audio_patch& patch, audio_port_handle_t portId) : in AudioIoDescriptor() argument 50 mIoHandle(ioHandle), mPatch(patch), mPortId(portId) {} in AudioIoDescriptor() 53 audio_io_handle_t ioHandle, const audio_patch& patch, bool isInput, 57 mIoHandle(ioHandle), mPatch(patch), mIsInput(isInput), in mIoHandle() argument
|
D | IAudioFlinger.h | 203 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const = 0; 208 virtual size_t frameCount(audio_io_handle_t ioHandle) const = 0; 244 virtual status_t setParameters(audio_io_handle_t ioHandle, 246 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) 277 virtual uint32_t getInputFramesLost(audio_io_handle_t ioHandle) const = 0; 343 virtual size_t frameCountHAL(audio_io_handle_t ioHandle) const = 0; 414 uint32_t sampleRate(audio_io_handle_t ioHandle) const override; 416 size_t frameCount(audio_io_handle_t ioHandle) const override; 434 status_t setParameters(audio_io_handle_t ioHandle, 436 String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) [all …]
|
D | AudioSystem.h | 158 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs); 159 static String8 getParameters(audio_io_handle_t ioHandle, const String8& keys); 213 static status_t getSamplingRate(audio_io_handle_t ioHandle, 217 static status_t getFrameCount(audio_io_handle_t ioHandle, 244 static uint32_t getInputFramesLost(audio_io_handle_t ioHandle); 270 static status_t getFrameCountHAL(audio_io_handle_t ioHandle, 478 audio_io_handle_t *ioHandle, 808 sp<AudioIoDescriptor> getIoDescriptor(audio_io_handle_t ioHandle) EXCLUDES(mMutex); 854 sp<AudioIoDescriptor> getIoDescriptor_l(audio_io_handle_t ioHandle) REQUIRES(mMutex); 913 static sp<AudioIoDescriptor> getIoDescriptor(audio_io_handle_t ioHandle);
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioFlingerService.aidl | 72 int sampleRate(int /* audio_io_handle_t */ ioHandle); in sampleRate() argument 76 long frameCount(int /* audio_io_handle_t */ ioHandle); in frameCount() argument 114 void setParameters(int /* audio_io_handle_t */ ioHandle, in setParameters() argument 116 @utf8InCpp String getParameters(int /* audio_io_handle_t */ ioHandle, in getParameters() argument 144 int getInputFramesLost(int /* audio_io_handle_t */ ioHandle); in getInputFramesLost() argument 211 long frameCountHAL(int /* audio_io_handle_t */ ioHandle); in frameCountHAL() argument
|
D | SoundTriggerSession.aidl | 28 int ioHandle;
|
D | AudioIoDescriptor.aidl | 28 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/services/audiopolicy/common/managerdefinitions/src/ |
D | SoundTriggerSession.cpp | 26 audio_io_handle_t ioHandle) in acquireSession() argument 28 add(session, ioHandle); in acquireSession()
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectConversionHelperAidl.cpp | 88 mCommon.ioHandle = ioId; in EffectConversionHelperAidl() 176 .ioHandle = mCommon.ioHandle, in handleSetConfig() 406 offload->isOffload ? "true" : "false", offload->ioHandle); in handleSetOffload() 409 if (mCommon.ioHandle != offload->ioHandle) { in handleSetOffload() 410 ALOGV("%s ioHandle update [%d to %d]", __func__, mCommon.ioHandle, offload->ioHandle); in handleSetOffload() 411 mCommon.ioHandle = offload->ioHandle; in handleSetOffload()
|
D | Hal2AidlMapper.h | 61 int32_t ioHandle, ::aidl::android::media::audio::common::AudioPort* port); 80 int32_t ioHandle, 174 int32_t ioHandle, 194 int32_t ioHandle); 197 int32_t ioHandle, int32_t devicePortId, int32_t devicePortConfigId,
|
D | Hal2AidlMapper.cpp | 367 const AudioConfig& config, const std::optional<AudioIoFlags>& flags, int32_t ioHandle, in findOrCreateMixPortConfig() argument 373 if (auto portConfigIt = findPortConfig(config, flags, ioHandle); in findOrCreateMixPortConfig() 403 requestedPortConfig.ext = AudioPortMixExt{ .handle = ioHandle }; in findOrCreateMixPortConfig() 413 __func__, config.toString().c_str(), ioHandle, mInstance.c_str()); in findOrCreateMixPortConfig() 612 int32_t ioHandle) { in findPortConfig() argument 626 p.ext.template get<Tag::mix>().handle == ioHandle; }); in findPortConfig() 629 status_t Hal2AidlMapper::getAudioMixPort(int32_t ioHandle, AudioPort* port) { in getAudioMixPort() argument 630 auto it = findPortConfig(std::nullopt /*config*/, std::nullopt /*flags*/, ioHandle); in getAudioMixPort() 632 ALOGE("%s, cannot find mix port config for handle %u", __func__, ioHandle); in getAudioMixPort() 774 int32_t ioHandle, const AudioDevice& device, const AudioIoFlags& flags, in prepareToOpenStream() argument [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareImpl.java | 65 AudioSession(int sessionHandle, int ioHandle, int deviceHandle) { in AudioSession() argument 67 mIoHandle = ioHandle; in AudioSession()
|
D | SoundTriggerHalMaxModelLimiter.java | 124 public void startRecognition(int modelHandle, int deviceHandle, int ioHandle, in startRecognition() argument 126 mDelegate.startRecognition(modelHandle, deviceHandle, ioHandle, config); in startRecognition()
|
D | SoundTriggerHalWatchdog.java | 90 public void startRecognition(int modelHandle, int deviceHandle, int ioHandle, in startRecognition() argument 93 mUnderlying.startRecognition(modelHandle, deviceHandle, ioHandle, config); in startRecognition()
|
D | SoundTriggerDuplicateModelHandler.java | 138 int modelHandle, int deviceHandle, int ioHandle, RecognitionConfig config) { in startRecognition() argument 139 mDelegate.startRecognition(modelHandle, deviceHandle, ioHandle, config); in startRecognition()
|
D | ISoundTriggerHal.java | 91 void startRecognition(int modelHandle, int deviceHandle, int ioHandle, in startRecognition() argument
|
D | SoundTriggerHw3Compat.java | 104 public void startRecognition(int modelHandle, int deviceHandle, int ioHandle, in startRecognition() argument 107 mDriver.startRecognition(modelHandle, deviceHandle, ioHandle, config); in startRecognition()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 260 uint32_t AudioFlingerClientAdapter::sampleRate(audio_io_handle_t ioHandle) const { in sampleRate() 262 int32_t ioHandleAidl = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in sampleRate() 281 size_t AudioFlingerClientAdapter::frameCount(audio_io_handle_t ioHandle) const { in frameCount() 283 int32_t ioHandleAidl = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in frameCount() 411 status_t AudioFlingerClientAdapter::setParameters(audio_io_handle_t ioHandle, in setParameters() argument 413 int32_t ioHandleAidl = VALUE_OR_RETURN_STATUS(legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in setParameters() 419 String8 AudioFlingerClientAdapter::getParameters(audio_io_handle_t ioHandle, const String8& keys) in getParameters() argument 422 int32_t ioHandleAidl = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in getParameters() 519 uint32_t AudioFlingerClientAdapter::getInputFramesLost(audio_io_handle_t ioHandle) const { in getInputFramesLost() 521 int32_t ioHandleAidl = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(ioHandle)); in getInputFramesLost() [all …]
|
D | AudioSystem.cpp | 249 sp<AudioIoDescriptor> AudioSystem::getIoDescriptor(audio_io_handle_t ioHandle) { in getIoDescriptor() argument 253 desc = afc->getIoDescriptor(ioHandle); in getIoDescriptor() 355 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) { in setParameters() argument 358 return af->setParameters(ioHandle, keyValuePairs); in setParameters() 361 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) { in getParameters() argument 366 result = af->getParameters(ioHandle, keys); in getParameters() 440 status_t AudioSystem::getSamplingRate(audio_io_handle_t ioHandle, in getSamplingRate() argument 444 sp<AudioIoDescriptor> desc = getIoDescriptor(ioHandle); in getSamplingRate() 446 *samplingRate = af->sampleRate(ioHandle); in getSamplingRate() 451 ALOGE("AudioSystem::getSamplingRate failed for ioHandle %d", ioHandle); in getSamplingRate() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | SoundTriggerSession.h | 30 status_t acquireSession(audio_session_t session, audio_io_handle_t ioHandle);
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.h | 79 uint32_t sampleRate(audio_io_handle_t ioHandle) const final EXCLUDES_AudioFlinger_Mutex; 81 size_t frameCount(audio_io_handle_t ioHandle) const final EXCLUDES_AudioFlinger_Mutex; 82 size_t frameCountHAL(audio_io_handle_t ioHandle) const final EXCLUDES_AudioFlinger_Mutex; 111 status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) final 113 String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const final 143 uint32_t getInputFramesLost(audio_io_handle_t ioHandle) const final 310 sp<IAfThreadBase> checkOutputThread_l(audio_io_handle_t ioHandle) const final 550 IAfThreadBase* checkThread_l(audio_io_handle_t ioHandle) const REQUIRES(mutex());
|
D | PatchPanel.cpp | 805 audio_io_handle_t ioHandle = patch.sinks[0].ext.mix.handle; in releaseAudioPatch_l() local 806 sp<IAfThreadBase> thread = mAfPatchPanelCallback->checkRecordThread_l(ioHandle); in releaseAudioPatch_l() 808 thread = mAfPatchPanelCallback->checkMmapThread_l(ioHandle); in releaseAudioPatch_l() 810 ALOGW("%s() bad capture I/O handle %d", __func__, ioHandle); in releaseAudioPatch_l() 828 audio_io_handle_t ioHandle = src.ext.mix.handle; in releaseAudioPatch_l() local 829 sp<IAfThreadBase> thread = mAfPatchPanelCallback->checkPlaybackThread_l(ioHandle); in releaseAudioPatch_l() 831 thread = mAfPatchPanelCallback->checkMmapThread_l(ioHandle); in releaseAudioPatch_l() 833 ALOGW("%s() bad playback I/O handle %d", __func__, ioHandle); in releaseAudioPatch_l()
|
D | AudioFlinger.cpp | 1204 uint32_t AudioFlinger::sampleRate(audio_io_handle_t ioHandle) const in sampleRate() 1207 IAfThreadBase* const thread = checkThread_l(ioHandle); in sampleRate() 1209 ALOGW("sampleRate() unknown thread %d", ioHandle); in sampleRate() 1226 size_t AudioFlinger::frameCount(audio_io_handle_t ioHandle) const in frameCount() 1229 IAfThreadBase* const thread = checkThread_l(ioHandle); in frameCount() 1231 ALOGW("frameCount() unknown thread %d", ioHandle); in frameCount() 1239 size_t AudioFlinger::frameCountHAL(audio_io_handle_t ioHandle) const in frameCountHAL() 1242 IAfThreadBase* const thread = checkThread_l(ioHandle); in frameCountHAL() 1244 ALOGW("frameCountHAL() unknown thread %d", ioHandle); in frameCountHAL() 1802 status_t AudioFlinger::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument [all …]
|
/frameworks/av/media/libaudiohal/tests/ |
D | EffectProxy_test.cpp | 76 int session = 0, int ioHandle = -1, int iSampleRate = 48000, int oSampleRate = 48000, in createParamCommon() argument 86 common.ioHandle = ioHandle; in createParamCommon() 162 offloadParam.ioHandle++; in TEST_F()
|