/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/ |
D | Sensor.cpp | 41 const nsecs_t Sensor::kExposureTimeRange[2] = {1000L, 43 const nsecs_t Sensor::kFrameDurationRange[2] = { 46 const nsecs_t Sensor::kMinVerticalBlank = 10000L; 48 const uint8_t Sensor::kColorFilterArrangement = 52 const uint32_t Sensor::kMaxRawValue = 4000; 53 const uint32_t Sensor::kBlackLevel = 1000; 56 const float Sensor::kSaturationVoltage = 0.520f; 57 const uint32_t Sensor::kSaturationElectrons = 2000; 58 const float Sensor::kVoltsPerLuxSecond = 0.100f; 60 const float Sensor::kElectronsPerLuxSecond = Sensor::kSaturationElectrons / [all …]
|
D | Sensor.h | 89 class Sensor : private Thread, public virtual RefBase { 93 Sensor(uint32_t width, uint32_t height); 94 ~Sensor();
|
/device/generic/goldfish/camera/fake-pipeline2/ |
D | Sensor.cpp | 43 const nsecs_t Sensor::kExposureTimeRange[2] = 45 const nsecs_t Sensor::kFrameDurationRange[2] = 48 const nsecs_t Sensor::kMinVerticalBlank = 10000L; 50 const uint8_t Sensor::kColorFilterArrangement = 54 const uint32_t Sensor::kMaxRawValue = 4000; 55 const uint32_t Sensor::kBlackLevel = 1000; 58 const float Sensor::kSaturationVoltage = 0.520f; 59 const uint32_t Sensor::kSaturationElectrons = 2000; 60 const float Sensor::kVoltsPerLuxSecond = 0.100f; 62 const float Sensor::kElectronsPerLuxSecond = [all …]
|
D | Sensor.h | 89 class Sensor: private Thread, public virtual RefBase { 94 Sensor(uint32_t width, uint32_t height); 95 ~Sensor();
|
/device/google/contexthub/firmware/os/core/ |
D | sensors.c | 32 static struct Sensor mSensors[MAX_REGISTERED_SENSORS]; 64 struct Sensor* sensorFindByHandle(uint32_t handle) in sensorFindByHandle() 93 struct Sensor *s; in sensorRegisterEx() 146 struct Sensor *s = sensorFindByHandle(handle); in sensorRegisterInitComplete() 159 struct Sensor *s = sensorFindByHandle(handle); in sensorUnregister() 189 static bool sensorCallFuncPower(struct Sensor* s, bool on) in sensorCallFuncPower() 212 static bool sensorCallAsOwner(struct Sensor* s, bool (*callback)(void*)) in sensorCallAsOwner() 217 static bool sensorCallFuncFwUpld(struct Sensor* s) in sensorCallFuncFwUpld() 230 static bool sensorCallFuncSetRate(struct Sensor* s, uint32_t rate, uint64_t latency) in sensorCallFuncSetRate() 252 static bool sensorCallFuncCalibrate(struct Sensor* s) in sensorCallFuncCalibrate() [all …]
|
D | nanohub_chre.c | 263 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorGetInfoOld() 283 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorGetInfo() 333 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorGetSamplingStatus() 378 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorConfigure()
|
/device/generic/goldfish/camera/ |
D | EmulatedFakeCamera3.cpp | 152 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera() 890 exposureTime = (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in processCaptureRequest() 892 frameDuration = (entry.count > 0)? entry.data.i64[0] : Sensor::kFrameDurationRange[0]; in processCaptureRequest() 894 sensitivity = (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0]; in processCaptureRequest() 897 frameDuration = exposureTime + Sensor::kMinVerticalBlank; in processCaptureRequest() 1184 Sensor::kExposureTimeRange, 2); in constructStaticInfo() 1187 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo() 1190 Sensor::kSensitivityRange, in constructStaticInfo() 1191 sizeof(Sensor::kSensitivityRange) in constructStaticInfo() 1195 &Sensor::kSensitivityRange[1], 1); in constructStaticInfo() [all …]
|
D | EmulatedFakeCamera3.h | 49 private Sensor::SensorListener { 193 sp<Sensor> mSensor;
|
D | EmulatedFakeCamera2.cpp | 57 static_cast<uint64_t>(Sensor::kFrameDurationRange[0]) 71 static_cast<uint64_t>(Sensor::kFrameDurationRange[0]) 86 static_cast<uint64_t>(Sensor::kFrameDurationRange[0]) 178 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera() 909 mNextExposureTime + Sensor::kMinVerticalBlank) { in setupCapture() 910 mNextFrameDuration = mNextExposureTime + Sensor::kMinVerticalBlank; in setupCapture() 2120 Sensor::kExposureTimeRange, 2); in constructStaticInfo() 2123 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo() 2126 Sensor::kSensitivityRange, in constructStaticInfo() 2127 sizeof(Sensor::kSensitivityRange) in constructStaticInfo() [all …]
|
D | Android.bp | 40 "fake-pipeline2/Sensor.cpp",
|
D | Exif.cpp | 466 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in createExifData() 487 entry.data.i32[0] : Sensor::kSensitivityRange[0]; in createExifData()
|
D | EmulatedFakeCamera2.h | 423 sp<Sensor> mSensor;
|
/device/google/cuttlefish/guest/hals/camera/ |
D | EmulatedFakeCamera3.cpp | 140 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera() 840 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in processCaptureRequest() 843 (entry.count > 0) ? entry.data.i64[0] : Sensor::kFrameDurationRange[0]; in processCaptureRequest() 846 (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0]; in processCaptureRequest() 849 frameDuration = exposureTime + Sensor::kMinVerticalBlank; in processCaptureRequest() 1125 Sensor::kExposureTimeRange, 2); in constructStaticInfo() 1128 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo() 1131 Sensor::kSensitivityRange, in constructStaticInfo() 1132 sizeof(Sensor::kSensitivityRange) / sizeof(int32_t)); in constructStaticInfo() 1135 &Sensor::kSensitivityRange[1], 1); in constructStaticInfo() [all …]
|
D | EmulatedFakeCamera3.h | 49 private Sensor::SensorListener { 187 sp<Sensor> mSensor;
|
D | EmulatedFakeCamera2.cpp | 66 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])}; 79 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])}; 92 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])}; 207 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera() 901 if (mNextFrameDuration < mNextExposureTime + Sensor::kMinVerticalBlank) { in setupCapture() 902 mNextFrameDuration = mNextExposureTime + Sensor::kMinVerticalBlank; in setupCapture() 2096 Sensor::kExposureTimeRange, 2); in constructStaticInfo() 2099 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo() 2101 ADD_OR_SIZE(ANDROID_SENSOR_INFO_SENSITIVITY_RANGE, Sensor::kSensitivityRange, in constructStaticInfo() 2102 sizeof(Sensor::kSensitivityRange) / sizeof(int32_t)); in constructStaticInfo() [all …]
|
D | Android.mk | 90 fake-pipeline2/Sensor.cpp \
|
D | EmulatedFakeCamera2.h | 410 sp<Sensor> mSensor;
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors_priv.h | 24 struct Sensor { struct 74 struct Sensor* sensorFindByHandle(uint32_t handle);
|
/device/google/wahoo/ |
D | sec_config | 14 /* Allow Sensor services to be used by sensor process */
|
/device/google/bonito/ |
D | sec_config | 14 /* Allow Sensor services to be used by sensor process */
|
/device/google/crosshatch/ |
D | sec_config | 14 /* Allow Sensor services to be used by sensor process */
|
/device/google/coral/ |
D | sec_config | 16 /* Allow Sensor services to be used by sensor process */
|
/device/google/coral-sepolicy/vendor/qcom/common/ |
D | file.te | 63 # Sensor file types
|