Home
last modified time | relevance | path

Searched refs:sHandler (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/logging/
DFileLog.java43 private static Handler sHandler = null; field in FileLog
52 if (sHandler != null && !logsDir.equals(sLogsDirectory)) { in setDir()
53 ((HandlerThread) sHandler.getLooper().getThread()).quit(); in setDir()
54 sHandler = null; in setDir()
99 if (sHandler == null) { in getHandler()
100 sHandler = new Handler(createAndStartNewLooper("file-logger"), in getHandler()
104 return sHandler; in getHandler()
182 sHandler.removeMessages(MSG_CLOSE); in handleMessage()
183 sHandler.sendEmptyMessageDelayed(MSG_CLOSE, CLOSE_DELAY); in handleMessage()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryEntry.java57 static Handler sHandler; field in BatteryEntry
78 if (sHandler != null) { in run()
79 sHandler.sendEmptyMessage(MSG_REPORT_FULLY_DRAWN); in run()
94 if (sHandler != null) { in startRequestQueue()
114 sHandler = null; in stopRequestQueue()
138 sHandler = handler; in BatteryEntry()
266 if (sHandler != null) { in getQuickNameIconForUid()
366 if (sHandler != null) { in loadNameAndIcon()
367 sHandler.sendMessage(sHandler.obtainMessage(MSG_UPDATE_NAME_ICON, this)); in loadNameAndIcon()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryEntry.java57 static Handler sHandler; field in BatteryEntry
78 if (sHandler != null) { in run()
79 sHandler.sendEmptyMessage(MSG_REPORT_FULLY_DRAWN); in run()
94 if (sHandler != null) { in startRequestQueue()
114 sHandler = null; in stopRequestQueue()
138 sHandler = handler; in BatteryEntry()
266 if (sHandler != null) { in getQuickNameIconForUid()
366 if (sHandler != null) { in loadNameAndIcon()
367 sHandler.sendMessage(sHandler.obtainMessage(MSG_UPDATE_NAME_ICON, this)); in loadNameAndIcon()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DDiskBasedLogger.java67 private static Handler sHandler; field in DiskBasedLogger
84 sHandler = null;
111 sHandler = new Handler(sLoggerThread.getLooper()); in getLoggerThreadHandler()
113 sHandler.removeCallbacks(THREAD_CLEANUP_RUNNABLE); in getLoggerThreadHandler()
117 sHandler.postDelayed(THREAD_CLEANUP_RUNNABLE, THREAD_TIMEOUT_MILLIS); in getLoggerThreadHandler()
119 return sHandler; in getLoggerThreadHandler()
229 return sHandler; in getHandler()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DBackgroundThread.java39 private static Handler sHandler; field in BackgroundThread
50 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
51 sHandlerExecutor = new HandlerExecutor(sHandler); in ensureThreadLocked()
65 return sHandler; in getHandler()
DForegroundThread.java39 private static Handler sHandler; field in ForegroundThread
50 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
51 sHandlerExecutor = new HandlerExecutor(sHandler); in ensureThreadLocked()
65 return sHandler; in getHandler()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothUpdateWorker.java112 private static LoadBtManagerHandler sHandler; field in BluetoothUpdateWorker.LoadBtManagerHandler
119 if (sHandler == null) { in getInstance()
123 sHandler = new LoadBtManagerHandler(context, workerThread.getLooper()); in getInstance()
125 return sHandler; in getInstance()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncHandler.java28 private static final Handler sHandler; field in AsyncHandler
32 sHandler = new Handler(sHandlerThread.getLooper());
36 sHandler.post(r); in post()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBackgroundWorker.java192 private static NotifySliceChangeHandler sHandler; field in SliceBackgroundWorker.NotifySliceChangeHandler
198 if (sHandler == null) { in getInstance()
202 sHandler = new NotifySliceChangeHandler(workerThread.getLooper()); in getInstance()
204 return sHandler; in getInstance()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DPeriodicCallbackModel.java57 private static Handler sHandler; field in PeriodicCallbackModel
174 if (sHandler == null) { in getHandler()
175 sHandler = new Handler(); in getHandler()
177 return sHandler; in getHandler()
/packages/apps/Messaging/src/com/android/messaging/util/
DThreadUtil.java23 private static final Handler sHandler = new Handler(Looper.getMainLooper()); field in ThreadUtil
26 return sHandler; in getMainThreadHandler()