Home
last modified time | relevance | path

Searched refs:freqs (Results 1 – 9 of 9) 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/
Dscanner_impl.cpp187 vector<uint32_t> freqs; in scan() local
189 freqs.push_back(channel.frequency_); in scan()
194 ssids, freqs, &error_code)) { in scan()
224 vector<uint32_t> freqs; in StartPnoScanOffload() local
226 ParsePnoSettings(pno_settings, &scan_ssids, &match_ssids, &freqs, in StartPnoScanOffload()
231 pno_settings.min_5g_rssi_, scan_ssids, match_ssids, match_security, freqs, in StartPnoScanOffload()
245 vector<uint32_t>* freqs, in ParsePnoSettings() argument
288 freqs->push_back(frequency); in ParsePnoSettings()
306 vector<uint32_t> freqs; in StartPnoScanDefault() local
308 ParsePnoSettings(pno_settings, &scan_ssids, &match_ssids, &freqs, &unused); in StartPnoScanDefault()
[all …]
Dscan_utils.cpp282 const vector<uint32_t>& freqs, in Scan() argument
303 for (size_t i = 0; i < freqs.size(); i++) { in Scan()
304 freqs_attr.AddAttribute(NL80211Attr<uint32_t>(i, freqs[i])); in Scan()
311 if (!freqs.empty()) { in Scan()
411 const std::vector<uint32_t>& freqs, in StartScheduledScan() argument
426 for (size_t i = 0; i < freqs.size(); i++) { in StartScheduledScan()
427 freqs_attr.AddAttribute(NL80211Attr<uint32_t>(i, freqs[i])); in StartScheduledScan()
465 if (!freqs.empty()) { in StartScheduledScan()
Dscan_utils.h104 const std::vector<uint32_t>& freqs,
141 const std::vector<uint32_t>& freqs,
Dscanner_impl.h97 std::vector<uint32_t>* freqs, std::vector<uint8_t>* match_security);
/system/connectivity/wificond/tests/
Dmock_scan_utils.h49 const std::vector<uint32_t>& freqs,
60 const std::vector<uint32_t>& freqs,
/system/connectivity/wificond/scanning/offload/
Doffload_scan_manager.cpp184 const vector<uint8_t>& match_security, const vector<uint32_t>& freqs, in startScan() argument
193 OffloadScanUtils::createScanParam(scan_ssids, freqs, interval_ms); in startScan()
/system/connectivity/wificond/net/
Dnetlink_utils.cpp428 vector<NL80211NestedAttr> freqs; in ParseBandInfo() local
429 if (!freqs_attr.GetListOfNestedAttributes(&freqs)) { in ParseBandInfo()
433 for (auto& freq : freqs) { in ParseBandInfo()
Dnetlink_manager.cpp694 vector<uint32_t> freqs; in OnScanResultsReady() local
701 if (!freqs_attr.GetListOfAttributeValues(&freqs)) { in OnScanResultsReady()
706 handler->second(if_index, aborted, ssids, freqs); in OnScanResultsReady()