Searched refs:sThread (Results 1 – 6 of 6) sorted by relevance
36 private static HandlerThread sThread; field in Camera2DeviceTester42 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()
46 private static UEventThread sThread; field in UEventObserver68 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()
52 private static HandlerThread sThread = null; field in IconLoader83 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()
51 private static ActivityThread sThread; field in Media85 if (sThread == null) { in onRun()87 sThread = ActivityThread.systemMain(); in onRun()88 Context context = sThread.getSystemContext(); in onRun()
159 private static HandlerThread sThread; field in FontsContract320 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()
88 private static HandlerThread sThread = field in BrightnessTrackerTest96 sThread.start(); in ensureHandler()97 sHandler = new Handler(sThread.getLooper()); in ensureHandler()