Lines Matching refs:channel_handle
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()
2125 j->second.erase(channel_handle); in configDirectReport()
2127 j->second.insert(std::make_pair(channel_handle, (DirectChannelTimingInfo){0, rate_level})); in configDirectReport()