Home
last modified time | relevance | path

Searched refs:BackgroundHandler (Results 1 – 6 of 6) sorted by relevance

/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppStateBaseBridge.java36 protected final BackgroundHandler mHandler;
46 mHandler = new BackgroundHandler(mAppState != null ? mAppState.getBackgroundLooper() in AppStateBaseBridge()
52 mHandler.sendEmptyMessage(BackgroundHandler.MSG_LOAD_ALL); in resume()
65 mHandler.obtainMessage(BackgroundHandler.MSG_FORCE_LOAD_PKG, uid, 0, pkg).sendToTarget(); in forceUpdate()
70 mHandler.sendEmptyMessage(BackgroundHandler.MSG_LOAD_ALL); in onPackageListChanged()
75 mHandler.sendEmptyMessage(BackgroundHandler.MSG_LOAD_ALL); in onLoadEntriesCompleted()
124 private class BackgroundHandler extends Handler { class in AppStateBaseBridge
128 public BackgroundHandler(Looper looper) { in BackgroundHandler() method in AppStateBaseBridge.BackgroundHandler
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateBaseBridge.java36 protected final BackgroundHandler mHandler;
46 mHandler = new BackgroundHandler(mAppState != null ? mAppState.getBackgroundLooper() in AppStateBaseBridge()
52 mHandler.sendEmptyMessage(BackgroundHandler.MSG_LOAD_ALL); in resume()
65 mHandler.obtainMessage(BackgroundHandler.MSG_FORCE_LOAD_PKG, uid, 0, pkg).sendToTarget(); in forceUpdate()
70 mHandler.sendEmptyMessage(BackgroundHandler.MSG_LOAD_ALL); in onPackageListChanged()
75 mHandler.sendEmptyMessage(BackgroundHandler.MSG_LOAD_ALL); in onLoadEntriesCompleted()
129 private class BackgroundHandler extends Handler { class in AppStateBaseBridge
133 public BackgroundHandler(Looper looper) { in BackgroundHandler() method in AppStateBaseBridge.BackgroundHandler
DRunningState.java224 final class BackgroundHandler extends Handler { class in RunningState
225 public BackgroundHandler(Looper looper) { in BackgroundHandler() method in RunningState.BackgroundHandler
252 final BackgroundHandler mBackgroundHandler;
788 mBackgroundHandler = new BackgroundHandler(mBackgroundThread.getLooper()); in RunningState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateBaseBridge.java36 protected final BackgroundHandler mHandler;
46 mHandler = new BackgroundHandler(mAppState != null ? mAppState.getBackgroundLooper() in AppStateBaseBridge()
52 mHandler.sendEmptyMessage(BackgroundHandler.MSG_LOAD_ALL); in resume()
65 mHandler.obtainMessage(BackgroundHandler.MSG_FORCE_LOAD_PKG, uid, 0, pkg).sendToTarget(); in forceUpdate()
70 mHandler.sendEmptyMessage(BackgroundHandler.MSG_LOAD_ALL); in onPackageListChanged()
75 mHandler.sendEmptyMessage(BackgroundHandler.MSG_LOAD_ALL); in onLoadEntriesCompleted()
129 private class BackgroundHandler extends Handler { class in AppStateBaseBridge
133 public BackgroundHandler(Looper looper) { in BackgroundHandler() method in AppStateBaseBridge.BackgroundHandler
DRunningState.java224 final class BackgroundHandler extends Handler { class in RunningState
225 public BackgroundHandler(Looper looper) { in BackgroundHandler() method in RunningState.BackgroundHandler
252 final BackgroundHandler mBackgroundHandler;
788 mBackgroundHandler = new BackgroundHandler(mBackgroundThread.getLooper()); in RunningState()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManager.java122 private final BackgroundHandler mBackgroundHandler;
138 mBackgroundHandler = new BackgroundHandler(new WeakReference<>(this), in AppEntryListManager()
194 mBackgroundHandler.sendEmptyMessage(BackgroundHandler.MSG_LOAD_ALL); in forceUpdate()
202 mBackgroundHandler.obtainMessage(BackgroundHandler.MSG_LOAD_PKG, in forceUpdate()
217 mBackgroundHandler.removeMessages(BackgroundHandler.MSG_LOAD_ALL); in clearHandlers()
218 mBackgroundHandler.removeMessages(BackgroundHandler.MSG_LOAD_PKG); in clearHandlers()
231 private static class BackgroundHandler extends Handler { class in AppEntryListManager
237 BackgroundHandler(WeakReference<AppEntryListManager> outer, Looper looper) { in BackgroundHandler() method in AppEntryListManager.BackgroundHandler