/frameworks/av/services/camera/libcameraservice/utils/ |
D | CameraServiceProxyWrapper.h | 43 CameraSessionStatsWrapper(const String16& cameraId, int facing, int newCameraState, in CameraSessionStatsWrapper() 45 mSessionStats(cameraId, facing, newCameraState, clientName, apiLevel, isNdk, latencyMs) in CameraSessionStatsWrapper() 73 static void logOpen(const String8& id, int facing,
|
D | CameraServiceProxyWrapper.cpp | 212 void CameraServiceProxyWrapper::logOpen(const String8& id, int facing, in logOpen() argument 229 sessionStats = std::make_shared<CameraSessionStatsWrapper>(String16(id), facing, in logOpen() 237 __FUNCTION__, id.c_str(), facing, effectiveApiLevel, isNdk, latencyMs); in logOpen()
|
/frameworks/base/core/java/android/hardware/ |
D | CameraInfo.java | 39 out.writeInt(info.facing); in writeToParcel() 44 info.facing = in.readInt(); in readFromParcel()
|
D | CameraSessionStats.java | 83 public CameraSessionStats(String cameraId, int facing, int newCameraState, in CameraSessionStats() argument 87 mFacing = facing; in CameraSessionStats()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | FlashlightControllerImplTest.kt | 111 injectCamera(facing = CameraCharacteristics.LENS_FACING_FRONT) in testNoCallbackIfNoBackCamera() 133 facing: Int = CameraCharacteristics.LENS_FACING_BACK in injectCamera() 138 set(CameraCharacteristics.LENS_FACING, facing) in injectCamera()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 249 CameraUsageEvent(String cameraId, int facing, String clientName, int apiLevel, in CameraUsageEvent() argument 252 mCameraFacing = facing; in CameraUsageEvent() 797 int facing = FrameworkStatsLog.CAMERA_ACTION_EVENT__FACING__UNKNOWN; in logCameraUsageEvent() local 800 facing = FrameworkStatsLog.CAMERA_ACTION_EVENT__FACING__BACK; in logCameraUsageEvent() 803 facing = FrameworkStatsLog.CAMERA_ACTION_EVENT__FACING__FRONT; in logCameraUsageEvent() 806 facing = FrameworkStatsLog.CAMERA_ACTION_EVENT__FACING__EXTERNAL; in logCameraUsageEvent() 822 + ", facing " + facing in logCameraUsageEvent() 882 e.mAPILevel, e.mClientName, facing, e.mCameraId, e.mAction, e.mIsNdk, in logCameraUsageEvent() 1066 int facing = cameraState.getFacing(); in updateActivityCount() local 1092 String facingStr = (facing == CameraSessionStats.CAMERA_FACING_BACK) ? in updateActivityCount() [all …]
|
/frameworks/av/camera/ |
D | CameraSessionStats.cpp | 271 int facing, int newCameraState, const String16& clientName, in CameraSessionStats() argument 274 mFacing(facing), in CameraSessionStats() 302 int facing = 0; in readFromParcel() local 303 if ((err = parcel->readInt32(&facing)) != OK) { in readFromParcel() 393 mFacing = facing; in readFromParcel()
|
D | CameraBase.cpp | 46 res = parcel->writeInt32(facing); in writeToParcel() 54 res = parcel->readInt32(&facing); in readFromParcel()
|
/frameworks/base/core/java/android/app/time/ |
D | OWNERS | 2 # The app-facing APIs related to both time and time zone detection.
|
/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/media/java/android/media/ |
D | CamcorderProfile.java | 455 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get() 656 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in hasProfile()
|
D | CameraProfile.java | 62 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in getJpegEncodingQualityParameter()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraBinderTest.java | 90 assertTrue("Facing was not set for camera " + cameraId, info.info.facing != -1); in testCameraInfo() 94 Log.v(TAG, "Camera " + cameraId + " info: facing " + info.info.facing in testCameraInfo()
|
/frameworks/av/camera/include/camera/ |
D | CameraSessionStats.h | 144 CameraSessionStats(const String16& cameraId, int facing, int newCameraState,
|
D | CameraBase.h | 47 int facing; member
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 46 jfieldID facing; member 546 env->SetIntField(info_obj, fields.facing, cameraInfo.facing); in android_hardware_Camera_getCameraInfo() 610 if (cameraInfo.facing == CAMERA_FACING_FRONT) { in android_hardware_Camera_native_setup() 618 if (cameraInfo.facing != CAMERA_FACING_FRONT) { in android_hardware_Camera_native_setup() 1116 { "android/hardware/Camera$CameraInfo", "facing", "I", &fields.facing }, in register_android_hardware_Camera()
|
/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/ |
D | CameraService.cpp | 342 int facing = -1; in filterSPerfClassCharacteristicsLocked() local 347 /*out*/&facing, /*out*/&orientation); in filterSPerfClassCharacteristicsLocked() 348 if (facing == -1) { in filterSPerfClassCharacteristicsLocked() 353 if ((facing == hardware::CAMERA_FACING_BACK && !firstRearCameraSeen) || in filterSPerfClassCharacteristicsLocked() 354 (facing == hardware::CAMERA_FACING_FRONT && !firstFrontCameraSeen)) { in filterSPerfClassCharacteristicsLocked() 364 if (facing == hardware::CAMERA_FACING_BACK) { in filterSPerfClassCharacteristicsLocked() 367 if (facing == hardware::CAMERA_FACING_FRONT) { in filterSPerfClassCharacteristicsLocked() 901 bool overrideToPortrait, int* portraitRotation, int* facing, int* orientation) { in getDeviceVersion() argument 919 if (facing) { in getDeviceVersion() 925 *facing = info.facing; in getDeviceVersion() [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()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 2027 info.facing == hardware::CAMERA_FACING_BACK ? "Back" : "Front"); in dump() 2308 camera_metadata_ro_entry facing = in getCameraInfo() local 2310 if (facing.count == 1) { in getCameraInfo() 2311 switch (facing.data.u8[0]) { in getCameraInfo() 2313 info->facing = hardware::CAMERA_FACING_BACK; in getCameraInfo() 2318 info->facing = hardware::CAMERA_FACING_FRONT; in getCameraInfo() 2337 if (info->facing == hardware::CAMERA_FACING_FRONT) { in getCameraInfo() 2787 idCombos[info.facing].insert(combo.begin(), combo.end()); in filterLogicalCameraIdsLocked()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
D | QrCamera.java | 288 if (cameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_BACK) { in initCamera()
|