/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 360 mCameraManager.openCamera(ids[i], executor, mCameraListener); in testCameraManagerOpenCamerasSerially() 362 mCameraManager.openCamera(ids[i], mCameraListener, mHandler); in testCameraManagerOpenCamerasSerially() 422 mCameraManager.openCamera(cameraId, executor, mCameraListener); in testCameraManagerOpenAllCameras() 424 mCameraManager.openCamera(cameraId, mCameraListener, mHandler); in testCameraManagerOpenAllCameras() 557 mCameraManager.openCamera(ids[i], executor, successListener); in testCameraManagerOpenCameraTwice() 558 mCameraManager.openCamera(ids[i], executor, failListener); in testCameraManagerOpenCameraTwice() 560 mCameraManager.openCamera(ids[i], successListener, mHandler); in testCameraManagerOpenCameraTwice() 561 mCameraManager.openCamera(ids[i], failListener, mHandler); in testCameraManagerOpenCameraTwice() 729 mCameraManager.openCamera(id, executor, mCameraListener); in testCameraManagerListenerCallbacks() 731 mCameraManager.openCamera(id, mCameraListener, mHandler); in testCameraManagerListenerCallbacks() [all …]
|
D | MultiViewTest.java | 88 openCamera(cameraId); in testTextureViewPreview() 120 openCamera(cameraId); in testTextureViewPreviewWithImageReader() 164 openCamera(cameraId); in testDualTextureViewPreview() 201 openCamera(cameraId); in testDualTextureViewAndImageReaderPreview() 250 openCamera(cameraIdsUnderTest[i]); in testDualCameraPreview() 290 openCamera(cameraId); in testSharedSurfaceBasic() 432 openCamera(cameraId); in testSharedSurfaceImageReaderSwitch() 524 openCamera(cameraId); in testSharedSurfaceYUVImageReaderSwitch() 652 openCamera(cameraId); in testSharedSurfaceLimit() 770 openCamera(cameraId); in testSharedSurfaceSwitch() [all …]
|
D | IdleUidTest.java | 125 cameraManager.openCamera(cameraId, callback, handler); in assertCameraAccess() 163 mCameraManager.openCamera(cameraId, callback, handler); in testCameraAccessBecomingInactiveUidByCamera()
|
D | Camera2OfflineTestActivity.java | 120 manager.openCamera(cameraId, new CameraDevice.StateCallback() { in onResume()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | CameraStreamManager.java | 168 openCamera(mWidth, mHeight); in onStartCameraStream() 192 private void openCamera(int width, int height) { in openCamera() method in CameraStreamManager 199 manager.openCamera(CAMERA_ID, mStateCallback, mBackgroundHandler); in openCamera()
|
/cts/tests/camera/headlessSystemUserTest/src/android/camera/cts/headlesssystemusertest/ |
D | Camera2HeadlessSystemUserTest.java | 142 mCameraManager.openCamera(mCameraIdsUnderTest[i], mCameraListener, mHandler); in testHeadlessSystemUser_InvalidAccess() 189 mCameraManager.openCamera(cameraId, mCameraListener, mHandler); in openCameraAsHeadlessSystemUser() 193 mCameraManager.openCamera(cameraId, mCameraListener, mHandler); in openCameraAsHeadlessSystemUser()
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | CameraUtils.java | 45 cameraManager.openCamera(cameraId, callback, handler); in blockUntilOpenCamera()
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraTest.java | 472 mCameraManager.openCamera(virtualCameraId, directExecutor(), mCameraStateCallback); in virtualCamera_openCamera_triggersOnOpenedCallback() 486 mCameraManager.openCamera(virtualCameraId, directExecutor(), mCameraStateCallback); in virtualCamera_close_triggersOnDisconnectedCallback() 501 mCameraManager.openCamera(virtualCameraId, directExecutor(), mCameraStateCallback); in virtualCamera_cameraDeviceClose_triggersOnClosedCallback() 519 mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), mCameraStateCallback); in vdContext_virtualCamera_openCamera_triggersOnOpenedCallback() 533 mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), mCameraStateCallback); in vdContext_virtualCamera_close_triggersOnDisconnectedCallback() 549 mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), mCameraStateCallback); in vdContext_virtualCamera_cameraDeviceClose_triggersOnClosedCallback() 568 mCameraManager.openCamera(virtualCamera.getId(), directExecutor(), in defaultContext_virtualCamera_openCamera_throwsException() 863 mCameraManager.openCamera(cameraId, mExecutor, mCameraStateCallback); in verifyConfigureSessionForSupportedFormatSucceeds() 892 mCameraManager.openCamera(cameraId, mExecutor, mCameraStateCallback); in verifyConfigureSessionForUnsupportedFormatFails()
|
D | VirtualCameraPermissionTest.java | 129 () -> mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), in openCamera_withoutPermission_fails() 137 mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), in openCamera_withPermission_succeeds()
|
D | VirtualCameraCaptureTest.java | 304 mCameraManager.openCamera(cameraId, mExecutor, mCameraStateCallback); in captureImage()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainVisualQueryDetectionService.java | 223 detectionJob = this::openCamera; in createTestDetectionJob() 388 private void openCamera() { in openCamera() method in MainVisualQueryDetectionService 399 manager.openCamera(cameraId, new CameraDevice.StateCallback() { in openCamera()
|
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
D | StreamedAppBehaviorTest.java | 102 cameraManager.openCamera(cameraId, cameraCallback, null); in accessCameraFromActivity()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | CameraEvictionTest.java | 237 manager.openCamera(chosenCamera, spyStateCb, cameraHandler); in testBasicCamera2ActivityEvictionInternal() 287 manager.openCamera(chosenCamera, spyStateCb, cameraHandler); in testBasicCamera2ActivityEvictionInternal() 293 manager.openCamera(chosenCamera, CACHED_APP_VS_FG_OOM_DELTA, cameraExecutor, in testBasicCamera2ActivityEvictionInternal() 356 manager.openCamera(cameraId, CACHED_APP_VS_FG_OOM_DELTA, cameraExecutor, in testCamera2OomScoreOffsetPermissions()
|
D | Camera2Activity.java | 117 mCameraManager.openCamera(chosen, mStateCallback, mCameraHandler); in onResume()
|
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/ |
D | Utils.kt | 137 cameraManager!!.openCamera(cameraId, executor, cameraDeviceCallback) in openCam()
|
/cts/tests/camera/api25test/src/android/camera/cts/api25test/ |
D | EnableZslTest.java | 128 CameraDevice camera = CameraTestUtils.openCamera(mCameraManager, cameraId, in testEnableZslValueByCamera()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsLoggingTest.kt | 787 private fun openCamera(context: Context) { in nativeNoteOp() method 832 cameraManager!!.openCamera(cameraId, context.mainExecutor, cameraDeviceCallback) in nativeNoteOp() 849 openCamera(context.createAttributionContext(TEST_ATTRIBUTION_TAG)) in nativeNoteOp() 858 openCamera(context) in nativeNoteOp()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CameraTest.java | 374 sCameraManager.openCamera(cameraId, callback, new Handler(Looper.getMainLooper())); in assertCanOpenCamera() 391 sCameraManager.openCamera(cameraId, callback, new Handler(Looper.getMainLooper())); in assertCanNotOpenCamera()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 234 protected void openCamera(String cameraId) throws Exception { in openCamera() method in Camera2MultiViewTestCase 462 mCamera = (new BlockingCameraManager(mCameraManager)).openCamera( in open()
|
D | Camera2ConcurrentAndroidTestCase.java | 256 info.mCamera = CameraTestUtils.openCamera( in openDevice()
|
D | Camera2AndroidTestCase.java | 283 mCamera = CameraTestUtils.openCamera( in openDevice()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 1215 camera_status_t openCamera(const char* cameraId) { in openCamera() function in PreviewTestCase 2311 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() 2641 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative() 2791 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate() 3049 ret = testCase.openCamera(cameraId); in testCameraDeviceSimplePreviewNativeInternal() 3209 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative() 3345 ret = testCase.openCamera(cameraId); in nativeCameraDeviceTestPrepareSurface() 3607 ret = testCase.openCamera(cameraId); in nativeCameraDeviceLogicalPhysicalStreaming() 3884 ret = testCase.openCamera(cameraId); in nativeImageReaderTestBase() 4143 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCaptureFailureNative() [all …]
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 154 camera = (new BlockingCameraManager(mCameraManager)).openCamera(cameraId, in getCaptureRequestTemplates() 192 camera = (new BlockingCameraManager(mCameraManager)).openCamera(id, in getCaptureRequestTemplates()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | CameraMuteToggleActivity.java | 290 mCameraDevice = mBlockingCameraManager.openCamera(cameraId, in setUpCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1320 public CameraDevice openCamera(String cameraId, boolean overrideToPortrait, in openCamera() method in CameraTestUtils.BlockingCameraManager 1340 manager.openCamera(cameraId, overrideToPortrait, handler, this); in OpenListener() 1415 public static CameraDevice openCamera(CameraManager manager, String cameraId, in openCamera() method in CameraTestUtils 1429 .openCamera(cameraId, listener, handler); in openCamera() 1447 public static CameraDevice openCamera(CameraManager manager, String cameraId, in openCamera() method in CameraTestUtils 1451 .openCamera(cameraId, overrideToPortrait, listener, handler); in openCamera() 1470 public static CameraDevice openCamera(CameraManager manager, String cameraId, Handler handler) in openCamera() method in CameraTestUtils 1473 return openCamera(manager, cameraId, /*listener*/null, handler); in openCamera() 4599 manager.openCamera(cameraId, cameraListener, handler); in testPhysicalCameraAvailabilityConsistencyHelper()
|