Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/guest/hals/camera/fake-pipeline2/
DSensor.cpp42 const nsecs_t Sensor::kExposureTimeRange[2] = {1000L,
44 const nsecs_t Sensor::kFrameDurationRange[2] = {
47 const nsecs_t Sensor::kMinVerticalBlank = 10000L;
49 const uint8_t Sensor::kColorFilterArrangement =
53 const uint32_t Sensor::kMaxRawValue = 4000;
54 const uint32_t Sensor::kBlackLevel = 1000;
57 const float Sensor::kSaturationVoltage = 0.520f;
58 const uint32_t Sensor::kSaturationElectrons = 2000;
59 const float Sensor::kVoltsPerLuxSecond = 0.100f;
61 const float Sensor::kElectronsPerLuxSecond = Sensor::kSaturationElectrons /
[all …]
DSensor.h89 class Sensor : private Thread, public virtual RefBase {
93 Sensor(uint32_t width, uint32_t height);
94 ~Sensor();
/device/generic/goldfish/camera/fake-pipeline2/
DSensor.cpp41 const nsecs_t Sensor::kExposureTimeRange[2] =
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 =
[all …]
DSensor.h89 class Sensor: private Thread, public virtual RefBase {
94 Sensor(uint32_t width, uint32_t height);
95 ~Sensor();
/device/google/contexthub/firmware/os/core/
Dsensors.c32 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 …]
Dnanohub_chre.c263 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/
DEmulatedFakeCamera3.cpp152 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera()
891 exposureTime = (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in processCaptureRequest()
893 frameDuration = (entry.count > 0)? entry.data.i64[0] : Sensor::kFrameDurationRange[0]; in processCaptureRequest()
895 sensitivity = (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0]; in processCaptureRequest()
898 frameDuration = exposureTime + Sensor::kMinVerticalBlank; in processCaptureRequest()
1186 Sensor::kExposureTimeRange, 2); in constructStaticInfo()
1189 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo()
1192 Sensor::kSensitivityRange, in constructStaticInfo()
1193 sizeof(Sensor::kSensitivityRange) in constructStaticInfo()
1197 &Sensor::kSensitivityRange[1], 1); in constructStaticInfo()
[all …]
DEmulatedFakeCamera3.h49 private Sensor::SensorListener {
191 sp<Sensor> mSensor;
DEmulatedFakeCamera2.cpp56 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
70 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
85 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
175 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera()
906 mNextExposureTime + Sensor::kMinVerticalBlank) { in setupCapture()
907 mNextFrameDuration = mNextExposureTime + Sensor::kMinVerticalBlank; in setupCapture()
2117 Sensor::kExposureTimeRange, 2); in constructStaticInfo()
2120 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo()
2123 Sensor::kSensitivityRange, in constructStaticInfo()
2124 sizeof(Sensor::kSensitivityRange) in constructStaticInfo()
[all …]
DAndroid.mk76 fake-pipeline2/Sensor.cpp \
DExif.cpp466 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in createExifData()
487 entry.data.i32[0] : Sensor::kSensitivityRange[0]; in createExifData()
DEmulatedFakeCamera2.h420 sp<Sensor> mSensor;
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedFakeCamera3.cpp139 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera()
841 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in processCaptureRequest()
844 (entry.count > 0) ? entry.data.i64[0] : Sensor::kFrameDurationRange[0]; in processCaptureRequest()
847 (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0]; in processCaptureRequest()
850 frameDuration = exposureTime + Sensor::kMinVerticalBlank; in processCaptureRequest()
1109 Sensor::kExposureTimeRange, 2); in constructStaticInfo()
1112 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo()
1115 Sensor::kSensitivityRange, in constructStaticInfo()
1116 sizeof(Sensor::kSensitivityRange) / sizeof(int32_t)); in constructStaticInfo()
1119 &Sensor::kSensitivityRange[1], 1); in constructStaticInfo()
[all …]
DEmulatedFakeCamera3.h55 private Sensor::SensorListener {
193 sp<Sensor> mSensor;
DEmulatedFakeCamera2.cpp60 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])};
73 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])};
86 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])};
201 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera()
901 if (mNextFrameDuration < mNextExposureTime + Sensor::kMinVerticalBlank) { in setupCapture()
902 mNextFrameDuration = mNextExposureTime + Sensor::kMinVerticalBlank; in setupCapture()
2076 Sensor::kExposureTimeRange, 2); in constructStaticInfo()
2079 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo()
2081 ADD_OR_SIZE(ANDROID_SENSOR_INFO_SENSITIVITY_RANGE, Sensor::kSensitivityRange, in constructStaticInfo()
2082 sizeof(Sensor::kSensitivityRange) / sizeof(int32_t)); in constructStaticInfo()
[all …]
DAndroid.mk87 fake-pipeline2/Sensor.cpp \
DEmulatedFakeCamera2.h410 sp<Sensor> mSensor;
/device/google/contexthub/firmware/os/inc/
Dsensors_priv.h24 struct Sensor { struct
74 struct Sensor* sensorFindByHandle(uint32_t handle);
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/
DGloblNvs.asl56 DTSE, 8, // (26) Digital Thermal Sensor Enable
57 DTS1, 8, // (27) Digital Thermal Sensor 1 Reading
58 DTS2, 8, // (28) Digital Thermal Sensor 2 Reading
104 Offset(105), // Ambiant Light Sensor Registers:
DPlatform.asl152 // Disable Digital Thermal Sensor function when doing S3 suspend
/device/google/marlin/
Dsec_config12 /* Allow Sensor services to be used by sensor process */
/device/google/wahoo/
Dsec_config14 /* Allow Sensor services to be used by sensor process */
/device/google/crosshatch/
Dsec_config14 /* Allow Sensor services to be used by sensor process */
/device/google/bonito/
Dsec_config14 /* Allow Sensor services to be used by sensor process */
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/
DVfrStrings.uni328 …S_PROMPT_HELP #language en-US "Enabled/Disable Digital Thermal Sensor"
783 #string STR_SENSOR_FORM_TITLE #language en-US "Sensor setting"
784 …P #language en-US "Press <Enter> to select the Sensor Configuration Setu…
787 //Sensor Settings
789 #string STR_SENSOR_SUBTITLE #language en-US "Sensor Modules Setting"
796 #string STR_PROXIMITY_SENSOR_PROMPT #language en-US "Proximity Sensor"
797 …R_HELP #language en-US "This will configure disable/enable Proximity Sensor."
998 …ERM0_PROMPT #language en-US "T1 Sensor" // Skin Temperature Senso…
1003 …HERM1_PROMPT #language en-US "Display Board Sensor" //System Thermal Sensor 1
1004 …F_SYSTHERM1_HELP #language en-US "Enable/Disable Display Board skin Sensor"
[all …]