/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/ |
D | IAAudioService.aidl | 40 int closeStream(int streamHandle); in closeStream() argument 46 int getStreamDescription(int streamHandle, out Endpoint endpoint); in getStreamDescription() argument 52 int startStream(int streamHandle); in startStream() argument 58 int pauseStream(int streamHandle); in pauseStream() argument 64 int stopStream(int streamHandle); in stopStream() argument 70 int flushStream(int streamHandle); in flushStream() argument 75 int registerAudioThread(int streamHandle, in registerAudioThread() argument 79 int unregisterAudioThread(int streamHandle, in unregisterAudioThread() argument 82 int exitStandby(int streamHandle, out Endpoint endpoint); in exitStandby() argument
|
/frameworks/av/services/oboeservice/ |
D | AAudioService.cpp | 184 Status AAudioService::closeStream(int32_t streamHandle, int32_t *_aidl_return) { in closeStream() argument 188 const sp<AAudioServiceStreamBase> serviceStream = convertHandleToServiceStream(streamHandle); in closeStream() 190 ALOGE("closeStream(0x%0x), illegal stream handle", streamHandle); in closeStream() 196 Status AAudioService::getStreamDescription(int32_t streamHandle, Endpoint* endpoint, in getStreamDescription() argument 200 const sp<AAudioServiceStreamBase> serviceStream = convertHandleToServiceStream(streamHandle); in getStreamDescription() 202 ALOGE("getStreamDescription(), illegal stream handle = 0x%0x", streamHandle); in getStreamDescription() 213 Status AAudioService::startStream(int32_t streamHandle, int32_t *_aidl_return) { in startStream() argument 216 const sp<AAudioServiceStreamBase> serviceStream = convertHandleToServiceStream(streamHandle); in startStream() 218 ALOGW("%s(), invalid streamHandle = 0x%0x", __func__, streamHandle); in startStream() 224 Status AAudioService::pauseStream(int32_t streamHandle, int32_t *_aidl_return) { in pauseStream() argument [all …]
|
D | AAudioService.h | 65 binder::Status closeStream(int32_t streamHandle, int32_t* _aidl_return) override; 68 getStreamDescription(int32_t streamHandle, ::aaudio::Endpoint* endpoint, 71 binder::Status startStream(int32_t streamHandle, int32_t* _aidl_return) override; 73 binder::Status pauseStream(int32_t streamHandle, int32_t* _aidl_return) override; 75 binder::Status stopStream(int32_t streamHandle, int32_t* _aidl_return) override; 77 binder::Status flushStream(int32_t streamHandle, int32_t* _aidl_return) override; 80 registerAudioThread(int32_t streamHandle, int32_t clientThreadId, int64_t periodNanoseconds, 83 binder::Status unregisterAudioThread(int32_t streamHandle, int32_t clientThreadId, 86 binder::Status exitStandby(int32_t streamHandle, ::aaudio::Endpoint* endpoint, 89 aaudio_result_t startClient(aaudio::aaudio_handle_t streamHandle, [all …]
|
D | AAudioStreamTracker.cpp | 34 aaudio_handle_t streamHandle) { in removeStreamByHandle() argument 36 auto count = mStreamsByHandle.erase(streamHandle); in removeStreamByHandle() 41 aaudio_handle_t streamHandle) { in getStreamByHandle() argument 44 auto it = mStreamsByHandle.find(streamHandle); in getStreamByHandle()
|
D | AAudioStreamTracker.h | 40 int32_t removeStreamByHandle(aaudio_handle_t streamHandle) EXCLUDES(mHandleLock); 49 aaudio_handle_t streamHandle) EXCLUDES(mHandleLock);
|
D | AAudioServiceStreamBase.cpp | 108 void AAudioServiceStreamBase::logOpen(aaudio_handle_t streamHandle) { in logOpen() argument 111 + std::to_string(streamHandle); in logOpen()
|
D | AAudioServiceStreamBase.h | 84 void logOpen(aaudio_handle_t streamHandle);
|
/frameworks/av/services/audioflinger/ |
D | MelReporter.cpp | 83 void MelReporter::updateMetadataForCsd(audio_io_handle_t streamHandle, in updateMetadataForCsd() argument 92 auto activeMelPatchId = activePatchStreamHandle_l(streamHandle); in updateMetadataForCsd() 94 ALOGV("%s stream handle %d does not have an active patch", __func__, streamHandle); in updateMetadataForCsd() 109 ALOGV("%s should not compute CSD for stream handle %d", __func__, streamHandle); in updateMetadataForCsd() 112 ALOGV("%s should compute CSD for stream handle %d", __func__, streamHandle); in updateMetadataForCsd() 141 audio_io_handle_t streamHandle = patch.mAudioPatch.sources[0].ext.mix.handle; in onCreateAudioPatch() local 143 newPatch.streamHandle = streamHandle; in onCreateAudioPatch() 173 auto outputThread = mAfMelReporterCallback->checkOutputThread_l(patch.streamHandle); in startMelComputationForActivePatch_l() 175 ALOGE("%s cannot find thread for stream handle %d", __func__, patch.streamHandle); in startMelComputationForActivePatch_l() 183 patch.streamHandle, device.first, mActiveDevices[device.first]); in startMelComputationForActivePatch_l() [all …]
|
D | MelReporter.h | 102 void updateMetadataForCsd(audio_io_handle_t streamHandle, 110 audio_io_handle_t streamHandle{AUDIO_IO_HANDLE_NONE}; 132 activePatchStreamHandle_l(audio_io_handle_t streamHandle) REQUIRES(mutex());
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioBinderClient.h | 184 aaudio_result_t startClient(const AAudioHandleInfo& streamHandle __unused, in startClient() 193 aaudio_result_t stopClient(const AAudioHandleInfo& streamHandle __unused, in stopClient()
|
/frameworks/av/services/audioflinger/sounddose/ |
D | SoundDoseManager.cpp | 56 audio_port_handle_t deviceId, audio_io_handle_t streamHandle, uint32_t sampleRate, in getOrCreateProcessorForDevice() argument 65 auto streamProcessor = mActiveProcessors.find(streamHandle); in getOrCreateProcessorForDevice() 71 ALOGV("%s: found callback for stream id %d", __func__, streamHandle); in getOrCreateProcessorForDevice() 82 ALOGV("%s: creating new callback for stream id %d", __func__, streamHandle); in getOrCreateProcessorForDevice() 89 mActiveProcessors[streamHandle] = melProcessor; in getOrCreateProcessorForDevice() 186 void SoundDoseManager::removeStreamProcessor(audio_io_handle_t streamHandle) { in removeStreamProcessor() argument 188 auto callbackToRemove = mActiveProcessors.find(streamHandle); in removeStreamProcessor()
|
D | SoundDoseManager.h | 77 audio_io_handle_t streamHandle, 87 void removeStreamProcessor(audio_io_handle_t streamHandle);
|