/system/extras/cpustats/ |
D | cpustats.c | 40 unsigned freq; member 215 long unsigned freq; in get_freq_scales_count() local 222 freq = 0; in get_freq_scales_count() 223 fscanf(file, "%lu %*d\n", &freq); in get_freq_scales_count() 224 if (freq) count++; in get_freq_scales_count() 225 } while(freq); in get_freq_scales_count() 272 fscanf(file, "%u %lu\n", &new_cpus[cpu].freqs[i].freq, in read_freq_stats() 276 new_cpus[cpu].freqs[i].freq = old_cpus[cpu].freqs[i].freq; in read_freq_stats() 280 new_total_cpu.freqs[i].freq = new_cpus[cpu].freqs[i].freq; in read_freq_stats() 364 printf("%ukHz %ld", new_cpu->freqs[i].freq, delta_time); in print_freq_stats() [all …]
|
/system/connectivity/shill/wifi/ |
D | scan_session.cc | 90 for (const auto freq : available_frequencies) { in ScanSession() local 91 if (!ContainsKey(seen_frequencies, freq)) { in ScanSession() 92 frequency_list_.push_back(WiFiProvider::FrequencyCount(freq, 0)); in ScanSession() 184 for (const auto freq : scan_frequencies) { in DoScan() local 185 SLOG(this, 6) << " " << freq; in DoScan() 188 frequency_list->SetU32AttributeValue(i, freq); in DoScan()
|
D | wifi_provider.cc | 400 for (int freq = 0; freq < kMaxStorageFrequencies; ++freq) { in LoadAndFixupServiceEntries() local 402 string freq_string = StringPrintf("%s%d", kStorageFrequencies, freq); in LoadAndFixupServiceEntries() 433 int freq = 0; in Save() local 442 string freq_string = StringPrintf("%s%d", kStorageFrequencies, freq); in Save() 444 if (++freq >= kMaxStorageFrequencies) { in Save() 731 uint16_t freq = atoi(freq_count[0].c_str()); in ParseStringListFreqCount() local 733 (*numbers)[freq] = connections; in ParseStringListFreqCount()
|
D | wifi_provider.h | 60 FrequencyCount(uint16_t freq, size_t conn) in FrequencyCount() 61 : frequency(freq), connection_count(conn) {} in FrequencyCount()
|
D | wifi.cc | 1989 for (uint32_t freq : freqs) { in TriggerPassiveScan() local 1991 << "Frequency-" << i << ": " << freq; in TriggerPassiveScan() 1994 frequency_list->SetU32AttributeValue(i, freq); in TriggerPassiveScan()
|
D | wake_on_wifi_unittest.cc | 2054 for (uint32_t freq : kSSID1FreqMatches) { in TEST_F() local 2055 EXPECT_TRUE(freqs.find(freq) != freqs.end()); in TEST_F() 3106 for (uint32_t freq : kSSID1FreqMatches) { in TEST_F() local 3107 EXPECT_TRUE(GetLastSSIDMatchFreqs().find(freq) != in TEST_F()
|
D | wifi_provider_unittest.cc | 369 uint16_t freq; in BuildFreqCountMap() member 384 (*frequencies)[kConnectFreq[i].freq] = kConnectFreq[i].count; in BuildFreqCountMap()
|
D | wifi_unittest.cc | 4363 for (uint16_t freq : kNewWiphyNlMsg_UniqueFrequencies) { in TEST_F() local 4364 EXPECT_TRUE(GetAllScanFrequencies()->find(freq) != in TEST_F()
|
/system/tpm/trunks/ftdi/ |
D | mpsse.h | 178 struct mpsse_context* MPSSE(enum modes mode, int freq, int endianess); 182 int freq, 190 int freq, 200 int SetClock(struct mpsse_context* mpsse, uint32_t freq);
|
D | mpsse.c | 58 struct mpsse_context* MPSSE(enum modes mode, int freq, int endianess) { in MPSSE() argument 64 freq, endianess, IFACE_A, NULL, NULL); in MPSSE() 91 int freq, in Open() argument 96 return OpenIndex(vid, pid, mode, freq, endianess, interface, description, in Open() 120 int freq, in OpenIndex() argument 175 if (SetClock(mpsse, freq) == MPSSE_OK) { in OpenIndex() 405 int SetClock(struct mpsse_context* mpsse, uint32_t freq) { in SetClock() argument 414 if (freq > SIX_MHZ) { in SetClock() 423 if (freq <= 0) { in SetClock() 426 divisor = freq2div(system_clock, freq); in SetClock()
|
D | support.h | 30 uint16_t freq2div(uint32_t system_clock, uint32_t freq);
|
D | support.c | 82 uint16_t freq2div(uint32_t system_clock, uint32_t freq) { in freq2div() argument 83 return (((system_clock / freq) / 2) - 1); in freq2div()
|
/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/connectivity/shill/net/ |
D | nl80211_attribute.cc | 241 NestedData freq(kTypeNested, "NL80211_BAND_ATTR_FREQ", true); in Nl80211AttributeWiphyBands() local 242 freq.deeper_nesting.insert(AttrDataPair( in Nl80211AttributeWiphyBands() 245 freq.deeper_nesting.insert( in Nl80211AttributeWiphyBands() 248 freq.deeper_nesting.insert(AttrDataPair( in Nl80211AttributeWiphyBands() 251 freq.deeper_nesting.insert(AttrDataPair( in Nl80211AttributeWiphyBands() 254 freq.deeper_nesting.insert(AttrDataPair( in Nl80211AttributeWiphyBands() 257 freq.deeper_nesting.insert(AttrDataPair( in Nl80211AttributeWiphyBands() 260 freq.deeper_nesting.insert(AttrDataPair( in Nl80211AttributeWiphyBands() 265 freqs.deeper_nesting.insert(AttrDataPair(kArrayAttrEnumVal, freq)); in Nl80211AttributeWiphyBands()
|
D | netlink_message_unittest.cc | 408 uint32_t freq = 0; in GetScanFrequenciesFromMessage() local 409 if (frequency_list->GetU32AttributeValue(freq_iter.GetId(), &freq)) { in GetScanFrequenciesFromMessage() 410 value->push_back(freq); in GetScanFrequenciesFromMessage()
|
/system/extras/simpleperf/ |
D | event_attr.cpp | 113 if (attr.freq != 0) { in DumpPerfEventAttr() 132 attr.mmap, attr.comm, attr.freq); in DumpPerfEventAttr()
|
D | event_selection_set.cpp | 118 attr.freq = 1; in SetSampleFreq() 126 attr.freq = 0; in SetSamplePeriod()
|
/system/connectivity/apmanager/ |
D | config.cc | 110 bool Config::GetFrequencyFromChannel(uint16_t channel, uint32_t* freq) { in GetFrequencyFromChannel() argument 113 *freq = kBand24GHzBaseFrequency + (channel - kBand24GHzChannelLow) * 5; in GetFrequencyFromChannel() 116 *freq = kBand5GHzBaseFrequency + (channel - kBand5GHzChannelLow) * 5; in GetFrequencyFromChannel()
|
D | config.h | 49 static bool GetFrequencyFromChannel(uint16_t channel, uint32_t* freq);
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/ |
D | perf.h | 185 unsigned int freq; member
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/ |
D | perf.h | 227 unsigned int freq; member
|
/system/connectivity/shill/ |
D | NETLINK_MESSAGES.txt | 113 for (const auto freq : scan_frequencies) { 115 nested->SetU32AttributeValue(i, freq);
|
/system/bt/btif/src/ |
D | btif_media_task.c | 2154 int freq = 48000; in btif_a2dp_get_track_frequency() local 2157 freq = 16000; in btif_a2dp_get_track_frequency() 2160 freq = 32000; in btif_a2dp_get_track_frequency() 2163 freq = 44100; in btif_a2dp_get_track_frequency() 2166 freq = 48000; in btif_a2dp_get_track_frequency() 2169 return freq; in btif_a2dp_get_track_frequency()
|