Home
last modified time | relevance | path

Searched refs:mCallbackHandler (Results 1 – 20 of 20) 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.java1721 private EventHandler mCallbackHandler; field in MediaCodec
1991 mCallbackHandler = mEventHandler; in MediaCodec()
2339 if (mCallbackHandler != null) { in stop()
2340 mCallbackHandler.removeMessages(EVENT_SET_CALLBACK); in stop()
2341 mCallbackHandler.removeMessages(EVENT_CALLBACK); in stop()
4665 EventHandler newHandler = getEventHandlerOn(handler, mCallbackHandler); in setCallback()
4669 if (newHandler != mCallbackHandler) { in setCallback()
4670 mCallbackHandler.removeMessages(EVENT_SET_CALLBACK); in setCallback()
4671 mCallbackHandler.removeMessages(EVENT_CALLBACK); in setCallback()
4672 mCallbackHandler = newHandler; in setCallback()
[all …]
/frameworks/base/media/jni/soundpool/
DSoundManager.cpp91 mCallbackHandler.setCallback(soundPool, callback, user); in setCallback()
96 mCallbackHandler.notify(event); in notify()
101 return mCallbackHandler.getUserData(); in getUserData()
DSoundManager.h105 CallbackHandler mCallbackHandler; // has its own lock variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DSignalController.java58 private final CallbackHandler mCallbackHandler; field in SignalController
71 mCallbackHandler = callbackHandler; in SignalController()
172 mCallbackHandler.setCallIndicator(statusIcon, subId); in notifyCallStateChange()
262 notifyListeners(mCallbackHandler); in notifyListeners()
DNetworkControllerImpl.java195 private final CallbackHandler mCallbackHandler; field in NetworkControllerImpl
312 mCallbackHandler = callbackHandler; in NetworkControllerImpl()
341 mCallbackHandler.setMobileDataEnabled(enabled); in NetworkControllerImpl()
347 mCallbackHandler, this, mWifiManager, trackerFactory, in NetworkControllerImpl()
350 mEthernetSignalController = new EthernetSignalController(mContext, mCallbackHandler, this); in NetworkControllerImpl()
379 mCallbackHandler.setConnectivityStatus(mNoDefaultNetwork, !mInetCondition, in NetworkControllerImpl()
576 mCallbackHandler.setListening(listener, true); in addEmergencyListener()
577 mCallbackHandler.setEmergencyCallsOnly(isEmergencyOnly()); in addEmergencyListener()
582 mCallbackHandler.setListening(listener, false); in removeEmergencyListener()
728 mCallbackHandler.setEmergencyCallsOnly(mIsEmergency); in recalculateEmergency()
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiEntry.java230 protected final Handler mCallbackHandler; field in WifiEntry
255 mCallbackHandler = callbackHandler; in WifiEntry()
712 mCallbackHandler.post(() -> { in notifyOnUpdated()
845 mCallbackHandler.post(() -> { in updateConnectionInfo()
871 mCallbackHandler.post(() -> { in updateConnectionInfo()
993 mCallbackHandler.postDelayed(() -> { in onSuccess()
1006 mCallbackHandler.post(() -> { in onFailure()
1019 mCallbackHandler.post(() -> { in onSuccess()
1029 mCallbackHandler.post(() -> { in onFailure()
DMergedCarrierEntry.java125 mCallbackHandler.post(() -> { in connect()
145 mCallbackHandler.post(() -> { in disconnect()
DStandardWifiEntry.java347 mCallbackHandler.post(() -> in connect()
378 mCallbackHandler.post(() -> in connect()
396 mCallbackHandler.postDelayed(() -> { in disconnect()
DPasspointWifiEntry.java329 mCallbackHandler.postDelayed(() -> { in disconnect()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerBaseTest.java123 protected CallbackHandler mCallbackHandler; field in NetworkControllerBaseTest
217 mCallbackHandler = mock(CallbackHandler.class); in setUp()
233 mCallbackHandler, in setUp()
247 mCallbackHandler, in setUp()
501 verify(mCallbackHandler, Mockito.atLeastOnce()).setNoSims( in verifyHasNoSims()
510 verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastQsMobileDataIndicators()
539 verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastMobileDataIndicators()
555 verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastMobileDataIndicatorsForVcn()
597 verify(mCallbackHandler, Mockito.atLeastOnce()).setMobileDataIndicators( in verifyLastMobileDataIndicators()
635 verify(mCallbackHandler, Mockito.atLeastOnce()).setCallIndicator( in verifyLastCallStrength()
DNetworkControllerSignalTest.java80 mCallbackHandler, in testDeviceProvisioned_userNotSetUp()
118 mCallbackHandler, in testDeviceProvisioned_userSetUp()
154 mCallbackHandler, in testNoIconWithoutMobile()
193 mCallbackHandler, in testServiceStateInitialState()
280 mCallbackHandler, in testNoSimlessIconWithoutMobile()
759 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setEmergencyCallsOnly( in verifyEmergencyOnly()
DNetworkControllerEthernetTest.java61 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setEthernetIndicators( in verifyLastEthernetIcon()
DNetworkControllerWifiTest.java342 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( in verifyLastQsDataDirection()
354 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( in verifyLastQsWifiIcon()
371 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setWifiIndicators( in verifyLastWifiIcon()
DNetworkControllerDataTest.java152 mCallbackHandler, in test4gDataIcon()
/frameworks/base/core/java/android/hardware/location/
DContextHubManager.java194 private Handler mCallbackHandler; field in ContextHubManager
710 mCallbackHandler = (handler == null) ? new Handler(mMainLooper) : handler;
960 mCallbackHandler = null;
999 mCallbackHandler.post(
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java107 private final Handler mCallbackHandler; field in JobServiceContext
223 mCallbackHandler = new JobServiceHandler(looper); in JobServiceContext()
1113 Message m = mCallbackHandler.obtainMessage(MSG_TIMEOUT, mRunningCallback); in scheduleOpTimeOutLocked()
1114 mCallbackHandler.sendMessageDelayed(m, timeoutMillis); in scheduleOpTimeOutLocked()
1119 mCallbackHandler.removeMessages(MSG_TIMEOUT); in removeOpTimeOutLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java183 private final Handler mCallbackHandler; field in LauncherAppsService.LauncherAppsImpl
208 mCallbackHandler = BackgroundThread.getHandler(); in LauncherAppsImpl()
343 /* broadcastPermission= */ null, mCallbackHandler); in startWatchingPackageBroadcasts()
344 mPackageMonitor.register(mContext, UserHandle.ALL, true, mCallbackHandler); in startWatchingPackageBroadcasts()
1410 mCallbackHandler.post(r); in postToPackageMonitorHandler()
1892 super(mCallbackHandler); in PackageLoadingProgressCallback()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java251 private Handler mCallbackHandler; field in AppWidgetServiceImpl
277 mCallbackHandler = new CallbackHandler(serviceThread.getLooper()); in onStart()
320 packageFilter, null, mCallbackHandler); in registerBroadcastReceiver()
327 sdFilter, null, mCallbackHandler); in registerBroadcastReceiver()
333 offModeFilter, null, mCallbackHandler); in registerBroadcastReceiver()
339 suspendPackageFilter, null, mCallbackHandler); in registerBroadcastReceiver()
1967 mCallbackHandler.obtainMessage( in scheduleNotifyAppWidgetViewDataChanged()
2052 mCallbackHandler.obtainMessage( in scheduleNotifyUpdateAppWidgetLocked()
2090 mCallbackHandler.obtainMessage( in scheduleNotifyProviderChangedLocked()
2133 mCallbackHandler.obtainMessage( in scheduleNotifyAppWidgetRemovedLocked()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt21120 Landroid/hardware/location/ContextHubManager;->mCallbackHandler:Landroid/os/Handler;
26840 Landroid/media/MediaCodec;->mCallbackHandler:Landroid/media/MediaCodec$EventHandler;
28847 Landroid/media/MediaSync;->mCallbackHandler:Landroid/os/Handler;