Home
last modified time | relevance | path

Searched refs:mMainHandler (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java121 final MainHandler mMainHandler = new MainHandler(Looper.getMainLooper()); field in ApplicationsState
385 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in addPackage()
386 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in addPackage()
417 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in removePackage()
418 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in removePackage()
442 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in addUser()
443 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in addUser()
458 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in removeUser()
459 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in removeUser()
677 if (!mMainHandler.hasMessages(MainHandler.MSG_REBUILD_COMPLETE, this)) { in handleRebuildList()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java79 private final MainHandler mMainHandler; field in WifiTracker
131 mMainHandler = new MainHandler(currentLooper); in WifiTracker()
441 mMainHandler.sendEmptyMessage(MainHandler.MSG_ACCESS_POINT_CHANGED); in updateAccessPoints()
471 mMainHandler.sendEmptyMessage(MainHandler.MSG_PAUSE_SCANNING); in updateNetworkInfo()
477 mMainHandler.sendEmptyMessage(MainHandler.MSG_PAUSE_SCANNING); in updateNetworkInfo()
479 mMainHandler.sendEmptyMessage(MainHandler.MSG_RESUME_SCANNING); in updateNetworkInfo()
502 mMainHandler.sendEmptyMessage(MainHandler.MSG_ACCESS_POINT_CHANGED); in updateNetworkInfo()
535 mMainHandler.sendEmptyMessage(MainHandler.MSG_CONNECTED_CHANGED);
631 mMainHandler.obtainMessage(MainHandler.MSG_WIFI_STATE_CHANGED, msg.arg1, 0) in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java57 private final Handler mMainHandler; field in TileServices
68 mMainHandler = new Handler(Looper.getMainLooper()); in TileServices()
100 mMainHandler.post(new Runnable() { in freeService()
251 mMainHandler.post(new Runnable() { in updateStatusIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java55 private final Handler mMainHandler; field in QSFooter
68 mMainHandler = new Handler(); in QSFooter()
123 mMainHandler.post(mUpdateDisplayState); in handleRefreshState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java142 private final MainHandler mMainHandler; field in StorageMeasurement
155 mMainHandler = new MainHandler(); in StorageMeasurement()
306 mMainHandler.obtainMessage(0, mCached).sendToTarget(); in handleMessage()
338 mMainHandler.obtainMessage(0, mCached).sendToTarget(); in handleMessage()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java193 private ServiceHandler mMainHandler; field in BugreportProgressService
218 mMainHandler = new ServiceHandler("BugreportProgressServiceMainThread"); in onCreate()
235 final Message msg = mMainHandler.obtainMessage(); in onStartCommand()
238 mMainHandler.sendMessage(msg); in onStartCommand()
253 mMainHandler.getLooper().quit(); in onDestroy()
691 final Message msg = mMainHandler.obtainMessage(); in takeScreenshot()
695 mMainHandler.sendMessageDelayed(msg, DateUtils.SECOND_IN_MILLIS); in takeScreenshot()
735 Message.obtain(mMainHandler, MSG_SCREENSHOT_RESPONSE, requestMsg.arg1, taken ? 1 : 0, in handleScreenshotRequest()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java185 private final MainHandler mMainHandler; field in AccessibilityManagerService
241 mMainHandler = new MainHandler(mContext.getMainLooper()); in AccessibilityManagerService()
243 new AccessibilityContentObserver(mMainHandler).register( in AccessibilityManagerService()
447 mMainHandler.obtainMessage(MainHandler.MSG_SEND_ACCESSIBILITY_EVENT_TO_INPUT_FILTER, in sendAccessibilityEvent()
872 mMainHandler.obtainMessage(MainHandler.MSG_SEND_CLEARED_STATE_TO_CLIENTS_FOR_USER, in switchUser()
897 mMainHandler.sendEmptyMessageDelayed(MainHandler.MSG_ANNOUNCE_NEW_USER_IF_NEEDED, in switchUser()
1294 mMainHandler.obtainMessage(MainHandler.MSG_SEND_STATE_TO_CLIENTS, in scheduleUpdateClientsIfNeededLocked()
1300 mMainHandler.obtainMessage(MainHandler.MSG_UPDATE_INPUT_FILTER, userState).sendToTarget(); in scheduleUpdateInputFilter()
1683 mMainHandler.obtainMessage( in canRequestAndRequestsTouchExplorationLocked()
1826 mMainHandler, MainHandler.MSG_SEND_KEY_EVENT_TO_INPUT_FILTER, mLock, in getKeyEventDispatcher()
[all …]
/frameworks/base/core/java/android/accounts/
DAccountManager.java270 private final Handler mMainHandler; field in AccountManager
288 mMainHandler = new Handler(mContext.getMainLooper()); in AccountManager()
297 mMainHandler = handler; in AccountManager()
1879 handler = handler == null ? mMainHandler : handler;
1894 handler = (handler == null) ? mMainHandler : handler;
2063 Handler handler = (mHandler == null) ? mMainHandler : mHandler;