Lines Matching refs:gAudioPolicyServiceClient
740 sp<AudioSystem::AudioPolicyServiceClient> AudioSystem::gAudioPolicyServiceClient;
760 if (gAudioPolicyServiceClient == NULL) {
761 gAudioPolicyServiceClient = new AudioPolicyServiceClient();
763 binder->linkToDeath(gAudioPolicyServiceClient);
766 apc = gAudioPolicyServiceClient;
767 // Make sure callbacks can be received by gAudioPolicyServiceClient
1150 if (gAudioPolicyServiceClient == 0) {
1153 int ret = gAudioPolicyServiceClient->addAudioPortCallback(callback);
1167 if (gAudioPolicyServiceClient == 0) {
1170 int ret = gAudioPolicyServiceClient->removeAudioPortCallback(callback);