Home
last modified time | relevance | path

Searched refs:mCallbackHandler (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaSync.java186 private Handler mCallbackHandler = null; field in MediaSync
256 mCallbackHandler = handler; in setCallback()
263 mCallbackHandler = null; in setCallback()
265 mCallbackHandler = new Handler(looper); in setCallback()
444 mCallbackHandler.removeCallbacksAndMessages(null); in flush()
581 if (mCallbackHandler != null) { in postReturnByteBuffer()
583 mCallbackHandler.post(new Runnable() { in postReturnByteBuffer()
588 if (mCallbackHandler == null in postReturnByteBuffer()
589 || mCallbackHandler.getLooper().getThread() in postReturnByteBuffer()
DMediaCodec.java1667 private EventHandler mCallbackHandler; field in MediaCodec
1859 mCallbackHandler = mEventHandler; in MediaCodec()
2154 if (mCallbackHandler != null) { in stop()
2155 mCallbackHandler.removeMessages(EVENT_SET_CALLBACK); in stop()
2156 mCallbackHandler.removeMessages(EVENT_CALLBACK); in stop()
3574 EventHandler newHandler = getEventHandlerOn(handler, mCallbackHandler); in setCallback()
3578 if (newHandler != mCallbackHandler) { in setCallback()
3579 mCallbackHandler.removeMessages(EVENT_SET_CALLBACK); in setCallback()
3580 mCallbackHandler.removeMessages(EVENT_CALLBACK); in setCallback()
3581 mCallbackHandler = newHandler; in setCallback()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java152 private final CallbackHandler mCallbackHandler; field in NetworkControllerImpl
201 mCallbackHandler = callbackHandler; in NetworkControllerImpl()
224 mCallbackHandler.setMobileDataEnabled(enabled); in NetworkControllerImpl()
229 mCallbackHandler, this, mWifiManager); in NetworkControllerImpl()
231 mEthernetSignalController = new EthernetSignalController(mContext, mCallbackHandler, this); in NetworkControllerImpl()
380 mCallbackHandler.setListening(listener, true); in addEmergencyListener()
381 mCallbackHandler.setEmergencyCallsOnly(isEmergencyOnly()); in addEmergencyListener()
385 mCallbackHandler.setListening(listener, false); in removeEmergencyListener()
481 mCallbackHandler.setEmergencyCallsOnly(mIsEmergency); in recalculateEmergency()
495 mCallbackHandler.setListening(cb, true); in addCallback()
[all …]
DSignalController.java54 private final CallbackHandler mCallbackHandler; field in SignalController
67 mCallbackHandler = callbackHandler; in SignalController()
205 notifyListeners(mCallbackHandler); in notifyListeners()
/frameworks/base/core/java/android/net/
DIpSecTransform.java216 private Handler mCallbackHandler; field in IpSecTransform
223 mCallbackHandler.post(() -> mUserKeepaliveCallback.onStarted());
231 mCallbackHandler.post(() -> mUserKeepaliveCallback.onStopped());
239 mCallbackHandler.post(() -> mUserKeepaliveCallback.onError(error));
319 mCallbackHandler = handler; in startNattKeepalive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java103 protected CallbackHandler mCallbackHandler; field in NetworkControllerBaseTest
152 mCallbackHandler = mock(CallbackHandler.class); in setUp()
165 mConfig, TestableLooper.get(this).getLooper(), mCallbackHandler, in setUp()
215 mConfig, TestableLooper.get(this).getLooper(), mCallbackHandler, in setUpNoMobileData()
352 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setNoSims( in verifyHasNoSims()
363 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastQsMobileDataIndicators()
396 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastMobileDataIndicators()
436 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastMobileDataIndicators()
DNetworkControllerWifiTest.java210 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( in verifyLastQsDataDirection()
223 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( in verifyLastQsWifiIcon()
236 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( in verifyLastWifiIcon()
DNetworkControllerEthernetTest.java46 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setEthernetIndicators( in verifyLastEthernetIcon()
DNetworkControllerSignalTest.java63 mConfig, Looper.getMainLooper(), mCallbackHandler, in testNoIconWithoutMobile()
125 mConfig, Looper.getMainLooper(), mCallbackHandler, in testNoSimlessIconWithoutMobile()
585 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setEmergencyCallsOnly( in verifyEmergencyOnly()
DNetworkControllerDataTest.java106 mConfig, Looper.getMainLooper(), mCallbackHandler, in test4gDataIcon()
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnector.java74 private Handler mCallbackHandler; field in NativeDaemonConnector
135 mCallbackHandler = new Handler(mLooper, this); in run()
246 Message msg = mCallbackHandler.obtainMessage( in listenToSocket()
248 if (mCallbackHandler.sendMessage(msg)) { in listenToSocket()
369 mCallbackHandler.post(new Runnable() { in waitForCallbacks()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java98 private final Handler mCallbackHandler; field in JobServiceContext
186 mCallbackHandler = new JobServiceHandler(looper); in JobServiceContext()
847 Message m = mCallbackHandler.obtainMessage(MSG_TIMEOUT, mRunningCallback); in scheduleOpTimeOutLocked()
848 mCallbackHandler.sendMessageDelayed(m, timeoutMillis); in scheduleOpTimeOutLocked()
854 mCallbackHandler.removeMessages(MSG_TIMEOUT); in removeOpTimeOutLocked()
/frameworks/base/core/java/android/hardware/location/
DContextHubManager.java140 private Handler mCallbackHandler; field in ContextHubManager
656 mCallbackHandler = (handler == null) ? new Handler(mMainLooper) : handler;
850 mCallbackHandler = null;
889 mCallbackHandler.post(
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java76 private final Handler mCallbackHandler; field in LegacyCameraDevice
328 mCallbackHandler = new Handler(mCallbackHandlerThread.getLooper()); in LegacyCameraDevice()
329 mDeviceState.setCameraDeviceCallbacks(mCallbackHandler, mStateListener); in LegacyCameraDevice()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java131 private final Handler mCallbackHandler; field in LauncherAppsService.LauncherAppsImpl
149 mCallbackHandler = BackgroundThread.getHandler(); in LauncherAppsImpl()
264 mPackageMonitor.register(mContext, UserHandle.ALL, true, mCallbackHandler); in startWatchingPackageBroadcasts()
909 mCallbackHandler.post(r); in postToPackageMonitorHandler()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java238 private Handler mCallbackHandler; field in AppWidgetServiceImpl
262 mCallbackHandler = new CallbackHandler(mContext.getMainLooper()); in onStart()
1977 mCallbackHandler.obtainMessage( in scheduleNotifyAppWidgetViewDataChanged()
2050 mCallbackHandler.obtainMessage( in scheduleNotifyUpdateAppWidgetLocked()
2087 mCallbackHandler.obtainMessage( in scheduleNotifyProviderChangedLocked()
2134 mCallbackHandler.obtainMessage( in scheduleNotifyGroupHostsForProvidersChangedLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt24007 Landroid/hardware/location/ContextHubManager;->mCallbackHandler:Landroid/os/Handler;
36969 Landroid/media/MediaCodec;->mCallbackHandler:Landroid/media/MediaCodec$EventHandler;
38982 Landroid/media/MediaSync;->mCallbackHandler:Landroid/os/Handler;
43720 Landroid/net/IpSecTransform;->mCallbackHandler:Landroid/os/Handler;