Lines Matching refs:chars
53 inline void operator()(ACameraMetadata* chars) const { ACameraMetadata_free(chars); } in operator ()()
690 explicit StaticInfo(ACameraMetadata* chars) : mChars(chars) {} in StaticInfo() argument
954 ACameraMetadata* chars; in getCameraChars() local
956 mCameraManager, mCameraIdList->cameraIds[idx], &chars); in getCameraChars()
961 return chars; in getCameraChars()
970 ACameraMetadata* chars; in getCameraChars() local
971 camera_status_t ret = ACameraManager_getCameraCharacteristics(mCameraManager, id, &chars); in getCameraChars()
976 return chars; in getCameraChars()
1743 ACameraMetadata* chars = nullptr; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative() local
1756 mgr, cameraIdList->cameraIds[i], &chars); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1764 ret = ACameraMetadata_getAllTags(chars, &numTags, &tags); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1781 ret = ACameraMetadata_getConstEntry(chars, ACAMERA_REQUEST_AVAILABLE_CAPABILITIES, &entry); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1814 copy = ACameraMetadata_copy(chars); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1835 ret = ACameraMetadata_getConstEntry(chars, badTag, &entry); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1841 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1843 chars = nullptr; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1849 if (chars) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1850 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1944 ACameraMetadata* chars = nullptr; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative() local
1962 ret = ACameraManager_getCameraCharacteristics(mgr, cameraId, &chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
1963 if (ret != ACAMERA_OK || chars == nullptr) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
1965 cameraId, ret, chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
1968 StaticInfo staticInfo(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2142 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2143 chars = nullptr; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2156 if (chars) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2157 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2201 ACameraMetadata* chars = testCase.getCameraChars(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative() local
2202 StaticInfo staticInfo(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
2206 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
2209 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
2350 ACameraMetadata* chars = testCase.getCameraChars(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate() local
2351 StaticInfo staticInfo(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
2355 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
2358 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
2608 ACameraMetadata* chars = testCase.getCameraChars(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative() local
2609 StaticInfo staticInfo(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
2613 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
2616 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
2695 ACameraMetadata* chars = nullptr; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative() local
2718 mgr, cameraId, &chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2724 StaticInfo staticInfo(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2726 ret = ACameraMetadata_getConstEntry(chars, ACAMERA_REQUEST_AVAILABLE_SESSION_KEYS, in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2730 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2731 chars = nullptr; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2794 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2795 chars = nullptr; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2806 if (chars) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2807 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2826 ACameraMetadata* chars = nullptr; in nativeCameraDeviceLogicalPhysicalStreaming() local
2853 if (chars != nullptr) { in nativeCameraDeviceLogicalPhysicalStreaming()
2854 ACameraMetadata_free(chars); in nativeCameraDeviceLogicalPhysicalStreaming()
2855 chars = nullptr; in nativeCameraDeviceLogicalPhysicalStreaming()
2857 chars = testCase.getCameraChars(i); in nativeCameraDeviceLogicalPhysicalStreaming()
2858 if (chars == nullptr) { in nativeCameraDeviceLogicalPhysicalStreaming()
2866 chars, &physicalCameraCnt, &physicalCameraIds)) { in nativeCameraDeviceLogicalPhysicalStreaming()
2900 chars, ACAMERA_REQUEST_AVAILABLE_PHYSICAL_CAMERA_REQUEST_KEYS, &entry); in nativeCameraDeviceLogicalPhysicalStreaming()
3083 if (chars) { in nativeCameraDeviceLogicalPhysicalStreaming()
3084 ACameraMetadata_free(chars); in nativeCameraDeviceLogicalPhysicalStreaming()
3120 ACameraMetadata* chars = nullptr; in nativeImageReaderTestBase() local
3148 ACameraMetadata* chars = testCase.getCameraChars(cameraId); in nativeImageReaderTestBase() local
3149 StaticInfo staticInfo(chars); in nativeImageReaderTestBase()
3153 ACameraMetadata_free(chars); in nativeImageReaderTestBase()
3156 ACameraMetadata_free(chars); in nativeImageReaderTestBase()
3165 chars = testCase.getCameraChars(i); in nativeImageReaderTestBase()
3166 if (chars == nullptr) { in nativeImageReaderTestBase()
3170 StaticInfo staticInfo(chars); in nativeImageReaderTestBase()
3194 ACameraMetadata_free(chars); in nativeImageReaderTestBase()
3195 chars = nullptr; in nativeImageReaderTestBase()
3359 if (chars != nullptr) { in nativeImageReaderTestBase()
3360 ACameraMetadata_free(chars); in nativeImageReaderTestBase()
3361 chars = nullptr; in nativeImageReaderTestBase()
3408 std::unique_ptr<ACameraMetadata> chars(testCase.getCameraChars(i)); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCaptureFailureNative() local
3409 if (chars.get() == nullptr) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCaptureFailureNative()
3413 StaticInfo staticInfo(chars.get()); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCaptureFailureNative()
3714 ACameraMetadata* chars = nullptr; in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative() local
3739 ACameraMetadata* chars = testCase.getCameraChars(cameraId); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative() local
3740 StaticInfo staticInfo(chars); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3744 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3747 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3756 chars = testCase.getCameraChars(i); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3757 if (chars == nullptr) { in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3761 StaticInfo staticInfo(chars); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3884 if (chars != nullptr) { in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3885 ACameraMetadata_free(chars); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3886 chars = nullptr; in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()