Home
last modified time | relevance | path

Searched refs:freqs (Results 1 – 7 of 7) sorted by relevance

/system/extras/cpustats/
Dcpustats.c46 struct freq_info *freqs; member
119 new_cpus[i].freqs = malloc(sizeof(struct freq_info) * new_cpus[i].freq_count); in main()
120 if (!new_cpus[i].freqs) die("Could not allocate struct freq_info\n"); in main()
121 old_cpus[i].freqs = malloc(sizeof(struct freq_info) * old_cpus[i].freq_count); in main()
122 if (!old_cpus[i].freqs) die("Could not allocate struct freq_info\n"); in main()
131 new_total_cpu.freqs = malloc(sizeof(struct freq_info) * new_total_cpu.freq_count); in main()
132 if (!new_total_cpu.freqs) die("Could not allocate struct freq_info\n"); in main()
133 old_total_cpu.freqs = malloc(sizeof(struct freq_info) * old_total_cpu.freq_count); in main()
134 if (!old_total_cpu.freqs) die("Could not allocate struct freq_info\n"); in main()
157 free(new_total_cpu.freqs); in main()
[all …]
/system/connectivity/wificond/scanning/
Dscan_utils.cpp223 const vector<uint32_t>& freqs) { in Scan() argument
243 for (size_t i = 0; i < freqs.size(); i++) { in Scan()
244 freqs_attr.AddAttribute(NL80211Attr<uint32_t>(i, freqs[i])); in Scan()
251 if (!freqs.empty()) { in Scan()
326 const std::vector<uint32_t>& freqs) { in StartScheduledScan() argument
340 for (size_t i = 0; i < freqs.size(); i++) { in StartScheduledScan()
341 freqs_attr.AddAttribute(NL80211Attr<uint32_t>(i, freqs[i])); in StartScheduledScan()
364 if (!freqs.empty()) { in StartScheduledScan()
Dscan_utils.h76 const std::vector<uint32_t>& freqs);
102 const std::vector<uint32_t>& freqs);
Dscanner_impl.cpp193 vector<uint32_t> freqs; in scan() local
195 freqs.push_back(channel.frequency_); in scan()
198 if (!scan_utils_->Scan(interface_index_, request_random_mac, ssids, freqs)) { in scan()
220 vector<uint32_t> freqs; in startPnoScan() local
255 freqs)) { in startPnoScan()
/system/connectivity/wificond/tests/
Dmock_scan_utils.h40 const std::vector<uint32_t>& freqs));
/system/connectivity/wificond/net/
Dnetlink_utils.cpp284 vector<NL80211NestedAttr> freqs; in ParseBandInfo() local
285 if (!freqs_attr.GetListOfNestedAttributes(&freqs)) { in ParseBandInfo()
289 for (auto& freq : freqs) { in ParseBandInfo()
Dnetlink_manager.cpp673 vector<uint32_t> freqs; in OnScanResultsReady() local
680 if (!freqs_attr.GetListOfAttributeValues(&freqs)) { in OnScanResultsReady()
685 handler->second(if_index, aborted, ssids, freqs); in OnScanResultsReady()