/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 138 public CameraUsageEvent(int facing, String clientName, int apiLevel) { in CameraUsageEvent() argument 139 mCameraFacing = facing; in CameraUsageEvent() 204 public void notifyCameraState(String cameraId, int newCameraState, int facing, 212 String facingStr = cameraFacingToString(facing); 216 updateActivityCount(cameraId, newCameraState, facing, clientName, apiLevel); 423 private void updateActivityCount(String cameraId, int newCameraState, int facing, in updateActivityCount() argument 438 String facingStr = (facing == ICameraServiceProxy.CAMERA_FACING_BACK) ? in updateActivityCount() 463 CameraUsageEvent newEvent = new CameraUsageEvent(facing, clientName, apiLevel); in updateActivityCount()
|
/frameworks/base/core/java/android/hardware/ |
D | CameraInfo.java | 39 out.writeInt(info.facing); in writeToParcel() 44 info.facing = in.readInt(); in readFromParcel()
|
D | Camera.java | 334 public int facing; field in Camera.CameraInfo 419 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in open()
|
/frameworks/base/media/java/android/media/ |
D | CamcorderProfile.java | 399 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get() 498 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in hasProfile()
|
D | CameraProfile.java | 62 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in getJpegEncodingQualityParameter()
|
/frameworks/av/camera/aidl/android/hardware/ |
D | ICameraServiceProxy.aidl | 57 oneway void notifyCameraState(String cameraId, int facing, int newCameraState, in notifyCameraState() argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 1038 public synchronized void setFacing(int facing) { in setFacing() argument 1039 if (facing != mRequestedFacing) { in setFacing() 1040 switch (facing) { in setFacing() 1044 mRequestedFacing = facing; in setFacing() 1047 throw new IllegalArgumentException("Unknown facing value '" + facing in setFacing() 1262 mActualFacing = (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) in updateCameraOrientation() 1281 if ((cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) == useFrontCam) { in getCameraId() 1609 public void setFacing(int facing) { in setFacing() argument 1610 mCameraRunner.setFacing(facing); in setFacing() 1682 return (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) in getDefaultFacing()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | GLThreadManager.java | 140 public GLThreadManager(int cameraId, int facing, CameraDeviceState state) { in GLThreadManager() argument 141 mTextureRenderer = new SurfaceTextureRenderer(facing); in GLThreadManager()
|
D | RequestThreadManager.java | 393 int facing = mCharacteristics.get(CameraCharacteristics.LENS_FACING); in configureOutputs() local 401 LegacyCameraDevice.setSurfaceOrientation(s, facing, orientation); in configureOutputs() 506 mGLThreadManager = new GLThreadManager(mCameraId, facing, mDeviceState); in configureOutputs() 519 LegacyCameraDevice.setSurfaceOrientation(p, facing, orientation); in configureOutputs()
|
D | LegacyCameraDevice.java | 813 static void setSurfaceOrientation(Surface surface, int facing, int sensorOrientation) in setSurfaceOrientation() argument 816 LegacyExceptionUtils.throwOnError(nativeSetSurfaceOrientation(surface, facing, in setSurfaceOrientation() 862 private static native int nativeSetSurfaceOrientation(Surface surface, int facing, in nativeSetSurfaceOrientation() argument
|
D | SurfaceTextureRenderer.java | 177 public SurfaceTextureRenderer(int facing) { in SurfaceTextureRenderer() argument 178 mFacing = facing; in SurfaceTextureRenderer()
|
/frameworks/av/camera/ |
D | CameraBase.cpp | 44 res = parcel->writeInt32(facing); in writeToParcel() 52 res = parcel->readInt32(&facing); in readFromParcel()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraBinderTest.java | 89 assertTrue("Facing was not set for camera " + cameraId, info.info.facing != -1); in testCameraInfo() 93 Log.v(TAG, "Camera " + cameraId + " info: facing " + info.info.facing in testCameraInfo()
|
/frameworks/av/camera/include/camera/ |
D | CameraBase.h | 47 int facing; member
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 46 jfieldID facing; member 547 env->SetIntField(info_obj, fields.facing, cameraInfo.facing); in android_hardware_Camera_getCameraInfo() 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() 1134 { "android/hardware/Camera$CameraInfo", "facing", "I", &fields.facing }, in register_android_hardware_Camera()
|
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 699 jobject surface, jint facing, jint orientation) { in LegacyCameraDevice_nativeSetSurfaceOrientation() argument 711 uint8_t facingVal = static_cast<uint8_t>(facing); in LegacyCameraDevice_nativeSetSurfaceOrientation()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 618 int CameraService::getDeviceVersion(const String8& cameraId, int* facing) { in getDeviceVersion() argument 631 if (facing) { in getDeviceVersion() 634 *facing = info.facing; in getDeviceVersion() 659 int api1CameraId, int facing, int clientPid, uid_t clientUid, int servicePid, in makeClient() argument 671 api1CameraId, facing, clientPid, clientUid, in makeClient() 690 facing, clientPid, clientUid, in makeClient() 696 facing, clientPid, clientUid, servicePid); in makeClient() 714 api1CameraId, facing, clientPid, clientUid, in makeClient() 1480 int facing = -1; in connectHelper() local 1481 int deviceVersion = getDeviceVersion(cameraId, /*out*/&facing); in connectHelper() [all …]
|
D | CameraService.h | 209 int facing, 215 int getDeviceVersion(const String8& cameraId, int* facing = NULL); 956 int api1CameraId, int facing, int clientPid, uid_t clientUid, int servicePid,
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GetBitmapSurfaceViewActivity.java | 118 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in setCameraDisplayOrientation()
|
D | TextureViewActivity.java | 122 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) break; in getCameraOrientation()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 1489 info.facing == hardware::CAMERA_FACING_BACK ? "Back" : "Front"); in dump() 1894 switch(cInfo.facing) { in cacheCameraInfo() 1896 mInfo.facing = hardware::CAMERA_FACING_BACK; in cacheCameraInfo() 1901 mInfo.facing = hardware::CAMERA_FACING_FRONT; in cacheCameraInfo() 1905 __FUNCTION__, mId.c_str(), cInfo.facing); in cacheCameraInfo() 1906 mInfo.facing = hardware::CAMERA_FACING_BACK; in cacheCameraInfo() 2067 camera_metadata_ro_entry facing = in getCameraInfo() local 2069 if (facing.count == 1) { in getCameraInfo() 2070 switch (facing.data.u8[0]) { in getCameraInfo() 2072 info->facing = hardware::CAMERA_FACING_BACK; in getCameraInfo() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCameraAgentImpl.java | 162 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_BACK) { in create() 165 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in create() 208 return mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_BACK; in isFacingBack() 213 return mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_FRONT; in isFacingFront()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 2118 Integer facing = getValueFromKeyNonNull(key); in getLensFacingChecked() local 2120 if (facing == null) { in getLensFacingChecked() 2125 facing >= CameraCharacteristics.LENS_FACING_FRONT && in getLensFacingChecked() 2126 facing <= CameraCharacteristics.LENS_FACING_BACK); in getLensFacingChecked() 2127 return facing; in getLensFacingChecked()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraOps.java | 112 int facing = info.get(CameraCharacteristics.LENS_FACING); in resume() local 152 if (facing == CameraCharacteristics.LENS_FACING_BACK && in resume()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraOps.java | 107 int facing = info.get(CameraCharacteristics.LENS_FACING); in resume() local 166 if (facing == CameraCharacteristics.LENS_FACING_BACK && in resume()
|