Searched refs:serviceStream (Results 1 – 7 of 7) sorted by relevance
112 sp<AAudioServiceStreamBase> serviceStream; in openStream() local146 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 …]
109 pid_t pid, const sp<AAudioServiceStreamBase>& serviceStream) { in registerClientStream() argument112 return getNotificationClient_l(pid)->registerClientStream(serviceStream); in registerClientStream()118 const sp<AAudioServiceStreamBase>& serviceStream) { in unregisterClientStream() argument124 it->second->unregisterClientStream(serviceStream); in unregisterClientStream()168 const sp<AAudioServiceStreamBase>& serviceStream) { in registerClientStream() argument170 mStreams.insert(serviceStream); in registerClientStream()175 const sp<AAudioServiceStreamBase>& serviceStream) { in unregisterClientStream() argument177 mStreams.erase(serviceStream); in unregisterClientStream()191 for (const auto& serviceStream : mStreams) { in binderDied() local192 streamsToClose.insert(serviceStream); in binderDied()[all …]
43 sp<AAudioServiceStreamBase> serviceStream; in getStreamByHandle() local46 serviceStream = it->second; in getStreamByHandle()48 return serviceStream; in getStreamByHandle()57 sp<AAudioServiceStreamBase> serviceStream; in findStreamByPortHandle() local62 serviceStream = candidate; in findStreamByPortHandle()67 return serviceStream; in findStreamByPortHandle()82 const sp<AAudioServiceStreamBase>& serviceStream) { in addStreamForHandle() argument92 mStreamsByHandle[handle] = serviceStream; in addStreamForHandle()
57 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);
130 for (const auto& serviceStream : streamsToClose) { in releaseRegisteredStreams() local131 ALOGD("%s() - close stream 0x%08X", __func__, serviceStream->getHandle()); in releaseRegisteredStreams()132 aaudioService->closeStream(serviceStream); in releaseRegisteredStreams()
67 aaudio_handle_t addStreamForHandle(const android::sp<AAudioServiceStreamBase>& serviceStream)
107 aaudio_result_t closeStream(const sp<aaudio::AAudioServiceStreamBase>& serviceStream);