Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioService.cpp112 sp<AAudioServiceStreamBase> serviceStream; in openStream() local
146 serviceStream = new AAudioServiceStreamMMAP(*this, inService); in openStream()
147 result = serviceStream->open(request); in openStream()
151 serviceStream.clear(); in openStream()
157 serviceStream = new AAudioServiceStreamShared(*this); in openStream()
158 result = serviceStream->open(request); in openStream()
159 } else if (serviceStream.get() == nullptr && !sharingModeMatchRequired) { in openStream()
163 serviceStream = new AAudioServiceStreamShared(*this); in openStream()
164 result = serviceStream->open(modifiedRequest); in openStream()
168 serviceStream.clear(); in openStream()
[all …]
DAAudioClientTracker.cpp109 pid_t pid, const sp<AAudioServiceStreamBase>& serviceStream) { in registerClientStream() argument
112 return getNotificationClient_l(pid)->registerClientStream(serviceStream); in registerClientStream()
118 const sp<AAudioServiceStreamBase>& serviceStream) { in unregisterClientStream() argument
124 it->second->unregisterClientStream(serviceStream); in unregisterClientStream()
168 const sp<AAudioServiceStreamBase>& serviceStream) { in registerClientStream() argument
170 mStreams.insert(serviceStream); in registerClientStream()
175 const sp<AAudioServiceStreamBase>& serviceStream) { in unregisterClientStream() argument
177 mStreams.erase(serviceStream); in unregisterClientStream()
191 for (const auto& serviceStream : mStreams) { in binderDied() local
192 streamsToClose.insert(serviceStream); in binderDied()
[all …]
DAAudioStreamTracker.cpp43 sp<AAudioServiceStreamBase> serviceStream; in getStreamByHandle() local
46 serviceStream = it->second; in getStreamByHandle()
48 return serviceStream; in getStreamByHandle()
57 sp<AAudioServiceStreamBase> serviceStream; in findStreamByPortHandle() local
62 serviceStream = candidate; in findStreamByPortHandle()
67 return serviceStream; in findStreamByPortHandle()
82 const sp<AAudioServiceStreamBase>& serviceStream) { in addStreamForHandle() argument
92 mStreamsByHandle[handle] = serviceStream; in addStreamForHandle()
DAAudioClientTracker.h57 const android::sp<AAudioServiceStreamBase>& serviceStream);
60 pid_t pid, const android::sp<AAudioServiceStreamBase>& serviceStream);
94 const android::sp<AAudioServiceStreamBase>& serviceStream);
97 const android::sp<AAudioServiceStreamBase>& serviceStream);
DAAudioServiceEndpoint.cpp130 for (const auto& serviceStream : streamsToClose) { in releaseRegisteredStreams() local
131 ALOGD("%s() - close stream 0x%08X", __func__, serviceStream->getHandle()); in releaseRegisteredStreams()
132 aaudioService->closeStream(serviceStream); in releaseRegisteredStreams()
DAAudioStreamTracker.h67 aaudio_handle_t addStreamForHandle(const android::sp<AAudioServiceStreamBase>& serviceStream)
DAAudioService.h107 aaudio_result_t closeStream(const sp<aaudio::AAudioServiceStreamBase>& serviceStream);