Home
last modified time | relevance | path

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

/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
DCamera2DeviceTester.java36 private static HandlerThread sThread; field in Camera2DeviceTester
42 sThread = new HandlerThread("CameraFramework"); in setupBackgroundHandler()
43 sThread.start(); in setupBackgroundHandler()
44 sHandler = new Handler(sThread.getLooper()); in setupBackgroundHandler()
49 sThread.quitSafely(); in teardownBackgroundHandler()
50 sThread.join(); in teardownBackgroundHandler()
/frameworks/base/core/java/android/os/
DUEventObserver.java46 private static UEventThread sThread; field in UEventObserver
68 if (sThread == null) { in getThread()
69 sThread = new UEventThread(); in getThread()
70 sThread.start(); in getThread()
72 return sThread; in getThread()
78 return sThread; in peekThread()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DIconLoader.java52 private static HandlerThread sThread = null; field in IconLoader
83 sThread = new HandlerThread("Cat Icon Loader"); in getInstance()
84 sThread.start(); in getInstance()
85 return new IconLoader(sThread.getLooper(), fh); in getInstance()
369 if (sThread != null) { in dispose()
370 sThread.quit(); in dispose()
371 sThread = null; in dispose()
/frameworks/base/cmds/media/src/com/android/commands/media/
DMedia.java51 private static ActivityThread sThread; field in Media
85 if (sThread == null) { in onRun()
87 sThread = ActivityThread.systemMain(); in onRun()
88 Context context = sThread.getSystemContext(); in onRun()
/frameworks/base/core/java/android/provider/
DFontsContract.java159 private static HandlerThread sThread; field in FontsContract
320 if (sThread != null) {
321 sThread.quitSafely();
322 sThread = null;
342 sThread = new HandlerThread("fonts", Process.THREAD_PRIORITY_BACKGROUND); in getFontSync()
343 sThread.start(); in getFontSync()
344 sHandler = new Handler(sThread.getLooper()); in getFontSync()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java88 private static HandlerThread sThread = field in BrightnessTrackerTest
96 sThread.start(); in ensureHandler()
97 sHandler = new Handler(sThread.getLooper()); in ensureHandler()