Home
last modified time | relevance | path

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

/system/extras/cpustats/
Dcpustats.c46 struct freq_info* freqs; member
123 new_cpus[i].freqs = malloc(sizeof(struct freq_info) * new_cpus[i].freq_count); in main()
124 if (!new_cpus[i].freqs) die("Could not allocate struct freq_info\n"); in main()
125 old_cpus[i].freqs = malloc(sizeof(struct freq_info) * old_cpus[i].freq_count); in main()
126 if (!old_cpus[i].freqs) die("Could not allocate struct freq_info\n"); in main()
135 new_total_cpu.freqs = malloc(sizeof(struct freq_info) * new_total_cpu.freq_count); in main()
136 if (!new_total_cpu.freqs) die("Could not allocate struct freq_info\n"); in main()
137 old_total_cpu.freqs = malloc(sizeof(struct freq_info) * old_total_cpu.freq_count); in main()
138 if (!old_total_cpu.freqs) die("Could not allocate struct freq_info\n"); in main()
161 free(new_total_cpu.freqs); in main()
[all …]
/system/connectivity/wificond/scanning/
Dscanner_impl.cpp200 vector<uint32_t> freqs; in scanRequest() local
202 freqs.push_back(channel.frequency_); in scanRequest()
207 scan_settings.enable_6ghz_rnr_, ssids, freqs, in scanRequest()
248 vector<uint32_t>* freqs, in ParsePnoSettings() argument
316 freqs->push_back(frequency); in ParsePnoSettings()
334 vector<uint32_t> freqs; in StartPnoScanDefault() local
336 ParsePnoSettings(pno_settings, &scan_ssids, &match_ssids, &freqs, &unused); in StartPnoScanDefault()
358 freqs, in StartPnoScanDefault()
370 if (freqs.empty()) { in StartPnoScanDefault()
374 for (uint32_t f : freqs) { in StartPnoScanDefault()
Dscan_utils.cpp283 const vector<uint32_t>& freqs, in Scan() argument
305 for (size_t i = 0; i < freqs.size(); i++) { in Scan()
306 freqs_attr.AddAttribute(NL80211Attr<uint32_t>(i, freqs[i])); in Scan()
313 if (!freqs.empty()) { in Scan()
424 const std::vector<uint32_t>& freqs, in StartScheduledScan() argument
439 for (size_t i = 0; i < freqs.size(); i++) { in StartScheduledScan()
440 freqs_attr.AddAttribute(NL80211Attr<uint32_t>(i, freqs[i])); in StartScheduledScan()
481 if (!freqs.empty()) { in StartScheduledScan()
Dscan_utils.h105 const std::vector<uint32_t>& freqs,
144 const std::vector<uint32_t>& freqs,
Dscanner_impl.h92 std::vector<uint32_t>* freqs, std::vector<uint8_t>* match_security);
/system/connectivity/wificond/tests/
Dmock_scan_utils.h50 const std::vector<uint32_t>& freqs,
63 const std::vector<uint32_t>& freqs,
/system/connectivity/wificond/net/
Dnetlink_manager.cpp728 vector<uint32_t> freqs; in OnScanResultsReady() local
735 if (!freqs_attr.GetListOfAttributeValues(&freqs)) { in OnScanResultsReady()
740 handler->second(if_index, aborted, ssids, freqs); in OnScanResultsReady()
Dnetlink_utils.cpp514 vector<NL80211NestedAttr> freqs; in handleBandFreqAttributes() local
515 if (!freqs_attr.GetListOfNestedAttributes(&freqs)) { in handleBandFreqAttributes()
520 for (auto& freq : freqs) { in handleBandFreqAttributes()