Home
last modified time | relevance | path

Searched refs:CameraSessionStats (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/hardware/
DCameraSessionStats.java31 public class CameraSessionStats implements Parcelable { class
64 public CameraSessionStats() { in CameraSessionStats() method in CameraSessionStats
78 public CameraSessionStats(String cameraId, int facing, int newCameraState, in CameraSessionStats() method in CameraSessionStats
93 public static final @android.annotation.NonNull Parcelable.Creator<CameraSessionStats> CREATOR =
94 new Parcelable.Creator<CameraSessionStats>() {
96 public CameraSessionStats createFromParcel(Parcel in) {
97 return new CameraSessionStats(in);
101 public CameraSessionStats[] newArray(int size) {
102 return new CameraSessionStats[size];
106 private CameraSessionStats(Parcel in) { in CameraSessionStats() method in CameraSessionStats
/frameworks/av/camera/
DCameraSessionStats.cpp208 const int CameraSessionStats::CAMERA_STATE_OPEN = 0;
209 const int CameraSessionStats::CAMERA_STATE_ACTIVE = 1;
210 const int CameraSessionStats::CAMERA_STATE_IDLE = 2;
211 const int CameraSessionStats::CAMERA_STATE_CLOSED = 3;
213 const int CameraSessionStats::CAMERA_FACING_BACK = 0;
214 const int CameraSessionStats::CAMERA_FACING_FRONT = 1;
215 const int CameraSessionStats::CAMERA_FACING_EXTERNAL = 2;
217 const int CameraSessionStats::CAMERA_API_LEVEL_1 = 1;
218 const int CameraSessionStats::CAMERA_API_LEVEL_2 = 2;
220 CameraSessionStats::CameraSessionStats() : in CameraSessionStats() function in android::hardware::CameraSessionStats
[all …]
DAndroid.bp69 "CameraSessionStats.cpp",
/frameworks/av/services/camera/libcameraservice/utils/
DCameraServiceProxyWrapper.cpp30 using hardware::CameraSessionStats;
52 mSessionStats.mNewCameraState = CameraSessionStats::CAMERA_STATE_CLOSED; in onClose()
72 mSessionStats.mNewCameraState = CameraSessionStats::CAMERA_STATE_ACTIVE; in onActive()
85 mSessionStats.mNewCameraState = CameraSessionStats::CAMERA_STATE_IDLE; in onIdle()
138 void CameraServiceProxyWrapper::updateProxyDeviceState(const CameraSessionStats& sessionStats) { in updateProxyDeviceState()
218 int apiLevel = CameraSessionStats::CAMERA_API_LEVEL_1; in logOpen()
220 apiLevel = CameraSessionStats::CAMERA_API_LEVEL_2; in logOpen()
224 CameraSessionStats::CAMERA_STATE_OPEN, clientPackageName, in logOpen()
DCameraServiceProxyWrapper.h40 hardware::CameraSessionStats mSessionStats;
66 const hardware::CameraSessionStats& sessionStats);
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java33 import android.hardware.CameraSessionStats;
431 public void notifyCameraState(CameraSessionStats cameraState) {
626 case CameraSessionStats.CAMERA_FACING_BACK: in logCameraUsageEvent()
629 case CameraSessionStats.CAMERA_FACING_FRONT: in logCameraUsageEvent()
632 case CameraSessionStats.CAMERA_FACING_EXTERNAL: in logCameraUsageEvent()
851 private void updateActivityCount(CameraSessionStats cameraState) { in updateActivityCount()
869 case CameraSessionStats.CAMERA_STATE_OPEN: in updateActivityCount()
878 String facingStr = (facing == CameraSessionStats.CAMERA_FACING_BACK) ? in updateActivityCount()
889 case CameraSessionStats.CAMERA_STATE_ACTIVE: in updateActivityCount()
920 case CameraSessionStats.CAMERA_STATE_IDLE: in updateActivityCount()
[all …]
/frameworks/av/camera/aidl/android/hardware/
DICameraServiceProxy.aidl19 import android.hardware.CameraSessionStats;
37 oneway void notifyCameraState(in CameraSessionStats cameraSessionStats); in notifyCameraState()
DCameraSessionStats.aidl20 parcelable CameraSessionStats cpp_header "camera/CameraSessionStats.h";
/frameworks/av/camera/include/camera/
DCameraSessionStats.h83 class CameraSessionStats : public android::Parcelable {
127 CameraSessionStats();
128 CameraSessionStats(const String16& cameraId, int facing, int newCameraState,
/frameworks/base/services/
Dart-profile14679 …meraState(Landroid/hardware/CameraSessionStats;)V+]Landroid/hardware/CameraSessionStats;Landroid/h…
14723 …->access$1900(Lcom/android/server/camera/CameraServiceProxy;Landroid/hardware/CameraSessionStats;)V
14744CameraSessionStats;)V+]Ljava/lang/StringBuilder;Ljava/lang/StringBuilder;]Landroid/util/ArrayMap;L…
/frameworks/base/boot/
Dboot-image-profile.txt25075 Landroid/hardware/CameraSessionStats$1;
25076 Landroid/hardware/CameraSessionStats;
/frameworks/base/config/
Dboot-image-profile.txt34712 Landroid/hardware/CameraSessionStats$1;
34713 Landroid/hardware/CameraSessionStats;