Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_multiple_close_simultaneously.cpp83 void openAndMultipleClose(const sp<IAAudioService>& aaudioService) { in openAndMultipleClose() argument
93 auto status = aaudioService->openStream(inRequest, &outParams, &handle); in openAndMultipleClose()
115 std::thread closeStream([aaudioService, handle, &isReady, &startWork, &isCompleted] { in openAndMultipleClose()
123 aaudioService->closeStream(handle, &result); in openAndMultipleClose()
149 auto aaudioService = getAAudioService(recipient); in TEST() local
150 ASSERT_NE(nullptr, aaudioService) << sError; in TEST()
151 openAndMultipleClose(aaudioService); in TEST()
/frameworks/av/media/libaaudio/src/binding/
DAAudioBinderClient.cpp69 sp<IAAudioService> aaudioService; in getAAudioService() local
84 aaudioService = interface_cast<IAAudioService>(binder); in getAAudioService()
86 aaudioService, mAAudioClient, mAAudioClient->getServiceLifetimeId()); in getAAudioService()
97 if (needToRegister && aaudioService.get() != nullptr) { // new client? in getAAudioService()
98 aaudioService->registerClient(mAAudioClient); in getAAudioService()
/frameworks/av/services/oboeservice/
DAAudioEndpointManager.cpp161 AAudioService &aaudioService, in openExclusiveEndpoint() argument
194 new AAudioServiceEndpointMMAP(aaudioService); in openExclusiveEndpoint()
218 AAudioService &aaudioService, in openSharedEndpoint() argument
235 endpoint = new AAudioServiceEndpointCapture(aaudioService); in openSharedEndpoint()
238 endpoint = new AAudioServiceEndpointPlay(aaudioService); in openSharedEndpoint()
DAAudioEndpointManager.h71 android::AAudioService &aaudioService,
77 android::AAudioService &aaudioService,
DAAudioClientTracker.h75 void setAAudioService(android::AAudioService *aaudioService) { in setAAudioService() argument
76 mAAudioService = aaudioService; in setAAudioService()
DAAudioClientTracker.cpp183 AAudioService *aaudioService = AAudioClientTracker::getInstance().getAAudioService(); in binderDied() local
184 if (aaudioService != nullptr) { in binderDied()
200 aaudioService->asAAudioServiceInterface().closeStream(handleInfo); in binderDied()
DAAudioServiceEndpoint.cpp129 AAudioService *aaudioService = AAudioClientTracker::getInstance().getAAudioService(); in releaseRegisteredStreams() local
132 aaudioService->closeStream(serviceStream); in releaseRegisteredStreams()