Home
last modified time | relevance | path

Searched refs:mCb (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputControllerTest.java84 private MediaOutputController.Callback mCb = mock(MediaOutputController.Callback.class); field in MediaOutputControllerTest
132 mMediaOutputController.start(mCb); in start_verifyLocalMediaManagerInit()
140 mMediaOutputController.start(mCb); in stop_verifyLocalMediaManagerDeinit()
151 mMediaOutputController.start(mCb); in start_withPackageName_verifyMediaControllerInit()
162 mMediaOutputController.start(mCb); in start_withoutPackageName_verifyMediaControllerInit()
169 mMediaOutputController.start(mCb); in stop_withPackageName_verifyMediaControllerDeinit()
183 mMediaOutputController.start(mCb); in stop_withoutPackageName_verifyMediaControllerDeinit()
192 mMediaOutputController.start(mCb); in onDeviceListUpdate_verifyDeviceListCallback()
193 reset(mCb); in onDeviceListUpdate_verifyDeviceListCallback()
200 verify(mCb).onRouteChanged(); in onDeviceListUpdate_verifyDeviceListCallback()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java191 mSessionCb.mCb.asBinder().linkToDeath(this, 0); in MediaSessionRecord()
429 mSessionCb.mCb.asBinder().unlinkToDeath(this, 0); in close()
1103 private final ISessionCallback mCb;
1106 mCb = cb;
1119 mCb.onMediaButton(mContext.getPackageName(), Process.myPid(),
1122 mCb.onMediaButton(packageName, pid, uid,
1142 mCb.onMediaButton(mContext.getPackageName(), Process.myPid(),
1145 mCb.onMediaButtonFromController(packageName, pid, uid,
1158 mCb.onCommand(packageName, pid, uid, command, args, cb);
1167 mCb.onCustomAction(packageName, pid, uid, action, args);
[all …]
/frameworks/base/media/java/android/media/
DAudioRecordingMonitorImpl.java75 if (arci.mCb == cb) { in registerAudioRecordingCallback()
97 if (arci.mCb == cb) { in unregisterAudioRecordingCallback()
127 final AudioManager.AudioRecordingCallback mCb; field in AudioRecordingMonitorImpl.AudioRecordingCallbackInfo
131 mCb = cb; in AudioRecordingCallbackInfo()
196 cbi.mCb.onRecordingConfigChanged(configs)); in beginRecordingCallbackHandling()
DAudioManager.java3760 if (cbData.mCb != null) { in ServiceEventHandlerDelegate()
3761 cbData.mCb.onRecordingConfigChanged(cbData.mConfigs); in ServiceEventHandlerDelegate()
3767 if (cbData.mCb != null) { in ServiceEventHandlerDelegate()
3771 cbData.mCb.onPlaybackConfigChanged(cbData.mConfigs); in ServiceEventHandlerDelegate()
4809 final AudioPlaybackCallback mCb; field in AudioManager.AudioPlaybackCallbackInfo
4812 mCb = cb; in AudioPlaybackCallbackInfo()
4818 final AudioPlaybackCallback mCb; field in AudioManager.PlaybackConfigChangeCallbackData
4823 mCb = cb; in PlaybackConfigChangeCallbackData()
4931 if (cb.equals(mPlaybackCallbackList.get(i).mCb)) { in hasPlaybackCallback_sync()
4945 if (cb.equals(mPlaybackCallbackList.get(i).mCb)) { in removePlaybackCallback_sync()
[all …]
/frameworks/base/core/java/android/net/
DEthernetManager.java245 private final ITetheredInterfaceCallback mCb; field in EthernetManager.TetheredInterfaceRequest
250 this.mCb = cb; in TetheredInterfaceRequest()
259 mService.releaseTetheredInterface(mCb); in release()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodWrapper.java106 final IInputSessionCallback mCb; field in IInputMethodWrapper.InputMethodSessionCallbackWrapper
112 mCb = cb; in InputMethodSessionCallbackWrapper()
121 mCb.sessionCreated(wrap); in sessionCreated()
126 mCb.sessionCreated(null); in sessionCreated()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java419 public SessionCallback mCb; field in MediaSessionLegacyHelper.SessionHolder
430 mCb = null; in update()
432 } else if (mCb == null) { in update()
433 mCb = new SessionCallback(); in update()
435 mSession.setCallback(mCb, handler); in update()
/frameworks/base/core/java/android/service/controls/
DControlsProviderService.java220 aMsg.mAction, consumerFor(aMsg.mControlId, aMsg.mCb));
356 final IControlsActionCallback mCb;
361 this.mCb = cb;
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java79 mController.registerCallback(mCb); in onStart()
103 mController.unregisterCallback(mCb); in onStop()
128 private final MediaController.Callback mCb = new MediaController.Callback() { field in NotificationHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java118 mMediaController.unregisterCallback(mCb); in start()
119 mMediaController.registerCallback(mCb); in start()
144 mMediaController.unregisterCallback(mCb); in stop()
477 private final MediaController.Callback mCb = new MediaController.Callback() { field in MediaOutputController
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java489 private IBinder mCb; // To be notified of client's death field in MediaFocusControl.AudioFocusDeathHandler
492 mCb = cb; in AudioFocusDeathHandler()
498 removeFocusEntryForExtPolicyOnDeath(mCb); in binderDied()
500 removeFocusStackEntryOnDeath(mCb); in binderDied()
505 if (fr.hasSameBinder(mCb)) { in binderDied()
DAudioDeviceBroker.java1657 private final IBinder mCb; field in AudioDeviceBroker.CommunicationRouteClient
1662 mCb = cb; in CommunicationRouteClient()
1670 mCb.linkToDeath(this, 0); in registerDeathRecipient()
1673 Log.w(TAG, "CommunicationRouteClient could not link to " + mCb + " binder death"); in registerDeathRecipient()
1680 mCb.unlinkToDeath(this, 0); in unregisterDeathRecipient()
1692 return mCb; in getBinder()
DAudioService.java3703 private IBinder mCb; // To be notified of client's death field in AudioService.ForceControlStreamClient
3715 mCb = cb; in ForceControlStreamClient()
3732 if (mCb != null) { in release()
3733 mCb.unlinkToDeath(this, 0); in release()
3734 mCb = null; in release()
3739 return mCb; in getBinder()
4511 private final IBinder mCb; // To be notified of client's death field in AudioService.SetModeDeathHandler
4524 mCb = cb; in SetModeDeathHandler()
4566 return mCb; in getBinder()
4618 pw.println(" - Binder: " + mCb); in dump()
/frameworks/base/services/core/java/com/android/server/vcn/
DUnderlyingNetworkTracker.java125 @NonNull private final UnderlyingNetworkTrackerCallback mCb; field in UnderlyingNetworkTracker
167 mCb = Objects.requireNonNull(cb, "Missing cb"); in UnderlyingNetworkTracker()
424 mCb.onSelectedUnderlyingNetworkChanged(mCurrentRecord); in reevaluateNetworks()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt27042 Landroid/media/AudioManager$AudioPlaybackCallbackInfo;->mCb:Landroid/media/AudioManager$AudioPlayba…
27045 Landroid/media/AudioManager$AudioRecordingCallbackInfo;->mCb:Landroid/media/AudioManager$AudioRecor…
27069 Landroid/media/AudioManager$PlaybackConfigChangeCallbackData;->mCb:Landroid/media/AudioManager$Audi…
27072 Landroid/media/AudioManager$RecordConfigChangeCallbackData;->mCb:Landroid/media/AudioManager$AudioR…
33055 Landroid/media/session/MediaSessionLegacyHelper$SessionHolder;->mCb:Landroid/media/session/MediaSes…