Lines Matching refs:endpoint
225 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in startDevice_l() local
226 if (endpoint == nullptr) { in startDevice_l()
230 if (!endpoint->isConnected()) { in startDevice_l()
234 return endpoint->startStream(this, &mClientHandle); in startDevice_l()
317 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in pause_l() local
318 if (endpoint == nullptr) { in pause_l()
323 result = endpoint->stopStream(this, mClientHandle); in pause_l()
361 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in stop_l() local
362 if (endpoint == nullptr) { in stop_l()
368 result = endpoint->stopStream(this, mClientHandle); in stop_l()
792 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in closeAndClear() local
793 if (endpoint == nullptr) { in closeAndClear()
796 endpoint->unregisterStream(this); in closeAndClear()
798 endpointManager.closeEndpoint(endpoint); in closeAndClear()