Home
last modified time | relevance | path

Searched refs:portHandle (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioServiceEndpointMMAP.cpp380 aaudio_result_t AAudioServiceEndpointMMAP::stopClient(audio_port_handle_t portHandle) { in stopClient() argument
383 ALOGE("%s(%d): called after mMmapStream set to NULL", __func__, (int)portHandle); in stopClient()
387 mMmapStream->stop(portHandle)); in stopClient()
388 ALOGD("%s(%d): returning %d", __func__, (int)portHandle, result); in stopClient()
448 void AAudioServiceEndpointMMAP::handleTearDownAsync(audio_port_handle_t portHandle) { in handleTearDownAsync() argument
450 if (isStreamRegistered(portHandle)) { in handleTearDownAsync()
451 ALOGD("%s(%d) tearing down this entire MMAP endpoint", __func__, portHandle); in handleTearDownAsync()
455 ALOGD("%s(%d) disconnect a specific stream", __func__, portHandle); in handleTearDownAsync()
456 const aaudio_result_t result = mAAudioService.disconnectStreamByPortHandle(portHandle); in handleTearDownAsync()
457 ALOGD("%s(%d) disconnectStreamByPortHandle returned %d", __func__, portHandle, result); in handleTearDownAsync()
[all …]
DAAudioServiceEndpointMMAP.h79 void handleTearDownAsync(audio_port_handle_t portHandle);
82 void onTearDown(audio_port_handle_t portHandle) override;
86 void onRoutingChanged(audio_port_handle_t portHandle) override;
DAAudioService.cpp356 audio_port_handle_t portHandle) { in stopClient() argument
362 return serviceStream->stopClient(portHandle); in stopClient()
367 aaudio_result_t AAudioService::disconnectStreamByPortHandle(audio_port_handle_t portHandle) { in disconnectStreamByPortHandle() argument
368 ALOGD("%s(%d) called", __func__, portHandle); in disconnectStreamByPortHandle()
370 mStreamTracker.findStreamByPortHandle(portHandle); in disconnectStreamByPortHandle()
372 ALOGE("%s(), could not find stream with portHandle = %d", __func__, portHandle); in disconnectStreamByPortHandle()
DAAudioStreamTracker.cpp55 audio_port_handle_t portHandle) { in findStreamByPortHandle() argument
61 if (candidate->getPortHandle() == portHandle) { in findStreamByPortHandle()
DAAudioServiceEndpoint.cpp90 bool AAudioServiceEndpoint::isStreamRegistered(audio_port_handle_t portHandle) { in isStreamRegistered() argument
93 if (stream->getPortHandle() == portHandle) { in isStreamRegistered()
DAAudioStreamTracker.h59 audio_port_handle_t portHandle) EXCLUDES(mHandleLock);
DAAudioServiceEndpoint.h153 bool isStreamRegistered(audio_port_handle_t portHandle)
DAAudioService.h101 aaudio_result_t disconnectStreamByPortHandle(audio_port_handle_t portHandle);
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp620 audio_port_handle_t *portHandle) { in startClient() argument
627 client, attr, portHandle); in startClient()
628 ALOGV("%s(), got %d, returning %d", __func__, *portHandle, result); in startClient()
632 aaudio_result_t AudioStreamInternal::stopClient(audio_port_handle_t portHandle) { in stopClient() argument
633 ALOGV("%s(%d) called", __func__, portHandle); in stopClient()
635 ALOGE("%s(%d) getServiceHandle() is invalid", __func__, portHandle); in stopClient()
638 aaudio_result_t result = mServiceInterface.stopClient(mServiceStreamHandleInfo, portHandle); in stopClient()
639 ALOGV("%s(%d) returning %d", __func__, portHandle, result); in stopClient()