Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/ip/
DIpClientUtil.java87 protected final IpClientCallbacks mCb; field in IpClientUtil.IpClientCallbacksProxy
93 mCb = cb; in IpClientCallbacksProxy()
98 mCb.onIpClientCreated(ipClient); in onIpClientCreated()
103 mCb.onPreDhcpAction(); in onPreDhcpAction()
108 mCb.onPostDhcpAction(); in onPostDhcpAction()
119 mCb.onNewDhcpResults(dhcpResults); in onNewDhcpResults()
124 mCb.onProvisioningSuccess(newLp); in onProvisioningSuccess()
128 mCb.onProvisioningFailure(newLp); in onProvisioningFailure()
134 mCb.onLinkPropertiesChange(newLp); in onLinkPropertiesChange()
141 mCb.onReachabilityLost(logMsg); in onReachabilityLost()
[all …]
/frameworks/base/tests/net/java/android/net/
DConnectivityDiagnosticsManagerTest.java64 @Mock private ConnectivityDiagnosticsCallback mCb; field in ConnectivityDiagnosticsManagerTest
77 mCb = mock(ConnectivityDiagnosticsCallback.class); in setUp()
79 mBinder = new ConnectivityDiagnosticsBinder(mCb, INLINE_EXECUTOR); in setUp()
312 verify(mCb).onConnectivityReportAvailable(eq(createSampleConnectivityReport())); in testConnectivityDiagnosticsCallbackOnConnectivityReportAvailable()
321 verify(mCb).onDataStallSuspected(eq(createSampleDataStallReport())); in testConnectivityDiagnosticsCallbackOnDataStallSuspected()
333 verify(mCb).onNetworkConnectivityReported(eq(n), eq(connectivity)); in testConnectivityDiagnosticsCallbackOnNetworkConnectivityReported()
340 mManager.registerConnectivityDiagnosticsCallback(request, INLINE_EXECUTOR, mCb); in testRegisterConnectivityDiagnosticsCallback()
344 assertTrue(ConnectivityDiagnosticsManager.sCallbacks.containsKey(mCb)); in testRegisterConnectivityDiagnosticsCallback()
351 mManager.registerConnectivityDiagnosticsCallback(request, INLINE_EXECUTOR, mCb); in testRegisterDuplicateConnectivityDiagnosticsCallback()
354 mManager.registerConnectivityDiagnosticsCallback(request, INLINE_EXECUTOR, mCb); in testRegisterDuplicateConnectivityDiagnosticsCallback()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DTaskStack.java68 private TaskStackCallbacks mCb; field in TaskStack
82 mCb = cb; in setCallbacks()
102 if (mCb != null) { in removeTask()
104 mCb.onStackTaskRemoved(this, t, newFrontMostTask, animation, in removeTask()
121 if (mCb != null && notifyStackChanges) { in removeAllTasks()
123 mCb.onStackTasksRemoved(this); in removeAllTasks()
150 if (mCb == null) { in setTasks()
194 mCb.onStackTaskRemoved(this, removedTasks.get(i), newFrontMostTask, in setTasks()
202 mCb.onStackTaskAdded(this, addedTasks.get(i)); in setTasks()
207 mCb.onStackTasksUpdated(this); in setTasks()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java465 return mSessionCb.mCb; in getCallback()
988 private final ISessionCallback mCb; field in MediaSessionRecord.SessionCb
991 mCb = cb; in SessionCb()
998 mCb.onMediaButton(mContext.getPackageName(), Process.myPid(), in sendMediaButton()
1001 mCb.onMediaButton(packageName, pid, uid, in sendMediaButton()
1016 mCb.onMediaButton(mContext.getPackageName(), Process.myPid(), in sendMediaButton()
1019 mCb.onMediaButtonFromController(packageName, pid, uid, caller, in sendMediaButton()
1032 mCb.onCommand(packageName, pid, uid, caller, command, args, cb); in sendCommand()
1042 mCb.onCustomAction(packageName, pid, uid, caller, action, args); in sendCustomAction()
1051 mCb.onPrepare(packageName, pid, uid, caller); in prepare()
[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.java2528 if (cbData.mCb != null) { in ServiceEventHandlerDelegate()
2529 cbData.mCb.onRecordingConfigChanged(cbData.mConfigs); in ServiceEventHandlerDelegate()
2535 if (cbData.mCb != null) { in ServiceEventHandlerDelegate()
2539 cbData.mCb.onPlaybackConfigChanged(cbData.mConfigs); in ServiceEventHandlerDelegate()
3502 final AudioPlaybackCallback mCb; field in AudioManager.AudioPlaybackCallbackInfo
3505 mCb = cb; in AudioPlaybackCallbackInfo()
3511 final AudioPlaybackCallback mCb; field in AudioManager.PlaybackConfigChangeCallbackData
3516 mCb = cb; in PlaybackConfigChangeCallbackData()
3623 if (cb.equals(mPlaybackCallbackList.get(i).mCb)) { in hasPlaybackCallback_sync()
3637 if (cb.equals(mPlaybackCallbackList.get(i).mCb)) { in removePlaybackCallback_sync()
[all …]
/frameworks/base/core/java/android/net/
DConnectivityDiagnosticsManager.java612 @NonNull private final ConnectivityDiagnosticsCallback mCb; field in ConnectivityDiagnosticsManager.ConnectivityDiagnosticsBinder
619 this.mCb = cb; in ConnectivityDiagnosticsBinder()
628 mCb.onConnectivityReportAvailable(report); in onConnectivityReportAvailable()
638 mCb.onDataStallSuspected(report); in onDataStallSuspected()
649 mCb.onNetworkConnectivityReported(network, hasConnectivity); in onNetworkConnectivityReported()
DEthernetManager.java222 private final ITetheredInterfaceCallback mCb; field in EthernetManager.TetheredInterfaceRequest
227 this.mCb = cb; in TetheredInterfaceRequest()
236 mService.releaseTetheredInterface(mCb); in release()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java72 TaskStackViewScrollerCallbacks mCb; field in TaskStackViewScroller
90 mCb = cb; in TaskStackViewScroller()
141 if (mCb != null) { in setStackScroll()
142 mCb.onStackScrollChanged(prevScroll, mStackScrollP, animation); in setStackScroll()
DTaskView.java156 private TaskViewCallbacks mCb; field in TaskView
190 mCb = cb; in setCallbacks()
424 if (mCb != null) { in setClipViewInStack()
425 mCb.onTaskViewClipStateChanged(this); in setClipViewInStack()
DTaskStackLayoutAlgorithm.java167 private TaskStackLayoutAlgorithmCallbacks mCb; field in TaskStackLayoutAlgorithm
276 mCb = cb; in TaskStackLayoutAlgorithm()
363 if (mCb != null) { in setFocusState()
364 mCb.onFocusStateChanged(prevFocusState, focusState); in setFocusState()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java671 private IBinder mCb; // To be notified of client's death field in BtHelper.ScoClient
676 mCb = cb; in ScoClient()
699 mCb.linkToDeath(this, 0); in incCount()
703 + mCb + " binder death"); in incCount()
719 mCb.unlinkToDeath(this, 0); in decCount()
736 mCb.unlinkToDeath(this, 0); in clearCount()
753 return mCb; in getBinder()
DMediaFocusControl.java401 private IBinder mCb; // To be notified of client's death field in MediaFocusControl.AudioFocusDeathHandler
404 mCb = cb; in AudioFocusDeathHandler()
410 removeFocusEntryForExtPolicy(mCb); in binderDied()
412 removeFocusStackEntryOnDeath(mCb); in binderDied()
DAudioService.java2532 private IBinder mCb; // To be notified of client's death field in AudioService.ForceControlStreamClient
2544 mCb = cb; in ForceControlStreamClient()
2561 if (mCb != null) { in release()
2562 mCb.unlinkToDeath(this, 0); in release()
2563 mCb = null; in release()
2568 return mCb; in getBinder()
3271 private IBinder mCb; // To be notified of client's death field in AudioService.SetModeDeathHandler
3276 mCb = cb; in SetModeDeathHandler()
3292 newModeOwnerPid = setModeInt(AudioSystem.MODE_NORMAL, mCb, mPid, TAG); in binderDied()
3315 return mCb; in getBinder()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodWrapper.java101 final IInputSessionCallback mCb; field in IInputMethodWrapper.InputMethodSessionCallbackWrapper
107 mCb = cb; in InputMethodSessionCallbackWrapper()
116 mCb.sessionCreated(wrap); in sessionCreated()
121 mCb.sessionCreated(null); in sessionCreated()
/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/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/services/core/jni/
Dcom_android_server_VibratorService.cpp102 mCb(env, vibration) {} in AidlVibratorCallback()
105 mCb.onComplete(); in onComplete()
110 VibratorCallback mCb; member in android::AidlVibratorCallback
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java7887 @NonNull private final IConnectivityDiagnosticsCallback mCb; field in ConnectivityService.ConnectivityDiagnosticsCallbackInfo
7896 mCb = cb; in ConnectivityDiagnosticsCallbackInfo()
7904 unregisterConnectivityDiagnosticsCallback(mCb); in binderDied()
7945 final IConnectivityDiagnosticsCallback cb = cbInfo.mCb; in handleRegisterConnectivityDiagnosticsCallback()
8104 results.add(entry.getValue().mCb); in getMatchingPermissionedCallbacks()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt34293 Landroid/media/AudioManager$AudioPlaybackCallbackInfo;->mCb:Landroid/media/AudioManager$AudioPlayba…
34296 Landroid/media/AudioManager$AudioRecordingCallbackInfo;->mCb:Landroid/media/AudioManager$AudioRecor…
34320 Landroid/media/AudioManager$PlaybackConfigChangeCallbackData;->mCb:Landroid/media/AudioManager$Audi…
34323 Landroid/media/AudioManager$RecordConfigChangeCallbackData;->mCb:Landroid/media/AudioManager$AudioR…
40312 Landroid/media/session/MediaSessionLegacyHelper$SessionHolder;->mCb:Landroid/media/session/MediaSes…