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 …]
DAAudioBinderAdapter.h37 aaudio_handle_t openStream(const AAudioStreamRequest& request,
40 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override;
42 aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle,
45 aaudio_result_t startStream(aaudio_handle_t streamHandle) override;
47 aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override;
49 aaudio_result_t stopStream(aaudio_handle_t streamHandle) override;
51 aaudio_result_t flushStream(aaudio_handle_t streamHandle) override;
53 aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle,
57 aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle,
DAAudioBinderClient.h57 aaudio_handle_t openStream(const AAudioStreamRequest &request,
60 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override;
65 aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle,
72 aaudio_result_t startStream(aaudio_handle_t streamHandle) override;
78 aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override;
80 aaudio_result_t stopStream(aaudio_handle_t streamHandle) override;
86 aaudio_result_t flushStream(aaudio_handle_t streamHandle) override;
92 aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle,
96 aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle,
99 aaudio_result_t startClient(aaudio_handle_t streamHandle __unused, in startClient()
[all …]
DAAudioBinderAdapter.cpp33 aaudio_handle_t AAudioBinderAdapter::openStream(const AAudioStreamRequest& request, in openStream()
35 aaudio_handle_t result; in openStream()
47 aaudio_result_t AAudioBinderAdapter::closeStream(aaudio_handle_t streamHandle) { in closeStream()
56 aaudio_result_t AAudioBinderAdapter::getStreamDescription(aaudio_handle_t streamHandle, in getStreamDescription()
70 aaudio_result_t AAudioBinderAdapter::startStream(aaudio_handle_t streamHandle) { in startStream()
79 aaudio_result_t AAudioBinderAdapter::pauseStream(aaudio_handle_t streamHandle) { in pauseStream()
88 aaudio_result_t AAudioBinderAdapter::stopStream(aaudio_handle_t streamHandle) { in stopStream()
97 aaudio_result_t AAudioBinderAdapter::flushStream(aaudio_handle_t streamHandle) { in flushStream()
106 aaudio_result_t AAudioBinderAdapter::registerAudioThread(aaudio_handle_t streamHandle, in registerAudioThread()
117 aaudio_result_t AAudioBinderAdapter::unregisterAudioThread(aaudio_handle_t streamHandle, in unregisterAudioThread()
DAAudioBinderClient.cpp123 aaudio_handle_t AAudioBinderClient::openStream(const AAudioStreamRequest &request, in openStream()
125 aaudio_handle_t stream; in openStream()
142 aaudio_result_t AAudioBinderClient::closeStream(aaudio_handle_t streamHandle) { in closeStream()
152 aaudio_result_t AAudioBinderClient::getStreamDescription(aaudio_handle_t streamHandle, in getStreamDescription()
160 aaudio_result_t AAudioBinderClient::startStream(aaudio_handle_t streamHandle) { in startStream()
167 aaudio_result_t AAudioBinderClient::pauseStream(aaudio_handle_t streamHandle) { in pauseStream()
174 aaudio_result_t AAudioBinderClient::stopStream(aaudio_handle_t streamHandle) { in stopStream()
181 aaudio_result_t AAudioBinderClient::flushStream(aaudio_handle_t streamHandle) { in flushStream()
191 aaudio_result_t AAudioBinderClient::registerAudioThread(aaudio_handle_t streamHandle, in registerAudioThread()
200 aaudio_result_t AAudioBinderClient::unregisterAudioThread(aaudio_handle_t streamHandle, in unregisterAudioThread()
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
/frameworks/av/services/oboeservice/fuzzer/
Doboeservice_fuzzer.cpp88 aaudio_handle_t openStream(const AAudioStreamRequest &request,
91 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override;
93 aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle,
96 aaudio_result_t startStream(aaudio_handle_t streamHandle) override;
98 aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override;
100 aaudio_result_t stopStream(aaudio_handle_t streamHandle) override;
102 aaudio_result_t flushStream(aaudio_handle_t streamHandle) override;
104 aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle, pid_t clientThreadId,
107 aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle,
110 aaudio_result_t startClient(aaudio_handle_t streamHandle UNUSED_PARAM, in startClient()
[all …]
/frameworks/av/services/oboeservice/
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);
79 aaudio_handle_t mPreviousHandle GUARDED_BY(mHandleLock) = 0;
80 std::map<aaudio_handle_t, android::sp<aaudio::AAudioServiceStreamBase>>
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.h85 aaudio_result_t startClient(aaudio::aaudio_handle_t streamHandle,
90 aaudio_result_t stopClient(aaudio::aaudio_handle_t streamHandle,
112 aaudio_result_t startClient(aaudio::aaudio_handle_t streamHandle, in startClient()
119 aaudio_result_t stopClient(aaudio::aaudio_handle_t streamHandle, in stopClient()
140 aaudio::aaudio_handle_t streamHandle);
DAAudioServiceStreamBase.h81 void logOpen(aaudio_handle_t streamHandle);
172 aaudio_handle_t getHandle() const { in getHandle()
175 void setHandle(aaudio_handle_t handle) { in setHandle()
323 aaudio_handle_t mHandle = -1;
DAAudioService.cpp171 aaudio_handle_t handle = mStreamTracker.addStreamForHandle(serviceStream.get()); in openStream()
303 aaudio_handle_t streamHandle) { in convertHandleToServiceStream()
325 aaudio_result_t AAudioService::startClient(aaudio_handle_t streamHandle, in startClient()
337 aaudio_result_t AAudioService::stopClient(aaudio_handle_t streamHandle, in stopClient()
DAAudioClientTracker.cpp199 aaudio_handle_t handle = serviceStream->getHandle(); in binderDied()
DAAudioServiceStreamBase.cpp96 void AAudioServiceStreamBase::logOpen(aaudio_handle_t streamHandle) { in logOpen()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.h85 aaudio_handle_t getServiceHandle() const { in getServiceHandle()
153 aaudio_handle_t mServiceStreamHandle; // opaque handle returned from service
DAudioStreamInternal.cpp313 aaudio_handle_t serviceStreamHandle = mServiceStreamHandle; in release_l()