Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java125 for (AudioPlaybackConfiguration apc : mPlayers.values()) { in disableAudioForUid()
126 checkBanPlayer(apc, uid); in disableAudioForUid()
137 private boolean checkBanPlayer(@NonNull AudioPlaybackConfiguration apc, int uid) { in checkBanPlayer() argument
138 final boolean toBan = (apc.getClientUid() == uid); in checkBanPlayer()
140 final int piid = apc.getPlayerInterfaceId(); in checkBanPlayer()
143 apc.getPlayerProxy().pause(); in checkBanPlayer()
160 final AudioPlaybackConfiguration apc = in trackPlayer() local
163 apc.init(); in trackPlayer()
165 int uid = apc.getClientUid(); in trackPlayer()
167 updateAllowedCapturePolicy(apc, mAllowedCapturePolicies.get(uid)); in trackPlayer()
[all …]
DFadeOutManager.java103 static boolean canBeFadedOut(@NonNull AudioPlaybackConfiguration apc) { in canBeFadedOut() argument
104 if (ArrayUtils.contains(UNFADEABLE_PLAYER_TYPES, apc.getPlayerType())) { in canBeFadedOut()
105 if (DEBUG) { Log.i(TAG, "not fading: player type:" + apc.getPlayerType()); } in canBeFadedOut()
109 apc.getAudioAttributes().getContentType())) { in canBeFadedOut()
112 + apc.getAudioAttributes().getContentType()); in canBeFadedOut()
116 if (!ArrayUtils.contains(FADEABLE_USAGES, apc.getAudioAttributes().getUsage())) { in canBeFadedOut()
118 Log.i(TAG, "not fading: usage:" + apc.getAudioAttributes().getUsage()); in canBeFadedOut()
146 for (AudioPlaybackConfiguration apc : players) { in fadeOutUid()
147 fa.addFade(apc, false /*skipRamp*/); in fadeOutUid()
168 synchronized void checkFade(@NonNull AudioPlaybackConfiguration apc) { in checkFade() argument
[all …]
DAudioService.java7431 private void onNotifyVolumeEvent(@NonNull IAudioPolicyCallback apc, in onNotifyVolumeEvent() argument
7434 apc.notifyVolumeAdjust(direction); in onNotifyVolumeEvent()
9573 private void setExtVolumeController(IAudioPolicyCallback apc) { in setExtVolumeController() argument
9584 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()
/frameworks/base/keystore/java/android/security/
DAndroidProtectedConfirmation.java22 import android.security.apc.IConfirmationCallback;
23 import android.security.apc.IProtectedConfirmation;
24 import android.security.apc.ResponseCode;
/frameworks/base/core/java/android/security/
DConfirmationPrompt.java131 private final android.security.apc.IConfirmationCallback mConfirmationCallback =
132 new android.security.apc.IConfirmationCallback.Stub() {
/frameworks/base/tools/aapt2/
Dformats.md2 - AAPT2 Container Format (extension `.apc`)
5 ## AAPT2 Container Format (extension `.apc`)
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp786 sp<AudioPolicyServiceClient> apc; in get_audio_policy_service() local
805 apc = gAudioPolicyServiceClient; in get_audio_policy_service()
811 if (apc != 0) { in get_audio_policy_service()
813 ap->registerClient(apc); in get_audio_policy_service()
814 ap->setAudioPortCallbacksEnabled(apc->isAudioPortCbEnabled()); in get_audio_policy_service()
815 ap->setAudioVolumeGroupCallbacksEnabled(apc->isAudioVolumeGroupCbEnabled()); in get_audio_policy_service()
/frameworks/base/
DAndroid.bp104 ":android.security.apc-java-source",