Home
last modified time | relevance | path

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

12

/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/
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()
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.java263 String cameraId = ids[i]; in testCameraManagerOpenAllCameras() local
378 private static CameraDevice verifyCameraStateOpened(String cameraId, in verifyCameraStateOpened()
454 public void onCameraAvailable(String cameraId) { in onCameraAvailable()
459 public void onCameraUnavailable(String cameraId) { in onCameraUnavailable()
DMultiViewTest.java239 String cameraId, List<TextureView> views, ImageReader imageReader) in startTextureViewPreview()
281 String cameraId, List<TextureView> views, ImageReader testImagerReader) in textureViewPreview()
DStaticMetadataTest.java537 private float getFpsForMaxSize(String cameraId) throws Exception { in getFpsForMaxSize()
557 private void initStaticMetadata(String cameraId) throws Exception { in initStaticMetadata()
DRecordingTest.java325 int cameraId = Integer.valueOf(mCamera.getId()); in testRecordingFramerateLowToHigh() local
632 int cameraId = Integer.valueOf(mCamera.getId()); in basicRecordingTestByCamera() local
755 private void initSupportedVideoSize(String cameraId) throws Exception { in initSupportedVideoSize()
800 private boolean allowedUnsupported(int cameraId, int profileId) { in allowedUnsupported()
835 int cameraId = Integer.valueOf(mCamera.getId()); in videoSnapshotTestByCamera() local
DSurfaceViewPreviewTest.java192 private void preparePerformanceTestByCamera(String cameraId) throws Exception { in preparePerformanceTestByCamera()
351 private void surfaceEqualityTestByCamera(String cameraId) throws Exception { in surfaceEqualityTestByCamera()
574 private void surfaceSetTestByCamera(String cameraId) throws Exception { in surfaceSetTestByCamera()
DCameraTestUtils.java703 public static CameraDevice openCamera(CameraManager manager, String cameraId, in openCamera()
735 public static CameraDevice openCamera(CameraManager manager, String cameraId, Handler handler) in openCamera()
1053 public static Size[] getSupportedSizeForFormat(int format, String cameraId, in getSupportedSizeForFormat()
1082 public static Size[] getSupportedSizeForClass(Class klass, String cameraId, in getSupportedSizeForClass()
1124 static public List<Size> getSupportedPreviewSizes(String cameraId, in getSupportedPreviewSizes()
1180 static public List<Size> getSortedSizesForFormat(String cameraId, in getSortedSizesForFormat()
1212 static public List<Size> getSupportedVideoSizes(String cameraId, in getSupportedVideoSizes()
1244 static public List<Size> getSupportedStillSizes(String cameraId, in getSupportedStillSizes()
1249 static public Size getMinPreviewSize(String cameraId, CameraManager cameraManager) in getMinPreviewSize()
1258 static public Size getMaxPreviewSize(String cameraId, CameraManager cameraManager) in getMaxPreviewSize()
[all …]
DBurstCaptureTest.java76 private void yuvBurstTestByCamera(String cameraId) throws Exception { in yuvBurstTestByCamera()
DRobustnessTest.java1188 public MaxStreamSizes(StaticMetadata sm, String cameraId, Context context) { in MaxStreamSizes()
1337 private void testReprocessStreamCombination(String cameraId, int[] reprocessConfig, in testReprocessStreamCombination()
1474 private void testOutputCombination(String cameraId, int[] config, MaxStreamSizes maxSizes) in testOutputCombination()
1606 private static Size getMaxRecordingSize(String cameraId) { in getMaxRecordingSize()
1663 private static Size getMaxPreviewSize(Context context, String cameraId) { in getMaxPreviewSize()
/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/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java221 protected void openCamera(String cameraId) throws Exception { in openCamera()
228 protected void closeCamera(String cameraId) throws Exception { in closeCamera()
234 String cameraId, List<Surface> outputSurfaces, CaptureCallback listener) in startPreview()
241 protected void stopPreview(String cameraId) throws Exception { in stopPreview()
247 protected StaticMetadata getStaticInfo(String cameraId) { in getStaticInfo()
253 protected List<Size> getOrderedPreviewSizes(String cameraId) { in getOrderedPreviewSizes()
330 private CameraHolder getCameraHolder(String cameraId) { in getCameraHolder()
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()
/cts/tests/camera/src/android/hardware/cts/helpers/
DCameraUtils.java39 public static boolean isLegacyHAL(Context context, int cameraId) throws Exception { in isLegacyHAL()
/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/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()
DCameraGLTest.java124 private void initializeMessageLooper(final int cameraId) { in initializeMessageLooper()
299 void run(int cameraId) throws Exception; in run()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockVideoProvider.java60 public void onSetCamera(String cameraId) { in onSetCamera()
133 private void handleCameraChange(String cameraId) { in handleCameraChange()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java66 String cameraId = intent.getStringExtra(EXTRA_CAMERA_ID); in onReceive() local
/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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java449 private ArrayList<VideoSizeNamePair> getVideoSizeNamePairs(int cameraId) { in getVideoSizeNamePairs()
501 private Size findRecordSize(int cameraId) { in findRecordSize()

12