/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2ConcurrentAndroidTestCase.java | 74 public CameraTestInfo(String cameraId, StaticMetadata staticInfo, in CameraTestInfo() 196 protected void startCapture(String cameraId, CaptureRequest request, boolean repeating, in startCapture() 214 protected void stopCapture(String cameraId, boolean fast) throws Exception { in stopCapture() 240 protected void openDevice(String cameraId) throws Exception { in openDevice() 252 protected void openDevice(String cameraId, BlockingStateCallback listener) throws Exception { in openDevice() 270 protected void createSessionByConfigs(String cameraId, in createSessionByConfigs() 290 protected void closeDevice(String cameraId) { in closeDevice() 307 protected void closeDevice(String cameraId, BlockingStateCallback listener) { in closeDevice()
|
D | Camera2MultiViewTestCase.java | 234 protected void openCamera(String cameraId) throws Exception { in openCamera() 241 protected void closeCamera(String cameraId) throws Exception { in closeCamera() 246 protected void createSessionWithConfigs(String cameraId, List<OutputConfiguration> configs) in createSessionWithConfigs() 253 String cameraId, List<Surface> outputSurfaces, CaptureCallback listener) in startPreview() 260 protected int startPreviewWithConfigs(String cameraId, in startPreviewWithConfigs() 269 protected void stopPreview(String cameraId) throws Exception { in stopPreview() 275 protected void stopRepeating(String cameraId) throws Exception { in stopRepeating() 281 protected void finalizeOutputConfigs(String cameraId, List<OutputConfiguration> configs, in finalizeOutputConfigs() 288 protected int updateRepeatingRequest(String cameraId, List<OutputConfiguration> configs, in updateRepeatingRequest() 295 protected void updateOutputConfiguration(String cameraId, OutputConfiguration config) in updateOutputConfiguration() [all …]
|
D | Camera2AndroidTestCase.java | 250 protected void openDevice(String cameraId) throws Exception { in openDevice() 260 protected void openDevice(String cameraId, BlockingStateCallback listener) throws Exception { in openDevice() 270 protected void openDevice(String cameraId, boolean overrideToPortrait) throws Exception { in openDevice() 281 protected void openDevice(String cameraId, boolean overrideToPortrait, in openDevice() 360 protected void closeDevice(String cameraId) { in closeDevice() 375 protected void closeDevice(String cameraId, BlockingStateCallback listener) { in closeDevice()
|
D | Camera2AndroidTestRule.java | 356 public void openDevice(String cameraId) throws Exception { in openDevice() 366 public void openDevice(String cameraId, BlockingStateCallback listener) throws Exception { in openDevice() 417 public void closeDevice(String cameraId) { in closeDevice() 432 public void closeDevice(String cameraId, BlockingStateCallback listener) { in closeDevice()
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/util/ |
D | NativeCameraManager.java | 54 public int getDeviceId(String cameraId) { in getDeviceId() 73 void onCameraAvailable(String cameraId); in onCameraAvailable() 79 void onCameraUnavailable(String cameraId); in onCameraUnavailable() 85 private static native int getDeviceId(long ptr, String cameraId); in getDeviceId()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | FlashlightTest.java | 410 private boolean hasFlash(String cameraId) { in hasFlash() 415 private void resetTorchModeStatus(String cameraId) throws Exception { in resetTorchModeStatus() 499 public TorchCallbackListener(String cameraId) { in TorchCallbackListener() 516 public void onTorchModeUnavailable(String cameraId) { in onTorchModeUnavailable() 528 public void onTorchStrengthLevelChanged(String cameraId, int newStrengthLevel) { in onTorchStrengthLevelChanged() 539 public void onTorchModeChanged(String cameraId, boolean enabled) { in onTorchModeChanged()
|
D | ConcurrentCameraTest.java | 71 public String cameraId; field in ConcurrentCameraTest.TestSample 79 public TestSample(String cameraId, StaticMetadata staticInfo, in TestSample() 92 public String cameraId; field in ConcurrentCameraTest.GeneratedEntry 97 GeneratedEntry(String cameraId, boolean substituteY8, in GeneratedEntry() 150 String cameraId = cameraIds.toArray(new String[1])[0]; in generateStreamSelectionsInternal() local 204 List<GeneratedEntry> getGeneratedEntriesFor(String cameraId) { in getGeneratedEntriesFor()
|
D | IdleUidTest.java | 99 private void testCameraAccessForIdleUidByCamera(String cameraId, Handler handler) in testCameraAccessForIdleUidByCamera() 119 String cameraId, boolean hasAccess, Handler handler) { in assertCameraAccess() 156 private void testCameraAccessBecomingInactiveUidByCamera(String cameraId, Handler handler) in testCameraAccessBecomingInactiveUidByCamera()
|
D | MultiViewTest.java | 309 private void testSharedSurfaceBasicByCamera(String cameraId) throws Exception { in testSharedSurfaceBasicByCamera() 451 private void testSharedSurfaceImageReaderSwitch(String cameraId, int switchCount) in testSharedSurfaceImageReaderSwitch() 563 private void testSharedSurfaceYUVImageReaderSwitch(String cameraId, int switchCount, int format, in testSharedSurfaceYUVImageReaderSwitch() 672 private void testSharedSurfaceLimitByCamera(String cameraId, int surfaceLimit) in testSharedSurfaceLimitByCamera() 789 private void testSharedSurfaceSwitchByCamera(String cameraId, int switchCount) in testSharedSurfaceSwitchByCamera() 1172 private float[] textureViewPreviewWithMirroring(String cameraId, in textureViewPreviewWithMirroring() 1210 String cameraId, List<TextureView> views, ImageReader imageReader) in startTextureViewPreview() 1252 String cameraId, List<TextureView> views, ImageReader testImagerReader) in textureViewPreview() 1265 private void testSharedSurfacesConfigByCamera(String cameraId) throws Exception { in testSharedSurfacesConfigByCamera() 1345 private void testSharedSurfacesCaptureSessionByCamera(String cameraId) throws Exception { in testSharedSurfacesCaptureSessionByCamera() [all …]
|
D | ReprocessCaptureTest.java | 579 private void testBasicReprocessing(String cameraId, int inputFormat, in testBasicReprocessing() 595 private void testReprocessingMaxSizes(String cameraId, int inputFormat, in testReprocessingMaxSizes() 630 private void testReprocessingAllCombinations(String cameraId, Size previewSize, in testReprocessingAllCombinations() 699 private void testReprocessMixedBurst(String cameraId, Size inputSize, int inputFormat, in testReprocessMixedBurst() 771 private void testReprocessBurst(String cameraId, Size inputSize, int inputFormat, in testReprocessBurst() 830 private void testReprocess(String cameraId, Size inputSize, int inputFormat, in testReprocess() 894 private void testReprocessAbort(String cameraId, Size inputSize, int inputFormat, in testReprocessAbort() 992 private void testReprocessTimestamps(String cameraId, Size inputSize, int inputFormat, in testReprocessTimestamps() 1066 private void testReprocessJpegExif(String cameraId, Size inputSize, int inputFormat, in testReprocessJpegExif() 1133 private void testReprocessRequestKeys(String cameraId, Size inputSize, int inputFormat, in testReprocessRequestKeys() [all …]
|
D | CameraExtensionCharacteristicsTest.java | 120 private void openDevice(String cameraId) throws Exception { in openDevice() 122 mTestRule.getCameraManager(), cameraId, in openDevice() local 130 private <T> void verifySupportedExtension(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedExtension() 138 private <T> void verifySupportedSizes(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedSizes() 157 private void verifySupportedSizes(CameraExtensionCharacteristics chars, String cameraId, in verifySupportedSizes()
|
D | Camera2OfflineTestActivity.java | 79 String cameraId = bundledExtras.getString(OFFLINE_CAMERA_ID); in onResume() 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 | 399 final int cameraId = mPreviewSizeCamerasToProcess.remove(0); in showNextDialogToChoosePreviewSize() local 617 int cameraId, android.hardware.Camera camera) { in calculateOrientations() 632 private boolean isExternalCamera(int cameraId) { in isExternalCamera() 651 private float getCameraFov(int cameraId) { in getCameraFov()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | Camera2Activity.java | 168 public void onCameraAvailable(String cameraId) { in onCameraAvailable() 176 public void onCameraUnavailable(String cameraId) { in onCameraUnavailable() 194 public void onPhysicalCameraAvailable(String cameraId, String physicalCameraId) { in onPhysicalCameraAvailable() 202 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) { in onPhysicalCameraUnavailable()
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraCaptureTest.java | 156 String cameraId = getVirtualCameraId(virtualCamera); in virtualCamera_inputBuffer_doesntBlock() local 186 String cameraId = getVirtualCameraId(virtualCamera); in virtualCamera_captureImage_succeeds() local 208 String cameraId = getVirtualCameraId(virtualCamera); in virtualCamera_captureWithNoInput_capturesBlackImage() local 232 String cameraId = getVirtualCameraId(virtualCamera); in virtualCamera_captureDownscaled_succeeds() local 253 String cameraId = getVirtualCameraId(virtualCamera); in virtualCamera_renderFromMediaCodec() local 302 private Image captureImage(String cameraId, ImageReader reader, in captureImage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 601 public CameraDevice openCamera(String cameraId, boolean overrideToPortrait, in openCamera() 617 OpenListener(CameraManager manager, String cameraId, boolean overrideToPortrait, in OpenListener() 626 public void openCameraDevice(String cameraId, JSONObject cmdObj) throws ItsException { in openCameraDevice() 974 String cameraId = cmdObj.getString("cameraId"); in processSocketCommand() local 1009 String cameraId = cmdObj.getString("cameraId"); in processSocketCommand() local 1016 String cameraId = cmdObj.getString("cameraId"); in processSocketCommand() local 1019 String cameraId = cmdObj.getString("cameraId"); in processSocketCommand() local 1022 String cameraId = cmdObj.getString("cameraId"); in processSocketCommand() local 1025 String cameraId = cmdObj.getString("cameraId"); in processSocketCommand() local 1032 String cameraId = cmdObj.getString("cameraId"); in processSocketCommand() local [all …]
|
D | PreviewRecorder.java | 155 PreviewRecorder(int cameraId, Size previewSize, int maxFps, int sensorOrientation, in PreviewRecorder() 197 private void initPreviewRecorder(int cameraId, String outputFile, in initPreviewRecorder() 252 private void setupMediaRecorder(int cameraId, String outputFile, Context context) in setupMediaRecorder() 277 private void setupMediaCodec(int cameraId, String outputFilePath, Context context) in setupMediaCodec()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | CamcorderProfileTest.java | 111 private CamcorderProfile getWithOptionalId(int quality, int cameraId) { in getWithOptionalId() 367 int cameraId, in checkSpecificProfiles() 417 private void checkGet(int cameraId) { in checkGet() 603 int cameraId, String mediaType, int camHdrFormat, List<Integer> mediaHdrProfiles) { in checkHdrProfile()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 159 private void initializeMessageLooper(final int cameraId) throws IOException { in initializeMessageLooper() 177 private void initializeMessageLooper(final int cameraId, final ErrorCallback errorCallback, in initializeMessageLooper() 510 private void testPreviewCallbackByCamera(int cameraId) throws Exception { in testPreviewCallbackByCamera() 557 private void testStabilizationOneShotPreviewCallbackByCamera(int cameraId) throws Exception { in testStabilizationOneShotPreviewCallbackByCamera() 582 private void testSetOneShotPreviewCallbackByCamera(int cameraId) throws Exception { in testSetOneShotPreviewCallbackByCamera() 605 private void testSetPreviewDisplayByCamera(int cameraId) throws Exception { in testSetPreviewDisplayByCamera() 648 private void testDisplayOrientationByCamera(int cameraId) throws Exception { in testDisplayOrientationByCamera() 686 private void testParametersByCamera(int cameraId) throws Exception { in testParametersByCamera() 1274 private void testLockUnlockByCamera(int cameraId) throws Exception { in testLockUnlockByCamera() 1460 private void testPreviewCallbackWithBufferByCamera(int cameraId) throws Exception { in testPreviewCallbackWithBufferByCamera() [all …]
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/util/jni/ |
D | android_virtualdevice_cts_camera_util_NativeCameraManager.cc | 119 void invokeCallback(const std::string& cameraId, const bool available) const { in invokeCallback() argument 134 static void onCameraAvailableCallback(void* availabilityCallbackProxy, const char* cameraId) { in onCameraAvailableCallback() 139 static void onCameraUnavailableCallback(void* availabilityCallbackProxy, const char* cameraId) { in onCameraUnavailableCallback() 239 jint getDeviceId(JNIEnv* env, jclass, jlong cameraManagerPtr, jstring cameraId) { in getDeviceId()
|
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
D | StreamedAppBehaviorTest.java | 79 private int accessCameraFromActivity(Activity activity, String cameraId) { in accessCameraFromActivity()
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | CameraUtils.java | 43 String cameraId = cameraIdList[0]; in blockUntilOpenCamera() local
|
/cts/tests/camera/utils/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 65 public static boolean isLegacyHAL(Context context, int cameraId) throws Exception { in isLegacyHAL() 175 public static boolean isExternal(Context context, int cameraId) throws Exception { in isExternal()
|
/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()
|