Home
last modified time | relevance | path

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

/frameworks/av/media/libaudiohal/impl/
DDeviceHalAidl.cpp624 int32_t aidlPatchId = static_cast<int32_t>(*patch); in createAudioPatch() local
629 if (int32_t aidlHalPatchId = mMapper.findFwkPatch(aidlPatchId); aidlHalPatchId != 0) { in createAudioPatch()
630 if (aidlHalPatchId == aidlPatchId) { in createAudioPatch()
636 mMapper.updateFwkPatch(aidlPatchId, newAidlPatchId); in createAudioPatch()
643 aidlSources, aidlSinks, &aidlPatchId, &cleanups)); in createAudioPatch()
646 *patch = static_cast<audio_patch_handle_t>(aidlPatchId); in createAudioPatch()
661 int32_t aidlPatchId = static_cast<int32_t>(patch); in releaseAudioPatch() local
662 if (int32_t aidlHalPatchId = mMapper.findFwkPatch(aidlPatchId); aidlHalPatchId != 0) { in releaseAudioPatch()
663 if (aidlHalPatchId == aidlPatchId) { in releaseAudioPatch()
665 mMapper.eraseFwkPatch(aidlPatchId); in releaseAudioPatch()
[all …]