Home
last modified time | relevance | path

Searched refs:mHandlerThread (Results 1 – 24 of 24) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DBaseTestCase.java38 private HandlerThread mHandlerThread; field in BaseTestCase
102 mHandlerThread = new HandlerThread("CtsVerifier-Wifi"); in start()
103 mHandlerThread.start(); in start()
104 mHandler = new Handler(mHandlerThread.getLooper()); in start()
144 if (mHandlerThread != null) { in stop()
145 mHandlerThread.quitSafely(); in stop()
146 mHandlerThread = null; in stop()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DBaseTestCase.java36 private HandlerThread mHandlerThread; field in BaseTestCase
85 mHandlerThread = new HandlerThread("CtsVerifier-Aware"); in start()
86 mHandlerThread.start(); in start()
87 mHandler = new Handler(mHandlerThread.getLooper()); in start()
126 if (mHandlerThread != null) { in stop()
127 mHandlerThread.quitSafely(); in stop()
128 mHandlerThread = null; in stop()
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsGroupCallService.java63 private HandlerThread mHandlerThread; field in CtsGroupCallService
189 mHandlerThread.quitSafely(); in onDestroy()
203 if (mHandlerThread != null && mHandlerThread.isAlive()) { in onBind()
207 mHandlerThread = new HandlerThread("CtsGroupCallServiceWorker"); in onBind()
208 mHandlerThread.start(); in onBind()
209 mHandler = new Handler(mHandlerThread.getLooper()); in onBind()
DCtsStreamingService.java90 private HandlerThread mHandlerThread; field in CtsStreamingService
240 mHandlerThread.quitSafely(); in onDestroy()
252 if (mHandlerThread != null && mHandlerThread.isAlive()) { in onBind()
256 mHandlerThread = new HandlerThread("CtsStreamingServiceWorker"); in onBind()
257 mHandlerThread.start(); in onBind()
258 mHandler = new Handler(mHandlerThread.getLooper(), mWorkerCallback); in onBind()
DCtsDownloadService.java140 private HandlerThread mHandlerThread; field in CtsDownloadService
454 mHandlerThread.quitSafely(); in onDestroy()
466 if (mHandlerThread != null && mHandlerThread.isAlive()) { in onBind()
470 mHandlerThread = new HandlerThread("CtsDownloadServiceWorker"); in onBind()
471 mHandlerThread.start(); in onBind()
472 mHandler = new Handler(mHandlerThread.getLooper()); in onBind()
/cts/tests/tests/permission/src/android/permission/cts/
DCamera2PermissionTest.java51 protected HandlerThread mHandlerThread; field in Camera2PermissionTest
69 mHandlerThread = new HandlerThread(TAG); in setUp()
70 mHandlerThread.start(); in setUp()
71 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
77 mHandlerThread.quitSafely(); in tearDown()
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java47 private HandlerThread mHandlerThread; field in EnableZslTest
82 mHandlerThread = new HandlerThread(TAG); in setUp()
83 mHandlerThread.start(); in setUp()
84 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
91 mHandlerThread.quitSafely(); in tearDown()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsStreamingTestBase.java114 HandlerThread mHandlerThread; field in MbmsStreamingTestBase
123 mHandlerThread = new HandlerThread("EmbmsCtsTestWorker"); in setUp()
124 mHandlerThread.start(); in setUp()
125 mCallbackExecutor = (new Handler(mHandlerThread.getLooper()))::post; in setUp()
133 mHandlerThread.quit(); in tearDown()
DMbmsDownloadTestBase.java125 HandlerThread mHandlerThread; field in MbmsDownloadTestBase
135 mHandlerThread = new HandlerThread("EmbmsCtsTestWorker"); in setUp()
136 mHandlerThread.start(); in setUp()
137 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
153 mHandlerThread.quit(); in tearDown()
DMbmsGroupCallTestBase.java135 HandlerThread mHandlerThread; field in MbmsGroupCallTestBase
144 mHandlerThread = new HandlerThread("EmbmsCtsTestWorker"); in setUp()
145 mHandlerThread.start(); in setUp()
146 mCallbackExecutor = (new Handler(mHandlerThread.getLooper()))::post; in setUp()
154 mHandlerThread.quit(); in tearDown()
/cts/tests/tests/media/src/android/media/cts/
DSurfaceEncodeTimestampTest.java68 private HandlerThread mHandlerThread; field in SurfaceEncodeTimestampTest
75 if (mHandlerThread == null) { in setUp()
76 mHandlerThread = new HandlerThread( in setUp()
78 mHandlerThread.start(); in setUp()
79 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
86 if (mHandlerThread != null) { in tearDown()
87 mHandlerThread.quit(); in tearDown()
88 mHandlerThread = null; in tearDown()
DMediaSyncTest.java619 private HandlerThread mHandlerThread; field in MediaSyncTest.Decoder
634 mHandlerThread = new HandlerThread("SyncViewVidDec"); in setup()
635 mHandlerThread.start(); in setup()
636 mHandler = new Handler(mHandlerThread.getLooper()); in setup()
DImageReaderDecoderTest.java92 private HandlerThread mHandlerThread; field in ImageReaderDecoderTest
105 mHandlerThread = new HandlerThread(TAG); in setUp()
106 mHandlerThread.start(); in setUp()
107 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
113 mHandlerThread.quitSafely(); in tearDown()
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
DSeccompDeviceTest.java69 private HandlerThread mHandlerThread; field in SeccompDeviceTest
88 mHandlerThread = new HandlerThread("HandlerThread"); in initializeSyscallMap()
89 mHandlerThread.start(); in initializeSyscallMap()
90 Looper looper = mHandlerThread.getLooper(); in initializeSyscallMap()
/cts/tests/tests/net/src/android/net/wifi/rtt/cts/
DTestBase.java60 private final HandlerThread mHandlerThread = new HandlerThread("SingleDeviceTest"); field in TestBase
63 mHandlerThread.start(); in mHandlerThread.start()
64 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java78 protected HandlerThread mHandlerThread; field in Camera2AndroidTestCase
114 mHandlerThread = new HandlerThread(TAG); in setUp()
115 mHandlerThread.start(); in setUp()
116 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
163 mHandlerThread.quitSafely(); in tearDown()
DCamera2MultiViewTestCase.java82 private HandlerThread mHandlerThread; field in Camera2MultiViewTestCase
104 mHandlerThread = new HandlerThread(TAG); in setUp()
105 mHandlerThread.start(); in setUp()
106 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
132 mHandlerThread.quitSafely(); in tearDown()
DCamera2SurfaceViewTestCase.java92 protected HandlerThread mHandlerThread; field in Camera2SurfaceViewTestCase
134 mHandlerThread = new HandlerThread(TAG); in setUp()
135 mHandlerThread.start(); in setUp()
136 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
181 mHandlerThread.quitSafely(); in tearDown()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSession.java72 private final HandlerThread mHandlerThread = new HandlerThread("EventReceiver"); field in MockImeSession
206 mHandlerThread.start(); in initialize()
209 new Handler(mHandlerThread.getLooper())); in initialize()
273 mHandlerThread.quitSafely(); in close()
DMockIme.java90 private final HandlerThread mHandlerThread = new HandlerThread("CommandReceiver"); field in MockIme
342 mHandlerThread.start(); in onCreate()
346 final Handler handler = new Handler(mHandlerThread.getLooper()); in onCreate()
572 mHandlerThread.quitSafely();
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraManagerTest.java72 private HandlerThread mHandlerThread; field in CameraManagerTest
101 mHandlerThread = new HandlerThread(TAG); in setUp()
102 mHandlerThread.start(); in setUp()
103 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
109 mHandlerThread.quitSafely(); in tearDown()
DAllocationTest.java87 private HandlerThread mHandlerThread; field in AllocationTest
104 mHandlerThread = new HandlerThread("AllocationTest"); in setUp()
105 mHandlerThread.start(); in setUp()
106 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
120 mHandlerThread.quitSafely(); in tearDown()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java79 private HandlerThread mHandlerThread; field in CameraMetadataGetter
101 mHandlerThread = new HandlerThread(TAG); in CameraMetadataGetter()
102 mHandlerThread.start(); in CameraMetadataGetter()
103 mHandler = new Handler(mHandlerThread.getLooper()); in CameraMetadataGetter()
235 mHandlerThread.quitSafely(); in close()
/cts/tests/tests/net/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java68 private final HandlerThread mHandlerThread = new HandlerThread("SingleDeviceTest"); field in SingleDeviceTest
71 mHandlerThread.start(); in mHandlerThread.start()
72 mHandler = new Handler(mHandlerThread.getLooper());