Home
last modified time | relevance | path

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

/device/google/contexthub/sensorhal/
Dsensors.cpp149 int32_t sensor_handle, int32_t channel_handle, const struct sensors_direct_cfg_t * config) { in config_direct_report() argument
151 return mHubConnection->configDirectReport(sensor_handle, channel_handle, rate_level); in config_direct_report()
203 int sensor_handle, int channel_handle, const sensors_direct_cfg_t * config) { in ConfigDirectReportWrapper() argument
205 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.cpp2088 for (auto sensor_handle : sensorToStop) { in stopAllDirectReportOnChannel() local
2091 initConfigCmd(&cmd, sensor_handle); in stopAllDirectReportOnChannel()
2099 int HubConnection::configDirectReport(int sensor_handle, int channel_handle, int rate_level) { in configDirectReport() argument
2100 if (sensor_handle == -1 && rate_level == SENSOR_DIRECT_RATE_STOP) { in configDirectReport()
2104 if (!isValidHandle(sensor_handle)) { in configDirectReport()
2120 auto j = mSensorToChannel.find(sensor_handle); in configDirectReport()
2132 initConfigCmd(&cmd, sensor_handle); in configDirectReport()
2139 ret = (ret == sizeof(cmd)) ? sensor_handle : BAD_VALUE; in configDirectReport()
Dhubconnection.h319 int configDirectReport(int sensor_handle, int channel_handle, int rate_level);