/frameworks/base/media/java/android/media/ |
D | CamcorderProfile.java | 327 CameraInfo cameraInfo = new CameraInfo(); in get() local 329 Camera.getCameraInfo(i, cameraInfo); in get() 330 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get() 426 CameraInfo cameraInfo = new CameraInfo(); in hasProfile() local 428 Camera.getCameraInfo(i, cameraInfo); in hasProfile() 429 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in hasProfile()
|
D | CameraProfile.java | 59 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/core/java/com/android/server/ |
D | PinnerService.java | 134 ApplicationInfo cameraInfo = getCameraInfo(UserHandle.USER_SYSTEM); in update() local 135 if (cameraInfo != null && updatedPackages.contains(cameraInfo.packageName)) { in update() 187 ApplicationInfo cameraInfo = getCameraInfo(userHandle); in alreadyPinned() local 188 if (cameraInfo == null ) { in alreadyPinned() 192 if (mPinnedCameraFiles.get(i).mFilename.equals(cameraInfo.sourceDir)) { in alreadyPinned() 246 ApplicationInfo cameraInfo = getCameraInfo(userHandle); in pinCamera() local 247 if (cameraInfo == null) { in pinCamera() 257 String camAPK = cameraInfo.sourceDir; in pinCamera() 270 if (cameraInfo.primaryCpuAbi != null in pinCamera() 271 && VMRuntime.is64BitAbi(cameraInfo.primaryCpuAbi)) { in pinCamera() [all …]
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 531 CameraInfo cameraInfo; in android_hardware_Camera_getCameraInfo() local 538 status_t rc = Camera::getCameraInfo(cameraId, &cameraInfo); in android_hardware_Camera_getCameraInfo() 543 env->SetIntField(info_obj, fields.facing, cameraInfo.facing); in android_hardware_Camera_getCameraInfo() 544 env->SetIntField(info_obj, fields.orientation, cameraInfo.orientation); in android_hardware_Camera_getCameraInfo() 604 CameraInfo cameraInfo; in android_hardware_Camera_native_setup() local 605 status_t rc = Camera::getCameraInfo(cameraId, &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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 1258 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/ |
D | CameraBase.cpp | 253 struct hardware::CameraInfo* cameraInfo) { in getCameraInfo() argument 256 binder::Status res = cs->getCameraInfo(cameraId, cameraInfo); in getCameraInfo()
|
/frameworks/av/camera/include/camera/ |
D | CameraBase.h | 119 struct hardware::CameraInfo* cameraInfo);
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 253 public static void getCameraInfo(int cameraId, CameraInfo cameraInfo) { in getCameraInfo() argument 254 _getCameraInfo(cameraId, cameraInfo); in getCameraInfo() 261 cameraInfo.canDisableShutterSound = false; in getCameraInfo() 267 private native static void _getCameraInfo(int cameraId, CameraInfo cameraInfo); in _getCameraInfo() argument 370 CameraInfo cameraInfo = new CameraInfo(); in open() local 372 getCameraInfo(i, cameraInfo); in open() 373 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in open()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 109 hardware::CameraInfo* cameraInfo); 111 CameraMetadata* cameraInfo);
|
D | CameraService.cpp | 452 CameraInfo* cameraInfo) { in getCameraInfo() argument 467 status_t err = mCameraProviderManager->getCameraInfo(std::to_string(cameraId), cameraInfo); in getCameraInfo() 487 CameraMetadata* cameraInfo) { in getCameraCharacteristics() argument 489 if (!cameraInfo) { in getCameraCharacteristics() 503 String8(cameraId).string(), cameraInfo); in getCameraCharacteristics()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2AgentImpl.java | 1353 AndroidCharacteristics2(CameraCharacteristics cameraInfo) { in AndroidCharacteristics2() argument 1354 mCameraInfo = cameraInfo; in AndroidCharacteristics2()
|
D | AndroidCameraAgentImpl.java | 202 AndroidCharacteristics(Camera.CameraInfo cameraInfo) { in AndroidCharacteristics() argument 203 mCameraInfo = cameraInfo; in AndroidCharacteristics()
|