/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/bpfprogs/ |
D | time_in_state.c | 21 uint32_t freq; member 50 uint32_t* freq = bpf_cpu_freq_map_lookup_elem(&cpu); in tp_sched_switch() local 51 if (args->prev_pid && old_last && freq && *freq) { in tp_sched_switch() 53 time_key key = {.uid = uid, .freq = *freq}; in tp_sched_switch()
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor_util.cc | 56 uint64_t freq = kMaxFreq; in intervalToSmgrQ16ReportRate() local 59 freq = (Seconds(1).toRawNanoseconds() << 16) / interval.toRawNanoseconds(); in intervalToSmgrQ16ReportRate() 62 return (freq > kMaxFreq) ? kMaxFreq : static_cast<uint32_t>(freq); in intervalToSmgrQ16ReportRate()
|
/system/extras/cpustats/ |
D | cpustats.c | 40 unsigned freq; member 218 long unsigned freq; in get_freq_scales_count() local 225 freq = 0; in get_freq_scales_count() 226 fscanf(file, "%lu %*d\n", &freq); in get_freq_scales_count() 227 if (freq) count++; in get_freq_scales_count() 228 } while(freq); in get_freq_scales_count() 275 fscanf(file, "%u %lu\n", &new_cpus[cpu].freqs[i].freq, in read_freq_stats() 279 new_cpus[cpu].freqs[i].freq = old_cpus[cpu].freqs[i].freq; in read_freq_stats() 283 new_total_cpu.freqs[i].freq = new_cpus[cpu].freqs[i].freq; in read_freq_stats() 367 printf("%ukHz %ld", new_cpu->freqs[i].freq, delta_time); in print_freq_stats() [all …]
|
/system/extras/simpleperf/app_api/java/com/android/simpleperf/ |
D | RecordOptions.java | 64 public RecordOptions setSampleFrequency(int freq) { in setSampleFrequency() argument 65 this.freq = freq; in setSampleFrequency() 127 args.add(String.valueOf(freq)); in toRecordArgs() 166 private int freq = 4000; field in RecordOptions
|
/system/extras/tests/workloads/ |
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
|
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
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | utility.h | 39 int Ieee80211FrequencyToChannel(int freq);
|
/system/extras/simpleperf/app_api/cpp/ |
D | simpleperf.cpp | 44 size_t freq = 4000; member in simpleperf::RecordOptionsImpl 69 RecordOptions& RecordOptions::SetSampleFrequency(size_t freq) { in SetSampleFrequency() argument 70 impl_->freq = freq; in SetSampleFrequency() 123 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 | 64 SampleSpeed(uint64_t freq = 0, uint64_t period = 0) : sample_freq(freq), sample_period(period) {} in sample_freq()
|
D | event_attr.cpp | 107 if (attr.freq != 0) { in DumpPerfEventAttr() 126 attr.exclude_idle, attr.mmap, attr.mmap2, attr.comm, attr.freq); in DumpPerfEventAttr()
|
D | event_selection_set.cpp | 76 attr.freq = 0; in IsDumpingRegsForTracepointEventsSupported() 165 selection->event_attr.freq = 0; in BuildAndCheckEventSelection() 168 selection->event_attr.freq = 1; in BuildAndCheckEventSelection() 354 selection.event_attr.freq = 1; in SetSampleSpeed() 357 selection.event_attr.freq = 0; in SetSampleSpeed()
|
D | InplaceSamplerClient.cpp | 44 if (attr_.freq) { in InplaceSamplerClient()
|
D | event_fd.cpp | 56 if (attr.freq) { in OpenEventFile()
|
D | environment.cpp | 414 uint64_t freq; in SetPerfEventLimits() local 415 if (!GetMaxSampleFrequency(&freq) || freq == sample_freq) { in SetPerfEventLimits()
|
D | cmd_stat_test.cpp | 220 ASSERT_EQ(attr.attr->freq, 0u); in TEST()
|
D | cmd_record_test.cpp | 80 if (attr.attr->freq == 0) { in CheckEventType()
|
/system/connectivity/wificond/net/ |
D | netlink_utils.cpp | 433 for (auto& freq : freqs) { in ParseBandInfo() local 435 if (!freq.GetAttributeValue(NL80211_FREQUENCY_ATTR_FREQ, in ParseBandInfo() 441 if (freq.HasAttribute(NL80211_FREQUENCY_ATTR_DISABLED)) { in ParseBandInfo() 452 if (freq.GetAttributeValue(NL80211_FREQUENCY_ATTR_DFS_STATE, in ParseBandInfo() 462 if (freq.HasAttribute(NL80211_FREQUENCY_ATTR_NO_IR)) { in ParseBandInfo()
|
/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/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()
|