Home
last modified time | relevance | path

Searched refs:audioStream (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp229 AudioStream *audioStream = nullptr; in AAudioStreamBuilder_openStream() local
234 aaudio_result_t result = streamBuilder->build(&audioStream); in AAudioStreamBuilder_openStream()
236 *streamPtr = (AAudioStream*) audioStream; in AAudioStreamBuilder_openStream()
237 id = audioStream->getId(); in AAudioStreamBuilder_openStream()
258 AudioStream* audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_release() local
259 if (audioStream != nullptr) { in AAudioStream_release()
260 aaudio_stream_id_t id = audioStream->getId(); in AAudioStream_release()
262 result = audioStream->safeRelease(); in AAudioStream_release()
277 AudioStream* audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_close() local
278 if (audioStream != nullptr) { in AAudioStream_close()
[all …]
DAudioStreamBuilder.cpp172 android::sp<AudioStream> audioStream; in build() local
173 result = builder_createStream(getDirection(), sharingMode, allowMMap, audioStream); in build()
176 result = audioStream->open(*this); in build()
178 bool isMMap = audioStream->isMMap(); in build()
183 false, audioStream); in build()
185 result = audioStream->open(*this); in build()
190 audioStream->registerPlayerBase(); in build()
191 audioStream->logOpenActual(); in build()
192 *streamPtr = startUsingStream(audioStream); in build()
199 AudioStream *AudioStreamBuilder::startUsingStream(android::sp<AudioStream> &audioStream) { in startUsingStream() argument
[all …]
DAudioStream.cpp438 AudioStream *audioStream = (AudioStream *) threadArg; in AudioStream_internalThreadProc() local
442 android::sp<AudioStream> protectedStream(audioStream); in AudioStream_internalThreadProc()
584 android::sp<AudioStream> audioStream; in applyVolumeShaper() local
587 audioStream = mParent.promote(); in applyVolumeShaper()
589 if (audioStream) { in applyVolumeShaper()
590 return audioStream->applyVolumeShaper(configuration, operation); in applyVolumeShaper()
621 android::sp<AudioStream> audioStream; in playerSetVolume() local
624 audioStream = mParent.promote(); in playerSetVolume()
626 if (audioStream) { in playerSetVolume()
628 audioStream->setDuckAndMuteVolume(mVolumeMultiplierL /* mPanMultiplierL */); in playerSetVolume()
/frameworks/base/core/java/android/service/voice/
DAbstractHotwordDetector.java64 @NonNull ParcelFileDescriptor audioStream, in startRecognition()
75 audioStream, in startRecognition()
DHotwordDetectionService.java162 ParcelFileDescriptor audioStream,
178 audioStream,
333 @NonNull ParcelFileDescriptor audioStream, in onDetect()
DIMicrophoneHotwordDetectionVoiceInteractionCallback.aidl35 in ParcelFileDescriptor audioStream); in onDetected() argument
DSoftwareHotwordDetector.java133 @Nullable ParcelFileDescriptor audioStream) { in onDetected() argument
138 audioFormat, hotwordDetectedResult, audioStream))); in onDetected()
DHotwordDetector.java81 @NonNull ParcelFileDescriptor audioStream, in startRecognition()
DIHotwordDetectionService.aidl43 in ParcelFileDescriptor audioStream, in detectFromMicrophoneSource() argument
DAlwaysOnHotwordDetector.java371 ParcelFileDescriptor audioStream) { in EventPayload() argument
372 this(false, false, audioFormat, -1, null, hotwordDetectedResult, audioStream); in EventPayload()
377 HotwordDetectedResult hotwordDetectedResult, ParcelFileDescriptor audioStream) { in EventPayload() argument
384 mAudioStream = audioStream; in EventPayload()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordDetectionConnection.java362 ParcelFileDescriptor audioStream, in startListeningFromExternalSource() argument
371 audioStream, in startListeningFromExternalSource()
663 ParcelFileDescriptor audioStream, in handleExternalSourceHotwordDetection() argument
670 InputStream audioSource = new ParcelFileDescriptor.AutoCloseInputStream(audioStream); in handleExternalSourceHotwordDetection()
DVoiceInteractionManagerServiceImpl.java498 ParcelFileDescriptor audioStream, in startListeningFromExternalSourceLocked() argument
511 if (audioStream == null) { in startListeningFromExternalSourceLocked()
517 .startListeningFromExternalSource(audioStream, audioFormat, options, callback); in startListeningFromExternalSourceLocked()
DVoiceInteractionManagerService.java1187 ParcelFileDescriptor audioStream, in startListeningFromExternalSource() argument
1203 audioStream, audioFormat, options, callback); in startListeningFromExternalSource()
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionManagerService.aidl264 in ParcelFileDescriptor audioStream, in startListeningFromExternalSource() argument