Home
last modified time | relevance | path

Searched refs:backgroundThread (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DLegacyCameraConnectionFragment.java136 private HandlerThread backgroundThread; field in LegacyCameraConnectionFragment
181 backgroundThread = new HandlerThread("CameraBackground"); in startBackgroundThread()
182 backgroundThread.start(); in startBackgroundThread()
189 backgroundThread.quitSafely(); in stopBackgroundThread()
191 backgroundThread.join(); in stopBackgroundThread()
192 backgroundThread = null; in stopBackgroundThread()
DCameraConnectionFragment.java187 private HandlerThread backgroundThread; field in CameraConnectionFragment
459 backgroundThread = new HandlerThread("ImageListener"); in startBackgroundThread()
460 backgroundThread.start(); in startBackgroundThread()
461 backgroundHandler = new Handler(backgroundThread.getLooper()); in startBackgroundThread()
468 backgroundThread.quitSafely(); in stopBackgroundThread()
470 backgroundThread.join(); in stopBackgroundThread()
471 backgroundThread = null; in stopBackgroundThread()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLooperTest.java321 HandlerThread backgroundThread = new HandlerThread("resetTest"); in resetThreadLoopers_resets_background_thread_schedulers() local
322 backgroundThread.start(); in resetThreadLoopers_resets_background_thread_schedulers()
323 Looper backgroundLooper = backgroundThread.getLooper(); in resetThreadLoopers_resets_background_thread_schedulers()
367 Thread backgroundThread = new Thread(new Runnable() { in getMainLooper_shouldBeInitialized_onBackgroundThread_evenWhenRobolectricApplicationIsNull() local
374 backgroundThread.start(); in getMainLooper_shouldBeInitialized_onBackgroundThread_evenWhenRobolectricApplicationIsNull()
375 backgroundThread.join(); in getMainLooper_shouldBeInitialized_onBackgroundThread_evenWhenRobolectricApplicationIsNull()
428 HandlerThread backgroundThread = new HandlerThread("resetTest"); in resetThreadLoopers_clears_messages() local
429 backgroundThread.start(); in resetThreadLoopers_clears_messages()
430 Looper backgroundLooper = backgroundThread.getLooper(); in resetThreadLoopers_clears_messages()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java195 private HandlerThread backgroundThread; field in Camera2BasicFragment
677 backgroundThread = new HandlerThread(HANDLE_THREAD_NAME); in startBackgroundThread()
678 backgroundThread.start(); in startBackgroundThread()
679 backgroundHandler = new Handler(backgroundThread.getLooper()); in startBackgroundThread()
690 backgroundThread.quitSafely(); in stopBackgroundThread()
692 backgroundThread.join(); in stopBackgroundThread()
693 backgroundThread = null; in stopBackgroundThread()