Home
last modified time | relevance | path

Searched refs:channel_number (Results 1 – 2 of 2) sorted by relevance

/system/chre/apps/wifi_offload/
Dchannel_histogram.cc46 int channel_number = in GetChannelNumber() local
48 if (channel_number <= 0 || channel_number > 255) { in GetChannelNumber()
50 channel_number = 0; in GetChannelNumber()
52 return static_cast<uint8_t>(channel_number); in GetChannelNumber()
63 size_t GetChannelIndex(uint8_t channel_number) { in GetChannelIndex() argument
65 if (channel_number == kAllChannels[i]) { in GetChannelIndex()
70 LOGE("Unsupported channel number: %" PRIu8, channel_number); in GetChannelIndex()
85 uint8_t ChannelHistogram::GetChannelScanCount(uint8_t channel_number) const { in GetChannelScanCount()
86 size_t index = GetChannelIndex(channel_number); in GetChannelScanCount()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dchannel_histogram.h42 uint8_t GetChannelScanCount(uint8_t channel_number) const;