/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 236 protected void openCamera(String cameraId) throws Exception { in openCamera() 243 protected void closeCamera(String cameraId) throws Exception { in closeCamera() 248 protected void createSessionWithConfigs(String cameraId, List<OutputConfiguration> configs) in createSessionWithConfigs() 255 String cameraId, List<Surface> outputSurfaces, CaptureCallback listener) in startPreview() 262 protected int startPreviewWithConfigs(String cameraId, in startPreviewWithConfigs() 271 protected void stopPreview(String cameraId) throws Exception { in stopPreview() 277 protected void stopRepeating(String cameraId) throws Exception { in stopRepeating() 283 protected void finalizeOutputConfigs(String cameraId, List<OutputConfiguration> configs, in finalizeOutputConfigs() 290 protected int updateRepeatingRequest(String cameraId, List<OutputConfiguration> configs, in updateRepeatingRequest() 297 protected void updateOutputConfiguration(String cameraId, OutputConfiguration config) in updateOutputConfiguration() [all …]
|
D | Camera2AndroidTestCase.java | 226 protected void openDevice(String cameraId) throws Exception { in openDevice() 236 protected void openDevice(String cameraId, BlockingStateCallback listener) throws Exception { in openDevice() 287 protected void closeDevice(String cameraId) { in closeDevice() 302 protected void closeDevice(String cameraId, BlockingStateCallback listener) { in closeDevice()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | FlashlightTest.java | 271 private boolean hasFlash(String cameraId) { in hasFlash() 276 private void resetTorchModeStatus(String cameraId) throws Exception { in resetTorchModeStatus() 353 public TorchCallbackListener(String cameraId) { in TorchCallbackListener() 370 public void onTorchModeUnavailable(String cameraId) { in onTorchModeUnavailable() 382 public void onTorchModeChanged(String cameraId, boolean enabled) { in onTorchModeChanged()
|
D | IdleUidTest.java | 99 String cameraId, Handler handler) throws Exception { in testCameraAccessForIdleUidByCamera() 118 String cameraId, boolean hasAccess, Handler handler) { in assertCameraAccess() 156 String cameraId, Handler handler) throws Exception { in testCameraAccessBecomingInactiveUidByCamera()
|
D | MultiViewTest.java | 291 private void testSharedSurfaceBasicByCamera(String cameraId) throws Exception { in testSharedSurfaceBasicByCamera() 433 private void testSharedSurfaceImageReaderSwitch(String cameraId, int switchCount) in testSharedSurfaceImageReaderSwitch() 545 private void testSharedSurfaceYUVImageReaderSwitch(String cameraId, int switchCount, int format, in testSharedSurfaceYUVImageReaderSwitch() 654 private void testSharedSurfaceLimitByCamera(String cameraId, int surfaceLimit) in testSharedSurfaceLimitByCamera() 771 private void testSharedSurfaceSwitchByCamera(String cameraId, int switchCount) in testSharedSurfaceSwitchByCamera() 1070 String cameraId, List<TextureView> views, ImageReader imageReader) in startTextureViewPreview() 1112 String cameraId, List<TextureView> views, ImageReader testImagerReader) in textureViewPreview() 1125 private void testSharedSurfacesConfigByCamera(String cameraId) throws Exception { in testSharedSurfacesConfigByCamera() 1201 private void testSharedSurfacesCaptureSessionByCamera(String cameraId) throws Exception { in testSharedSurfacesCaptureSessionByCamera() 1243 private void testSharedDeferredSurfacesByCamera(String cameraId) throws Exception { in testSharedDeferredSurfacesByCamera()
|
D | ReprocessCaptureTest.java | 510 private void testBasicReprocessing(String cameraId, int inputFormat, in testBasicReprocessing() 526 private void testReprocessingMaxSizes(String cameraId, int inputFormat, in testReprocessingMaxSizes() 561 private void testReprocessingAllCombinations(String cameraId, Size previewSize, in testReprocessingAllCombinations() 630 private void testReprocessMixedBurst(String cameraId, Size inputSize, int inputFormat, in testReprocessMixedBurst() 702 private void testReprocessBurst(String cameraId, Size inputSize, int inputFormat, in testReprocessBurst() 761 private void testReprocess(String cameraId, Size inputSize, int inputFormat, in testReprocess() 825 private void testReprocessAbort(String cameraId, Size inputSize, int inputFormat, in testReprocessAbort() 915 private void testReprocessTimestamps(String cameraId, Size inputSize, int inputFormat, in testReprocessTimestamps() 989 private void testReprocessJpegExif(String cameraId, Size inputSize, int inputFormat, in testReprocessJpegExif() 1056 private void testReprocessRequestKeys(String cameraId, Size inputSize, int inputFormat, in testReprocessRequestKeys() [all …]
|
D | CameraManagerTest.java | 303 String cameraId = ids[i]; in testCameraManagerOpenAllCameras() local 424 private static CameraDevice verifyCameraStateOpened(String cameraId, in verifyCameraStateOpened() 510 public void onCameraAvailable(String cameraId) { in onCameraAvailable() 515 public void onCameraUnavailable(String cameraId) { in onCameraUnavailable()
|
D | StaticMetadataTest.java | 543 private float getFpsForMaxSize(String cameraId) throws Exception { in getFpsForMaxSize() 563 private void initStaticMetadata(String cameraId) throws Exception { in initStaticMetadata()
|
D | SurfaceViewPreviewTest.java | 204 private void preparePerformanceTestByCamera(String cameraId) throws Exception { in preparePerformanceTestByCamera() 369 private void surfaceEqualityTestByCamera(String cameraId) throws Exception { in surfaceEqualityTestByCamera() 466 private void testDeferredSurfacesByCamera(String cameraId) throws Exception { in testDeferredSurfacesByCamera() 825 private void surfaceSetTestByCamera(String cameraId) throws Exception { in surfaceSetTestByCamera()
|
D | ExtendedCameraCharacteristicsTest.java | 308 int cameraId = Integer.valueOf(mAllCameraIds[i]); in testAvailableStreamConfigs() local 497 private void verifyRecommendedPreviewConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedPreviewConfiguration() 510 private void verifyRecommendedVideoConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedVideoConfiguration() 587 private void verifyRecommendedSnapshotConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedSnapshotConfiguration() 606 private void verifyRecommendedVideoSnapshotConfiguration(String cameraId, in verifyRecommendedVideoSnapshotConfiguration() 631 private void verifyRecommendedRawConfiguration(String cameraId, in verifyRecommendedRawConfiguration() 654 private void verifyRecommendedZSLConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedZSLConfiguration() 753 private void verifyRecommendedLowLatencyConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedLowLatencyConfiguration() 1989 int cameraId = Integer.valueOf(mAllCameraIds[i]); in testConstrainedHighSpeedCapability() local
|
D | RecordingTest.java | 504 int cameraId = Integer.valueOf(mCamera.getId()); in testRecordingFramerateLowToHigh() local 974 int cameraId = Integer.valueOf(mCamera.getId()); in basicRecordingTestByCamera() local 1132 private void initSupportedVideoSize(String cameraId) throws Exception { in initSupportedVideoSize() 1185 private boolean allowedUnsupported(int cameraId, int profileId) { in allowedUnsupported() 1220 int cameraId = Integer.valueOf(mCamera.getId()); in videoSnapshotTestByCamera() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | SelectableResolution.java | 23 public final int cameraId; field in SelectableResolution 30 public SelectableResolution(int cameraId, int width, int height) { in SelectableResolution()
|
D | PhotoCaptureActivity.java | 385 final int cameraId = mPreviewSizeCamerasToProcess.remove(0); in showNextDialogToChoosePreviewSize() local 555 int cameraId, android.hardware.Camera camera) { in calculateOrientations() 578 private boolean isExternalCamera(int cameraId) { in isExternalCamera()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | Camera2PermissionTest.java | 143 public void onCameraAvailable(String cameraId) { in onCameraAvailable() 147 public void onCameraUnavailable(String cameraId) { in onCameraUnavailable() 151 private void openCamera(String cameraId) throws Exception { in openCamera()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | CamcorderProfileTest.java | 72 private CamcorderProfile getWithOptionalId(int quality, int cameraId) { in getWithOptionalId() 195 int cameraId, in checkSpecificProfiles() 245 private void checkGet(int cameraId) { in checkGet() 358 private List<Size> getSupportedVideoSizes(int cameraId) { in getSupportedVideoSizes()
|
/cts/tests/camera/utils/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 39 public static boolean isLegacyHAL(Context context, int cameraId) throws Exception { in isLegacyHAL() 69 public static boolean isExternal(Context context, int cameraId) throws Exception { in isExternal()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 151 private void initializeMessageLooper(final int cameraId) throws IOException { in initializeMessageLooper() 464 private void testPreviewCallbackByCamera(int cameraId) throws Exception { in testPreviewCallbackByCamera() 519 private void testStabilizationOneShotPreviewCallbackByCamera(int cameraId) throws Exception { in testStabilizationOneShotPreviewCallbackByCamera() 545 private void testSetOneShotPreviewCallbackByCamera(int cameraId) throws Exception { in testSetOneShotPreviewCallbackByCamera() 569 private void testSetPreviewDisplayByCamera(int cameraId) throws Exception { in testSetPreviewDisplayByCamera() 613 private void testDisplayOrientationByCamera(int cameraId) throws Exception { in testDisplayOrientationByCamera() 652 private void testParametersByCamera(int cameraId) throws Exception { in testParametersByCamera() 1243 private void testLockUnlockByCamera(int cameraId) throws Exception { in testLockUnlockByCamera() 1436 private void testPreviewCallbackWithBufferByCamera(int cameraId) throws Exception { in testPreviewCallbackWithBufferByCamera() 2002 private void testPreviewPictureSizesCombinationByCamera(int cameraId) throws Exception { in testPreviewPictureSizesCombinationByCamera() [all …]
|
D | CameraTestCase.java | 50 protected void initializeMessageLooper(final int cameraId) throws InterruptedException { in initializeMessageLooper()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsTestActivity.java | 112 public final String cameraId; field in ItsTestActivity.ResultKey 115 public ResultKey(String cameraId, String sceneId) { in ResultKey() 168 String cameraId = intent.getStringExtra(EXTRA_CAMERA_ID); in onReceive() local
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CameraUtils.java | 44 String cameraId = cameraIdList[0]; in blockUntilOpenCamera() local
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | MockVideoProvider.java | 59 public void onSetCamera(String cameraId) { in onSetCamera() 132 private void handleCameraChange(String cameraId) { in handleCameraChange()
|
/cts/tests/camera/api25test/src/android/camera/cts/api25test/ |
D | EnableZslTest.java | 127 private void testEnableZslValueByCamera(String cameraId) throws Exception { in testEnableZslValueByCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 724 public static CameraDevice openCamera(CameraManager manager, String cameraId, in openCamera() 756 public static CameraDevice openCamera(CameraManager manager, String cameraId, Handler handler) in openCamera() 1173 public static Size[] getSupportedSizeForFormat(int format, String cameraId, in getSupportedSizeForFormat() 1202 public static Size[] getSupportedSizeForClass(Class klass, String cameraId, in getSupportedSizeForClass() 1244 static public List<Size> getSupportedPreviewSizes(String cameraId, in getSupportedPreviewSizes() 1300 static public List<Size> getSortedSizesForFormat(String cameraId, in getSortedSizesForFormat() 1332 static public List<Size> getSupportedVideoSizes(String cameraId, in getSupportedVideoSizes() 1364 static public List<Size> getSupportedStillSizes(String cameraId, in getSupportedStillSizes() 1369 static public List<Size> getSupportedHeicSizes(String cameraId, in getSupportedHeicSizes() 1374 static public Size getMinPreviewSize(String cameraId, CameraManager cameraManager) in getMinPreviewSize() [all …]
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 58 static void onAvailable(void* obj, const char* cameraId) { in onAvailable() 70 static void onUnavailable(void* obj, const char* cameraId) { in onUnavailable() 117 bool isAvailable(const char* cameraId) { in isAvailable() 989 camera_status_t openCamera(const char* cameraId) { in openCamera() 1004 bool isCameraAvailable(const char* cameraId) { in isCameraAvailable() 1886 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() local 1950 const char* cameraId = cameraIdList->cameraIds[i]; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative() local 2194 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative() local 2343 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate() local 2601 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative() local [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 583 private ArrayList<VideoSizeNamePair> getVideoSizeNamePairs(int cameraId) { in getVideoSizeNamePairs() 661 private Size findRecordSize(int cameraId) { in findRecordSize() 964 private boolean isExternalCamera(int cameraId) { in isExternalCamera()
|