Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java124 for (AudioPlaybackConfiguration apc : mPlayers.values()) { in disableAudioForUid()
125 checkBanPlayer(apc, uid); in disableAudioForUid()
136 private boolean checkBanPlayer(@NonNull AudioPlaybackConfiguration apc, int uid) { in checkBanPlayer() argument
137 final boolean toBan = (apc.getClientUid() == uid); in checkBanPlayer()
139 final int piid = apc.getPlayerInterfaceId(); in checkBanPlayer()
142 apc.getPlayerProxy().pause(); in checkBanPlayer()
159 final AudioPlaybackConfiguration apc = in trackPlayer() local
162 apc.init(); in trackPlayer()
163 sEventLogger.log(new NewPlayerEvent(apc)); in trackPlayer()
165 mPlayers.put(newPiid, apc); in trackPlayer()
[all …]
DAudioService.java5339 private void onNotifyVolumeEvent(@NonNull IAudioPolicyCallback apc, in onNotifyVolumeEvent() argument
5342 apc.notifyVolumeAdjust(direction); in onNotifyVolumeEvent()
7064 private void setExtVolumeController(IAudioPolicyCallback apc) { in setExtVolumeController() argument
7075 mExtVolumeController = apc; in setExtVolumeController()
/frameworks/base/media/java/android/media/
DPlayerProxy.java45 PlayerProxy(@NonNull AudioPlaybackConfiguration apc) { in PlayerProxy() argument
46 if (apc == null) { in PlayerProxy()
49 mConf = apc; in PlayerProxy()
DAudioPlaybackConfiguration.java429 public static String toLogFriendlyString(AudioPlaybackConfiguration apc) { in toLogFriendlyString() argument
430 return new String("ID:" + apc.mPlayerIId in toLogFriendlyString()
431 + " -- type:" + toLogFriendlyPlayerType(apc.mPlayerType) in toLogFriendlyString()
432 + " -- u/pid:" + apc.mClientUid +"/" + apc.mClientPid in toLogFriendlyString()
433 + " -- state:" + toLogFriendlyPlayerState(apc.mPlayerState) in toLogFriendlyString()
434 + " -- attr:" + apc.mPlayerAttr); in toLogFriendlyString()
/frameworks/base/tools/aapt2/
Dformats.md2 - AAPT2 Container Format (extension `.apc`)
5 ## AAPT2 Container Format (extension `.apc`)
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp748 sp<AudioPolicyServiceClient> apc; in get_audio_policy_service() local
767 apc = gAudioPolicyServiceClient; in get_audio_policy_service()
773 if (apc != 0) { in get_audio_policy_service()
775 ap->registerClient(apc); in get_audio_policy_service()
776 ap->setAudioPortCallbacksEnabled(apc->isAudioPortCbEnabled()); in get_audio_policy_service()
777 ap->setAudioVolumeGroupCallbacksEnabled(apc->isAudioVolumeGroupCbEnabled()); in get_audio_policy_service()