Home
last modified time | relevance | path

Searched refs:sHandler (Results 1 – 12 of 12) sorted by relevance

/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/
DSynchronousPixelCopy.java37 private static Handler sHandler; field in SynchronousPixelCopy
41 sHandler = new Handler(thread.getLooper());
49 PixelCopy.request(source, dest, this, sHandler); in request()
57 PixelCopy.request(source, srcRect, dest, this, sHandler); in request()
65 PixelCopy.request(source, dest, this, sHandler); in request()
73 PixelCopy.request(source, srcRect, dest, this, sHandler); in request()
81 PixelCopy.request(source, dest, this, sHandler); in request()
89 PixelCopy.request(source, srcRect, dest, this, sHandler); in request()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRenderTarget.java59 private static final Handler sHandler; field in RenderTarget
63 sHandler = new Handler(thread.getLooper(), new RenderTargetThread());
64 sHandler.sendEmptyMessage(SETUP_THREAD);
69 Message.obtain(sHandler, CREATE_SINK, future).sendToTarget(); in create()
97 Message.obtain(sHandler, DESTROY_SINK, this).sendToTarget(); in destroy()
130 sHandler.removeMessages(UPDATE_TEX_IMAGE, sink.mSurfaceTexture); in destroySink()
187 Message.obtain(sHandler, UPDATE_TEX_IMAGE, surfaceTexture).sendToTarget(); in onFrameAvailable()
/cts/tests/tests/security/src/android/security/cts/
DRenderTarget.java62 private static final Handler sHandler; field in RenderTarget
66 sHandler = new Handler(thread.getLooper(), new RenderTargetThread());
67 sHandler.sendEmptyMessage(SETUP_THREAD);
72 Message.obtain(sHandler, CREATE_SINK, future).sendToTarget(); in create()
100 Message.obtain(sHandler, DESTROY_SINK, this).sendToTarget(); in destroy()
133 sHandler.removeMessages(UPDATE_TEX_IMAGE, sink.mSurfaceTexture); in destroySink()
191 Message.obtain(sHandler, UPDATE_TEX_IMAGE, surfaceTexture).sendToTarget(); in onFrameAvailable()
DPackageInstallerTest.java82 private static Handler sHandler; field in PackageInstallerTest
95 sHandler = new Handler(sResponseThread.getLooper()); in onBeforeClass()
197 sHandler); in sendActionToBackgroundReceiver()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DUtils.java63 private static Handler sHandler; field in Utils
96 if (sHandler == null) { in getHandler()
100 sHandler = new Handler(sHandlerThread.getLooper()); in getHandler()
103 return sHandler; in getHandler()
DTestAppCallbacksReceiver.java55 private static Handler sHandler; field in TestAppCallbacksReceiver
70 sHandler = new Handler(sHandlerThread.getLooper()); in setHandlerThread()
94 receivers.forEach((r) -> sHandler.post(() -> in onReceive()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaController2Test.java82 static Handler sHandler; field in MediaController2Test
93 if (sHandler != null) { in setUpThread()
98 sHandler = new Handler(handlerThread.getLooper()); in setUpThread()
102 handler = sHandler; in setUpThread()
118 if (sHandler == null) { in cleanUpThread()
121 sHandler.getLooper().quitSafely(); in cleanUpThread()
122 sHandler = null; in cleanUpThread()
DMediaSession2Test.java70 static Handler sHandler; field in MediaSession2Test
79 if (sHandler != null) { in setUpThread()
84 sHandler = new Handler(handlerThread.getLooper()); in setUpThread()
88 handler = sHandler; in setUpThread()
104 if (sHandler == null) { in cleanUpThread()
107 sHandler.getLooper().quitSafely(); in cleanUpThread()
108 sHandler = null; in cleanUpThread()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStoreNotificationTest.java149 private static Handler sHandler; field in MediaStoreNotificationTest.BlockingObserver
154 sHandler = new Handler(sHandlerThread.getLooper());
158 super(sHandler); in BlockingObserver()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBtAdapterUtils.java63 private static Handler sHandler; field in BtAdapterUtils
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsMmTelManagerTest.java87 private static Handler sHandler; field in ImsMmTelManagerTest
169 sHandler = new Handler(Looper.getMainLooper()); in beforeAllTests()
765 ContentObserver observer = new ContentObserver(sHandler) { in createObserver()
DImsCallingTest.java105 private static Handler sHandler; field in ImsCallingTest
133 sHandler = new Handler(Looper.getMainLooper()); in beforeAllTests()
1533 ContentObserver observer = new ContentObserver(sHandler) { in createObserver()