/device/generic/goldfish/sensors/ |
D | multihal_sensors.cpp | 138 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in activate() local 171 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in batch() local 191 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in flush() local 220 const SensorInfo* sensor = getSensorInfoByHandle(event.sensorHandle); in injectSensorData() local 239 const SensorInfo* sensor = getSensorInfoByHandle(event.sensorHandle); in postSensorEvent() local 252 void MultihalSensors::doPostSensorEventLocked(const SensorInfo& sensor, in doPostSensorEventLocked() 309 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in batchThread() local
|
/device/google/contexthub/firmware/os/core/ |
D | hostIntf.c | 535 static void resetBuffer(struct ActiveSensor *sensor) in resetBuffer() 549 struct ActiveSensor *sensor = NULL; in getActiveSensorByType() local 562 struct ActiveSensor *sensor; in hostIntfPacketDequeue() local 636 struct ActiveSensor *sensor = getActiveSensorByType(buffer->sensType); in queueDiscard() local 838 static bool enqueueSensorBuffer(struct ActiveSensor *sensor) in enqueueSensorBuffer() 855 static void copySingleSamples(struct ActiveSensor *sensor, const struct SingleAxisDataEvent *single) in copySingleSamples() 918 static void copyTripleSamples(struct ActiveSensor *sensor, const struct TripleAxisDataEvent *triple) in copyTripleSamples() 1004 static void copyTripleSamplesBias(struct ActiveSensor *sensor, const struct TripleAxisDataEvent *tr… in copyTripleSamplesBias() 1023 static void copyTripleSamplesRaw(struct ActiveSensor *sensor, const struct TripleAxisDataEvent *tri… in copyTripleSamplesRaw() 1144 static void queueFlush(struct ActiveSensor *sensor) in queueFlush() [all …]
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 101 static bool isWakeEvent(int32_t sensor) in isWakeEvent() 554 …t_t *HubConnection::initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint32_t sensor) in initEv() 565 ssize_t HubConnection::decrementIfWakeEventLocked(int32_t sensor) in decrementIfWakeEventLocked() 578 void HubConnection::protectIfWakeEventLocked(int32_t sensor) in protectIfWakeEventLocked() 599 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct OneAxi… in processSample() 676 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct RawThr… in processSample() 783 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct ThreeA… in processSample() 1091 uint32_t type, sensor, bias, currSensor; in processBuf() local
|
D | sensors.cpp | 266 sensor_t sensor = kSensorList[i]; in setDelay() local 292 sensor_t sensor = kSensorList[i]; in batch() local
|
/device/google/contexthub/util/nanotool/ |
D | contexthub.cpp | 362 bool ContextHub::CalibrateSingleSensor(const SensorSpec& sensor) { in CalibrateSingleSensor() 396 bool ContextHub::TestSingleSensor(const SensorSpec& sensor) { in TestSingleSensor() 441 bool ContextHub::HandleCalibrationResult(const SensorSpec& sensor, in HandleCalibrationResult() 499 bool ContextHub::HandleTestResult(const SensorSpec& sensor, in HandleTestResult()
|
/device/google/contexthub/firmware/os/inc/ |
D | halIntf.h | 30 #define APP_TO_SENSOR_HAL_TYPE(sensor, subtype) (((sensor) && 0xFF) | (((subtype) & 0x7F) << 8)) argument
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 925 const struct ICM40600Sensor *sensor = (const struct ICM40600Sensor *)data; local 1017 struct ICM40600Sensor *sensor = &T(sensors[ACC]); local 1050 struct ICM40600Sensor *sensor = &T(sensors[GYR]); local 2266 struct ICM40600Sensor *sensor = &T(sensors[sensor_type]); local 2290 struct ICM40600Sensor *sensor = &T(sensors[sensor_type]); local 2350 static bool flushData(struct ICM40600Sensor *sensor, uint32_t eventId) 3122 static void initSensorStruct(struct ICM40600Sensor *sensor, enum SensorIndex idx)
|
/device/google/contexthub/util/nanoapp_cmd/ |
D | nanoapp_cmd.c | 97 static int setType(struct ConfigCmd *cmd, char *sensor) in setType()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 1166 static bool flushData(struct BMI160Sensor *sensor, uint32_t eventId) 3789 static void initSensorStruct(struct BMI160Sensor *sensor, enum SensorIndex idx)
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 4434 struct LSM6DSMSensor *sensor; in lsm6dsm_parseFifoData() local 4964 static void lsm6dsm_initSensorStruct(struct LSM6DSMSensor *sensor, enum SensorIndex idx) in lsm6dsm_initSensorStruct()
|