Home
last modified time | relevance | path

Searched refs:topClient (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioInputDescriptor.cpp144 sp<RecordClientDescriptor> topClient = getHighestPriorityClient(); in getHighestPriorityAttributes() local
145 return topClient ? topClient->attributes() : attributes; in getHighestPriorityAttributes()
150 sp<RecordClientDescriptor> topClient; in getHighestPriorityClient() local
163 topClient = client; in getHighestPriorityClient()
169 if (topClient != nullptr) { in getHighestPriorityClient()
173 return topClient; in getHighestPriorityClient()
459 sp<RecordClientDescriptor> topClient = getHighestPriorityClient(); in getEnabledEffects() local
460 if (topClient != nullptr) { in getEnabledEffects()
461 enabledEffects = topClient->getEnabledEffects(); in getEnabledEffects()
491 if (topClient == nullptr) { in checkSuspendEffects()
[all …]
/aosp12/packages/services/Car/service/src/com/android/car/
H A DInputCaptureClientController.java345 ClientInfoForDisplay topClient = perTypeStack.getFirst(); in requestInputEventCapture() local
346 if (topClient != oldClientInfo) { in requestInputEventCapture()
347 topClient.mGrantedTypes.clear(); in requestInputEventCapture()
348 clientsToDispatch.add(topClient); in requestInputEventCapture()
368 ClientInfoForDisplay topClient = fullCapturersStack.getFirst(); in requestInputEventCapture() local
369 topClient.mGrantedTypes.clear(); in requestInputEventCapture()
371 clientsToDispatch.add(topClient); in requestInputEventCapture()
490 ClientInfoForDisplay topClient = perInputStack.getFirst(); in releaseInputEventCapture() local
491 if (!topClient.mGrantedTypes.contains(inputType)) { in releaseInputEventCapture()
492 topClient.mGrantedTypes.add(inputType); in releaseInputEventCapture()
[all …]
/aosp12/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp6133 sp<RecordClientDescriptor> topClient = inputDesc->getHighestPriorityClient(); in getNewInputDevice() local
6134 if (topClient != nullptr) { in getNewInputDevice()
6135 attributes = topClient->attributes(); in getNewInputDevice()
6136 uid = topClient->uid(); in getNewInputDevice()