Searched refs:mBackgroundThread (Results 1 – 5 of 5) sorted by relevance
38 private HandlerThread mBackgroundThread; field in RegisterResourcePathsTest79 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()
111 private HandlerThread mBackgroundThread; field in CameraStreamManager232 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()
56 private HandlerThread mBackgroundThread; field in UserRestrictionsParentTest295 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()
98 private HandlerThread mBackgroundThread = field in PackageInstallerArchiveMultiUserTest118 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()
128 private HandlerThread mBackgroundThread; field in ServiceTest760 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()