Home
last modified time | relevance | path

Searched refs:sensor_handle (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/sensorhal/
Dsensors.cpp166 int32_t sensor_handle, int32_t channel_handle, const struct sensors_direct_cfg_t * config) { in config_direct_report() argument
168 return mHubConnection->configDirectReport(sensor_handle, channel_handle, rate_level); in config_direct_report()
220 int sensor_handle, int channel_handle, const sensors_direct_cfg_t * config) { in ConfigDirectReportWrapper() argument
222 sensor_handle, channel_handle, config); in ConfigDirectReportWrapper()
Dsensors.h74 int sensor_handle, int channel_handle, const struct sensors_direct_cfg_t * config);
104 int sensor_handle, int channel_handle, const struct sensors_direct_cfg_t * config);
Dhubconnection.cpp1954 for (auto sensor_handle : sensorToStop) { in stopAllDirectReportOnChannel() local
1957 initConfigCmd(&cmd, sensor_handle); in stopAllDirectReportOnChannel()
1965 int HubConnection::configDirectReport(int sensor_handle, int channel_handle, int rate_level) { in configDirectReport() argument
1966 if (sensor_handle == -1 && rate_level == SENSOR_DIRECT_RATE_STOP) { in configDirectReport()
1970 if (!isValidHandle(sensor_handle)) { in configDirectReport()
1986 auto j = mSensorToChannel.find(sensor_handle); in configDirectReport()
1998 initConfigCmd(&cmd, sensor_handle); in configDirectReport()
2005 ret = (ret == sizeof(cmd)) ? sensor_handle : BAD_VALUE; in configDirectReport()
Dhubconnection.h299 int configDirectReport(int sensor_handle, int channel_handle, int rate_level);
/device/generic/goldfish/sensors/
Dsensors_qemu.c617 int sensor_handle, in sensor_device_default_batch() argument
621 return sensor_device_set_delay(dev, sensor_handle, sampling_period_ns); in sensor_device_default_batch()