Home
last modified time | relevance | path

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

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DDocumentLoader.java55 private Thread mBackgroundThread; field in DocumentLoader
104 if (mBackgroundThread == null) { in resume()
105 mBackgroundThread = new BackgroundLoaderThread(); in resume()
106 mBackgroundThread.start(); in resume()
118 Preconditions.checkState(mBackgroundThread != null); in getNextTaskOrReleaseBackgroundThread()
140 mBackgroundThread = null; in getNextTaskOrReleaseBackgroundThread()
152 thread = mBackgroundThread; in close()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java66 HandlerThread mBackgroundThread; field in CameraTooActivity
128 mBackgroundThread = new HandlerThread("background"); in onResume()
129 mBackgroundThread.start(); in onResume()
130 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in onResume()
168 mBackgroundThread.quitSafely(); in onPause()
170 mBackgroundThread.join(); in onPause()
/frameworks/support/paging/common/src/test/java/androidx/paging/
DTiledPagedListTest.kt36 private val mBackgroundThread = TestExecutor() constant in androidx.paging.TiledPagedListTest
63 ListDataSource(listData), mMainThread, mBackgroundThread, boundaryCallback, in createTiledPagedList()
128 dataSource, mMainThread, mBackgroundThread, null, in initialLoadAsync()
136 mBackgroundThread.executeAll() in initialLoadAsync()
148 dataSource, mMainThread, mBackgroundThread, null, in addWeakCallbackEmpty()
307 .setFetchExecutor(mBackgroundThread) in placeholdersDisabled()
457 executed = mBackgroundThread.executeAll() in drain()
DContiguousPagedListTest.kt37 private val mBackgroundThread = TestExecutor() constant in androidx.paging.ContiguousPagedListTest
157 TestSource(listData), mMainThread, mBackgroundThread, boundaryCallback, in createCountedPagedList()
363 dataSource, mMainThread, mBackgroundThread, null, in initialLoadAsync()
374 mBackgroundThread.executeAll() in initialLoadAsync()
392 dataSource, mMainThread, mBackgroundThread, null, in addWeakCallbackEmpty()
505 executed = mBackgroundThread.executeAll() in drain()
DPageKeyedDataSourceTest.kt32 private val mBackgroundThread = TestExecutor() constant in androidx.paging.PageKeyedDataSourceTest
65 mMainThread, mBackgroundThread, in loadFullVerify()
320 executed = mBackgroundThread.executeAll() in drain()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java97 private HandlerThread mBackgroundThread; field in CameraOps
168 mBackgroundThread = new HandlerThread("CameraBackground"); in resume()
169 mBackgroundThread.start(); in resume()
170 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in resume()
274 mBackgroundThread.quitSafely(); in pause()
276 mBackgroundThread.join(); in pause()
277 mBackgroundThread = null; in pause()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java91 private HandlerThread mBackgroundThread; field in CameraOps
182 mBackgroundThread = new HandlerThread("CameraBackground"); in resume()
183 mBackgroundThread.start(); in resume()
184 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in resume()
299 mBackgroundThread.quitSafely(); in pause()
301 mBackgroundThread.join(); in pause()
302 mBackgroundThread = null; in pause()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DAsyncListDifferTest.kt59 private val mBackgroundThread = TestExecutor() constant in androidx.recyclerview.widget.AsyncListDifferTest
66 .setBackgroundThreadExecutor(mBackgroundThread) in createDiffer()
287 executed = mBackgroundThread.executeAll() in drain()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java248 RunnerThread mBackgroundThread; field in TestService.TestRunner
306 mBackgroundThread = new RunnerThread("background", new Runnable() { in run()
342 mBackgroundThread.start(); in run()