Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/logging/
DFileLog.java40 private static Handler sHandler = null; field in FileLog
47 if (sHandler != null && !logsDir.equals(sLogsDirectory)) { in setDir()
48 ((HandlerThread) sHandler.getLooper().getThread()).quit(); in setDir()
49 sHandler = null; in setDir()
93 if (sHandler == null) { in getHandler()
94 sHandler = new Handler(createAndStartNewLooper("file-logger"), in getHandler()
98 return sHandler; in getHandler()
175 sHandler.removeMessages(MSG_CLOSE); in handleMessage()
176 sHandler.sendEmptyMessageDelayed(MSG_CLOSE, CLOSE_DELAY); in handleMessage()
/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/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/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/apps/Launcher3/src/com/android/launcher3/util/
DUiThreadHelper.java32 private static Handler sHandler; field in UiThreadHelper
39 if (sHandler == null) { in getHandler()
40 sHandler = new Handler(UI_HELPER_EXECUTOR.getLooper(), in getHandler()
43 return sHandler; in getHandler()
/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/DeskClock/src/com/android/deskclock/uidata/
DPeriodicCallbackModel.kt162 private var sHandler: Handler? = null variable
211 if (sHandler == null) {
212 sHandler = Handler()
214 return sHandler!!
DPeriodicCallbackModel.java57 private static Handler sHandler; field in PeriodicCallbackModel
177 if (sHandler == null) { in getHandler()
178 sHandler = new Handler(); in getHandler()
180 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()