Home
last modified time | relevance | path

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

12

/device/generic/goldfish/sensors/
Dsensor_list.h23 using SensorInfo = ahs::V1_0::SensorInfo; variable
39 const SensorInfo* getSensorInfoByHandle(int h);
Dmultihal_sensors.cpp104 std::vector<SensorInfo> sensors; in getSensorsList()
138 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in activate()
171 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in batch()
191 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in flush()
220 const SensorInfo* sensor = getSensorInfoByHandle(event.sensorHandle); in injectSensorData()
239 const SensorInfo* sensor = getSensorInfoByHandle(event.sensorHandle); in postSensorEvent()
252 void MultihalSensors::doPostSensorEventLocked(const SensorInfo& sensor, in doPostSensorEventLocked()
309 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in batchThread()
Dmultihal_sensors.h33 using ahs10::SensorInfo;
94 void doPostSensorEventLocked(const SensorInfo& sensor, const Event& event);
Dsensor_list.cpp39 const SensorInfo kAllSensors[] = {
251 const SensorInfo* getSensorInfoByHandle(const int h) { in getSensorInfoByHandle()
/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/hall/
Dhall.c126 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_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.c546 static const struct SensorInfo sensorInfoAls =
567 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