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.get() == nullptr && !sharingModeMatchRequired)) { in openStream()
124 serviceStream = new AAudioServiceStreamShared(*this); in openStream()
125 result = serviceStream->open(request); in openStream()
129 serviceStream.clear(); in openStream()
134 aaudio_handle_t handle = mStreamTracker.addStreamForHandle(serviceStream.get()); in openStream()
136 serviceStream->setHandle(handle); 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.cpp102 AAudioClientTracker::registerClientStream(pid_t pid, sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream() argument
104 ALOGV("registerClientStream(%d, %p)\n", pid, serviceStream.get()); in registerClientStream()
113 notificationClient->registerClientStream(serviceStream); in registerClientStream()
120 sp<AAudioServiceStreamBase> serviceStream) { in unregisterClientStream() argument
121 ALOGV("unregisterClientStream(%d, %p)\n", pid, serviceStream.get()); in unregisterClientStream()
126 pid, serviceStream.get()); in unregisterClientStream()
127 it->second->unregisterClientStream(serviceStream); in unregisterClientStream()
130 pid, serviceStream.get()); in unregisterClientStream()
150 sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream() argument
152 mStreams.insert(serviceStream); in registerClientStream()
[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);