Home
last modified time | relevance | path

Searched defs:sensor (Results 1 – 8 of 8) sorted by relevance

/device/google/contexthub/firmware/src/
DhostIntf.c533 static void resetBuffer(struct ActiveSensor *sensor) in resetBuffer()
549 struct ActiveSensor *sensor; in hostIntfPacketDequeue() local
616 struct ActiveSensor *sensor; in queueDiscard() local
801 static int enqueueSensorBufferEx(struct ActiveSensor *sensor, bool doResetOnError) in enqueueSensorBufferEx()
819 static inline int enqueueSensorBuffer(struct ActiveSensor *sensor) in enqueueSensorBuffer()
824 static void copySingleSamples(struct ActiveSensor *sensor, const struct SingleAxisDataEvent *single) in copySingleSamples()
887 static void copyTripleSamples(struct ActiveSensor *sensor, const struct TripleAxisDataEvent *triple) in copyTripleSamples()
974 static void copyTripleSamplesBias(struct ActiveSensor *sensor, const struct TripleAxisDataEvent *tr… in copyTripleSamplesBias()
995 static void copyTripleSamplesRaw(struct ActiveSensor *sensor, const struct TripleAxisDataEvent *tri… in copyTripleSamplesRaw()
1099 static void queueFlush(struct ActiveSensor *sensor) in queueFlush()
[all …]
/device/google/contexthub/sensorhal/
Dsensors.cpp74 sensor_t sensor = kSensorList[i]; in setDelay() local
116 sensor_t sensor = kSensorList[i]; in batch() local
Dhubconnection.cpp392 …t_t *HubConnection::initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint32_t sensor) in initEv()
403 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct OneAxi… in processSample()
475 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct RawThr… in processSample()
497 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct ThreeA… in processSample()
717 uint32_t type, sensor, bias, currSensor; in processBuf() local
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp360 bool ContextHub::CalibrateSingleSensor(const SensorSpec& sensor) { in CalibrateSingleSensor()
394 bool ContextHub::TestSingleSensor(const SensorSpec& sensor) { in TestSingleSensor()
439 bool ContextHub::HandleCalibrationResult(const SensorSpec& sensor, in HandleCalibrationResult()
497 bool ContextHub::HandleTestResult(const SensorSpec& sensor, in HandleTestResult()
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c73 static int setType(struct ConfigCmd *cmd, char *sensor) in setType()
/device/htc/flounder/sensor_hub/libsensors/
Dsensors.cpp704 SensorBase* const sensor(mSensors[i]); in pollEvents() local
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c1051 static bool flushData(struct BMI160Sensor *sensor, uint32_t eventId)
3459 static void initSensorStruct(struct BMI160Sensor *sensor, enum SensorIndex idx)
/device/google/dragon/recovery/updater/
Dec_commands.h1898 struct ec_response_motion_sensor_data sensor[0]; member