Searched refs:channel_handle (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/sensorhal/ |
D | sensors.cpp | 137 const struct sensors_direct_mem_t *mem, int32_t channel_handle) { in register_direct_channel() argument 143 mHubConnection->removeDirectChannel(channel_handle); in register_direct_channel() 149 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() 196 const struct sensors_direct_mem_t* mem, int channel_handle) { in RegisterDirectChannelWrapper() argument 198 mem, channel_handle); in RegisterDirectChannelWrapper() 203 int sensor_handle, int channel_handle, const sensors_direct_cfg_t * config) { in ConfigDirectReportWrapper() argument 205 sensor_handle, channel_handle, config); in ConfigDirectReportWrapper()
|
D | sensors.h | 71 const struct sensors_direct_mem_t* mem, int channel_handle); 74 int sensor_handle, int channel_handle, const struct sensors_direct_cfg_t * config); 102 const struct sensors_direct_mem_t* mem, int channel_handle); 104 int sensor_handle, int channel_handle, const struct sensors_direct_cfg_t * config);
|
D | hubconnection.h | 318 int removeDirectChannel(int channel_handle); 319 int configDirectReport(int sensor_handle, int channel_handle, int rate_level); 328 int channel_handle, std::vector<int32_t> *unstoppedSensors);
|
D | hubconnection.cpp | 2043 int HubConnection::removeDirectChannel(int channel_handle) { in removeDirectChannel() argument 2046 stopAllDirectReportOnChannel(channel_handle, &activeSensorList); in removeDirectChannel() 2055 channel_handle, ss.str().c_str()); in removeDirectChannel() 2060 mDirectChannel.erase(channel_handle); in removeDirectChannel() 2065 int channel_handle, std::vector<int32_t> *activeSensorList) { in stopAllDirectReportOnChannel() argument 2067 if (mDirectChannel.find(channel_handle) == mDirectChannel.end()) { in stopAllDirectReportOnChannel() 2073 auto j = it.second.find(channel_handle); in stopAllDirectReportOnChannel() 2099 int HubConnection::configDirectReport(int sensor_handle, int channel_handle, int rate_level) { in configDirectReport() argument 2101 return stopAllDirectReportOnChannel(channel_handle, nullptr); in configDirectReport() 2115 auto i = mDirectChannel.find(channel_handle); in configDirectReport() [all …]
|