/system/chre/apps/wifi_offload/ |
D | utility.cc | 75 int Ieee80211FrequencyToChannel(int freq) { in Ieee80211FrequencyToChannel() argument 77 if (freq == 2484) in Ieee80211FrequencyToChannel() 79 else if (freq < 2484) in Ieee80211FrequencyToChannel() 80 return (freq - 2407) / 5; in Ieee80211FrequencyToChannel() 81 else if (freq >= 4910 && freq <= 4980) in Ieee80211FrequencyToChannel() 82 return (freq - 4000) / 5; in Ieee80211FrequencyToChannel() 83 else if (freq <= 45000) /* DMG band lower limit */ in Ieee80211FrequencyToChannel() 84 return (freq - 5000) / 5; in Ieee80211FrequencyToChannel() 85 else if (freq >= 58320 && freq <= 64800) in Ieee80211FrequencyToChannel() 86 return (freq - 56160) / 2160; in Ieee80211FrequencyToChannel()
|
D | scan_params.cc | 58 for (const auto &freq : *freq_vec) { in Deserialize() 59 if (!ChannelHistogram::IsSupportedFrequency(freq)) { in Deserialize() 63 frequencies_to_scan_mhz_.push_back(freq); in Deserialize() 80 for (const auto &freq : frequencies_to_scan_mhz_) { in Log() local 81 LOGI(" frequency: %" PRIu32, freq); in Log()
|
/system/extras/cpustats/ |
D | cpustats.c | 40 unsigned freq; member 222 long unsigned freq; in get_freq_scales_count() local 229 freq = 0; in get_freq_scales_count() 230 fscanf(file, "%lu %*d\n", &freq); in get_freq_scales_count() 231 if (freq) count++; in get_freq_scales_count() 232 } while (freq); in get_freq_scales_count() 279 fscanf(file, "%u %lu\n", &new_cpus[cpu].freqs[i].freq, &new_cpus[cpu].freqs[i].time); in read_freq_stats() 282 new_cpus[cpu].freqs[i].freq = old_cpus[cpu].freqs[i].freq; in read_freq_stats() 286 new_total_cpu.freqs[i].freq = new_cpus[cpu].freqs[i].freq; in read_freq_stats() 361 printf("%ukHz %ld", new_cpu->freqs[i].freq, delta_time); in print_freq_stats() [all …]
|
/system/extras/tests/workloads/ |
D | recentfling.sh | 107 ${ADB}atrace --async_start -z -c -b 16000 freq gfx view idle sched 120 ${ADB}atrace --async_dump -z -c -b 16000 freq gfx view idle sched > trace.${cur}.out
|
D | chromefling.sh | 101 ${ADB}atrace --async_start -z -c -b 16000 freq gfx view idle sched 114 ${ADB}atrace --async_dump -z -c -b 16000 freq gfx view idle sched > trace.${cur}.out
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | utility.h | 39 int Ieee80211FrequencyToChannel(int freq);
|
/system/extras/simpleperf/app_api/java/com/android/simpleperf/ |
D | RecordOptions.java | 72 public RecordOptions setSampleFrequency(int freq) { in setSampleFrequency() argument 73 mFreq = freq; in setSampleFrequency()
|
/system/bpf/progs/include/ |
D | bpf_timeinstate.h | 49 uint32_t freq; member
|
/system/extras/simpleperf/app_api/cpp/ |
D | simpleperf.cpp | 46 size_t freq = 4000; member in simpleperf::RecordOptionsImpl 70 RecordOptions& RecordOptions::SetSampleFrequency(size_t freq) { in SetSampleFrequency() argument 71 impl_->freq = freq; in SetSampleFrequency() 124 args.insert(args.end(), {"-f", std::to_string(impl_->freq)}); in ToRecordArgs()
|
D | simpleperf.h | 58 RecordOptions& SetSampleFrequency(size_t freq);
|
/system/extras/simpleperf/ |
D | event_selection_set.h | 61 SampleSpeed(uint64_t freq = 0, uint64_t period = 0) : sample_freq(freq), sample_period(period) {} in sample_freq()
|
D | event_selection_set.cpp | 89 attr.freq = 0; in IsDumpingRegsForTracepointEventsSupported() 203 selection->event_attr.freq = 0; in BuildAndCheckEventSelection() 208 selection->event_attr.freq = 0; in BuildAndCheckEventSelection() 211 selection->event_attr.freq = 1; in BuildAndCheckEventSelection() 404 selection.event_attr.freq = 1; in SetSampleSpeed() 407 selection.event_attr.freq = 0; in SetSampleSpeed()
|
D | event_attr.cpp | 109 if (attr.freq != 0) { in DumpPerfEventAttr() 128 attr.exclude_idle, attr.mmap, attr.mmap2, attr.comm, attr.freq); in DumpPerfEventAttr()
|
D | environment.cpp | 338 uint64_t freq; in SetPerfEventLimits() local 339 if (!GetMaxSampleFrequency(&freq) || freq == sample_freq) { in SetPerfEventLimits()
|
D | event_fd.cpp | 56 if (attr.freq) { in OpenEventFile()
|
D | cmd_record_test.cpp | 104 if (attr.attr->freq == 0) { in CheckEventType() 915 ASSERT_EQ(attr->freq, 0); in TEST()
|
D | cmd_stat_test.cpp | 236 ASSERT_EQ(attr.attr->freq, 0u); in TEST()
|
/system/chre/apps/wifi_offload/test/ |
D | utility.cc | 62 void init_frequency(uint32_t &freq, RandomGenerator &rand_gen) { in init_frequency() argument 63 freq = kAllFrequencies_Test[rand_gen.get<uint8_t>() % kNumFrequencies_Test]; in init_frequency()
|
/system/connectivity/wificond/net/ |
D | netlink_utils.cpp | 492 for (auto& freq : freqs) { in handleBandFreqAttributes() local 494 if (!freq.GetAttributeValue(NL80211_FREQUENCY_ATTR_FREQ, in handleBandFreqAttributes() 500 if (freq.HasAttribute(NL80211_FREQUENCY_ATTR_DISABLED)) { in handleBandFreqAttributes() 512 if (freq.GetAttributeValue(NL80211_FREQUENCY_ATTR_DFS_STATE, in handleBandFreqAttributes() 522 if (freq.HasAttribute(NL80211_FREQUENCY_ATTR_NO_IR)) { in handleBandFreqAttributes()
|
/system/connectivity/wificond/scanning/ |
D | scan_utils.cpp | 145 uint32_t freq; in ParseScanResult() local 146 if (!bss.GetAttributeValue(NL80211_BSS_FREQUENCY, &freq)) { in ParseScanResult() 187 NativeScanResult(ssid, bssid, ie, freq, signal, in ParseScanResult()
|
/system/bpfprogs/ |
D | time_in_state.c | 198 freq_idx_key_t key = {.policy = policy, .freq = new};
|