Home
last modified time | relevance | path

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

12

/device/google/cuttlefish_common/guest/hals/sensors/
Dsensors.h28 class SensorInfo : public sensor_t {
31 SensorInfo() : sensor_t() {} in SensorInfo() function
34 SensorInfo(const char* name, const char* vendor, int version, int handle,
41 friend SensorInfo AccelerometerSensor();
42 friend SensorInfo GyroscopeSensor();
43 friend SensorInfo LightSensor();
44 friend SensorInfo MagneticFieldSensor();
45 friend SensorInfo PressureSensor();
46 friend SensorInfo ProximitySensor();
47 friend SensorInfo AmbientTempSensor();
[all …]
Dsensors.cpp43 SensorState::SensorState(SensorInfo info) in SensorState()
52 SensorInfo::SensorInfo(const char* name, const char* vendor, int version, in SensorInfo() function in cvd::SensorInfo
84 SensorInfo AccelerometerSensor() { in AccelerometerSensor()
88 return SensorInfo(sc::kAccelerometerName, sc::kVendor, sc::kVersion, in AccelerometerSensor()
97 SensorInfo GyroscopeSensor() { in GyroscopeSensor()
101 return SensorInfo( in GyroscopeSensor()
109 SensorInfo LightSensor() { in LightSensor()
113 return SensorInfo(sc::kLightName, sc::kVendor, sc::kVersion, sc::kLightHandle, in LightSensor()
121 SensorInfo MagneticFieldSensor() { in MagneticFieldSensor()
125 return SensorInfo(sc::kMagneticFieldName, sc::kVendor, sc::kVersion, in MagneticFieldSensor()
[all …]
Dvsoc_sensors.h174 static SensorInfo* sensor_infos_;
Dvsoc_sensors.cpp44 SensorInfo* GceSensors::sensor_infos_ = NULL;
495 sensor_infos_ = new SensorInfo[total_sensor_count_]; in RegisterSensors()
/device/google/contexthub/firmware/os/inc/
Dsensors.h195 struct SensorInfo { struct
259 uint32_t sensorRegister(const struct SensorInfo *si, const struct SensorOps *ops, void *callData, b…
260 uint32_t sensorRegisterAsApp(const struct SensorInfo *si, uint32_t tid, void *callData, bool initCo…
272 const struct SensorInfo* sensorFind(uint32_t sensorType, uint32_t idx, uint32_t *handleP); //enumer…
Dsensors_priv.h25 const struct SensorInfo *si;
DsyscallDo.h107 static inline uint32_t eOsSensorRegister(const struct SensorInfo *si, uint32_t tid, void *cookie, b… in eOsSensorRegister()
122 static inline const struct SensorInfo* eOsSensorFind(uint32_t sensorType, uint32_t idx, uint32_t *h… in eOsSensorFind()
124 …return (const struct SensorInfo*)syscallDo3P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCAL… in eOsSensorFind()
/device/google/contexthub/firmware/os/core/
Dsensors.c89 static uint32_t sensorRegisterEx(const struct SensorInfo *si, TaggedPtr callInfo, void *callData, b… in sensorRegisterEx()
133 uint32_t sensorRegister(const struct SensorInfo *si, const struct SensorOps *ops, void *callData, b… in sensorRegister()
138 uint32_t sensorRegisterAsApp(const struct SensorInfo *si, uint32_t unusedTid, void *callData, bool … in sensorRegisterAsApp()
559 const struct SensorInfo* sensorFind(uint32_t sensorType, uint32_t idx, uint32_t *handleP) in sensorFind()
Dnanohub_chre.c249 const struct SensorInfo *info = sensorFind(sensorType, 0, pHandle); in osChreSensorFindDefault()
266 const struct SensorInfo *si = s->si; in osChreSensorGetInfoOld()
288 const struct SensorInfo *si = s->si; in osChreSensorGetInfo()
386 const struct SensorInfo *si = s->si; in osChreSensorConfigure()
DosApi.c111 const struct SensorInfo *si = va_arg(args, const struct SensorInfo*); in osExpApiSensorReg()
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c145 static const struct SensorInfo mSensorInfo =
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c134 static const struct SensorInfo sensorInfoLedsGpio = {
Dleds_lp3943.c256 static const struct SensorInfo sensorInfoLedsLP3943 = {
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c126 static const struct SensorInfo mSensorInfo =
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c143 static const struct SensorInfo mSensorInfo =
/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c179 static const struct SensorInfo mSi =
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c515 static const struct SensorInfo sensorInfoAls =
536 static const struct SensorInfo sensorInfoProx =
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c467 static const struct SensorInfo sensorInfoBaro =
487 static const struct SensorInfo sensorInfoTemp =
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c433 static const struct SensorInfo sensorInfoAls =
454 static const struct SensorInfo sensorInfoProx =
/device/google/contexthub/firmware/app/chre/common/
Dchre10_app.c172 const struct SensorInfo *si; in chreappProcessSensorData()
Dchre_app.c172 const struct SensorInfo *si; in chreappProcessSensorData()
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c288 static const struct SensorInfo sensorInfoAls =
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c296 static const struct SensorInfo hts221SensorInfo[NUM_OF_SENSOR] =
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c253 static const struct SensorInfo si7034SensorInfo[NUM_OF_SENSOR] =
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c662 static const struct SensorInfo sensorInfoAls =
684 static const struct SensorInfo sensorInfoProx =

12