Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DCamcorderProfile.java385 CameraInfo cameraInfo = new CameraInfo(); in get() local
387 Camera.getCameraInfo(i, cameraInfo); in get()
388 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get()
484 CameraInfo cameraInfo = new CameraInfo(); in hasProfile() local
486 Camera.getCameraInfo(i, cameraInfo); in hasProfile()
487 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/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsManagerServiceTest.java352 final ProviderInfo cameraInfo = mContext.mPmInternal.resolveContentProvider( in testCheckAuthorityGrants() local
357 cameraInfo, USER_PRIMARY, true)); in testCheckAuthorityGrants()
359 cameraInfo, USER_SECONDARY, true)); in testCheckAuthorityGrants()
361 cameraInfo, USER_PRIMARY, true)); in testCheckAuthorityGrants()
363 cameraInfo, USER_SECONDARY, true)); in testCheckAuthorityGrants()
369 cameraInfo, USER_PRIMARY, true)); in testCheckAuthorityGrants()
371 cameraInfo, USER_SECONDARY, true)); in testCheckAuthorityGrants()
373 cameraInfo, USER_PRIMARY, true)); in testCheckAuthorityGrants()
375 cameraInfo, USER_SECONDARY, true)); in testCheckAuthorityGrants()
381 cameraInfo, USER_PRIMARY, true)); in testCheckAuthorityGrants()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp535 CameraInfo cameraInfo; in android_hardware_Camera_getCameraInfo() local
542 status_t rc = Camera::getCameraInfo(cameraId, &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()
608 CameraInfo cameraInfo; in android_hardware_Camera_native_setup() local
609 status_t rc = Camera::getCameraInfo(cameraId, &cameraInfo); in android_hardware_Camera_native_setup()
615 switch (cameraInfo.orientation) { in android_hardware_Camera_native_setup()
619 if (cameraInfo.facing == CAMERA_FACING_FRONT) { in android_hardware_Camera_native_setup()
627 if (cameraInfo.facing != CAMERA_FACING_FRONT) { in android_hardware_Camera_native_setup()
632 ALOGE("Unexpected camera orientation %d!", cameraInfo.orientation); in android_hardware_Camera_native_setup()
/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/av/camera/
DCameraBase.cpp268 struct hardware::CameraInfo* cameraInfo) { in getCameraInfo() argument
271 binder::Status res = cs->getCameraInfo(cameraId, cameraInfo); in getCameraInfo()
/frameworks/av/camera/include/camera/
DCameraBase.h125 struct hardware::CameraInfo* cameraInfo);
/frameworks/base/core/java/android/hardware/
DCamera.java296 public static void getCameraInfo(int cameraId, CameraInfo cameraInfo) { in getCameraInfo() argument
297 _getCameraInfo(cameraId, cameraInfo); in getCameraInfo()
304 cameraInfo.canDisableShutterSound = false; in getCameraInfo()
310 private native static void _getCameraInfo(int cameraId, CameraInfo cameraInfo); in _getCameraInfo() argument
416 CameraInfo cameraInfo = new CameraInfo(); in open() local
418 getCameraInfo(i, cameraInfo); in open()
419 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in open()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp599 CameraInfo* cameraInfo) { in getCameraInfo() argument
626 cameraIdStr.c_str(), cameraInfo); in getCameraInfo()
659 CameraMetadata* cameraInfo) { in getCameraCharacteristics() argument
661 if (!cameraInfo) { in getCameraCharacteristics()
680 String8(cameraId).string(), cameraInfo); in getCameraCharacteristics()
701 res = cameraInfo->removePermissionEntries( in getCameraCharacteristics()
705 cameraInfo->clear(); in getCameraCharacteristics()
713 res = cameraInfo->update(ANDROID_REQUEST_CHARACTERISTIC_KEYS_NEEDING_PERMISSION, in getCameraCharacteristics()
716 cameraInfo->clear(); in getCameraCharacteristics()
DCameraService.h120 hardware::CameraInfo* cameraInfo);
122 CameraMetadata* cameraInfo);
/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()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...