Home
last modified time | relevance | path

Searched defs:cameraId (Results 1 – 25 of 36) sorted by relevance

12

/cts/tests/camera/src/android/hardware/camera2/cts/
DFlashlightTest.java259 private boolean hasFlash(String cameraId) { in hasFlash()
264 private void resetTorchModeStatus(String cameraId) throws Exception { in resetTorchModeStatus()
341 public TorchCallbackListener(String cameraId) { in TorchCallbackListener()
358 public void onTorchModeUnavailable(String cameraId) { in onTorchModeUnavailable()
370 public void onTorchModeChanged(String cameraId, boolean enabled) { in onTorchModeChanged()
DMultiViewTest.java271 String cameraId, List<TextureView> views, ImageReader imageReader) in startTextureViewPreview()
313 String cameraId, List<TextureView> views, ImageReader testImagerReader) in textureViewPreview()
326 private void testSharedSurfacesConfigByCamera(String cameraId) throws Exception { in testSharedSurfacesConfigByCamera()
427 private void testSharedSurfacesCaptureSessionByCamera(String cameraId) throws Exception { in testSharedSurfacesCaptureSessionByCamera()
471 private void testSharedDeferredSurfacesByCamera(String cameraId) throws Exception { in testSharedDeferredSurfacesByCamera()
DReprocessCaptureTest.java458 private void testBasicReprocessing(String cameraId, int inputFormat, in testBasicReprocessing()
474 private void testReprocessingMaxSizes(String cameraId, int inputFormat, in testReprocessingMaxSizes()
509 private void testReprocessingAllCombinations(String cameraId, Size previewSize, in testReprocessingAllCombinations()
557 private void testReprocessMixedBurst(String cameraId, Size inputSize, int inputFormat, in testReprocessMixedBurst()
629 private void testReprocessBurst(String cameraId, Size inputSize, int inputFormat, in testReprocessBurst()
688 private void testReprocess(String cameraId, Size inputSize, int inputFormat, in testReprocess()
752 private void testReprocessAbort(String cameraId, Size inputSize, int inputFormat, in testReprocessAbort()
842 private void testReprocessTimestamps(String cameraId, Size inputSize, int inputFormat, in testReprocessTimestamps()
916 private void testReprocessJpegExif(String cameraId, Size inputSize, int inputFormat, in testReprocessJpegExif()
982 private void testReprocessRequestKeys(String cameraId, Size inputSize, int inputFormat, in testReprocessRequestKeys()
[all …]
DCameraManagerTest.java266 String cameraId = ids[i]; in testCameraManagerOpenAllCameras() local
381 private static CameraDevice verifyCameraStateOpened(String cameraId, in verifyCameraStateOpened()
457 public void onCameraAvailable(String cameraId) { in onCameraAvailable()
462 public void onCameraUnavailable(String cameraId) { in onCameraUnavailable()
DSurfaceViewPreviewTest.java194 private void preparePerformanceTestByCamera(String cameraId) throws Exception { in preparePerformanceTestByCamera()
353 private void surfaceEqualityTestByCamera(String cameraId) throws Exception { in surfaceEqualityTestByCamera()
448 private void testDeferredSurfacesByCamera(String cameraId) throws Exception { in testDeferredSurfacesByCamera()
802 private void surfaceSetTestByCamera(String cameraId) throws Exception { in surfaceSetTestByCamera()
DStaticMetadataTest.java533 private float getFpsForMaxSize(String cameraId) throws Exception { in getFpsForMaxSize()
553 private void initStaticMetadata(String cameraId) throws Exception { in initStaticMetadata()
DRecordingTest.java326 int cameraId = Integer.valueOf(mCamera.getId()); in testRecordingFramerateLowToHigh() local
714 int cameraId = Integer.valueOf(mCamera.getId()); in basicRecordingTestByCamera() local
837 private void initSupportedVideoSize(String cameraId) throws Exception { in initSupportedVideoSize()
882 private boolean allowedUnsupported(int cameraId, int profileId) { in allowedUnsupported()
917 int cameraId = Integer.valueOf(mCamera.getId()); in videoSnapshotTestByCamera() local
DBurstCaptureTest.java75 private void yuvBurstTestByCamera(String cameraId) throws Exception { in yuvBurstTestByCamera()
DRobustnessTest.java1176 public MaxStreamSizes(StaticMetadata sm, String cameraId, Context context) { in MaxStreamSizes()
1325 private void testReprocessStreamCombination(String cameraId, int[] reprocessConfig, in testReprocessStreamCombination()
1462 private void testOutputCombination(String cameraId, int[] config, MaxStreamSizes maxSizes) in testOutputCombination()
1594 private static Size getMaxRecordingSize(String cameraId) { in getMaxRecordingSize()
1651 private static Size getMaxPreviewSize(Context context, String cameraId) { in getMaxPreviewSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DSelectableResolution.java23 public final int cameraId; field in SelectableResolution
30 public SelectableResolution(int cameraId, int width, int height) { in SelectableResolution()
DPhotoCaptureActivity.java359 final int cameraId = mPreviewSizeCamerasToProcess.remove(0); in showNextDialogToChoosePreviewSize() local
520 int cameraId, android.hardware.Camera camera) { in calculateOrientations()
/cts/tests/tests/permission/src/android/permission/cts/
DCamera2PermissionTest.java116 public void onCameraAvailable(String cameraId) { in onCameraAvailable()
120 public void onCameraUnavailable(String cameraId) { in onCameraUnavailable()
124 private void openCamera(String cameraId) throws Exception { in openCamera()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java223 protected void openCamera(String cameraId) throws Exception { in openCamera()
230 protected void closeCamera(String cameraId) throws Exception { in closeCamera()
235 protected void createSessionWithConfigs(String cameraId, List<OutputConfiguration> configs) in createSessionWithConfigs()
242 String cameraId, List<Surface> outputSurfaces, CaptureCallback listener) in startPreview()
249 protected void startPreviewWithConfigs(String cameraId, in startPreviewWithConfigs()
258 protected void stopPreview(String cameraId) throws Exception { in stopPreview()
264 protected void updateOutputConfigs(String cameraId, List<OutputConfiguration> configs, in updateOutputConfigs()
271 protected StaticMetadata getStaticInfo(String cameraId) { in getStaticInfo()
277 protected List<Size> getOrderedPreviewSizes(String cameraId) { in getOrderedPreviewSizes()
283 protected void verifyCreateSessionWithConfigsFailure(String cameraId, in verifyCreateSessionWithConfigsFailure()
[all …]
DCamera2AndroidTestCase.java179 protected void openDevice(String cameraId) throws Exception { in openDevice()
189 protected void openDevice(String cameraId, BlockingStateCallback listener) throws Exception { in openDevice()
229 protected void closeDevice(String cameraId) { in closeDevice()
244 protected void closeDevice(String cameraId, BlockingStateCallback listener) { in closeDevice()
DCamera2SurfaceViewTestCase.java582 protected void openDevice(String cameraId) throws Exception { in openDevice()
806 protected boolean isReprocessSupported(String cameraId, int format) in isReprocessSupported()
823 protected Range<Integer> getSuitableFpsRangeForDuration(String cameraId, long frameDuration) { in getSuitableFpsRangeForDuration()
/cts/tests/tests/media/src/android/media/cts/
DCamcorderProfileTest.java71 private CamcorderProfile getWithOptionalId(int quality, int cameraId) { in getWithOptionalId()
194 int cameraId, in checkSpecificProfiles()
244 private void checkGet(int cameraId) { in checkGet()
357 private List<Size> getSupportedVideoSizes(int cameraId) { in getSupportedVideoSizes()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp49 static void onAvailable(void* obj, const char* cameraId) { in onAvailable()
61 static void onUnavailable(void* obj, const char* cameraId) { in onUnavailable()
90 bool isAvailable(const char* cameraId) { in isAvailable()
489 camera_status_t openCamera(const char* cameraId) { in openCamera()
504 bool isCameraAvailable(const char* cameraId) { in isCameraAvailable()
1128 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() local
1192 const char* cameraId = cameraIdList->cameraIds[i]; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative() local
1380 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative() local
1506 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative() local
1610 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative() local
[all …]
/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java39 public static boolean isLegacyHAL(Context context, int cameraId) throws Exception { in isLegacyHAL()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java102 public final String cameraId; field in ItsTestActivity.ResultKey
105 public ResultKey(String cameraId, String sceneId) { in ResultKey()
158 String cameraId = intent.getStringExtra(EXTRA_CAMERA_ID); in onReceive() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCameraUtils.java44 String cameraId = cameraIdList[0]; in blockUntilOpenCamera() local
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java144 private void initializeMessageLooper(final int cameraId) throws IOException { in initializeMessageLooper()
428 private void testPreviewCallbackByCamera(int cameraId) throws Exception { in testPreviewCallbackByCamera()
472 private void testSetOneShotPreviewCallbackByCamera(int cameraId) throws Exception { in testSetOneShotPreviewCallbackByCamera()
495 private void testSetPreviewDisplayByCamera(int cameraId) throws Exception { in testSetPreviewDisplayByCamera()
538 private void testDisplayOrientationByCamera(int cameraId) throws Exception { in testDisplayOrientationByCamera()
576 private void testParametersByCamera(int cameraId) throws Exception { in testParametersByCamera()
1143 private void testLockUnlockByCamera(int cameraId) throws Exception { in testLockUnlockByCamera()
1254 private void testPreviewCallbackWithBufferByCamera(int cameraId) throws Exception { in testPreviewCallbackWithBufferByCamera()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockVideoProvider.java59 public void onSetCamera(String cameraId) { in onSetCamera()
132 private void handleCameraChange(String cameraId) { in handleCameraChange()
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java116 private void testEnableZslValueByCamera(String cameraId) throws Exception { in testEnableZslValueByCamera()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java714 public static CameraDevice openCamera(CameraManager manager, String cameraId, in openCamera()
746 public static CameraDevice openCamera(CameraManager manager, String cameraId, Handler handler) in openCamera()
1093 public static Size[] getSupportedSizeForFormat(int format, String cameraId, in getSupportedSizeForFormat()
1122 public static Size[] getSupportedSizeForClass(Class klass, String cameraId, in getSupportedSizeForClass()
1164 static public List<Size> getSupportedPreviewSizes(String cameraId, in getSupportedPreviewSizes()
1220 static public List<Size> getSortedSizesForFormat(String cameraId, in getSortedSizesForFormat()
1252 static public List<Size> getSupportedVideoSizes(String cameraId, in getSupportedVideoSizes()
1284 static public List<Size> getSupportedStillSizes(String cameraId, in getSupportedStillSizes()
1289 static public Size getMinPreviewSize(String cameraId, CameraManager cameraManager) in getMinPreviewSize()
1298 static public Size getMaxPreviewSize(String cameraId, CameraManager cameraManager) in getMaxPreviewSize()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java437 private void setTestedConfiguration(int cameraId, int orientation) { in setTestedConfiguration()
557 Settings(int stageIndex, int cameraId, int orientation) { in Settings()

12