Home
last modified time | relevance | path

Searched refs:getMainThreadHandler (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodContext.java60 new ClipboardManager(this, getMainThreadHandler()))); in RavenwoodContext()
108 public Handler getMainThreadHandler() { in getMainThreadHandler() method in RavenwoodContext
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransportService.java30 new LocalTransportParameters(getMainThreadHandler(), getContentResolver()); in onCreate()
/frameworks/base/packages/EncryptedLocalTransport/src/com/android/encryptedlocaltransport/
DEncryptedLocalTransportService.java32 new LocalTransportParameters(getMainThreadHandler(), getContentResolver()); in onCreate()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DServiceConfigAccessorImpl.java181 Handler mainThreadHandler = mContext.getMainThreadHandler(); in ServiceConfigAccessorImpl()
520 mContext.getMainThreadHandler().post(this::handleConfigurationInternalChangeOnMainThread); in setTestPrimaryLocationTimeZoneProviderPackageName()
549 mContext.getMainThreadHandler().post(this::handleConfigurationInternalChangeOnMainThread); in setTestSecondaryLocationTimeZoneProviderPackageName()
657 mContext.getMainThreadHandler().post(this::handleConfigurationInternalChangeOnMainThread); in resetVolatileTestConfig()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DRemoteSearchUiService.java47 context.getMainThreadHandler(), in RemoteSearchUiService()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DRemoteAppPredictionService.java47 context.getMainThreadHandler(), in RemoteAppPredictionService()
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DRemoteSmartspaceService.java47 context.getMainThreadHandler(), in RemoteSmartspaceService()
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
DRemoteWallpaperEffectsGenerationService.java54 context.getMainThreadHandler(), in RemoteWallpaperEffectsGenerationService()
/frameworks/base/services/core/java/com/android/server/powerstats/
DTimerTrigger.java73 mHandler = mContext.getMainThreadHandler(); in TimerTrigger()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/
DRearDisplayPresentationRequestCallback.java47 context.getMainThreadHandler(), DisplayManager.EVENT_FLAG_DISPLAY_ADDED in RearDisplayPresentationRequestCallback()
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DRemoteMusicRecognitionService.java56 context.getMainThreadHandler(), in RemoteMusicRecognitionService()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/connectivity/
DConnectivitySubsystemsRecoveryManagerTest.java45 Handler mMainHandler = ApplicationProvider.getApplicationContext().getMainThreadHandler();
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DOneFingerPanningSettingsProvider.java59 mObserver = new ContentObserver(context.getMainThreadHandler()) { in OneFingerPanningSettingsProvider()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DRemoteContentSuggestionsService.java50 context.getMainThreadHandler(), in RemoteContentSuggestionsService()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerPickerActivity.java113 getMainThreadHandler().removeCallbacks(mBatteryStatsRefresh); in onPause()
118 getMainThreadHandler().postDelayed(mBatteryStatsRefresh, BATTERY_STATS_REFRESH_RATE_MILLIS); in refreshPeriodically()
DBatteryStatsViewerActivity.java105 getMainThreadHandler().removeCallbacks(mBatteryStatsRefresh); in onPause()
110 getMainThreadHandler().postDelayed(mBatteryStatsRefresh, BATTERY_STATS_REFRESH_RATE_MILLIS); in refreshPeriodically()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DInTaskTransitionTest.java136 getMainThreadHandler().post(() -> mCallback.sendResult(null)); in onDestroy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DAlwaysOnDisplayPolicy.java142 mSettingsObserver = new SettingsObserver(context.getMainThreadHandler()); in AlwaysOnDisplayPolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DGesturesObserverTest.java119 super(gestureId, context.getMainThreadHandler(), null); in GestureMatcherStub()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteInlineSuggestionRenderService.java56 context.getMainThreadHandler(), in RemoteInlineSuggestionRenderService()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationThumbnailTest.java51 private final Handler mHandler = mContext.getMainThreadHandler();
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DRemoteContentCaptureService.java58 context.getMainThreadHandler(), in RemoteContentCaptureService()
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DSurfaceControlViewHostSyncTest.java176 getMainThreadHandler().post(() -> { in loadEmbedded()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskOrganizerMultiWindowTest.java81 getMainThreadHandler().post(() -> { in onBackPressedOnTaskRoot()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/scroll/
DScrollCaptureControllerTest.java278 client, new ImageTileSet(context.getMainThreadHandler()), in createController()

123