Home
last modified time | relevance | path

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

/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java249 HandlerThread backgroundThread = new HandlerThread("WebViewLooperCtsHandlerThread"); in testGetWebViewLooperCreatedOnBackgroundThreadFromInstThread() local
250 backgroundThread.start(); in testGetWebViewLooperCreatedOnBackgroundThreadFromInstThread()
251 new Handler(backgroundThread.getLooper()).post(new Runnable() { in testGetWebViewLooperCreatedOnBackgroundThreadFromInstThread()
257 backgroundThread.join(TEST_TIMEOUT_MS); in testGetWebViewLooperCreatedOnBackgroundThreadFromInstThread()
258 assertEquals(backgroundThread.getLooper(), webviewHolder[0].getWebViewLooper()); in testGetWebViewLooperCreatedOnBackgroundThreadFromInstThread()
/cts/tests/tests/appenumeration/app/source/src/android/appenumeration/cts/query/
DTestActivity.java109 private HandlerThread backgroundThread; field in TestActivity
114 backgroundThread = new HandlerThread("testBackground"); in onCreate()
115 backgroundThread.start(); in onCreate()
116 backgroundHandler = new Handler(backgroundThread.getLooper()); in onCreate()
124 backgroundThread.quitSafely(); in onDestroy()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1331 final HandlerThread backgroundThread = new HandlerThread("camera_bg"); in testCameraPermission() local
1332 backgroundThread.start(); in testCameraPermission()
1348 manager.openCamera(cameraIds[0], callback, new Handler(backgroundThread.getLooper())); in testCameraPermission()