Home
last modified time | relevance | path

Searched refs:getCameraInfo (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DCameraManagerTest.java61 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontFacingOnlyGetInfo()
63 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontFacingOnlyGetInfo()
73 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testBackFacingOnlyGetInfo()
75 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testBackFacingOnlyGetInfo()
86 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontAndBackGetInfo()
88 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testFrontAndBackGetInfo()
97 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testSwapCamera()
99 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testSwapCamera()
DMockCameraFactory.java41 public static void getCameraInfo(Camera camera, CameraInfo outCameraInfo) { in getCameraInfo() method in MockCameraFactory
60 getCameraInfo( in createCameraWrapper()
66 }).when(wrapper).getCameraInfo(Mockito.anyInt(), Mockito.any(CameraInfo.class)); in createCameraWrapper()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java84 void getCameraInfo(int index, CameraInfo cameraInfo); in getCameraInfo() method
132 public void getCameraInfo(final int index, final CameraInfo cameraInfo) {
133 Camera.getCameraInfo(index, cameraInfo);
223 sCameraWrapper.getCameraInfo(i, cameraInfo); in CameraManager()
321 sCameraWrapper.getCameraInfo(i, cameraInfo); in selectCamera()
324 sCameraWrapper.getCameraInfo(i, mCameraInfo); in selectCamera()
333 sCameraWrapper.getCameraInfo(0, mCameraInfo); in selectCamera()
361 sCameraWrapper.getCameraInfo(mCameraIndex, mCameraInfo); in selectCameraByIndex()
374 CameraInfo getCameraInfo() { in getCameraInfo() method in CameraManager
DCameraMediaChooser.java424 final Camera.CameraInfo cameraInfo = CameraManager.get().getCameraInfo(); in updateViewState()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java159 Camera.getCameraInfo(i, cameraInfo); in CameraManager()
255 Camera.getCameraInfo(i, cameraInfo); in selectCamera()
258 Camera.getCameraInfo(i, this.cameraInfo); in selectCamera()
267 Camera.getCameraInfo(0, this.cameraInfo); in selectCamera()
295 Camera.getCameraInfo(this.cameraIndex, cameraInfo); in selectCameraByIndex()
312 public CameraInfo getCameraInfo() { in getCameraInfo() method in CameraManager
/packages/services/Car/cpp/evs/sampleDriver/
DEvsEnumerator.cpp128 sConfigManager->getCameraInfo(devpath); in EvsUeventThread()
303 sConfigManager->getCameraInfo(cameraId)); in openCamera()
325 pCamera->getCameraInfo([&cameraId](CameraDesc_1_0 desc) { in closeCamera()
428 sConfigManager->getCameraInfo(key); in getCameraList_1_1()
498 sConfigManager->getCameraInfo(cameraId), in openCamera_1_1()
DConfigManager.h202 unique_ptr<CameraInfo>& getCameraInfo(const string cameraId) noexcept { in getCameraInfo() function
DEvsV4lCamera.h60 Return<void> getCameraInfo(getCameraInfo_cb _hidl_cb) override;
/packages/services/Car/cpp/evs/manager/1.0/
DVirtualCamera.cpp106 Return<void> VirtualCamera::getCameraInfo(getCameraInfo_cb info_cb) { in getCameraInfo() function in android::automotive::evs::V1_0::implementation::VirtualCamera
108 return mHalCamera->getHwCamera()->getCameraInfo(info_cb); in getCameraInfo()
DVirtualCamera.h60 Return<void> getCameraInfo(getCameraInfo_cb _hidl_cb) override;
DEnumerator.cpp74 cam->getHwCamera()->getCameraInfo([cameraId, &match](CameraDesc desc) { in openCamera()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraHolder.java102 android.hardware.Camera.getCameraInfo(i, mInfo[i]); in CameraHolder()
116 public CameraInfo[] getCameraInfo() { in getCameraInfo() method in CameraHolder
DUtil.java342 Camera.getCameraInfo(cameraId, info); in getDisplayOrientation()
355 Camera.getCameraInfo(cameraId, info); in getCameraOrientation()
623 CameraInfo info = CameraHolder.instance().getCameraInfo()[cameraId]; in setRotationParameter()
DVideoCamera.java489 mCameraId, CameraHolder.instance().getCameraInfo()); in loadCameraPreferences()
1250 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in initializeRecorder()
1281 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in initializeEffectsPreview()
1659 CameraInfo[] info = CameraHolder.instance().getCameraInfo(); in showAlert()
DCamera.java385 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in initializeFirstTime()
532 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in startFaceDetection()
1254 mCameraId, CameraHolder.instance().getCameraInfo()); in loadCameraPreferences()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java294 Camera.getCameraInfo(i, cameraInfo); in initCamera()
304 Camera.getCameraInfo(0, cameraInfo); in initCamera()
/packages/apps/Gallery2/src/com/android/camera/
DDisableCameraReceiver.java65 android.hardware.Camera.getCameraInfo(i, info); in hasBackCamera()
/packages/apps/Camera2/src/com/android/camera/
DSetActivitiesCameraReceiver.java68 android.hardware.Camera.getCameraInfo(i, info); in hasBackCamera()
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DMockHWCamera.h32 Return<void> getCameraInfo(getCameraInfo_cb _hidl_cb) override { return {}; } in getCameraInfo() function
DVirtualCameraFuzzer.cpp119 virtualCamera->getCameraInfo([](CameraDesc_1_0 desc) {}); in LLVMFuzzerTestOneInput()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraManagerImpl.java62 Camera.getCameraInfo(i, cameraInfos[i]); in instance()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.h67 Return<void> getCameraInfo(getCameraInfo_cb _hidl_cb) override;
/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.h81 Return<void> getCameraInfo(getCameraInfo_cb _hidl_cb) override;
DVirtualCamera.cpp234 Return<void> VirtualCamera::getCameraInfo(getCameraInfo_cb info_cb) { in getCameraInfo() function in android::automotive::evs::V1_1::implementation::VirtualCamera
245 return halCamera->getHwCamera()->getCameraInfo(info_cb); in getCameraInfo()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCameraComposerFragment.java180 cameraDirection = CameraManager.get().getCameraInfo().facing; in onClick()

12