Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DIAudioService.aidl157 IAudioPolicyCallback pcb, int sdk); in requestAudioFocus() argument
201 in IAudioPolicyCallback pcb, boolean hasFocusListener, boolean isFocusPolicy, in registerAudioPolicy() argument
205 oneway void unregisterAudioPolicyAsync(in IAudioPolicyCallback pcb); in unregisterAudioPolicyAsync() argument
207 void unregisterAudioPolicy(in IAudioPolicyCallback pcb); in unregisterAudioPolicy() argument
209 int addMixForPolicy(in AudioPolicyConfig policyConfig, in IAudioPolicyCallback pcb); in addMixForPolicy() argument
211 int removeMixForPolicy(in AudioPolicyConfig policyConfig, in IAudioPolicyCallback pcb); in removeMixForPolicy() argument
213 int setFocusPropertiesForPolicy(int duckingBehavior, in IAudioPolicyCallback pcb); in setFocusPropertiesForPolicy() argument
236 in IAudioPolicyCallback pcb); in dispatchFocusChange() argument
247 in IAudioPolicyCallback pcb); in setFocusRequestResultFromExtPolicy() argument
255 int setUidDeviceAffinity(in IAudioPolicyCallback pcb, in int uid, in int[] deviceTypes, in setUidDeviceAffinity() argument
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java439 for (IAudioPolicyCallback pcb : mFocusFollowers) { in addFocusFollower()
440 if (pcb.asBinder().equals(ff.asBinder())) { in addFocusFollower()
459 for (IAudioPolicyCallback pcb : mFocusFollowers) { in removeFocusFollower()
460 if (pcb.asBinder().equals(ff.asBinder())) { in removeFocusFollower()
461 mFocusFollowers.remove(pcb); in removeFocusFollower()
515 void notifyExtPolicyCurrentFocusAsync(IAudioPolicyCallback pcb) { in notifyExtPolicyCurrentFocusAsync() argument
516 final IAudioPolicyCallback pcb2 = pcb; in notifyExtPolicyCurrentFocusAsync()
542 for (IAudioPolicyCallback pcb : mFocusFollowers) { in notifyExtPolicyFocusGrant_syncAf()
545 pcb.notifyAudioFocusGrant(afi, requestResult); in notifyExtPolicyFocusGrant_syncAf()
548 + pcb.asBinder(), e); in notifyExtPolicyFocusGrant_syncAf()
[all …]
DAudioService.java5866 IAudioPolicyCallback pcb, int sdk) { in requestAudioFocus() argument
5878 if (!mAudioPolicies.containsKey(pcb.asBinder())) { in requestAudioFocus()
6742 public String registerAudioPolicy(AudioPolicyConfig policyConfig, IAudioPolicyCallback pcb, in registerAudioPolicy() argument
6758 + pcb.asBinder() + " with config:" + policyConfig)).printLog(TAG)); in registerAudioPolicy()
6762 if (mAudioPolicies.containsKey(pcb.asBinder())) { in registerAudioPolicy()
6767 AudioPolicyProxy app = new AudioPolicyProxy(policyConfig, pcb, hasFocusListener, in registerAudioPolicy()
6769 pcb.asBinder().linkToDeath(app, 0/*flags*/); in registerAudioPolicy()
6771 mAudioPolicies.put(pcb.asBinder(), app); in registerAudioPolicy()
6774 Slog.w(TAG, "Audio policy registration failed, could not link to " + pcb + in registerAudioPolicy()
6778 Slog.w(TAG, "Audio policy registration failed for binder " + pcb, e); in registerAudioPolicy()
[all …]
/frameworks/base/core/java/android/widget/
DActionMenuView.java661 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() argument
662 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()