Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/service/games/
DGameService.java97 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
103 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
109 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
117 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
DGameSession.java89 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
96 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
104 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
DGameSessionService.java74 Handler.getMain().post(PooledLambda.obtainRunnable(
/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.java713 Handler.getMain().sendMessage(obtainMessage( in onPrintJobStateChanged()
720 Handler.getMain().sendMessage(obtainMessage( in onPrintServicesChanged()
726 Handler.getMain().sendMessage(obtainMessage( in onPrintServiceRecommendationsUpdated()
793 Handler.getMain().sendMessageDelayed(obtainMessage( in onServiceDied()
1292 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in PrinterDiscoverySessionMediator()
1303 Handler.getMain().sendMessage(obtainMessage( in addObserverLocked()
1342 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in startPrinterDiscoveryLocked()
1360 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in stopPrinterDiscoveryLocked()
1393 Handler.getMain().sendMessage(obtainMessage( in validatePrintersLocked()
1422 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in startPrinterStateTrackingLocked()
[all …]
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java426 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in handlePinSlice()
430 Handler.getMain().removeCallbacks(mAnr); in handlePinSlice()
436 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in handleUnpinSlice()
440 Handler.getMain().removeCallbacks(mAnr); in handleUnpinSlice()
457 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in handleBindSlice()
461 Handler.getMain().removeCallbacks(mAnr); in handleBindSlice()
472 Handler.getMain().postDelayed(mAnr, SLICE_BIND_ANR); in createPermissionSlice()
476 Handler.getMain().removeCallbacks(mAnr); in createPermissionSlice()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DPanningScalingHandler.java79 /* minSpan= */ 0, Handler.getMain(), this); in PanningScalingHandler()
81 mScaleGestureDetector = new ScaleGestureDetector(context, this, Handler.getMain()); in PanningScalingHandler()
83 mScrollGestureDetector = new GestureDetector(context, this, Handler.getMain()); in PanningScalingHandler()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionService.java141 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
147 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
153 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
160 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
168 Handler.getMain().executeOrSendMessage(
177 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
184 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
192 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
384 Handler.getMain().executeOrSendMessage(PooledLambda.obtainMessage(
/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/SystemUI/tests/utils/src/com/android/systemui/mediaprojection/data/repository/
DMediaProjectionRepositoryKosmos.kt33 handler = Handler.getMain(), in <lambda>()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DRemoteCredentialService.java202 connectThenExecute.whenComplete((result, error) -> Handler.getMain().post(() -> in onBeginGetCredential()
265 connectThenExecute.whenComplete((result, error) -> Handler.getMain().post(() -> in onBeginCreateCredential()
327 connectThenExecute.whenComplete((result, error) -> Handler.getMain().post(() -> in onClearCredentialState()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java330 connectThenFillRequest.whenComplete((res, err) -> Handler.getMain().post(() -> { in onFillCredentialRequest()
403 connectThenFillRequest.whenComplete((res, err) -> Handler.getMain().post(() -> { in onFillRequest()
462 (res, err) -> Handler.getMain().post(() -> { in onConvertCredentialRequest()
490 .whenComplete((res, err) -> Handler.getMain().post(() -> { in onSaveRequest()
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DRemoteCall.java122 Handler.getMain().postDelayed(this::timeOut, mTimeoutMs); in call()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskView.java88 mHandler = Handler.getMain(); in TaskView()
301 mHandler = Handler.getMain(); in onDetachedFromWindow()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowMetricsTest.java71 Handler.getMain().runWithScissors(() -> { in testAddViewAndRemoveView_GetMetrics_DoNotCrash()
/frameworks/base/tests/FlickerTests/AppLaunch/src/com/android/server/wm/flicker/launch/
DOverrideTaskTransitionTest.kt113 Handler.getMain(), in createCustomTaskAnimation()
/frameworks/base/core/java/android/companion/
DCompanionDeviceService.java308 final Handler mMainHandler = Handler.getMain();
/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/services/companion/java/com/android/server/companion/devicepresence/
DBluetoothDeviceProcessor.java76 new HandlerExecutor(Handler.getMain()), /* callback */this); in init()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DKeyValueBackupJobTest.java58 mConstants = new BackupManagerConstants(Handler.getMain(), mContext.getContentResolver()); in setUp()
/frameworks/base/core/java/android/hardware/location/
DContextHubTransaction.java341 setOnCompleteListener(listener, new HandlerExecutor(Handler.getMain())); in setOnCompleteListener()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DUtils.java160 Handler.getMain().post(runnable); in runOnMainThread()
DCompanionDeviceDiscoveryService.java257 Handler.getMain().removeCallbacks(mTimeoutRunnable); in stopDiscoveryAndFinish()
402 Handler.getMain().postDelayed(mTimeoutRunnable, timeout); in scheduleTimeout()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowOrientationListenerTest.java66 mHandler = Handler.getMain(); in setUp()
/frameworks/base/core/java/android/os/
DHandler.java311 public static Handler getMain() { in getMain() method in Handler
321 return handler == null ? getMain() : handler; in mainIfNull()

12