Home
last modified time | relevance | path

Searched refs:streamHandle (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libaaudio/src/binding/
DIAAudioService.cpp86 virtual aaudio_result_t closeStream(aaudio_handle_t streamHandle) override { in closeStream() argument
90 data.writeInt32(streamHandle); in closeStream()
102 virtual aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle, in getStreamDescription() argument
107 data.writeInt32(streamHandle); in getStreamDescription()
132 virtual aaudio_result_t startStream(aaudio_handle_t streamHandle) override { in startStream() argument
136 data.writeInt32(streamHandle); in startStream()
147 virtual aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override { in pauseStream() argument
151 data.writeInt32(streamHandle); in pauseStream()
162 virtual aaudio_result_t stopStream(aaudio_handle_t streamHandle) override { in stopStream() argument
166 data.writeInt32(streamHandle); in stopStream()
[all …]
DAAudioServiceInterface.h53 virtual aaudio_result_t closeStream(aaudio_handle_t streamHandle) = 0;
58 virtual aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle,
64 virtual aaudio_result_t startStream(aaudio_handle_t streamHandle) = 0;
69 virtual aaudio_result_t pauseStream(aaudio_handle_t streamHandle) = 0;
74 virtual aaudio_result_t stopStream(aaudio_handle_t streamHandle) = 0;
79 virtual aaudio_result_t flushStream(aaudio_handle_t streamHandle) = 0;
84 virtual aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle,
88 virtual aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle,
91 virtual aaudio_result_t startClient(aaudio_handle_t streamHandle,
95 virtual aaudio_result_t stopClient(aaudio_handle_t streamHandle,
DAAudioBinderClient.cpp148 aaudio_result_t AAudioBinderClient::closeStream(aaudio_handle_t streamHandle) { in closeStream() argument
151 return service->closeStream(streamHandle); in closeStream()
157 aaudio_result_t AAudioBinderClient::getStreamDescription(aaudio_handle_t streamHandle, in getStreamDescription() argument
161 return service->getStreamDescription(streamHandle, parcelable); in getStreamDescription()
164 aaudio_result_t AAudioBinderClient::startStream(aaudio_handle_t streamHandle) { in startStream() argument
167 return service->startStream(streamHandle); in startStream()
170 aaudio_result_t AAudioBinderClient::pauseStream(aaudio_handle_t streamHandle) { in pauseStream() argument
173 return service->pauseStream(streamHandle); in pauseStream()
176 aaudio_result_t AAudioBinderClient::stopStream(aaudio_handle_t streamHandle) { in stopStream() argument
179 return service->stopStream(streamHandle); in stopStream()
[all …]
DIAAudioService.h57 virtual aaudio_result_t closeStream(aaudio::aaudio_handle_t streamHandle) = 0;
62 virtual aaudio_result_t getStreamDescription(aaudio::aaudio_handle_t streamHandle,
69 virtual aaudio_result_t startStream(aaudio::aaudio_handle_t streamHandle) = 0;
75 virtual aaudio_result_t pauseStream(aaudio::aaudio_handle_t streamHandle) = 0;
81 virtual aaudio_result_t stopStream(aaudio::aaudio_handle_t streamHandle) = 0;
87 virtual aaudio_result_t flushStream(aaudio::aaudio_handle_t streamHandle) = 0;
92 virtual aaudio_result_t registerAudioThread(aaudio::aaudio_handle_t streamHandle,
96 virtual aaudio_result_t unregisterAudioThread(aaudio::aaudio_handle_t streamHandle,
DAAudioBinderClient.h61 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override;
66 aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle,
73 aaudio_result_t startStream(aaudio_handle_t streamHandle) override;
79 aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override;
81 aaudio_result_t stopStream(aaudio_handle_t streamHandle) override;
87 aaudio_result_t flushStream(aaudio_handle_t streamHandle) override;
93 aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle,
97 aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle,
100 aaudio_result_t startClient(aaudio_handle_t streamHandle __unused, in startClient()
106 aaudio_result_t stopClient(aaudio_handle_t streamHandle __unused, in stopClient()
DIAAudioClient.cpp63 aaudio_handle_t streamHandle; in onTransact() local
71 data.readInt32(&streamHandle); in onTransact()
74 onStreamChange(streamHandle, opcode, value); in onTransact()
75 ALOGD("BnAAudioClient onStreamChange(%x, %d, %d)", streamHandle, opcode, value); in onTransact()
/frameworks/av/services/oboeservice/
DAAudioService.cpp169 aaudio_result_t AAudioService::closeStream(aaudio_handle_t streamHandle) { in closeStream() argument
171 sp<AAudioServiceStreamBase> serviceStream = convertHandleToServiceStream(streamHandle); in closeStream()
173 ALOGE("closeStream(0x%0x), illegal stream handle", streamHandle); in closeStream()
186 aaudio_handle_t streamHandle) { in convertHandleToServiceStream() argument
188 streamHandle); in convertHandleToServiceStream()
199 callingUserId, streamHandle, ownerUserId); in convertHandleToServiceStream()
209 aaudio_handle_t streamHandle, in getStreamDescription() argument
211 sp<AAudioServiceStreamBase> serviceStream = convertHandleToServiceStream(streamHandle); in getStreamDescription()
213 ALOGE("getStreamDescription(), illegal stream handle = 0x%0x", streamHandle); in getStreamDescription()
222 aaudio_result_t AAudioService::startStream(aaudio_handle_t streamHandle) { in startStream() argument
[all …]
DAAudioService.h58 aaudio_result_t closeStream(aaudio::aaudio_handle_t streamHandle) override;
61 aaudio::aaudio_handle_t streamHandle,
64 aaudio_result_t startStream(aaudio::aaudio_handle_t streamHandle) override;
66 aaudio_result_t pauseStream(aaudio::aaudio_handle_t streamHandle) override;
68 aaudio_result_t stopStream(aaudio::aaudio_handle_t streamHandle) override;
70 aaudio_result_t flushStream(aaudio::aaudio_handle_t streamHandle) override;
72 aaudio_result_t registerAudioThread(aaudio::aaudio_handle_t streamHandle,
76 aaudio_result_t unregisterAudioThread(aaudio::aaudio_handle_t streamHandle,
79 aaudio_result_t startClient(aaudio::aaudio_handle_t streamHandle,
83 aaudio_result_t stopClient(aaudio::aaudio_handle_t streamHandle,
[all …]
DAAudioStreamTracker.cpp34 aaudio_handle_t streamHandle) { in decrementAndRemoveStreamByHandle() argument
37 auto it = mStreamsByHandle.find(streamHandle); in decrementAndRemoveStreamByHandle()
52 aaudio_handle_t streamHandle) { in getStreamByHandleAndIncrement() argument
55 auto it = mStreamsByHandle.find(streamHandle); in getStreamByHandleAndIncrement()
DAAudioStreamTracker.h44 aaudio_handle_t streamHandle);
54 aaudio_handle_t streamHandle);