Searched refs:serviceStream (Results 1 – 6 of 6) sorted by relevance
84 sp<AAudioServiceStreamBase> serviceStream; in openStream() local112 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 …]
36 sp<AAudioServiceStreamBase> serviceStream; in decrementAndRemoveStreamByHandle() local44 serviceStream = tempStream; // Only return stream if ready to be closed. in decrementAndRemoveStreamByHandle()48 return serviceStream; in decrementAndRemoveStreamByHandle()54 sp<AAudioServiceStreamBase> serviceStream; in getStreamByHandleAndIncrement() local57 serviceStream = it->second; in getStreamByHandleAndIncrement()58 serviceStream->incrementServiceReferenceCount_l(); in getStreamByHandleAndIncrement()60 return serviceStream; in getStreamByHandleAndIncrement()69 sp<AAudioServiceStreamBase> serviceStream; in findStreamByPortHandleAndIncrement() local74 serviceStream = candidate; in findStreamByPortHandleAndIncrement()75 serviceStream->incrementServiceReferenceCount_l(); in findStreamByPortHandleAndIncrement()[all …]
108 AAudioClientTracker::registerClientStream(pid_t pid, sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream() argument119 notificationClient->registerClientStream(serviceStream); in registerClientStream()126 sp<AAudioServiceStreamBase> serviceStream) { in unregisterClientStream() argument132 it->second->unregisterClientStream(serviceStream); in unregisterClientStream()152 sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream() argument154 mStreams.insert(serviceStream); in registerClientStream()159 sp<AAudioServiceStreamBase> serviceStream) { in unregisterClientStream() argument161 mStreams.erase(serviceStream); in unregisterClientStream()175 for (const auto& serviceStream : mStreams) { in binderDied() local176 streamsToClose.insert(serviceStream); in binderDied()[all …]
56 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);
100 bool releaseStream(const sp<aaudio::AAudioServiceStreamBase> &serviceStream);102 aaudio_result_t checkForPendingClose(const sp<aaudio::AAudioServiceStreamBase> &serviceStream,
72 aaudio_handle_t addStreamForHandle(android::sp<AAudioServiceStreamBase> serviceStream);