Home
last modified time | relevance | path

Searched refs:aaudio_handle_t (Results 1 – 18 of 18) 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.cpp129 aaudio_handle_t AAudioBinderClient::openStream(const AAudioStreamRequest &request, in openStream()
131 aaudio_handle_t stream; in openStream()
148 aaudio_result_t AAudioBinderClient::closeStream(aaudio_handle_t streamHandle) { in closeStream()
157 aaudio_result_t AAudioBinderClient::getStreamDescription(aaudio_handle_t streamHandle, in getStreamDescription()
164 aaudio_result_t AAudioBinderClient::startStream(aaudio_handle_t streamHandle) { in startStream()
170 aaudio_result_t AAudioBinderClient::pauseStream(aaudio_handle_t streamHandle) { in pauseStream()
176 aaudio_result_t AAudioBinderClient::stopStream(aaudio_handle_t streamHandle) { in stopStream()
182 aaudio_result_t AAudioBinderClient::flushStream(aaudio_handle_t streamHandle) { in flushStream()
191 aaudio_result_t AAudioBinderClient::registerAudioThread(aaudio_handle_t streamHandle, in registerAudioThread()
201 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()
86 virtual aaudio_result_t closeStream(aaudio_handle_t streamHandle) override { in closeStream()
102 virtual aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle, in getStreamDescription()
132 virtual aaudio_result_t startStream(aaudio_handle_t streamHandle) override { in startStream()
147 virtual aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override { in pauseStream()
162 virtual aaudio_result_t stopStream(aaudio_handle_t streamHandle) override { in stopStream()
177 virtual aaudio_result_t flushStream(aaudio_handle_t streamHandle) override { in flushStream()
192 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,
62 aaudio_result_t closeStream(aaudio::aaudio_handle_t streamHandle) override;
65 aaudio::aaudio_handle_t streamHandle,
68 aaudio_result_t startStream(aaudio::aaudio_handle_t streamHandle) override;
70 aaudio_result_t pauseStream(aaudio::aaudio_handle_t streamHandle) override;
72 aaudio_result_t stopStream(aaudio::aaudio_handle_t streamHandle) override;
74 aaudio_result_t flushStream(aaudio::aaudio_handle_t streamHandle) override;
76 aaudio_result_t registerAudioThread(aaudio::aaudio_handle_t streamHandle,
80 aaudio_result_t unregisterAudioThread(aaudio::aaudio_handle_t streamHandle,
83 aaudio_result_t startClient(aaudio::aaudio_handle_t streamHandle,
[all …]
DAAudioStreamTracker.h40 int32_t removeStreamByHandle(aaudio_handle_t streamHandle);
49 aaudio_handle_t streamHandle);
67 aaudio_handle_t addStreamForHandle(android::sp<AAudioServiceStreamBase> serviceStream);
75 static aaudio_handle_t bumpHandle(aaudio_handle_t handle);
80 aaudio_handle_t mPreviousHandle = 0;
82 std::map<aaudio_handle_t, android::sp<aaudio::AAudioServiceStreamBase>> mStreamsByHandle;
DAAudioStreamTracker.cpp34 aaudio_handle_t streamHandle) { in removeStreamByHandle()
41 aaudio_handle_t streamHandle) { in getStreamByHandle()
72 aaudio_handle_t AAudioStreamTracker::bumpHandle(aaudio_handle_t handle) { in bumpHandle()
81 aaudio_handle_t AAudioStreamTracker::addStreamForHandle(sp<AAudioServiceStreamBase> serviceStream) { in addStreamForHandle()
83 aaudio_handle_t handle = mPreviousHandle; in addStreamForHandle()
110 aaudio_handle_t handle = it.second->getHandle(); in dump()
DAAudioService.cpp85 aaudio_handle_t AAudioService::openStream(const aaudio::AAudioStreamRequest &request, in openStream()
152 aaudio_handle_t handle = mStreamTracker.addStreamForHandle(serviceStream.get()); in openStream()
165 aaudio_result_t AAudioService::closeStream(aaudio_handle_t streamHandle) { in closeStream()
188 aaudio_handle_t streamHandle) { in convertHandleToServiceStream()
209 aaudio_handle_t streamHandle, in getStreamDescription()
219 aaudio_result_t AAudioService::startStream(aaudio_handle_t streamHandle) { in startStream()
228 aaudio_result_t AAudioService::pauseStream(aaudio_handle_t streamHandle) { in pauseStream()
237 aaudio_result_t AAudioService::stopStream(aaudio_handle_t streamHandle) { in stopStream()
246 aaudio_result_t AAudioService::flushStream(aaudio_handle_t streamHandle) { in flushStream()
255 aaudio_result_t AAudioService::registerAudioThread(aaudio_handle_t streamHandle, in registerAudioThread()
[all …]
DAAudioServiceStreamBase.h78 void logOpen(aaudio_handle_t streamHandle);
167 aaudio_handle_t getHandle() const { in getHandle()
170 void setHandle(aaudio_handle_t handle) { in setHandle()
331 aaudio_handle_t mHandle = -1;
DAAudioClientTracker.cpp199 aaudio_handle_t handle = serviceStream->getHandle(); in binderDied()
DAAudioServiceStreamBase.cpp97 void AAudioServiceStreamBase::logOpen(aaudio_handle_t streamHandle) { in logOpen()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.h98 aaudio_handle_t getServiceHandle() const { in getServiceHandle()
160 aaudio_handle_t mServiceStreamHandle; // opaque handle returned from service
DAudioStreamInternal.cpp294 aaudio_handle_t serviceStreamHandle = mServiceStreamHandle; in release_l()