Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 24 of 24) sorted by relevance

/system/extras/cpustats/
Dcpustats.c40 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/
Dscan_session.cc90 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()
Dwifi_provider.cc400 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()
Dwifi_provider.h60 FrequencyCount(uint16_t freq, size_t conn) in FrequencyCount()
61 : frequency(freq), connection_count(conn) {} in FrequencyCount()
Dwifi.cc1989 for (uint32_t freq : freqs) { in TriggerPassiveScan() local
1991 << "Frequency-" << i << ": " << freq; in TriggerPassiveScan()
1994 frequency_list->SetU32AttributeValue(i, freq); in TriggerPassiveScan()
Dwake_on_wifi_unittest.cc2054 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()
Dwifi_provider_unittest.cc369 uint16_t freq; in BuildFreqCountMap() member
384 (*frequencies)[kConnectFreq[i].freq] = kConnectFreq[i].count; in BuildFreqCountMap()
Dwifi_unittest.cc4363 for (uint16_t freq : kNewWiphyNlMsg_UniqueFrequencies) { in TEST_F() local
4364 EXPECT_TRUE(GetAllScanFrequencies()->find(freq) != in TEST_F()
/system/tpm/trunks/ftdi/
Dmpsse.h178 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);
Dmpsse.c58 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()
Dsupport.h30 uint16_t freq2div(uint32_t system_clock, uint32_t freq);
Dsupport.c82 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/
Drecentfling.sh107 ${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
Dchromefling.sh101 ${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/
Dnl80211_attribute.cc241 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()
Dnetlink_message_unittest.cc408 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/
Devent_attr.cpp113 if (attr.freq != 0) { in DumpPerfEventAttr()
132 attr.mmap, attr.comm, attr.freq); in DumpPerfEventAttr()
Devent_selection_set.cpp118 attr.freq = 1; in SetSampleFreq()
126 attr.freq = 0; in SetSamplePeriod()
/system/connectivity/apmanager/
Dconfig.cc110 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()
Dconfig.h49 static bool GetFrequencyFromChannel(uint16_t channel, uint32_t* freq);
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/
Dperf.h185 unsigned int freq; member
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/
Dperf.h227 unsigned int freq; member
/system/connectivity/shill/
DNETLINK_MESSAGES.txt113 for (const auto freq : scan_frequencies) {
115 nested->SetU32AttributeValue(i, freq);
/system/bt/btif/src/
Dbtif_media_task.c2154 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()