Home | History | Annotate | Download | only in oboeservice

Lines Matching refs:endpoint

106 // Try to find an existing endpoint.
109 sp<AAudioServiceEndpoint> endpoint;
114 endpoint = ep;
120 endpoint.get(), configuration.getDeviceId(), configuration.getSessionId());
121 return endpoint;
124 // Try to find an existing endpoint.
127 sp<AAudioServiceEndpointShared> endpoint;
132 endpoint = ep;
138 endpoint.get(), configuration.getDeviceId(), configuration.getSessionId());
139 return endpoint;
160 // Try to find an existing endpoint.
161 sp<AAudioServiceEndpoint> endpoint = findExclusiveEndpoint_l(configuration);
164 if (endpoint.get() != nullptr) {
172 endpoint = endpointMMap;
174 aaudio_result_t result = endpoint->open(request);
177 endpoint.clear();
184 if (endpoint.get() != nullptr) {
186 endpoint->setOpenCount(endpoint->getOpenCount() + 1);
188 return endpoint;
200 // Try to find an existing endpoint.
201 sp<AAudioServiceEndpointShared> endpoint = findSharedEndpoint_l(configuration);
204 if (endpoint.get() == nullptr) {
209 endpoint = new AAudioServiceEndpointCapture(aaudioService);
212 endpoint = new AAudioServiceEndpointPlay(aaudioService);
218 if (endpoint.get() != nullptr) {
219 aaudio_result_t result = endpoint->open(request);
221 endpoint.clear();
223 mSharedStreams.push_back(endpoint);
227 ALOGV("%s(), created endpoint %p, requested device = %d, dir = %d",
228 __func__, endpoint.get(), configuration.getDeviceId(), (int)direction);
232 if (endpoint.get() != nullptr) {
234 endpoint->setOpenCount(endpoint->getOpenCount() + 1);
236 return endpoint;