/cts/tests/tests/media/src/android/media/cts/ |
D | HandlerExecutor.java | 26 public class HandlerExecutor extends Handler implements Executor { class 27 public HandlerExecutor(@NonNull Looper looper) { in HandlerExecutor() method in HandlerExecutor
|
D | StubMediaSession2Service.java | 39 private static HandlerExecutor sHandlerExecutor; 45 public static void setHandlerExecutor(HandlerExecutor handlerExecutor) { in setHandlerExecutor()
|
D | MediaSessionManagerTest.java | 383 Executor handlerExecutor = new HandlerExecutor(handler); in testGetSession2Tokens() 404 Executor handlerExecutor = new HandlerExecutor(handler); in testGetSession2TokensWithTwoSessions() 445 Executor handlerExecutor = new HandlerExecutor(handler); in testAddAndRemoveSession2TokensListener() 694 private static class HandlerExecutor implements Executor { class in MediaSessionManagerTest 697 HandlerExecutor(Handler handler) { in HandlerExecutor() method in MediaSessionManagerTest.HandlerExecutor
|
D | MediaSession2ServiceTest.java | 66 private static HandlerExecutor sHandlerExecutor; 79 sHandlerExecutor = new HandlerExecutor(handlerThread.getLooper()); in setUpThread()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraExtensionSessionTest.java | 156 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testBasicExtensionLifecycle() 204 new HandlerExecutor(mTestRule.getHandler()), regularSessionListener); in testCloseCaptureSession() 211 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testCloseCaptureSession() 271 new HandlerExecutor(mTestRule.getHandler()), regularSessionListener); in testCloseExtensionSession() 278 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testCloseExtensionSession() 335 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testGetDevice() 396 new HandlerExecutor(mTestRule.getHandler()), in testRepeatingCapture() 418 new HandlerExecutor(mTestRule.getHandler()), simpleCaptureCallback); in testRepeatingCapture() 508 new HandlerExecutor(mTestRule.getHandler()), in testMultiFrameCapture() 542 new HandlerExecutor(mTestRule.getHandler()), captureCallback); in testMultiFrameCapture() [all …]
|
D | CameraManagerTest.java | 33 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor; 304 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCamerasSerially() 355 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenAllCameras() 535 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCameraTwice() 609 Executor executor = new HandlerExecutor(mHandler); in testCameraManagerListener() 661 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerListenerCallbacks()
|
D | OfflineSessionTest.java | 155 mSession.switchToOffline(offlineSurfaces, new HandlerExecutor(mHandler), in testInvalidOutput() 165 mSession.switchToOffline(offlineSurfaces, new HandlerExecutor(mHandler), in testInvalidOutput() 635 new HandlerExecutor(mHandler), offlineCb); in camera2OfflineSessionTest() 830 session.switchToOffline(offlineSurfaces, new HandlerExecutor(mHandler), offlineCb); in camera2UnsupportedOfflineOutputTest()
|
D | FlashlightTest.java | 21 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor; 147 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testTorchCallback()
|
D | MultiResolutionReprocessCaptureTest.java | 370 inputReaderListener, new HandlerExecutor(mHandler)); in testMultiResolutionMandatoryStreamCombination() 585 new HandlerExecutor(mHandler)); in setupMultiResImageReaders() 594 mSecondMultiResImageReaderListener, new HandlerExecutor(mHandler)); in setupMultiResImageReaders()
|
D | MultiResolutionImageReaderTest.java | 29 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor; 409 new HandlerExecutor(mHandler)); in multiResolutionImageReaderFormatTestByCamera()
|
D | CameraDeviceTest.java | 836 HandlerExecutor executor = new HandlerExecutor(mHandler); in testSessionConfiguration() 1005 new HandlerExecutor(mHandler), mSessionMockListener); in testSessionParametersStateLeakByCamera() 1188 new HandlerExecutor(mHandler), mSessionMockListener); in testCreateSessionWithParametersByCamera() 1305 new HandlerExecutor(mHandler), mSessionMockListener); in prepareTestByCamera() 1697 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureSingleShot() 1763 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureBurstShot()
|
D | ConcurrentCameraTest.java | 262 new HandlerExecutor(mHandler), new BlockingSessionCallback())); in testMandatoryConcurrentStreamCombination()
|
/cts/hostsidetests/telephony/devicetest/src/android/telephony/device/cts/ |
D | TelephonyTest.java | 23 import android.os.HandlerExecutor; 81 PhoneStateListener testListener = new PhoneStateListener(new HandlerExecutor(mHandler)) { in testListenerRegistrationWithChangeEnabled() 117 PhoneStateListener testListener = new PhoneStateListener(new HandlerExecutor(mHandler)) { in testListenerRegistrationWithChangeDisabled() 143 () -> new PhoneStateListener(new HandlerExecutor(mHandler))) in registerFillerListeners()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PreferentialNetworkServiceTest.java | 33 import android.os.HandlerExecutor; 177 new HandlerExecutor(mHandlerThread.getThreadHandler()), offerCallback); in registerEnterpriseNetworkOffer()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | EasyConnectStatusCallbackTest.java | 33 import android.os.HandlerExecutor; 63 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
|
D | WifiManagerTest.java | 74 import android.os.HandlerExecutor; 298 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
|
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/ |
D | TestBase.java | 32 import android.os.HandlerExecutor; 76 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | CameraEvictionTest.java | 28 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor; 266 Executor cameraExecutor = new HandlerExecutor(cameraHandler); in testBasicCamera2ActivityEvictionInternal() 330 Executor cameraExecutor = new HandlerExecutor(cameraHandler); in testCamera2OomScoreOffsetPermissions()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 283 multiResReader.setOnImageAvailableListener(listener, new HandlerExecutor(handler)); in configureTarget() 1266 new HandlerExecutor(handler), sessionListener); in buildConstrainedCameraSession() 1315 SessionConfiguration.SESSION_REGULAR, outputs, new HandlerExecutor(handler), in tryConfigureCameraSessionWithConfig() 1352 new HandlerExecutor(handler), listener); in configureCameraSessionWithParameters() 1402 SessionConfiguration.SESSION_REGULAR, outputConfigs, new HandlerExecutor(handler), in configureReprocessableCameraSessionWithConfigurations() 2112 public static class HandlerExecutor implements Executor { class in CameraTestUtils 2115 public HandlerExecutor(Handler handler) { in HandlerExecutor() method in CameraTestUtils.HandlerExecutor 3288 new HandlerExecutor(handler), sessionListener); in isSessionConfigSupported()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 1029 private static class HandlerExecutor implements Executor { 1032 public HandlerExecutor(Handler handler) { 1063 new HandlerExecutor(mCameraHandler), sessionListener);
|