Home
last modified time | relevance | path

Searched refs:openCamera (Results 1 – 25 of 41) sorted by relevance

12

/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraManagerTest.java360 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 …]
DMultiViewTest.java88 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 …]
DIdleUidTest.java125 cameraManager.openCamera(cameraId, callback, handler); in assertCameraAccess()
163 mCameraManager.openCamera(cameraId, callback, handler); in testCameraAccessBecomingInactiveUidByCamera()
DCamera2OfflineTestActivity.java120 manager.openCamera(cameraId, new CameraDevice.StateCallback() { in onResume()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DCameraStreamManager.java168 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/
DCamera2HeadlessSystemUserTest.java142 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/
DCameraUtils.java45 cameraManager.openCamera(cameraId, callback, handler); in blockUntilOpenCamera()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraTest.java472 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()
DVirtualCameraPermissionTest.java129 () -> mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), in openCamera_withoutPermission_fails()
137 mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), in openCamera_withPermission_succeeds()
DVirtualCameraCaptureTest.java304 mCameraManager.openCamera(cameraId, mExecutor, mCameraStateCallback); in captureImage()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainVisualQueryDetectionService.java223 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/
DStreamedAppBehaviorTest.java102 cameraManager.openCamera(cameraId, cameraCallback, null); in accessCameraFromActivity()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java237 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()
DCamera2Activity.java117 mCameraManager.openCamera(chosen, mStateCallback, mCameraHandler); in onResume()
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/
DUtils.kt137 cameraManager!!.openCamera(cameraId, executor, cameraDeviceCallback) in openCam()
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java128 CameraDevice camera = CameraTestUtils.openCamera(mCameraManager, cameraId, in testEnableZslValueByCamera()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsLoggingTest.kt787 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/
DCameraTest.java374 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/
DCamera2MultiViewTestCase.java234 protected void openCamera(String cameraId) throws Exception { in openCamera() method in Camera2MultiViewTestCase
462 mCamera = (new BlockingCameraManager(mCameraManager)).openCamera( in open()
DCamera2ConcurrentAndroidTestCase.java256 info.mCamera = CameraTestUtils.openCamera( in openDevice()
DCamera2AndroidTestCase.java283 mCamera = CameraTestUtils.openCamera( in openDevice()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp1215 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/
DCameraMetadataGetter.java154 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/
DCameraMuteToggleActivity.java290 mCameraDevice = mBlockingCameraManager.openCamera(cameraId, in setUpCamera()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1320 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()

12