Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java292 for (IAudioPolicyCallback pcb : mFocusFollowers) { in addFocusFollower()
293 if (pcb.asBinder().equals(ff.asBinder())) { in addFocusFollower()
312 for (IAudioPolicyCallback pcb : mFocusFollowers) { in removeFocusFollower()
313 if (pcb.asBinder().equals(ff.asBinder())) { in removeFocusFollower()
314 mFocusFollowers.remove(pcb); in removeFocusFollower()
324 void notifyExtPolicyCurrentFocusAsync(IAudioPolicyCallback pcb) { in notifyExtPolicyCurrentFocusAsync() argument
325 final IAudioPolicyCallback pcb2 = pcb; in notifyExtPolicyCurrentFocusAsync()
351 for (IAudioPolicyCallback pcb : mFocusFollowers) { in notifyExtPolicyFocusGrant_syncAf()
354 pcb.notifyAudioFocusGrant(afi, requestResult); in notifyExtPolicyFocusGrant_syncAf()
357 + pcb.asBinder(), e); in notifyExtPolicyFocusGrant_syncAf()
[all …]
DAudioService.java5443 IAudioPolicyCallback pcb) { in requestAudioFocus() argument
5455 if (!mAudioPolicies.containsKey(pcb.asBinder())) { in requestAudioFocus()
6202 public String registerAudioPolicy(AudioPolicyConfig policyConfig, IAudioPolicyCallback pcb, in registerAudioPolicy() argument
6206 if (DEBUG_AP) Log.d(TAG, "registerAudioPolicy for " + pcb.asBinder() in registerAudioPolicy()
6221 if (mAudioPolicies.containsKey(pcb.asBinder())) { in registerAudioPolicy()
6225 AudioPolicyProxy app = new AudioPolicyProxy(policyConfig, pcb, hasFocusListener); in registerAudioPolicy()
6226 pcb.asBinder().linkToDeath(app, 0/*flags*/); in registerAudioPolicy()
6228 mAudioPolicies.put(pcb.asBinder(), app); in registerAudioPolicy()
6231 Slog.w(TAG, "Audio policy registration failed, could not link to " + pcb + in registerAudioPolicy()
6239 public void unregisterAudioPolicyAsync(IAudioPolicyCallback pcb) { in unregisterAudioPolicyAsync() argument
[all …]
/frameworks/base/media/java/android/media/
DIAudioService.aidl113 IAudioPolicyCallback pcb); in requestAudioFocus() argument
155 in IAudioPolicyCallback pcb, boolean hasFocusListener); in registerAudioPolicy() argument
157 oneway void unregisterAudioPolicyAsync(in IAudioPolicyCallback pcb); in unregisterAudioPolicyAsync() argument
159 int setFocusPropertiesForPolicy(int duckingBehavior, in IAudioPolicyCallback pcb); in setFocusPropertiesForPolicy() argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuView.java659 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() argument
660 mActionMenuPresenterCallback = pcb; in setMenuCallbacks()
DToolbar.java2150 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() argument
2151 mActionMenuPresenterCallback = pcb; in setMenuCallbacks()
2154 mMenuView.setMenuCallbacks(pcb, mcb); in setMenuCallbacks()
/frameworks/base/core/java/android/widget/
DActionMenuView.java657 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() argument
658 mActionMenuPresenterCallback = pcb; in setMenuCallbacks()
DToolbar.java2123 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() argument
2124 mActionMenuPresenterCallback = pcb; in setMenuCallbacks()
2127 mMenuView.setMenuCallbacks(pcb, mcb); in setMenuCallbacks()