Home
last modified time | relevance | path

Searched refs:getMain (Results 1 – 25 of 26) 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.java700 Handler.getMain().sendMessage(obtainMessage( in onPrintJobStateChanged()
707 Handler.getMain().sendMessage(obtainMessage( in onPrintServicesChanged()
713 Handler.getMain().sendMessage(obtainMessage( in onPrintServiceRecommendationsUpdated()
780 Handler.getMain().sendMessageDelayed(obtainMessage( in onServiceDied()
1279 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in PrinterDiscoverySessionMediator()
1290 Handler.getMain().sendMessage(obtainMessage( in addObserverLocked()
1329 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in startPrinterDiscoveryLocked()
1347 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in stopPrinterDiscoveryLocked()
1380 Handler.getMain().sendMessage(obtainMessage( in validatePrintersLocked()
1409 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in startPrinterStateTrackingLocked()
[all …]
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionService.java83 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
89 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
95 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
102 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
110 Handler.getMain().executeOrSendMessage(
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java434 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in handlePinSlice()
438 Handler.getMain().removeCallbacks(mAnr); in handlePinSlice()
444 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in handleUnpinSlice()
448 Handler.getMain().removeCallbacks(mAnr); in handleUnpinSlice()
465 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in handleBindSlice()
469 Handler.getMain().removeCallbacks(mAnr); in handleBindSlice()
480 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in createPermissionSlice()
484 Handler.getMain().removeCallbacks(mAnr); in createPermissionSlice()
/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/services/tests/wmtests/src/com/android/server/wm/
DScreenDecorWindowTests.java200 Handler.getMain().runWithScissors(() -> { in createWindow()
221 Handler.getMain().runWithScissors(() -> { in updateWindow()
235 Handler.getMain().runWithScissors(() -> mWm.removeView(v), 0); in removeWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DVibratorHelper.java46 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/robotests/backup/src/com/android/server/backup/
DKeyValueBackupJobTest.java46 mConstants = new BackupManagerConstants(Handler.getMain(), mContext.getContentResolver()); in setUp()
DFullBackupJobTest.java52 mConstants = new BackupManagerConstants(Handler.getMain(), mContext.getContentResolver()); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarFragmentTest.java187 Handler.getMain().runWithScissors(() -> { }, 500); in testSetImeWindowStatusWhenImeSwitchOnDisplay()
198 Handler.getMain().runWithScissors(() -> { }, 500); in testSetImeWindowStatusWhenImeSwitchOnDisplay()
/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.java326 setOnCompleteListener(listener, new HandlerExecutor(Handler.getMain())); in setOnCompleteListener()
DContextHubManager.java768 return createClient(hubInfo, callback, new HandlerExecutor(Handler.getMain()));
/frameworks/base/core/java/android/os/
DHandler.java282 public static Handler getMain() { in getMain() method in Handler
292 return handler == null ? getMain() : handler; in mainIfNull()
/frameworks/base/core/java/android/widget/
DMagnifier.java279 Handler.getMain() /* draw the magnifier on the UI thread */, mLock, in show()
712 Handler.getMain().postAtFrontOfQueue(() -> { in onPixelCopyFailed()
967 Handler.getMain().postAtTime(what, who, when); in setupOverlay()
972 Handler.getMain().removeCallbacks(what, who); in setupOverlay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarTransitions.java68 private final Handler mHandler = Handler.getMain();
DStatusBarSignalPolicy.java53 private final Handler mHandler = Handler.getMain();
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceDiscoveryService.java205 Handler.getMain().sendMessageDelayed( in startDiscovery()
271 Handler.getMain().sendMessage(obtainMessage( in notifyDataSetChanged()
/frameworks/base/core/java/android/content/
DAbstractThreadedSyncAdapter.java176 Handler.getMain().sendMessage(obtainMessage( in onUnsyncableAccount()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java390 mScaleGestureDetector = new ScaleGestureDetector(context, this, Handler.getMain()); in PanningScalingState()
392 mScrollGestureDetector = new GestureDetector(context, this, Handler.getMain()); in PanningScalingState()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java185 Handler.getMain().post(this::cleanup); in binderDied()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java391 this(SystemClock::elapsedRealtime, Handler.getMain()); in Engine()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java144 new AccessibilityManager(Handler.getMain(), mAccessibilityService, 0); in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java483 BackupAgentTimeoutParameters(Handler.getMain(), mContext.getContentResolver()); in UserBackupManagerService()

12