Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java195 for (AudioPlaybackConfiguration apc : mPlayers.values()) { in disableAudioForUid()
196 checkBanPlayer(apc, uid); in disableAudioForUid()
207 private boolean checkBanPlayer(@NonNull AudioPlaybackConfiguration apc, int uid) { in checkBanPlayer() argument
208 final boolean toBan = (apc.getClientUid() == uid); in checkBanPlayer()
210 final int piid = apc.getPlayerInterfaceId(); in checkBanPlayer()
213 apc.getPlayerProxy().pause(); in checkBanPlayer()
246 final AudioPlaybackConfiguration apc = in trackPlayer() local
249 apc.init(); in trackPlayer()
251 int uid = apc.getClientUid(); in trackPlayer()
253 updateAllowedCapturePolicy(apc, mAllowedCapturePolicies.get(uid)); in trackPlayer()
[all …]
DFadeOutManager.java163 boolean canBeFadedOut(@NonNull AudioPlaybackConfiguration apc) { in canBeFadedOut() argument
165 return mFadeConfigurations.isFadeable(apc.getAudioAttributes(), apc.getClientUid(), in canBeFadedOut()
166 apc.getPlayerType()); in canBeFadedOut()
199 for (AudioPlaybackConfiguration apc : players) { in fadeOutUid()
201 mFadeConfigurations.getFadeOutVolumeShaperConfig(apc.getAudioAttributes()); in fadeOutUid()
202 fa.addFade(apc, /* skipRamp= */ false, volShaper); in fadeOutUid()
230 AudioPlaybackConfiguration apc = apcs.get(index); in unfadeOutUid() local
232 .getFadeInVolumeShaperConfig(apc.getAudioAttributes()); in unfadeOutUid()
233 fa.fadeInPlayer(apc, config); in unfadeOutUid()
242 void checkFade(@NonNull AudioPlaybackConfiguration apc) { in checkFade() argument
[all …]
DLoudnessCodecHelper.java373 && conf.getClientPid() == pid).forEach(apc -> { in startLoudnessCodecUpdates()
374 int piid = apc.getPlayerInterfaceId(); in startLoudnessCodecUpdates()
438 Optional<AudioPlaybackConfiguration> apc = in addLoudnessCodecInfo() local
442 if (apc.isEmpty()) { in addLoudnessCodecInfo()
451 final AudioDeviceInfo deviceInfo = apc.get().getAudioDeviceInfo(); in addLoudnessCodecInfo()
455 piids.add(apc.get().getPlayerInterfaceId()); in addLoudnessCodecInfo()
519 for (final AudioPlaybackConfiguration apc : configs) { in updateCodecParameters()
520 int piid = apc.getPlayerInterfaceId(); in updateCodecParameters()
522 AudioDeviceInfo deviceInfo = apc.getAudioDeviceInfo(); in updateCodecParameters()
544 final LoudnessTrackId config = new LoudnessTrackId(apc.getSessionId(), in updateCodecParameters()
[all …]
DAudioService.java9550 private void onNotifyVolumeEvent(@NonNull IAudioPolicyCallback apc, in onNotifyVolumeEvent() argument
9553 apc.notifyVolumeAdjust(direction); in onNotifyVolumeEvent()
13163 private void setExtVolumeController(IAudioPolicyCallback apc) { in setExtVolumeController() argument
13174 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/services/tests/servicestests/src/com/android/server/audio/
DLoudnessCodecHelperTest.java320 AudioPlaybackConfiguration apc = in getApcListForApcWithPiidSid()
322 apc.handleStateEvent(PLAYER_UPDATE_DEVICE_ID, deviceId); in getApcListForApcWithPiidSid()
323 apc.handleSessionIdEvent(sessionId); in getApcListForApcWithPiidSid()
324 apc.handleAudioAttributesEvent(new AudioAttributes.Builder() in getApcListForApcWithPiidSid()
330 apcList.add(apc); in getApcListForApcWithPiidSid()
/frameworks/base/media/jni/
Dandroid_media_AudioPresentation.h106 AudioPresentationCollection apc = {}; in addPresentations() local
130 apc.push_back(ap); in addPresentations()
132 addPresentations(env, fields, apc, presentationsJObj); in addPresentations()
/frameworks/proto_logging/stats/express/catalog/
Dbiometric.cfg5 owner_email: "android-biometrics-core+apc@google.com"
/frameworks/base/core/java/android/security/
DConfirmationPrompt.java130 private final android.security.apc.IConfirmationCallback mConfirmationCallback =
131 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.cpp932 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()
[all …]
/frameworks/base/
DAndroid.bp113 ":android.security.apc-java-source",