Home
last modified time | relevance | path

Searched refs:MainHandler (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java132 final MainHandler mMainHandler = new MainHandler(Looper.getMainLooper());
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/
DWifiTracker.java93 @VisibleForTesting final MainHandler mMainHandler;
184 mMainHandler = new MainHandler(currentLooper); in WifiTracker()
245 mMainHandler.removeMessages(MainHandler.MSG_ACCESS_POINT_CHANGED); in forceUpdate()
247 Message.obtain(mMainHandler, MainHandler.MSG_ACCESS_POINT_CHANGED)); in forceUpdate()
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()
676 if (updated) mMainHandler.sendEmptyMessage(MainHandler.MSG_ACCESS_POINT_CHANGED); in updateNetworkInfo()
698 mMainHandler.sendEmptyMessage(MainHandler.MSG_ACCESS_POINT_CHANGED); in updateNetworkScores()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginInstanceManager.java60 final MainHandler mMainHandler;
77 mMainHandler = new MainHandler(Looper.getMainLooper()); in PluginInstanceManager()
95 mMainHandler.removeMessages(MainHandler.PLUGIN_CONNECTED); in getPlugin()
113 mMainHandler.obtainMessage(MainHandler.PLUGIN_DISCONNECTED, in destroy()
170 private class MainHandler extends Handler { class in PluginInstanceManager
174 public MainHandler(Looper looper) { in MainHandler() method in PluginInstanceManager.MainHandler
241 mMainHandler.obtainMessage(MainHandler.PLUGIN_DISCONNECTED, in handleMessage()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java728 WifiTracker.MainHandler.MSG_ACCESS_POINT_CHANGED); in stopTrackingShouldRemoveWifiListenerCallbacks()
730 WifiTracker.MainHandler.MSG_CONNECTED_CHANGED); in stopTrackingShouldRemoveWifiListenerCallbacks()
732 WifiTracker.MainHandler.MSG_WIFI_STATE_CHANGED); in stopTrackingShouldRemoveWifiListenerCallbacks()
744 WifiTracker.MainHandler.MSG_ACCESS_POINT_CHANGED)).isFalse(); in stopTrackingShouldRemoveWifiListenerCallbacks()
746 WifiTracker.MainHandler.MSG_CONNECTED_CHANGED)).isFalse(); in stopTrackingShouldRemoveWifiListenerCallbacks()
748 WifiTracker.MainHandler.MSG_WIFI_STATE_CHANGED)).isFalse(); in stopTrackingShouldRemoveWifiListenerCallbacks()
/frameworks/base/services/core/java/com/android/server/am/
DTaskChangeNotificationController.java142 private class MainHandler extends Handler { class in TaskChangeNotificationController
143 public MainHandler(Looper looper) { in MainHandler() method in TaskChangeNotificationController.MainHandler
215 mHandler = new MainHandler(handler.getLooper()); in TaskChangeNotificationController()
DActivityManagerService.java1737 final MainHandler mHandler;
1948 final class MainHandler extends Handler { class in ActivityManagerService
1949 public MainHandler(Looper looper) { in MainHandler() method in ActivityManagerService.MainHandler
2736 mHandler = new MainHandler(mHandlerThread.getLooper()); in ActivityManagerService()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java200 private final MainHandler mMainHandler;
264 mMainHandler = new MainHandler(mContext.getMainLooper()); in AccessibilityManagerService()
520 MainHandler.MSG_SEND_ACCESSIBILITY_EVENT_TO_INPUT_FILTER, 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()
1168 MainHandler.MSG_SEND_ACCESSIBILITY_BUTTON_TO_INPUT_FILTER).sendToTarget(); in notifyAccessibilityButtonClickedLocked()
1183 MainHandler.MSG_SHOW_ACCESSIBILITY_BUTTON_CHOOSER).sendToTarget(); in notifyAccessibilityButtonClickedLocked()
1187 MainHandler.MSG_SEND_ACCESSIBILITY_BUTTON_TO_INPUT_FILTER).sendToTarget(); in notifyAccessibilityButtonClickedLocked()
1201 MainHandler.MSG_SHOW_ACCESSIBILITY_BUTTON_CHOOSER).sendToTarget(); in notifyAccessibilityButtonClickedLocked()
1385 mMainHandler.obtainMessage(MainHandler.MSG_SEND_RELEVANT_EVENTS_CHANGED_TO_CLIENTS, in updateRelevantEventsLocked()
[all …]
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
DRetailDemoModeService.java157 final class MainHandler extends Handler { class in RetailDemoModeService
159 MainHandler(Looper looper) { in MainHandler() method in RetailDemoModeService.MainHandler
579 mHandler = new MainHandler(mHandlerThread.getLooper()); in onStart()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java455 mHandler = new MainHandler(); in UserManagerService()
3482 final class MainHandler extends Handler { class in UserManagerService
/frameworks/base/services/
Dprofile-classes3758 Lcom/android/server/accessibility/AccessibilityManagerService$MainHandler;
3847 Lcom/android/server/am/ActivityManagerService$MainHandler;
3918 Lcom/android/server/am/TaskChangeNotificationController$MainHandler;
4941 Lcom/android/server/pm/UserManagerService$MainHandler;
5091 Lcom/android/server/retaildemo/RetailDemoModeService$MainHandler;