Home
last modified time | relevance | path

Searched refs:serviceStream (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioService.cpp84 sp<AAudioServiceStreamBase> serviceStream; in openStream() local
112 serviceStream = new AAudioServiceStreamMMAP(*this, inService); in openStream()
113 result = serviceStream->open(request); in openStream()
117 serviceStream.clear(); in openStream()
123 serviceStream = new AAudioServiceStreamShared(*this); in openStream()
124 result = serviceStream->open(request); in openStream()
125 } else if (serviceStream.get() == nullptr && !sharingModeMatchRequired) { in openStream()
129 serviceStream = new AAudioServiceStreamShared(*this); in openStream()
130 result = serviceStream->open(modifiedRequest); in openStream()
134 serviceStream.clear(); in openStream()
[all …]
DAAudioStreamTracker.cpp36 sp<AAudioServiceStreamBase> serviceStream; in decrementAndRemoveStreamByHandle() local
44 serviceStream = tempStream; // Only return stream if ready to be closed. in decrementAndRemoveStreamByHandle()
48 return serviceStream; in decrementAndRemoveStreamByHandle()
54 sp<AAudioServiceStreamBase> serviceStream; in getStreamByHandleAndIncrement() local
57 serviceStream = it->second; in getStreamByHandleAndIncrement()
58 serviceStream->incrementServiceReferenceCount_l(); in getStreamByHandleAndIncrement()
60 return serviceStream; in getStreamByHandleAndIncrement()
69 sp<AAudioServiceStreamBase> serviceStream; in findStreamByPortHandleAndIncrement() local
74 serviceStream = candidate; in findStreamByPortHandleAndIncrement()
75 serviceStream->incrementServiceReferenceCount_l(); in findStreamByPortHandleAndIncrement()
[all …]
DAAudioClientTracker.cpp108 AAudioClientTracker::registerClientStream(pid_t pid, sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream() argument
119 notificationClient->registerClientStream(serviceStream); in registerClientStream()
126 sp<AAudioServiceStreamBase> serviceStream) { in unregisterClientStream() argument
132 it->second->unregisterClientStream(serviceStream); in unregisterClientStream()
152 sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream() argument
154 mStreams.insert(serviceStream); in registerClientStream()
159 sp<AAudioServiceStreamBase> serviceStream) { in unregisterClientStream() argument
161 mStreams.erase(serviceStream); in unregisterClientStream()
175 for (const auto& serviceStream : mStreams) { in binderDied() local
176 streamsToClose.insert(serviceStream); in binderDied()
[all …]
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);
DAAudioService.h100 bool releaseStream(const sp<aaudio::AAudioServiceStreamBase> &serviceStream);
102 aaudio_result_t checkForPendingClose(const sp<aaudio::AAudioServiceStreamBase> &serviceStream,
DAAudioStreamTracker.h72 aaudio_handle_t addStreamForHandle(android::sp<AAudioServiceStreamBase> serviceStream);