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.java1666 private EventHandler mCallbackHandler; field in MediaCodec
1856 mCallbackHandler = mEventHandler; in MediaCodec()
2151 if (mCallbackHandler != null) { in stop()
2152 mCallbackHandler.removeMessages(EVENT_SET_CALLBACK); in stop()
2153 mCallbackHandler.removeMessages(EVENT_CALLBACK); in stop()
3571 EventHandler newHandler = getEventHandlerOn(handler, mCallbackHandler); in setCallback()
3575 if (newHandler != mCallbackHandler) { in setCallback()
3576 mCallbackHandler.removeMessages(EVENT_SET_CALLBACK); in setCallback()
3577 mCallbackHandler.removeMessages(EVENT_CALLBACK); in setCallback()
3578 mCallbackHandler = newHandler; in setCallback()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java158 private final CallbackHandler mCallbackHandler; field in NetworkControllerImpl
198 mCallbackHandler = callbackHandler; in NetworkControllerImpl()
221 mCallbackHandler.setMobileDataEnabled(enabled); in NetworkControllerImpl()
225 mCallbackHandler, this, mWifiManager); in NetworkControllerImpl()
227 mEthernetSignalController = new EthernetSignalController(mContext, mCallbackHandler, this); in NetworkControllerImpl()
347 mCallbackHandler.setListening(listener, true); in addEmergencyListener()
348 mCallbackHandler.setEmergencyCallsOnly(isEmergencyOnly()); in addEmergencyListener()
352 mCallbackHandler.setListening(listener, false); in removeEmergencyListener()
432 mCallbackHandler.setEmergencyCallsOnly(mIsEmergency); in recalculateEmergency()
446 mCallbackHandler.setListening(cb, true); in addCallback()
[all …]
DSignalController.java53 private final CallbackHandler mCallbackHandler; field in SignalController
66 mCallbackHandler = callbackHandler; in SignalController()
204 notifyListeners(mCallbackHandler); in notifyListeners()
/frameworks/base/core/java/android/net/
DIpSecTransform.java218 private Handler mCallbackHandler; field in IpSecTransform
225 mCallbackHandler.post(() -> mUserKeepaliveCallback.onStarted());
233 mCallbackHandler.post(() -> mUserKeepaliveCallback.onStopped());
241 mCallbackHandler.post(() -> mUserKeepaliveCallback.onError(error));
321 mCallbackHandler = handler; in startNattKeepalive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java94 protected CallbackHandler mCallbackHandler; field in NetworkControllerBaseTest
140 mCallbackHandler = mock(CallbackHandler.class); in setUp()
153 mConfig, TestableLooper.get(this).getLooper(), mCallbackHandler, in setUp()
202 mConfig, TestableLooper.get(this).getLooper(), mCallbackHandler, in setUpNoMobileData()
336 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setNoSims( in verifyHasNoSims()
347 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastQsMobileDataIndicators()
380 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastMobileDataIndicators()
420 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.java62 mConfig, Looper.getMainLooper(), mCallbackHandler, in testNoIconWithoutMobile()
124 mConfig, Looper.getMainLooper(), mCallbackHandler, in testNoSimlessIconWithoutMobile()
584 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.java73 private Handler mCallbackHandler; field in NativeDaemonConnector
134 mCallbackHandler = new Handler(mLooper, this); in run()
245 Message msg = mCallbackHandler.obtainMessage( in listenToSocket()
247 if (mCallbackHandler.sendMessage(msg)) { in listenToSocket()
368 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()
915 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.txt25674 Landroid/hardware/location/ContextHubManager;->mCallbackHandler:Landroid/os/Handler;
39635 Landroid/media/MediaCodec;->mCallbackHandler:Landroid/media/MediaCodec$EventHandler;
41796 Landroid/media/MediaSync;->mCallbackHandler:Landroid/os/Handler;
46906 Landroid/net/IpSecTransform;->mCallbackHandler:Landroid/os/Handler;