Home
last modified time | relevance | path

Searched refs:mBackgroundThread (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/resources/test-apps/RegisterSharedLibTestApp2/src/android/resources/registerresourcepaths2/
DRegisterResourcePathsTest.java38 private HandlerThread mBackgroundThread; field in RegisterResourcePathsTest
79 mBackgroundThread = new HandlerThread("WebViewBackground"); in startBackgroundThread()
80 mBackgroundThread.start(); in startBackgroundThread()
81 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in startBackgroundThread()
85 mBackgroundThread.quitSafely(); in stopBackgroundThread()
87 mBackgroundThread.join(); in stopBackgroundThread()
88 mBackgroundThread = null; in stopBackgroundThread()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DCameraStreamManager.java111 private HandlerThread mBackgroundThread; field in CameraStreamManager
232 mBackgroundThread = new HandlerThread("CameraBackground"); in startBackgroundThread()
233 mBackgroundThread.start(); in startBackgroundThread()
234 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in startBackgroundThread()
241 if (mBackgroundThread != null) { in stopBackgroundThread()
242 mBackgroundThread.quitSafely(); in stopBackgroundThread()
244 mBackgroundThread.join(); in stopBackgroundThread()
245 mBackgroundThread = null; in stopBackgroundThread()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DUserRestrictionsParentTest.java56 private HandlerThread mBackgroundThread; field in UserRestrictionsParentTest
295 mBackgroundThread = new HandlerThread("CameraBackground"); in startBackgroundThread()
296 mBackgroundThread.start(); in startBackgroundThread()
297 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in startBackgroundThread()
304 mBackgroundThread.quitSafely(); in stopBackgroundThread()
306 mBackgroundThread.join(); in stopBackgroundThread()
307 mBackgroundThread = null; in stopBackgroundThread()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInstallerArchiveMultiUserTest.java98 private HandlerThread mBackgroundThread = field in PackageInstallerArchiveMultiUserTest
118 if (!mBackgroundThread.isAlive()) { in archiveApp_broadcast_multiuser()
119 mBackgroundThread.start(); in archiveApp_broadcast_multiuser()
121 final Handler backgroundHandler = new Handler(mBackgroundThread.getLooper()); in archiveApp_broadcast_multiuser()
229 mBackgroundThread.interrupt(); in archiveApp_broadcast_multiuser()
/cts/tests/app/src/android/app/cts/
DServiceTest.java128 private HandlerThread mBackgroundThread; field in ServiceTest
760 mBackgroundThread = thread; in setupBackgroundThread()
780 if (mBackgroundThread != null) { in tearDown()
781 mBackgroundThread.quitSafely(); in tearDown()
783 mBackgroundThread = null; in tearDown()
944 assertEquals(mBackgroundThread, conn.getOnServiceConnectedThread()); in testBindServiceWithExecutor()
1662 assertEquals(mBackgroundThread, conn.getOnServiceConnectedThread()); in testBindIsolatedServiceOnBackgroundThread()