Home
last modified time | relevance | path

Searched refs:CameraInfo (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/core/java/android/hardware/
DCameraInfo.java27 public class CameraInfo implements Parcelable { class
30 public Camera.CameraInfo info = new Camera.CameraInfo();
48 public static final @android.annotation.NonNull Parcelable.Creator<CameraInfo> CREATOR =
49 new Parcelable.Creator<CameraInfo>() {
51 public CameraInfo createFromParcel(Parcel in) {
52 CameraInfo info = new CameraInfo();
59 public CameraInfo[] newArray(int size) {
60 return new CameraInfo[size];
DCamera.java309 public static void getCameraInfo(int cameraId, CameraInfo cameraInfo) { in getCameraInfo()
323 int rotationOverride, CameraInfo cameraInfo) { in getCameraInfo()
340 int deviceId, int devicePolicy, CameraInfo cameraInfo); in _getCameraInfo()
360 public static class CameraInfo { class in Camera
470 CameraInfo cameraInfo = new CameraInfo(); in open()
473 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in open()
/frameworks/base/media/java/android/media/
DCameraProfile.java20 import android.hardware.Camera.CameraInfo;
59 CameraInfo cameraInfo = new CameraInfo(); in getJpegEncodingQualityParameter()
62 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in getJpegEncodingQualityParameter()
DCamcorderProfile.java27 import android.hardware.Camera.CameraInfo;
452 CameraInfo cameraInfo = new CameraInfo(); in get()
455 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get()
653 CameraInfo cameraInfo = new CameraInfo(); in hasProfile()
656 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in hasProfile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepository.kt71 val cameraInfo: StateFlow<CameraInfo?> in <lambda>()
80 data class CameraInfo( dataClass
131 private val cameraInfoList: List<CameraInfo> = loadCameraInfoList()
134 override val cameraInfo: StateFlow<CameraInfo?> =
279 private fun loadCameraInfoList(): List<CameraInfo> { in loadCameraInfoList()
280 val list = mutableListOf<CameraInfo>() in loadCameraInfoList()
308 ): CameraInfo? { in loadCameraInfo()
321 return CameraInfo(cameraId, physicalCameraId, location) in loadCameraInfo()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/
DFakeFacePropertyRepository.kt42 private val currentCameraInfo = MutableStateFlow<CameraInfo?>(null)
43 override val cameraInfo: StateFlow<CameraInfo?>
63 fun setCameraIno(value: CameraInfo?) { in setCameraIno()
/frameworks/av/camera/include/camera/
DCameraBase.h42 struct CameraInfo : public android::Parcelable { struct
110 using hardware::CameraInfo;
141 struct hardware::CameraInfo* cameraInfo);
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DGetBitmapSurfaceViewActivity.java97 android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo(); in setCameraDisplayOrientation()
118 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in setCameraDisplayOrientation()
DTextureViewActivity.java119 Camera.CameraInfo info = new Camera.CameraInfo(); in getCameraOrientation()
122 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) break; in getCameraOrientation()
/frameworks/av/camera/tests/fuzzer/
Dcamera_utils_fuzzer.cpp89 CameraInfo cameraInfo; in invokeCameraBase()
95 invokeReadWriteParcel<CameraInfo>(&cameraInfo); in invokeCameraBase()
97 invokeNewReadWriteParcel<CameraInfo>(&cameraInfo, *mFDP); in invokeCameraBase()
Dcamera_fuzzer.cpp169 CameraInfo cameraInfo; in invokeCamera()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DFlashNotificationsControllerTest.java104 private final Map<String, CameraInfo> mCameraInfoMap = new HashMap<>();
133 CameraInfo info = mCameraInfoMap.getOrDefault(cameraId,
134 new CameraInfo(false));
179 mCameraInfoMap.put(id, new CameraInfo( in setUp()
447 for (CameraInfo info : mCameraInfoMap.values()) { in getCameraFlashedCount()
496 private static class CameraInfo { class in FlashNotificationsControllerTest
501 CameraInfo(boolean isValid) { in CameraInfo() method in FlashNotificationsControllerTest.CameraInfo
/frameworks/av/camera/aidl/android/hardware/
DCameraInfo.aidl20 parcelable CameraInfo cpp_header "camera/CameraBase.h";
DICameraService.aidl32 import android.hardware.CameraInfo;
107 CameraInfo getCameraInfo(int cameraId, int rotationOverride, int deviceId, in getCameraInfo()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java129 private final Camera.CameraInfo[] mCameraInfos;
134 private AndroidCameraDeviceInfo(Camera.CameraInfo[] info, int numberOfCameras, in AndroidCameraDeviceInfo()
145 Camera.CameraInfo[] cameraInfos; in create()
148 cameraInfos = new Camera.CameraInfo[numberOfCameras]; in create()
150 cameraInfos[i] = new Camera.CameraInfo(); in create()
162 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_BACK) { in create()
165 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in create()
176 Camera.CameraInfo info = mCameraInfos[cameraId]; in getCharacteristics()
200 private Camera.CameraInfo mCameraInfo;
202 AndroidCharacteristics(Camera.CameraInfo cameraInfo) { in AndroidCharacteristics()
[all …]
/frameworks/av/camera/
DCameraBase.cpp45 status_t CameraInfo::writeToParcel(android::Parcel* parcel) const { in writeToParcel()
53 status_t CameraInfo::readFromParcel(const android::Parcel* parcel) { in readFromParcel()
283 struct hardware::CameraInfo* cameraInfo) { in getCameraInfo()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java22 import android.hardware.Camera.CameraInfo;
1258 CameraInfo cameraInfo = new CameraInfo(); in updateCameraOrientation()
1262 mActualFacing = (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) in updateCameraOrientation()
1278 CameraInfo cameraInfo = new CameraInfo(); in getCameraId()
1281 if ((cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) == useFrontCam) { in getCameraId()
1680 CameraInfo cameraInfo = new CameraInfo(); in getDefaultFacing()
1682 return (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) in getDefaultFacing()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCamera.java296 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); in initCamera()
300 if (cameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_BACK) { in initCamera()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java22 import android.hardware.CameraInfo;
91 CameraInfo info = mUtils.getCameraService().getCameraInfo(cameraId, in testCameraInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryFaceAuthInteractorTest.kt28 import com.android.systemui.biometrics.data.repository.CameraInfo
507 facePropertyRepository.setCameraIno(CameraInfo("0", "1", null)) in faceAuthIsRequestedWhenAuthIsRunningWhileCameraInfoChanged()
520 facePropertyRepository.setCameraIno(CameraInfo("0", "1", null)) in faceAuthIsNotRequestedWhenNoAuthRunningWhileCameraInfoChanged()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h296 hardware::CameraInfo* info) const;
604 hardware::CameraInfo mInfo;
633 hardware::CameraInfo *info) const = 0;
713 hardware::CameraInfo *info) const override;
DCameraProviderManager.cpp409 hardware::CameraInfo* info) const { in getCameraInfo()
2476 hardware::CameraInfo info; in dump()
2770 hardware::CameraInfo *info) const { in getCameraInfo()
3255 hardware::CameraInfo info; in filterLogicalCameraIdsLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepositoryImplTest.kt260 CameraInfo( in providesTheCameraInfoOnCameraAvailableChange()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp534 CameraInfo cameraInfo; in android_hardware_Camera_getCameraInfo()
602 CameraInfo cameraInfo; in android_hardware_Camera_native_setup()
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp241 CameraInfo cameraInfo; in getCameraInformation()

12