/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 132 final MainHandler mMainHandler = new MainHandler(Looper.getMainLooper()); field in ApplicationsState 428 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in addPackage() 429 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in addPackage() 469 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in removePackage() 470 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in removePackage() 494 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in addUser() 495 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in addUser() 510 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in removeUser() 511 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in removeUser() 717 if (!mMainHandler.hasMessages(MainHandler.MSG_REBUILD_COMPLETE, this)) { in handleRebuildList() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiTracker.java | 93 @VisibleForTesting final MainHandler mMainHandler; field in WifiTracker 184 mMainHandler = new MainHandler(currentLooper); in WifiTracker() 245 mMainHandler.removeMessages(MainHandler.MSG_ACCESS_POINT_CHANGED); in forceUpdate() 246 mMainHandler.handleMessage( in forceUpdate() 247 Message.obtain(mMainHandler, MainHandler.MSG_ACCESS_POINT_CHANGED)); in forceUpdate() 352 mMainHandler.removePendingMessages(); in stopTracking() 600 mMainHandler.sendEmptyMessage(MainHandler.MSG_ACCESS_POINT_CHANGED); in updateAccessPoints() 636 mMainHandler.sendEmptyMessage(MainHandler.MSG_PAUSE_SCANNING); in updateNetworkInfo() 642 mMainHandler.sendEmptyMessage(MainHandler.MSG_PAUSE_SCANNING); in updateNetworkInfo() 644 mMainHandler.sendEmptyMessage(MainHandler.MSG_RESUME_SCANNING); in updateNetworkInfo() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/ |
D | PluginInstanceManagerTest.java | 118 waitForIdleSync(mPluginInstanceManager.mMainHandler); in testNoPlugins() 140 waitForIdleSync(mPluginInstanceManager.mMainHandler); in testPluginDestroy() 157 waitForIdleSync(mPluginInstanceManager.mMainHandler); in testIncorrectVersion() 172 waitForIdleSync(mPluginInstanceManager.mMainHandler); in testReloadOnChange() 195 waitForIdleSync(mPluginInstanceManager.mMainHandler);; in testNonDebuggable() 259 waitForIdleSync(mPluginInstanceManager.mMainHandler); in createPlugin()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginInstanceManager.java | 60 final MainHandler mMainHandler; field in PluginInstanceManager 77 mMainHandler = new MainHandler(Looper.getMainLooper()); in PluginInstanceManager() 95 mMainHandler.removeMessages(MainHandler.PLUGIN_CONNECTED); in getPlugin() 113 mMainHandler.obtainMessage(MainHandler.PLUGIN_DISCONNECTED, in destroy() 241 mMainHandler.obtainMessage(MainHandler.PLUGIN_DISCONNECTED, in handleMessage() 281 mMainHandler.obtainMessage(mMainHandler.PLUGIN_CONNECTED, t).sendToTarget(); in handleQueryPlugins()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 717 tracker.mMainHandler.post(() -> { in stopTrackingShouldRemoveWifiListenerCallbacks() 727 tracker.mMainHandler.sendEmptyMessage( in stopTrackingShouldRemoveWifiListenerCallbacks() 729 tracker.mMainHandler.sendEmptyMessage( in stopTrackingShouldRemoveWifiListenerCallbacks() 731 tracker.mMainHandler.sendEmptyMessage( in stopTrackingShouldRemoveWifiListenerCallbacks() 743 assertThat(tracker.mMainHandler.hasMessages( in stopTrackingShouldRemoveWifiListenerCallbacks() 745 assertThat(tracker.mMainHandler.hasMessages( in stopTrackingShouldRemoveWifiListenerCallbacks() 747 assertThat(tracker.mMainHandler.hasMessages( in stopTrackingShouldRemoveWifiListenerCallbacks() 761 tracker.mMainHandler.post(() -> { in stopTrackingShouldSetStaleBitWhichPreventsCallbacksUntilNextScanResult() 775 tracker.mMainHandler.post(() -> { in stopTrackingShouldSetStaleBitWhichPreventsCallbacksUntilNextScanResult()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServices.java | 60 private final Handler mMainHandler; field in TileServices 71 mMainHandler = new Handler(Looper.getMainLooper()); in TileServices() 105 mMainHandler.post(() -> mHost.getIconController().removeIcon(slot)); in freeService() 247 mMainHandler.post(new Runnable() { in updateStatusIcon()
|
/frameworks/support/emoji/core/src/android/support/text/emoji/ |
D | EmojiCompat.java | 175 private final Handler mMainHandler; field in EmojiCompat 213 mMainHandler = new Handler(Looper.getMainLooper()); in EmojiCompat() 319 mMainHandler.post(new ListenerDispatcher(initCallbacks, mLoadState)); 332 mMainHandler.post(new ListenerDispatcher(initCallbacks, mLoadState, throwable)); 354 mMainHandler.post(new ListenerDispatcher(initCallback, mLoadState));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSSecurityFooter.java | 58 private final Handler mMainHandler; field in QSSecurityFooter 78 mMainHandler = new Handler(Looper.getMainLooper()); in QSSecurityFooter() 151 mMainHandler.post(mUpdateIcon); in handleRefreshState() 153 mMainHandler.post(mUpdateDisplayState); in handleRefreshState()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 200 private final MainHandler mMainHandler; field in AccessibilityManagerService 264 mMainHandler = new MainHandler(mContext.getMainLooper()); in AccessibilityManagerService() 266 new AccessibilityContentObserver(mMainHandler).register( in AccessibilityManagerService() 519 mMainHandler.obtainMessage( in sendAccessibilityEvent() 1033 mMainHandler.obtainMessage(MainHandler.MSG_SEND_CLEARED_STATE_TO_CLIENTS_FOR_USER, in switchUser() 1058 mMainHandler.sendEmptyMessageDelayed(MainHandler.MSG_ANNOUNCE_NEW_USER_IF_NEEDED, in switchUser() 1167 mMainHandler.obtainMessage( in notifyAccessibilityButtonClickedLocked() 1182 mMainHandler.obtainMessage( in notifyAccessibilityButtonClickedLocked() 1186 mMainHandler.obtainMessage( in notifyAccessibilityButtonClickedLocked() 1200 mMainHandler.obtainMessage( in notifyAccessibilityButtonClickedLocked() [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManager.java | 333 private final Handler mMainHandler; field in AccountManager 407 mMainHandler = new Handler(mContext.getMainLooper()); in AccountManager() 416 mMainHandler = handler; in AccountManager() 2172 handler = handler == null ? mMainHandler : handler; 2187 handler = (handler == null) ? mMainHandler : handler; 2373 Handler handler = (mHandler == null) ? mMainHandler : mHandler;
|