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.java53 private static HandlerThread sThread = null; field in IconLoader
84 sThread = new HandlerThread("Cat Icon Loader"); in getInstance()
85 sThread.start(); in getInstance()
86 return new IconLoader(sThread.getLooper(), fh); in getInstance()
370 if (sThread != null) { in dispose()
371 sThread.quit(); in dispose()
372 sThread = null; in dispose()
/frameworks/base/services/core/java/com/android/server/media/
DMediaShellCommand.java51 private static ActivityThread sThread; field in MediaShellCommand
65 if (sThread == null) { in onCommand()
67 sThread = ActivityThread.systemMain(); in onCommand()
68 Context context = sThread.getSystemContext(); in onCommand()
/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;
349 sThread = new HandlerThread("fonts", Process.THREAD_PRIORITY_BACKGROUND); in getFontSync()
350 sThread.start(); in getFontSync()
351 sHandler = new Handler(sThread.getLooper()); in getFontSync()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java90 private static HandlerThread sThread = field in BrightnessTrackerTest
98 sThread.start(); in ensureHandler()
99 sHandler = new Handler(sThread.getLooper()); in ensureHandler()