Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DIoThread.java32 private static Handler sHandler; field in IoThread
44 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
45 sHandlerExecutor = new HandlerExecutor(sHandler); in ensureThreadLocked()
59 return sHandler; in getHandler()
DFgThread.java39 private static Handler sHandler; field in FgThread
54 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
55 sHandlerExecutor = new HandlerExecutor(sHandler); in ensureThreadLocked()
69 return sHandler; in getHandler()
DAnimationThread.java30 private static Handler sHandler; field in AnimationThread
41 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
55 return sHandler; in getHandler()
DDisplayThread.java31 private static Handler sHandler; field in DisplayThread
44 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
58 return sHandler; in getHandler()
DUiThread.java33 private static Handler sHandler; field in UiThread
54 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
68 return sHandler; in getHandler()
/frameworks/base/core/java/com/android/internal/os/
DBackgroundThread.java34 private static Handler sHandler; field in BackgroundThread
49 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
50 sHandlerExecutor = new HandlerExecutor(sHandler); in ensureThreadLocked()
64 return sHandler; in getHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DForegroundThread.java28 private static Handler sHandler; field in ForegroundThread
38 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
52 return sHandler; in getHandler()
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimationThread.java31 private static Handler sHandler; field in SurfaceAnimationThread
42 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
56 return sHandler; in getHandler()
DTaskSnapshotSurface.java439 private static Handler sHandler = new Handler(Looper.getMainLooper()) { field in TaskSnapshotSurface
480 sHandler.post(mOuter::remove); in resized()
483 sHandler.obtainMessage(MSG_REPORT_DRAW, mOuter).sendToTarget(); in resized()
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTestActivity.java39 private static AdbDebuggingManager.AdbDebuggingHandler sHandler; field in AdbDebuggingManagerTestActivity
75 Message message = sHandler.obtainMessage(messageType); in onCreate()
81 sHandler.sendMessage(message); in onCreate()
105 sHandler = handler; in setHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDejankUtils.java33 private static final Handler sHandler = new Handler(); field in DejankUtils
45 sHandler.post(sPendingRunnables.get(i));
76 sHandler.removeCallbacks(r); in removeCallbacks()
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
DCamera2DeviceTester.java38 private static Handler sHandler; field in Camera2DeviceTester
44 sHandler = new Handler(sThread.getLooper()); in setupBackgroundHandler()
63 manager.openCamera(id, this, sHandler); in captureCameraDevice()
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java49 private static Handler sHandler; field in RotationHelper
61 sHandler = handler; in init()
68 .registerDisplayListener(sDisplayListener, sHandler); in enable()
/frameworks/base/core/java/android/app/
DQueuedWork.java79 private static Handler sHandler = null; field in QueuedWork
104 if (sHandler == null) { in getHandler()
109 sHandler = new QueuedWorkHandler(handlerThread.getLooper()); in getHandler()
111 return sHandler; in getHandler()
/frameworks/base/core/java/android/os/
DAsyncTask.java265 private static InternalHandler sHandler; field in AsyncTask
328 if (sHandler == null) { in getMainHandler()
329 sHandler = new InternalHandler(Looper.getMainLooper()); in getMainHandler()
331 return sHandler; in getMainHandler()
/frameworks/base/core/java/android/provider/
DFontsContract.java157 private static Handler sHandler; field in FontsContract
323 sHandler = null;
341 if (sHandler == null) { in getFontSync()
344 sHandler = new Handler(sThread.getLooper()); in getFontSync()
352 sHandler.post(() -> { in getFontSync()
375 sHandler.removeCallbacks(sReplaceDispatcherThreadRunnable); in getFontSync()
376 sHandler.postDelayed(sReplaceDispatcherThreadRunnable, THREAD_RENEWAL_THRESHOLD_MS); in getFontSync()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java87 private static Handler sHandler; field in BrightnessTrackerTest
95 if (sHandler == null) { in ensureHandler()
97 sHandler = new Handler(sThread.getLooper()); in ensureHandler()
99 return sHandler; in ensureHandler()