/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/ |
D | SynchronousPixelCopy.java | 37 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/ |
D | RenderTarget.java | 59 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/ |
D | RenderTarget.java | 62 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()
|
D | PackageInstallerTest.java | 82 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/ |
D | Utils.java | 63 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()
|
D | TestAppCallbacksReceiver.java | 55 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/ |
D | MediaController2Test.java | 82 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()
|
D | MediaSession2Test.java | 70 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/ |
D | MediaStoreNotificationTest.java | 149 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/ |
D | BtAdapterUtils.java | 63 private static Handler sHandler; field in BtAdapterUtils
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsMmTelManagerTest.java | 87 private static Handler sHandler; field in ImsMmTelManagerTest 169 sHandler = new Handler(Looper.getMainLooper()); in beforeAllTests() 765 ContentObserver observer = new ContentObserver(sHandler) { in createObserver()
|
D | ImsCallingTest.java | 105 private static Handler sHandler; field in ImsCallingTest 133 sHandler = new Handler(Looper.getMainLooper()); in beforeAllTests() 1533 ContentObserver observer = new ContentObserver(sHandler) { in createObserver()
|