Lines Matching refs:apc
932 const sp<AudioSystem::AudioPolicyServiceClient>& apc) { in onServiceCreate()
934 ap->registerClient(apc); in onServiceCreate()
935 ap->setAudioPortCallbacksEnabled(apc->isAudioPortCbEnabled()); in onServiceCreate()
936 ap->setAudioVolumeGroupCallbacksEnabled(apc->isAudioVolumeGroupCbEnabled()); in onServiceCreate()
1742 const auto apc = gAudioPolicyServiceHandler.getClient(); in addAudioPortCallback() local
1743 if (apc == nullptr) return NO_INIT; in addAudioPortCallback()
1746 const int ret = apc->addAudioPortCallback(callback); in addAudioPortCallback()
1757 const auto apc = gAudioPolicyServiceHandler.getClient(); in removeAudioPortCallback() local
1758 if (apc == nullptr) return NO_INIT; in removeAudioPortCallback()
1761 const int ret = apc->removeAudioPortCallback(callback); in removeAudioPortCallback()
1771 const auto apc = gAudioPolicyServiceHandler.getClient(); in addAudioVolumeGroupCallback() local
1772 if (apc == nullptr) return NO_INIT; in addAudioVolumeGroupCallback()
1775 const int ret = apc->addAudioVolumeGroupCallback(callback); in addAudioVolumeGroupCallback()
1785 const auto apc = gAudioPolicyServiceHandler.getClient(); in removeAudioVolumeGroupCallback() local
1786 if (apc == nullptr) return NO_INIT; in removeAudioVolumeGroupCallback()
1789 const int ret = apc->removeAudioVolumeGroupCallback(callback); in removeAudioVolumeGroupCallback()