/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsAdapterTest.java | 72 private Handler mMainHandler; field in RemoteViewsAdapterTest 81 mMainHandler = new Handler(Looper.getMainLooper()); in setup() 95 waitOnHandler(mMainHandler); in onRemoteAdapterConnected_after_metadata_loaded() 100 waitOnHandler(mMainHandler); in onRemoteAdapterConnected_after_metadata_loaded() 119 waitOnHandler(mMainHandler); in viewReplaced_after_mainView_loaded() 130 waitOnHandler(mMainHandler); in viewReplaced_after_mainView_loaded() 153 waitOnHandler(mMainHandler); in notifyDataSetChanged_deferred() 166 waitOnHandler(mMainHandler); in notifyDataSetChanged_deferred() 173 waitOnHandler(mMainHandler); in notifyDataSetChanged_deferred() 193 waitOnHandler(mMainHandler); in serviceDisconnected_before_getView() [all …]
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableInstrumentation.java | 81 private final Handler mMainHandler; field in TestableInstrumentation.MainLooperManager 85 mMainHandler = Handler.createAsync(Looper.getMainLooper()); in MainLooperManager() 157 mStopMessage = mMainHandler.obtainMessage(); in startManaging() 165 mMainHandler.post(this); in startManaging() 166 while (!mManager.hasMessages(mMainHandler, null, this)); in startManaging()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 150 final MainHandler mMainHandler = new MainHandler(Looper.getMainLooper()); field in ApplicationsState 603 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in addPackage() 604 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in addPackage() 644 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in removePackage() 645 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in removePackage() 669 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in addUser() 670 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in addUser() 685 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in removeUser() 686 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in removeUser() 934 if (!mMainHandler.hasMessages(MainHandler.MSG_REBUILD_COMPLETE, this)) { in handleRebuildList() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImpl.java | 48 private final Handler mMainHandler; field in HotspotControllerImpl 63 mMainHandler = mainHandler; in HotspotControllerImpl() 109 mWifiManager.registerSoftApCallback(this, mMainHandler); in addCallback() 114 mMainHandler.post(() -> in addCallback()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/ |
D | PluginInstanceManagerTest.java | 128 waitForIdleSync(mPluginInstanceManager.mMainHandler); in testNoPlugins() 150 waitForIdleSync(mPluginInstanceManager.mMainHandler); in testPluginDestroy() 167 waitForIdleSync(mPluginInstanceManager.mMainHandler); in testIncorrectVersion() 182 waitForIdleSync(mPluginInstanceManager.mMainHandler); in testReloadOnChange() 205 waitForIdleSync(mPluginInstanceManager.mMainHandler);; in testNonDebuggable() 222 waitForIdleSync(mPluginInstanceManager.mMainHandler); in testNonDebuggable_whitelist() 297 waitForIdleSync(mPluginInstanceManager.mMainHandler); in createPlugin()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ViewPreviewer.java | 41 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in ViewPreviewer 77 mMainHandler.post(task); in createPreview()
|
D | ClockManager.java | 67 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in ClockManager 74 new ContentObserver(mMainHandler) {
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
D | PluginInstanceManager.java | 65 final MainHandler mMainHandler; field in PluginInstanceManager 83 mMainHandler = new MainHandler(Looper.getMainLooper()); in PluginInstanceManager() 102 mMainHandler.removeMessages(MainHandler.PLUGIN_CONNECTED); in getPlugin() 120 mMainHandler.obtainMessage(MainHandler.PLUGIN_DISCONNECTED, in destroy() 274 mMainHandler.obtainMessage(MainHandler.PLUGIN_DISCONNECTED, in handleMessage() 323 mMainHandler.obtainMessage(mMainHandler.PLUGIN_CONNECTED, t).sendToTarget(); in handleQueryPlugins()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingManagerProxy.java | 53 private final Handler mMainHandler; field in FalsingManagerProxy 58 mMainHandler = handler; in FalsingManagerProxy() 60 command -> mMainHandler.post(command), in FalsingManagerProxy()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | UiAutomationManager.java | 220 private final Handler mMainHandler; field in UiAutomationManager.UiAutomationService 229 mMainHandler = mainHandler; in UiAutomationService() 234 mMainHandler.post(() -> { in connectServiceUnknownThread()
|
D | AccessibilityServiceConnection.java | 62 private final Handler mMainHandler; field in AccessibilityServiceConnection 77 mMainHandler = mainHandler; in AccessibilityServiceConnection() 163 mMainHandler.sendMessage(obtainMessage( in onServiceConnected()
|
D | AccessibilityManagerService.java | 220 private final MainHandler mMainHandler; field in AccessibilityManagerService 308 mMainHandler = new MainHandler(mContext.getMainLooper()); in AccessibilityManagerService() 310 mA11yDisplayListener = new AccessibilityDisplayListener(mContext, mMainHandler); in AccessibilityManagerService() 313 new AccessibilityContentObserver(mMainHandler).register( in AccessibilityManagerService() 603 mMainHandler.sendMessage(obtainMessage( in sendAccessibilityEvent() 853 mContext, accessibilityServiceInfo, sIdCounter++, mMainHandler, in registerUiTestAutomationService() 1100 mMainHandler.sendMessage(obtainMessage( in switchUser() 1122 mMainHandler.sendMessageDelayed( in switchUser() 1248 mMainHandler.sendMessage(obtainMessage( in notifyAccessibilityButtonClickedLocked() 1266 mMainHandler.sendMessage(obtainMessage( in notifyAccessibilityButtonClickedLocked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServices.java | 61 private final Handler mMainHandler; field in TileServices 72 mMainHandler = new Handler(Looper.getMainLooper()); in TileServices() 109 mMainHandler.post(() -> mHost.getIconController() in freeService() 264 mMainHandler.post(new Runnable() { in updateStatusIcon()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 121 private final Handler mMainHandler; field in RemoteViewsAdapter 227 adapter.mMainHandler.sendEmptyMessage(MSG_MAIN_HANDLER_COMMIT_METADATA); in onServiceConnected() 228 adapter.mMainHandler.sendEmptyMessage(MSG_MAIN_HANDLER_REMOTE_ADAPTER_CONNECTED); in onServiceConnected() 237 adapter.mMainHandler.sendEmptyMessage(MSG_MAIN_HANDLER_REMOTE_ADAPTER_DISCONNECTED); in onServiceDisconnected() 307 adapter.mMainHandler.sendEmptyMessage(MSG_MAIN_HANDLER_COMMIT_METADATA); in handleMessage() 308 adapter.mMainHandler.sendEmptyMessage( in handleMessage() 851 mMainHandler = new Handler(Looper.myLooper(), this); in RemoteViewsAdapter() 983 mMainHandler.sendEmptyMessage(MSG_MAIN_HANDLER_SUPER_NOTIFY_DATA_SET_CHANGED); in updateTemporaryMetaData() 1039 Message.obtain(mMainHandler, MSG_MAIN_HANDLER_REMOTE_VIEWS_LOADED, position, 0, in updateRemoteViews()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileQueryHelper.java | 56 private final Handler mMainHandler; field in TileQueryHelper 66 mMainHandler = Dependency.get(Dependency.MAIN_HANDLER); in TileQueryHelper() 180 mMainHandler.post(() -> { in notifyTilesChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | FileUpdaterTest.java | 96 private Handler mMainHandler; field in FileUpdaterTest 115 mMainHandler = new Handler(Looper.getMainLooper()); in setUp() 132 mMainHandler.post(() -> l.countDown()); in waitUntilMainHandlerDrain()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSSecurityFooter.java | 62 private final Handler mMainHandler; field in QSSecurityFooter 84 mMainHandler = new Handler(Looper.myLooper()); in QSSecurityFooter() 170 mMainHandler.post(mUpdateIcon); in handleRefreshState() 172 mMainHandler.post(mUpdateDisplayState); in handleRefreshState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockIcon.java | 73 private final Handler mMainHandler; field in LockIcon 161 mMainHandler = mainHandler; in LockIcon() 398 mMainHandler.post(() -> { in setPulsing()
|
D | StatusBarRemoteInputCallback.java | 77 private Handler mMainHandler = new Handler(); field in StatusBarRemoteInputCallback 99 mMainHandler.post(mPendingRemoteInputView::callOnClick); in onStateChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManager.java | 117 private final Handler mMainHandler; field in NotificationRemoteInputManager 268 mMainHandler = mainHandler; in NotificationRemoteInputManager() 313 mMainHandler.postDelayed(() -> { in setUpWithCallback()
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManager.java | 338 private final Handler mMainHandler; field in AccountManager 413 mMainHandler = new Handler(mContext.getMainLooper()); in AccountManager() 423 mMainHandler = handler; in AccountManager() 2181 handler = handler == null ? mMainHandler : handler; 2196 handler = (handler == null) ? mMainHandler : handler; 2389 Handler handler = (mHandler == null) ? mMainHandler : mHandler;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 291 @Inject @Named(MAIN_HANDLER_NAME) Lazy<Handler> mMainHandler; field in Dependency 317 mProviders.put(MAIN_HANDLER, mMainHandler::get); in start()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 158 private Handler mMainHandler; field in AppStateTrackerTest 201 mMainHandler = new Handler(Looper.getMainLooper()); in setUp() 206 mMainHandler.post(() -> { in waitUntilMainHandlerDrain()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | ApplicationsStateRoboTest.java | 254 Handler mainHandler = mApplicationsState.mMainHandler; in processAllMessages()
|