Home
last modified time | relevance | path

Searched refs:cameraInfo (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepository.kt71 val cameraInfo: StateFlow<CameraInfo?> in <lambda>() constant
134 override val cameraInfo: StateFlow<CameraInfo?> = constant
147 val cameraInfo = in <lambda>() constant
152 cameraInfo, in <lambda>()
154 "Update face sensor location to $cameraInfo." in <lambda>()
172 val cameraInfo = in <lambda>() constant
176 currentPhysicalCameraId = cameraInfo?.cameraPhysicalId in <lambda>()
178 cameraInfo, in <lambda>()
180 "Update face sensor location to $cameraInfo." in <lambda>()
204 cameraInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsManagerServiceTest.java396 final ProviderInfo cameraInfo = mContext.mPmInternal.resolveContentProvider( in testCheckAuthorityGrants() local
401 cameraInfo, USER_PRIMARY, true)); in testCheckAuthorityGrants()
403 cameraInfo, USER_SECONDARY, true)); in testCheckAuthorityGrants()
405 cameraInfo, USER_PRIMARY, true)); in testCheckAuthorityGrants()
407 cameraInfo, USER_SECONDARY, true)); in testCheckAuthorityGrants()
413 cameraInfo, USER_PRIMARY, true)); in testCheckAuthorityGrants()
415 cameraInfo, USER_SECONDARY, true)); in testCheckAuthorityGrants()
417 cameraInfo, USER_PRIMARY, true)); in testCheckAuthorityGrants()
419 cameraInfo, USER_SECONDARY, true)); in testCheckAuthorityGrants()
425 cameraInfo, USER_PRIMARY, true)); in testCheckAuthorityGrants()
[all …]
/frameworks/av/camera/tests/fuzzer/
Dcamera_utils_fuzzer.cpp89 CameraInfo cameraInfo; in invokeCameraBase() local
90 cameraInfo.facing = mFDP->ConsumeBool() ? mFDP->PickValueInArray(kValidFacing) in invokeCameraBase()
92 cameraInfo.orientation = mFDP->ConsumeBool() ? mFDP->PickValueInArray(kValidOrientation) in invokeCameraBase()
95 invokeReadWriteParcel<CameraInfo>(&cameraInfo); in invokeCameraBase()
97 invokeNewReadWriteParcel<CameraInfo>(&cameraInfo, *mFDP); in invokeCameraBase()
Dcamera_fuzzer.cpp169 CameraInfo cameraInfo; in invokeCamera() local
170 cameraInfo.facing = mFDP->ConsumeBool() ? mFDP->PickValueInArray(kValidFacing) in invokeCamera()
172 cameraInfo.orientation = mFDP->ConsumeBool() ? mFDP->PickValueInArray(kValidOrientation) in invokeCamera()
175 /*devicePolicy*/0, &cameraInfo); in invokeCamera()
/frameworks/base/media/java/android/media/
DCamcorderProfile.java452 CameraInfo cameraInfo = new CameraInfo(); in get() local
454 Camera.getCameraInfo(i, cameraInfo); in get()
455 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get()
653 CameraInfo cameraInfo = new CameraInfo(); in hasProfile() local
655 Camera.getCameraInfo(i, cameraInfo); in hasProfile()
656 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in hasProfile()
DCameraProfile.java59 CameraInfo cameraInfo = new CameraInfo(); in getJpegEncodingQualityParameter() local
61 Camera.getCameraInfo(i, cameraInfo); in getJpegEncodingQualityParameter()
62 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in getJpegEncodingQualityParameter()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCamera.java296 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); in initCamera() local
299 Camera.getCameraInfo(i, cameraInfo); in initCamera()
300 if (cameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_BACK) { in initCamera()
303 mCameraOrientation = cameraInfo.orientation; in initCamera()
309 Camera.getCameraInfo(0, cameraInfo); in initCamera()
312 mCameraOrientation = cameraInfo.orientation; in initCamera()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepositoryImplTest.kt244 collectLastValue(underTest.cameraInfo) in providesTheCameraInfoOnCameraAvailableChange()
257 val cameraInfo by collectLastValue(underTest.cameraInfo) in providesTheCameraInfoOnCameraAvailableChange() constant
258 assertThat(cameraInfo) in providesTheCameraInfoOnCameraAvailableChange()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java1258 CameraInfo cameraInfo = new CameraInfo(); in updateCameraOrientation() local
1259 Camera.getCameraInfo(camId, cameraInfo); in updateCameraOrientation()
1260 mCamOrientation = cameraInfo.orientation; in updateCameraOrientation()
1262 mActualFacing = (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) in updateCameraOrientation()
1278 CameraInfo cameraInfo = new CameraInfo(); in getCameraId() local
1280 Camera.getCameraInfo(i, cameraInfo); in getCameraId()
1281 if ((cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) == useFrontCam) { in getCameraId()
1680 CameraInfo cameraInfo = new CameraInfo(); in getDefaultFacing() local
1681 Camera.getCameraInfo(0, cameraInfo); in getDefaultFacing()
1682 return (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) in getDefaultFacing()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp534 CameraInfo cameraInfo; in android_hardware_Camera_getCameraInfo() local
542 &cameraInfo); in android_hardware_Camera_getCameraInfo()
547 env->SetIntField(info_obj, fields.facing, cameraInfo.facing); in android_hardware_Camera_getCameraInfo()
548 env->SetIntField(info_obj, fields.orientation, cameraInfo.orientation); in android_hardware_Camera_getCameraInfo()
602 CameraInfo cameraInfo; in android_hardware_Camera_native_setup() local
604 &cameraInfo); in android_hardware_Camera_native_setup()
610 switch (cameraInfo.orientation) { in android_hardware_Camera_native_setup()
614 if (cameraInfo.facing == CAMERA_FACING_FRONT) { in android_hardware_Camera_native_setup()
622 if (cameraInfo.facing != CAMERA_FACING_FRONT) { in android_hardware_Camera_native_setup()
627 ALOGE("Unexpected camera orientation %d!", cameraInfo.orientation); in android_hardware_Camera_native_setup()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/
DFakeFacePropertyRepository.kt43 override val cameraInfo: StateFlow<CameraInfo?> constant in com.android.systemui.biometrics.data.repository.FakeFacePropertyRepository
/frameworks/base/core/java/android/hardware/
DCamera.java309 public static void getCameraInfo(int cameraId, CameraInfo cameraInfo) { in getCameraInfo() argument
312 getCameraInfo(cameraId, context, rotationOverride, cameraInfo); in getCameraInfo()
323 int rotationOverride, CameraInfo cameraInfo) { in getCameraInfo() argument
325 getDevicePolicyFromContext(context), cameraInfo); in getCameraInfo()
332 cameraInfo.canDisableShutterSound = false; in getCameraInfo()
340 int deviceId, int devicePolicy, CameraInfo cameraInfo); in _getCameraInfo() argument
470 CameraInfo cameraInfo = new CameraInfo(); in open() local
472 getCameraInfo(i, cameraInfo); in open()
473 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in open()
/frameworks/av/camera/
DCameraBase.cpp283 struct hardware::CameraInfo* cameraInfo) { in getCameraInfo() argument
287 cameraInfo); in getCameraInfo()
/frameworks/av/camera/include/camera/
DCameraBase.h141 struct hardware::CameraInfo* cameraInfo);
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp100 int32_t getDeviceId(const android::CameraMetadata& cameraInfo) { in getDeviceId() argument
101 if (!cameraInfo.exists(ANDROID_INFO_DEVICE_ID)) { in getDeviceId()
105 const auto &deviceIdEntry = cameraInfo.find(ANDROID_INFO_DEVICE_ID); in getDeviceId()
364 CameraMetadata cameraInfo; in filterAPI1SystemCameraLocked() local
366 cameraId, false, &cameraInfo, in filterAPI1SystemCameraLocked()
373 deviceId = getDeviceId(cameraInfo); in filterAPI1SystemCameraLocked()
762 CameraMetadata cameraInfo; in isAutomotiveExteriorSystemCamera() local
764 cam_id, false, &cameraInfo, hardware::ICameraService::ROTATION_OVERRIDE_NONE); in isAutomotiveExteriorSystemCamera()
771 camera_metadata_entry auto_location = cameraInfo.find(ANDROID_AUTOMOTIVE_LOCATION); in isAutomotiveExteriorSystemCamera()
1209 int32_t devicePolicy, CameraInfo* cameraInfo) { in getCameraInfo() argument
[all …]
DCameraService.h161 int32_t deviceId, int32_t devicePolicy, hardware::CameraInfo* cameraInfo) override;
164 int32_t devicePolicy, CameraMetadata* cameraInfo) override;
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp241 CameraInfo cameraInfo; in getCameraInformation() local
243 /*devicePolicy*/0, &cameraInfo); in getCameraInformation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DSystemUIDeviceEntryFaceAuthInteractor.kt199 facePropertyRepository.cameraInfo in <lambda>()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java1353 AndroidCharacteristics2(CameraCharacteristics cameraInfo) { in AndroidCharacteristics2() argument
1354 mCameraInfo = cameraInfo; in AndroidCharacteristics2()
DAndroidCameraAgentImpl.java202 AndroidCharacteristics(Camera.CameraInfo cameraInfo) { in AndroidCharacteristics() argument
203 mCameraInfo = cameraInfo; in AndroidCharacteristics()