Home
last modified time | relevance | path

Searched refs:getMain (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintService.java136 Handler.getMain().sendMessage(obtainMessage( in destroy()
163 Handler.getMain().sendMessage(obtainMessage( in binderDied()
178 Handler.getMain().sendMessage(obtainMessage( in onAllPrintJobsHandled()
211 Handler.getMain().sendMessage(obtainMessage( in onRequestCancelPrintJob()
237 Handler.getMain().sendMessage(obtainMessage( in onPrintJobQueued()
264 Handler.getMain().sendMessage(obtainMessage( in createPrinterDiscoverySession()
291 Handler.getMain().sendMessage(obtainMessage( in destroyPrinterDiscoverySession()
329 Handler.getMain().sendMessage(obtainMessage( in startPrinterDiscovery()
360 Handler.getMain().sendMessage(obtainMessage( in stopPrinterDiscovery()
392 Handler.getMain().sendMessage(obtainMessage( in validatePrinters()
[all …]
DUserState.java701 Handler.getMain().sendMessage(obtainMessage( in onPrintJobStateChanged()
708 Handler.getMain().sendMessage(obtainMessage( in onPrintServicesChanged()
714 Handler.getMain().sendMessage(obtainMessage( in onPrintServiceRecommendationsUpdated()
781 Handler.getMain().sendMessageDelayed(obtainMessage( in onServiceDied()
1280 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in PrinterDiscoverySessionMediator()
1291 Handler.getMain().sendMessage(obtainMessage( in addObserverLocked()
1330 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in startPrinterDiscoveryLocked()
1348 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in stopPrinterDiscoveryLocked()
1381 Handler.getMain().sendMessage(obtainMessage( in validatePrintersLocked()
1410 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in startPrinterStateTrackingLocked()
[all …]
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionService.java95 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
101 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
107 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
114 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
122 Handler.getMain().executeOrSendMessage(
262 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java430 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in handlePinSlice()
434 Handler.getMain().removeCallbacks(mAnr); in handlePinSlice()
440 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in handleUnpinSlice()
444 Handler.getMain().removeCallbacks(mAnr); in handleUnpinSlice()
461 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in handleBindSlice()
465 Handler.getMain().removeCallbacks(mAnr); in handleBindSlice()
476 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in createPermissionSlice()
480 Handler.getMain().removeCallbacks(mAnr); in createPermissionSlice()
/frameworks/base/core/java/android/companion/
DCompanionDeviceService.java104 Handler.getMain().sendMessage(PooledLambda.obtainMessage( in onDeviceAppeared()
111 Handler.getMain().sendMessage(PooledLambda.obtainMessage( in onDeviceDisappeared()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DPanningScalingHandler.java73 mScaleGestureDetector = new ScaleGestureDetector(context, this, Handler.getMain()); in PanningScalingHandler()
74 mScrollGestureDetector = new GestureDetector(context, this, Handler.getMain()); in PanningScalingHandler()
DFullScreenMagnificationGestureHandler.java320 mScaleGestureDetector = new ScaleGestureDetector(context, this, Handler.getMain()); in PanningScalingState()
322 mScrollGestureDetector = new GestureDetector(context, this, Handler.getMain()); in PanningScalingState()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
DRemoteCallTest.java129 Handler.getMain(), () -> callback.operationComplete(0), 1000); in testCall_whenTimesOutBeforeCallbackIsCalled_returnsTimeOut()
166 Handler.getMain(), () -> callback.operationComplete(3), 500); in testCall_whenCallbackIsCalledBeforeTimeOut_returnsResult()
240 Handler.getMain(), in testExecute_whenTimesOutBeforeCallback_returnsTimeOut()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceDiscoveryService.java116 Handler.getMain().sendMessage(obtainMessage(
220 Handler.getMain().sendMessageDelayed( in startDiscovery()
274 Handler.getMain().sendMessage(obtainMessage( in onDeviceFound()
309 Handler.getMain().sendMessage(obtainMessage( in onDeviceLost()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DVibratorHelper.java47 final private ContentObserver mVibrationObserver = new ContentObserver(Handler.getMain()) {
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DRemoteCall.java122 Handler.getMain().postDelayed(this::timeOut, mTimeoutMs); in call()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java179 connectThenFillRequest.whenComplete((res, err) -> Handler.getMain().post(() -> { in onFillRequest()
219 .whenComplete((res, err) -> Handler.getMain().post(() -> { in onSaveRequest()
DRemoteAugmentedAutofillService.java239 Handler.getMain().post(() -> { in dispatchCancellation()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowMetricsTest.java71 Handler.getMain().runWithScissors(() -> { in testAddViewAndRemoveView_GetMetrics_DoNotCrash()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DKeyValueBackupJobTest.java50 mConstants = new BackupManagerConstants(Handler.getMain(), mContext.getContentResolver()); in setUp()
DFullBackupJobTest.java54 mConstants = new BackupManagerConstants(Handler.getMain(), mContext.getContentResolver()); in setUp()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java240 Handler.getMain().executeOrSendMessage(message); in sendOnPrintJobQueued()
246 Handler.getMain().executeOrSendMessage(message); in sendOnAllPrintJobsForServiceHandled()
252 Handler.getMain().executeOrSendMessage(message); in sendOnAllPrintJobsHandled()
303 Handler.getMain().sendMessageDelayed(msg, in setClient()
369 Handler.getMain().executeOrSendMessage(message); in createPrintJob()
543 Handler.getMain().executeOrSendMessage(message); in notifyPrintJobUpdated()
750 Handler.getMain().executeOrSendMessage(message); in setPrintJobCancelling()
1510 Handler.getMain().executeOrSendMessage(message); in setClient()
/frameworks/base/core/java/android/hardware/location/
DContextHubTransaction.java325 setOnCompleteListener(listener, new HandlerExecutor(Handler.getMain())); in setOnCompleteListener()
/frameworks/base/core/java/android/os/
DHandler.java302 public static Handler getMain() { in getMain() method in Handler
312 return handler == null ? getMain() : handler; in mainIfNull()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowOrientationListenerTest.java66 mHandler = Handler.getMain(); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarTransitions.java71 private final Handler mHandler = Handler.getMain();
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRemoteRotationResolverService.java129 Handler.getMain().post(() -> { in cancelInternal()
/frameworks/base/core/java/android/content/
DAbstractThreadedSyncAdapter.java176 Handler.getMain().sendMessage(obtainMessage( in onUnsyncableAccount()
/frameworks/base/core/java/android/widget/
DMagnifier.java364 Handler.getMain() /* draw the magnifier on the UI thread */, mLock, in show()
854 Handler.getMain().postAtFrontOfQueue(() -> { in onPixelCopyFailed()
1210 Handler.getMain().postAtTime(what, who, when); in setupOverlay()
1215 Handler.getMain().removeCallbacks(what, who); in setupOverlay()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt636 object : ContentObserver(Handler.getMain()) { in <lambda>()

12