Home
last modified time | relevance | path

Searched refs:AAudioServiceStreamBase (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.cpp43 AAudioServiceStreamBase::AAudioServiceStreamBase(AAudioService &audioService) in AAudioServiceStreamBase() function in AAudioServiceStreamBase
53 AAudioServiceStreamBase::~AAudioServiceStreamBase() { in ~AAudioServiceStreamBase()
63 std::string AAudioServiceStreamBase::dumpHeader() { in dumpHeader()
67 std::string AAudioServiceStreamBase::dump() const { in dump()
84 aaudio_result_t AAudioServiceStreamBase::open(const aaudio::AAudioStreamRequest &request, in open()
132 aaudio_result_t AAudioServiceStreamBase::close() { in close()
163 aaudio_result_t AAudioServiceStreamBase::startDevice() { in startDevice()
178 aaudio_result_t AAudioServiceStreamBase::start() { in start()
208 aaudio_result_t AAudioServiceStreamBase::pause() { in pause()
240 aaudio_result_t AAudioServiceStreamBase::stop() { in stop()
[all …]
DAAudioStreamTracker.cpp33 sp<AAudioServiceStreamBase> AAudioStreamTracker::decrementAndRemoveStreamByHandle( in decrementAndRemoveStreamByHandle()
36 sp<AAudioServiceStreamBase> serviceStream; in decrementAndRemoveStreamByHandle()
39 sp<AAudioServiceStreamBase> tempStream = it->second; in decrementAndRemoveStreamByHandle()
51 sp<AAudioServiceStreamBase> AAudioStreamTracker::getStreamByHandleAndIncrement( in getStreamByHandleAndIncrement()
54 sp<AAudioServiceStreamBase> serviceStream; in getStreamByHandleAndIncrement()
66 sp<AAudioServiceStreamBase> AAudioStreamTracker::findStreamByPortHandleAndIncrement( in findStreamByPortHandleAndIncrement()
69 sp<AAudioServiceStreamBase> serviceStream; in findStreamByPortHandleAndIncrement()
94 aaudio_handle_t AAudioStreamTracker::addStreamForHandle(sp<AAudioServiceStreamBase> serviceStream) { in addStreamForHandle()
100 sp<AAudioServiceStreamBase> oldServiceStream = mStreamsByHandle[handle]; in addStreamForHandle()
DAAudioService.cpp84 sp<AAudioServiceStreamBase> serviceStream; in openStream()
145 bool AAudioService::releaseStream(const sp<AAudioServiceStreamBase> &serviceStream) { in releaseStream()
149 sp<AAudioServiceStreamBase> foundStream = mStreamTracker.decrementAndRemoveStreamByHandle( in releaseStream()
161 const sp<AAudioServiceStreamBase> &serviceStream, in checkForPendingClose()
168 sp<AAudioServiceStreamBase> serviceStream = convertHandleToServiceStream(streamHandle); in closeStream()
182 sp<AAudioServiceStreamBase> AAudioService::convertHandleToServiceStream( in convertHandleToServiceStream()
184 sp<AAudioServiceStreamBase> serviceStream = mStreamTracker.getStreamByHandleAndIncrement( in convertHandleToServiceStream()
208 sp<AAudioServiceStreamBase> serviceStream = convertHandleToServiceStream(streamHandle); in getStreamDescription()
220 sp<AAudioServiceStreamBase> serviceStream = convertHandleToServiceStream(streamHandle); in startStream()
231 sp<AAudioServiceStreamBase> serviceStream = convertHandleToServiceStream(streamHandle); in pauseStream()
[all …]
DAAudioStreamTracker.h43 android::sp<AAudioServiceStreamBase> decrementAndRemoveStreamByHandle(
53 android::sp<aaudio::AAudioServiceStreamBase> getStreamByHandleAndIncrement(
63 android::sp<aaudio::AAudioServiceStreamBase> findStreamByPortHandleAndIncrement(
72 aaudio_handle_t addStreamForHandle(android::sp<AAudioServiceStreamBase> serviceStream);
87 std::map<aaudio_handle_t, android::sp<aaudio::AAudioServiceStreamBase>> mStreamsByHandle;
DAAudioClientTracker.h56 android::sp<AAudioServiceStreamBase> serviceStream);
59 android::sp<AAudioServiceStreamBase> serviceStream);
83 aaudio_result_t registerClientStream(android::sp<AAudioServiceStreamBase> serviceStream);
85 aaudio_result_t unregisterClientStream(android::sp<AAudioServiceStreamBase> serviceStream);
93 std::set<android::sp<AAudioServiceStreamBase>> mStreams;
DAAudioServiceEndpoint.h52 aaudio_result_t registerStream(android::sp<AAudioServiceStreamBase> stream);
54 aaudio_result_t unregisterStream(android::sp<AAudioServiceStreamBase> stream);
56 virtual aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream,
59 virtual aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream,
115 std::vector<android::sp<AAudioServiceStreamBase>> mRegisteredStreams;
DAAudioServiceStreamMMAP.cpp48 : AAudioServiceStreamBase(aAudioService) in AAudioServiceStreamMMAP()
59 return AAudioServiceStreamBase::close(); in close()
67 aaudio_result_t result = AAudioServiceStreamBase::open(request, in open()
91 aaudio_result_t result = AAudioServiceStreamBase::startDevice(); in startDevice()
104 aaudio_result_t result = AAudioServiceStreamBase::pause(); in pause()
116 aaudio_result_t result = AAudioServiceStreamBase::stop(); in stop()
DAAudioClientTracker.cpp102 AAudioClientTracker::registerClientStream(pid_t pid, sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream()
120 sp<AAudioServiceStreamBase> serviceStream) { in unregisterClientStream()
150 sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream()
157 sp<AAudioServiceStreamBase> serviceStream) { in unregisterClientStream()
169 std::set<sp<AAudioServiceStreamBase>> streamsToClose; in binderDied()
DAAudioServiceStreamShared.cpp45 : AAudioServiceStreamBase(audioService) in AAudioServiceStreamShared()
52 result << AAudioServiceStreamBase::dumpHeader(); in dumpHeader()
60 result << AAudioServiceStreamBase::dump(); in dump()
123 aaudio_result_t result = AAudioServiceStreamBase::open(request, AAUDIO_SHARING_MODE_SHARED); in open()
206 aaudio_result_t result = AAudioServiceStreamBase::close(); in close()
DAAudioService.h95 sp<aaudio::AAudioServiceStreamBase> convertHandleToServiceStream(
100 bool releaseStream(const sp<aaudio::AAudioServiceStreamBase> &serviceStream);
102 aaudio_result_t checkForPendingClose(const sp<aaudio::AAudioServiceStreamBase> &serviceStream,
DAAudioServiceEndpointShared.h45 aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream,
48 aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream,
DAAudioServiceStreamBase.h52 class AAudioServiceStreamBase
58 explicit AAudioServiceStreamBase(android::AAudioService &aAudioService);
60 virtual ~AAudioServiceStreamBase();
DAAudioServiceEndpointMMAP.h55 aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream,
58 aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream,
DAAudioServiceEndpoint.cpp103 aaudio_result_t AAudioServiceEndpoint::registerStream(sp<AAudioServiceStreamBase>stream) { in registerStream()
109 aaudio_result_t AAudioServiceEndpoint::unregisterStream(sp<AAudioServiceStreamBase>stream) { in unregisterStream()
DAAudioServiceEndpointShared.cpp133 aaudio_result_t AAudioServiceEndpointShared::startStream(sp<AAudioServiceStreamBase> sharedStream, in startStream()
166 aaudio_result_t AAudioServiceEndpointShared::stopStream(sp<AAudioServiceStreamBase> sharedStream, in stopStream()
DAAudioServiceStreamMMAP.h46 class AAudioServiceStreamMMAP : public AAudioServiceStreamBase {
DAAudioServiceStreamShared.h43 class AAudioServiceStreamShared : public AAudioServiceStreamBase {
DAndroid.mk36 AAudioServiceStreamBase.cpp \
DAAudioServiceEndpointMMAP.cpp281 aaudio_result_t AAudioServiceEndpointMMAP::startStream(sp<AAudioServiceStreamBase> stream, in startStream()
295 aaudio_result_t AAudioServiceEndpointMMAP::stopStream(sp<AAudioServiceStreamBase> stream, in stopStream()