Home
last modified time | relevance | path

Searched refs:aaudio_handle_t (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libaaudio/src/binding/
DAAudioServiceInterface.h50 virtual aaudio_handle_t openStream(const AAudioStreamRequest &request,
53 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,
[all …]
DAAudioBinderClient.h58 aaudio_handle_t openStream(const AAudioStreamRequest &request,
61 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()
[all …]
DIAAudioService.h54 virtual aaudio::aaudio_handle_t openStream(const aaudio::AAudioStreamRequest &request,
57 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.cpp130 aaudio_handle_t AAudioBinderClient::openStream(const AAudioStreamRequest &request, in openStream()
132 aaudio_handle_t stream; in openStream()
149 aaudio_result_t AAudioBinderClient::closeStream(aaudio_handle_t streamHandle) { in closeStream()
158 aaudio_result_t AAudioBinderClient::getStreamDescription(aaudio_handle_t streamHandle, in getStreamDescription()
165 aaudio_result_t AAudioBinderClient::startStream(aaudio_handle_t streamHandle) { in startStream()
171 aaudio_result_t AAudioBinderClient::pauseStream(aaudio_handle_t streamHandle) { in pauseStream()
177 aaudio_result_t AAudioBinderClient::stopStream(aaudio_handle_t streamHandle) { in stopStream()
183 aaudio_result_t AAudioBinderClient::flushStream(aaudio_handle_t streamHandle) { in flushStream()
192 aaudio_result_t AAudioBinderClient::registerAudioThread(aaudio_handle_t streamHandle, in registerAudioThread()
202 aaudio_result_t AAudioBinderClient::unregisterAudioThread(aaudio_handle_t streamHandle, in unregisterAudioThread()
DIAAudioService.cpp33 using aaudio::aaudio_handle_t;
56 aaudio_handle_t openStream(const aaudio::AAudioStreamRequest &request, in openStream()
69 aaudio_handle_t stream; in openStream()
87 virtual aaudio_result_t closeStream(aaudio_handle_t streamHandle) override { in closeStream()
103 virtual aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle, in getStreamDescription()
133 virtual aaudio_result_t startStream(aaudio_handle_t streamHandle) override { in startStream()
148 virtual aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override { in pauseStream()
163 virtual aaudio_result_t stopStream(aaudio_handle_t streamHandle) override { in stopStream()
178 virtual aaudio_result_t flushStream(aaudio_handle_t streamHandle) override { in flushStream()
193 virtual aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle, in registerAudioThread()
[all …]
DIAAudioClient.cpp30 using aaudio::aaudio_handle_t;
45 void onStreamChange(aaudio_handle_t handle, int32_t opcode, int32_t value) override { in onStreamChange()
63 aaudio_handle_t streamHandle; in onTransact()
DAAudioServiceDefinitions.h53 typedef int32_t aaudio_handle_t; typedef
55 #define AAUDIO_HANDLE_INVALID ((aaudio_handle_t) -1)
DAAudioCommon.h28 typedef int32_t aaudio_handle_t; typedef
DIAAudioClient.h36 virtual void onStreamChange(aaudio::aaudio_handle_t handle, int32_t opcode, int32_t value) = 0;
/frameworks/av/services/oboeservice/
DAAudioService.h54 aaudio::aaudio_handle_t openStream(const aaudio::AAudioStreamRequest &request,
58 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,
[all …]
DAAudioStreamTracker.h44 aaudio_handle_t streamHandle);
54 aaudio_handle_t streamHandle);
72 aaudio_handle_t addStreamForHandle(android::sp<AAudioServiceStreamBase> serviceStream);
80 static aaudio_handle_t bumpHandle(aaudio_handle_t handle);
85 aaudio_handle_t mPreviousHandle = 0;
87 std::map<aaudio_handle_t, android::sp<aaudio::AAudioServiceStreamBase>> mStreamsByHandle;
DAAudioStreamTracker.cpp34 aaudio_handle_t streamHandle) { in decrementAndRemoveStreamByHandle()
52 aaudio_handle_t streamHandle) { in getStreamByHandleAndIncrement()
85 aaudio_handle_t AAudioStreamTracker::bumpHandle(aaudio_handle_t handle) { in bumpHandle()
94 aaudio_handle_t AAudioStreamTracker::addStreamForHandle(sp<AAudioServiceStreamBase> serviceStream) { in addStreamForHandle()
96 aaudio_handle_t handle = mPreviousHandle; in addStreamForHandle()
123 aaudio_handle_t handle = it.second->getHandle(); in dump()
DAAudioService.cpp81 aaudio_handle_t AAudioService::openStream(const aaudio::AAudioStreamRequest &request, in openStream()
134 aaudio_handle_t handle = mStreamTracker.addStreamForHandle(serviceStream.get()); in openStream()
166 aaudio_result_t AAudioService::closeStream(aaudio_handle_t streamHandle) { in closeStream()
183 aaudio_handle_t streamHandle) { in convertHandleToServiceStream()
206 aaudio_handle_t streamHandle, in getStreamDescription()
219 aaudio_result_t AAudioService::startStream(aaudio_handle_t streamHandle) { in startStream()
230 aaudio_result_t AAudioService::pauseStream(aaudio_handle_t streamHandle) { in pauseStream()
240 aaudio_result_t AAudioService::stopStream(aaudio_handle_t streamHandle) { in stopStream()
250 aaudio_result_t AAudioService::flushStream(aaudio_handle_t streamHandle) { in flushStream()
260 aaudio_result_t AAudioService::registerAudioThread(aaudio_handle_t streamHandle, in registerAudioThread()
[all …]
DAAudioServiceStreamBase.h176 aaudio_handle_t getHandle() const { in getHandle()
179 void setHandle(aaudio_handle_t handle) { in setHandle()
301 aaudio_handle_t mHandle = -1;
DAAudioClientTracker.cpp179 aaudio_handle_t handle = serviceStream->getHandle(); in binderDied()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.h98 aaudio_handle_t getServiceHandle() const { in getServiceHandle()
151 aaudio_handle_t mServiceStreamHandle; // opaque handle returned from service
DAudioStreamInternal.cpp248 aaudio_handle_t serviceStreamHandle = mServiceStreamHandle; in close()