/frameworks/base/media/java/android/media/ |
D | MediaSync.java | 186 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()
|
D | MediaCodec.java | 1602 private EventHandler mCallbackHandler; field in MediaCodec 1789 mCallbackHandler = mEventHandler; in MediaCodec() 2071 if (mCallbackHandler != null) { in stop() 2072 mCallbackHandler.removeMessages(EVENT_SET_CALLBACK); in stop() 2073 mCallbackHandler.removeMessages(EVENT_CALLBACK); in stop() 3287 EventHandler newHandler = getEventHandlerOn(handler, mCallbackHandler); in setCallback() 3291 if (newHandler != mCallbackHandler) { in setCallback() 3292 mCallbackHandler.removeMessages(EVENT_SET_CALLBACK); in setCallback() 3293 mCallbackHandler.removeMessages(EVENT_CALLBACK); in setCallback() 3294 mCallbackHandler = newHandler; in setCallback() [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubManager.java | 47 private Handler mCallbackHandler; field in ContextHubManager 304 mCallbackHandler = handler; in registerCallback() 327 mCallbackHandler = null; in unregisterCallback() 353 Handler handler = mCallbackHandler == null ? 354 new Handler(mMainLooper) : mCallbackHandler;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerImpl.java | 133 private final CallbackHandler mCallbackHandler; field in NetworkControllerImpl 172 mCallbackHandler = callbackHandler; in NetworkControllerImpl() 195 mCallbackHandler.setMobileDataEnabled(enabled); in NetworkControllerImpl() 199 mCallbackHandler, this); in NetworkControllerImpl() 201 mEthernetSignalController = new EthernetSignalController(mContext, mCallbackHandler, this); in NetworkControllerImpl() 279 mCallbackHandler.setListening(listener, true); in addEmergencyListener() 280 mCallbackHandler.setEmergencyCallsOnly(isEmergencyOnly()); in addEmergencyListener() 284 mCallbackHandler.setListening(listener, false); in removeEmergencyListener() 358 mCallbackHandler.setEmergencyCallsOnly(mIsEmergency); in recalculateEmergency() 372 mCallbackHandler.setListening(cb, true); in addCallback() [all …]
|
D | SignalController.java | 52 private final CallbackHandler mCallbackHandler; field in SignalController 65 mCallbackHandler = callbackHandler; in SignalController() 203 notifyListeners(mCallbackHandler); in notifyListeners()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 84 protected CallbackHandler mCallbackHandler; field in NetworkControllerBaseTest 124 mCallbackHandler = mock(CallbackHandler.class); in setUp() 136 mConfig, Looper.getMainLooper(), mCallbackHandler, in setUp() 177 mConfig, mContext.getMainLooper(), mCallbackHandler, in setUpNoMobileData() 293 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setNoSims( in verifyHasNoSims() 304 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastQsMobileDataIndicators() 337 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastMobileDataIndicators() 361 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastMobileDataIndicators()
|
D | NetworkControllerWifiTest.java | 157 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( in verifyLastQsDataDirection() 169 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( in verifyLastQsWifiIcon() 182 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( in verifyLastWifiIcon()
|
D | NetworkControllerEthernetTest.java | 44 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setEthernetIndicators( in verifyLastEthernetIcon()
|
D | NetworkControllerSignalTest.java | 60 mConfig, Looper.getMainLooper(), mCallbackHandler, in testNoIconWithoutMobile() 128 mConfig, Looper.getMainLooper(), mCallbackHandler, in testNoSimlessIconWithoutMobile() 610 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setEmergencyCallsOnly( in verifyEmergencyOnly()
|
D | NetworkControllerDataTest.java | 103 mConfig, Looper.getMainLooper(), mCallbackHandler, in test4gDataIcon()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouter.java | 1943 final CallbackHandler mCallbackHandler = new CallbackHandler(); field in MediaRouter.GlobalMediaRouter 2221 mCallbackHandler.post(CallbackHandler.MSG_PROVIDER_ADDED, provider); in addProvider() 2246 mCallbackHandler.post(CallbackHandler.MSG_PROVIDER_REMOVED, provider); in removeProvider() 2309 mCallbackHandler.post(CallbackHandler.MSG_ROUTE_ADDED, route); in updateProviderContents() 2341 mCallbackHandler.post(CallbackHandler.MSG_ROUTE_ADDED, route); in updateProviderContents() 2378 mCallbackHandler.post(CallbackHandler.MSG_ROUTE_REMOVED, route); in updateProviderContents() 2385 mCallbackHandler.post(CallbackHandler.MSG_PROVIDER_CHANGED, provider); in updateProviderContents() 2397 mCallbackHandler.post( in updateRouteDescriptorAndNotify() 2404 mCallbackHandler.post( in updateRouteDescriptorAndNotify() 2412 mCallbackHandler.post(CallbackHandler. in updateRouteDescriptorAndNotify() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonConnector.java | 71 private Handler mCallbackHandler; field in NativeDaemonConnector 132 mCallbackHandler = new Handler(mLooper, this); in run() 235 Message msg = mCallbackHandler.obtainMessage( in listenToSocket() 237 if (mCallbackHandler.sendMessage(msg)) { in listenToSocket() 358 mCallbackHandler.post(new Runnable() { in waitForCallbacks()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobServiceContext.java | 91 private final Handler mCallbackHandler; field in JobServiceContext 179 mCallbackHandler = new JobServiceHandler(looper); in JobServiceContext() 778 Message m = mCallbackHandler.obtainMessage(MSG_TIMEOUT, mRunningCallback); in scheduleOpTimeOutLocked() 779 mCallbackHandler.sendMessageDelayed(m, timeoutMillis); in scheduleOpTimeOutLocked() 785 mCallbackHandler.removeMessages(MSG_TIMEOUT); in removeOpTimeOutLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 112 private final Handler mCallbackHandler; field in LauncherAppsService.LauncherAppsImpl 122 mCallbackHandler = BackgroundThread.getHandler(); in LauncherAppsImpl() 195 mPackageMonitor.register(mContext, UserHandle.ALL, true, mCallbackHandler); in startWatchingPackageBroadcasts() 722 mCallbackHandler.post(r); in postToPackageMonitorHandler()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyCameraDevice.java | 75 private final Handler mCallbackHandler; field in LegacyCameraDevice 326 mCallbackHandler = new Handler(mCallbackHandlerThread.getLooper()); in LegacyCameraDevice() 327 mDeviceState.setCameraDeviceCallbacks(mCallbackHandler, mStateListener); in LegacyCameraDevice()
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
D | MediaSessionCompat.java | 869 private CallbackHandler mCallbackHandler = null; field in MediaSessionCompat.Callback 886 if (mCallbackHandler != null) { in setSessionImpl() 887 mCallbackHandler.removeCallbacksAndMessages(null); in setSessionImpl() 889 mCallbackHandler = new CallbackHandler(handler.getLooper()); in setSessionImpl() 915 if (impl == null || mCallbackHandler == null) { in onMediaButtonEvent() 930 mCallbackHandler.removeMessages( in onMediaButtonEvent() 941 mCallbackHandler.sendEmptyMessageDelayed( in onMediaButtonEvent() 960 mCallbackHandler.removeMessages( in handleMediaPlayPauseKeySingleTapIfPending()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 231 private Handler mCallbackHandler; field in AppWidgetServiceImpl 254 mCallbackHandler = new CallbackHandler(mContext.getMainLooper()); in onStart() 1939 mCallbackHandler.obtainMessage( in scheduleNotifyAppWidgetViewDataChanged() 2012 mCallbackHandler.obtainMessage( in scheduleNotifyUpdateAppWidgetLocked() 2049 mCallbackHandler.obtainMessage( in scheduleNotifyProviderChangedLocked() 2096 mCallbackHandler.obtainMessage( in scheduleNotifyGroupHostsForProvidersChangedLocked()
|