Home
last modified time | relevance | path

Searched refs:pcb (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
DIAudioService.aidl255 in String attributionTag, int flags, IAudioPolicyCallback pcb, int sdk); in requestAudioFocus() argument
365 in IAudioPolicyCallback pcb, boolean hasFocusListener, boolean isFocusPolicy, in registerAudioPolicy() argument
370 oneway void unregisterAudioPolicyAsync(in IAudioPolicyCallback pcb); in unregisterAudioPolicyAsync() argument
374 void unregisterAudioPolicy(in IAudioPolicyCallback pcb); in unregisterAudioPolicy() argument
376 int addMixForPolicy(in AudioPolicyConfig policyConfig, in IAudioPolicyCallback pcb); in addMixForPolicy() argument
378 int removeMixForPolicy(in AudioPolicyConfig policyConfig, in IAudioPolicyCallback pcb); in removeMixForPolicy() argument
383 in IAudioPolicyCallback pcb); in updateMixingRulesForPolicy() argument
385 int setFocusPropertiesForPolicy(int duckingBehavior, in IAudioPolicyCallback pcb); in setFocusPropertiesForPolicy() argument
406 in IAudioPolicyCallback pcb); in dispatchFocusChange() argument
412 in IAudioPolicyCallback pcb, in dispatchFocusChangeWithFade() argument
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java704 for (IAudioPolicyCallback pcb : mFocusFollowers) { in addFocusFollower()
705 if (pcb.asBinder().equals(ff.asBinder())) { in addFocusFollower()
724 for (IAudioPolicyCallback pcb : mFocusFollowers) { in removeFocusFollower()
725 if (pcb.asBinder().equals(ff.asBinder())) { in removeFocusFollower()
726 mFocusFollowers.remove(pcb); in removeFocusFollower()
780 void notifyExtPolicyCurrentFocusAsync(IAudioPolicyCallback pcb) { in notifyExtPolicyCurrentFocusAsync() argument
781 final IAudioPolicyCallback pcb2 = pcb; in notifyExtPolicyCurrentFocusAsync()
807 for (IAudioPolicyCallback pcb : mFocusFollowers) { in notifyExtPolicyFocusGrant_syncAf()
810 pcb.notifyAudioFocusGrant(afi, requestResult); in notifyExtPolicyFocusGrant_syncAf()
813 + pcb.asBinder(), e); in notifyExtPolicyFocusGrant_syncAf()
[all …]
DAudioService.java10287 String attributionTag, int flags, IAudioPolicyCallback pcb, int sdk) { in requestAudioFocus() argument
10321 if (!mAudioPolicies.containsKey(pcb.asBinder())) { in requestAudioFocus()
12437 public String registerAudioPolicy(AudioPolicyConfig policyConfig, IAudioPolicyCallback pcb, in registerAudioPolicy() argument
12456 if (mAudioPolicies.containsKey(pcb.asBinder())) { in registerAudioPolicy()
12461 AudioPolicyProxy app = new AudioPolicyProxy(policyConfig, pcb, hasFocusListener, in registerAudioPolicy()
12464 pcb.asBinder().linkToDeath(app, 0/*flags*/); in registerAudioPolicy()
12468 + pcb.asBinder() + " u/pid:" + Binder.getCallingUid() + "/" in registerAudioPolicy()
12473 mAudioPolicies.put(pcb.asBinder(), app); in registerAudioPolicy()
12476 Slog.w(TAG, "Audio policy registration failed, could not link to " + pcb + in registerAudioPolicy()
12480 Slog.w(TAG, "Audio policy registration failed for binder " + pcb, e); in registerAudioPolicy()
[all …]
/frameworks/base/core/java/android/widget/
DActionMenuView.java662 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() argument
663 mActionMenuPresenterCallback = pcb; in setMenuCallbacks()
DToolbar.java2270 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() argument
2271 mActionMenuPresenterCallback = pcb; in setMenuCallbacks()
2274 mMenuView.setMenuCallbacks(pcb, mcb); in setMenuCallbacks()