Home
last modified time | relevance | path

Searched refs:frequency (Results 1 – 25 of 30) sorted by relevance

12

/system/chre/apps/wifi_offload/
Dchannel_histogram.cc45 uint8_t GetChannelNumber(uint32_t frequency) { in GetChannelNumber() argument
47 utility::Ieee80211FrequencyToChannel(static_cast<int>(frequency)); in GetChannelNumber()
49 LOGE("Unknown channel frequency %" PRIu32 " MHz.", frequency); in GetChannelNumber()
81 bool ChannelHistogram::IsSupportedFrequency(uint32_t frequency) { in IsSupportedFrequency() argument
82 return GetChannelNumber(frequency) != 0; in IsSupportedFrequency()
109 bool ChannelHistogram::IncrementScanCountForFrequency(uint32_t frequency) { in IncrementScanCountForFrequency() argument
110 size_t index = GetChannelIndex(GetChannelNumber(frequency)); in IncrementScanCountForFrequency()
120 uint32_t frequency, uint32_t increase_count) { in IncrementScanCountForFrequencyForTest() argument
121 return IncrementScanCountForChannelForTest(GetChannelNumber(frequency), in IncrementScanCountForFrequencyForTest()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dchannel_histogram.h38 static bool IsSupportedFrequency(uint32_t frequency);
44 bool IncrementScanCountForFrequency(uint32_t frequency);
46 bool IncrementScanCountForFrequencyForTest(uint32_t frequency,
/system/connectivity/wificond/scanning/
Dscanner_impl.cpp287 for (const auto& frequency : network.frequencies_) { in ParsePnoSettings() local
288 if (all_freqs.find(frequency) != all_freqs.end()) { in ParsePnoSettings()
289 unique_frequencies.insert(frequency); in ParsePnoSettings()
291 LOG(INFO) << "filtered out invalid frequency " << frequency; in ParsePnoSettings()
303 for (const auto frequency : kPnoScanDefaultFreqs2G) { in ParsePnoSettings() local
304 if (std::find(band_2g.begin(), band_2g.end(), frequency) != band_2g.end()) { in ParsePnoSettings()
305 unique_frequencies.insert(frequency); in ParsePnoSettings()
309 for (const auto frequency : kPnoScanDefaultFreqs5G) { in ParsePnoSettings() local
310 if (std::find(band_5g.begin(), band_5g.end(), frequency) != band_5g.end()) { in ParsePnoSettings()
311 unique_frequencies.insert(frequency); in ParsePnoSettings()
[all …]
Dscan_result.cpp47 frequency(frequency_), in NativeScanResult()
60 RETURN_IF_FAILED(parcel->writeUint32(frequency)); in writeToParcel()
90 RETURN_IF_FAILED(parcel->readUint32(&frequency)); in readFromParcel()
125 LOG(INFO) << "FREQUENCY: " << frequency; in DebugLog()
Dscan_result.h42 uint32_t frequency,
61 uint32_t frequency; variable
/system/connectivity/wificond/
Dap_interface_impl.cpp108 void ApInterfaceImpl::OnChannelSwitchEvent(uint32_t frequency, in OnChannelSwitchEvent() argument
110 LOG(INFO) << "New channel on frequency: " << frequency in OnChannelSwitchEvent()
112 binder_->NotifySoftApChannelSwitched(frequency, bandwidth); in OnChannelSwitchEvent()
Dclient_interface_impl.cpp272 associate_freq_ = scan_result.frequency; in RefreshAssociateFreq()
278 bool ClientInterfaceImpl::OnChannelSwitchEvent(uint32_t frequency) { in OnChannelSwitchEvent() argument
279 if(!frequency) { in OnChannelSwitchEvent()
283 LOG(INFO) << "New channel on frequency: " << frequency; in OnChannelSwitchEvent()
284 associate_freq_ = frequency; in OnChannelSwitchEvent()
Dap_interface_binder.cpp42 int frequency, ChannelBandwidth channel_bandwidth) { in NotifySoftApChannelSwitched() argument
76 ap_interface_event_callback_->onSoftApChannelSwitched(frequency, bandwidth); in NotifySoftApChannelSwitched()
Dap_interface_binder.h49 void NotifySoftApChannelSwitched(int frequency,
Dap_interface_impl.h70 void OnChannelSwitchEvent(uint32_t frequency, ChannelBandwidth bandwidth);
Dclient_interface_impl.h93 bool OnChannelSwitchEvent(uint32_t frequency);
/system/connectivity/wificond/aidl/android/net/wifi/nl80211/
DIApInterfaceEventCallback.aidl46 void onSoftApChannelSwitched(int frequency, int bandwidth); in onSoftApChannelSwitched() argument
/system/bpfprogs/
Dtime_in_state_test.cpp93 static void noteCpuFrequencyChange(uint32_t cpuId, uint32_t frequency) { in noteCpuFrequencyChange() argument
94 cpufreq_args args{.cpu_id = cpuId, .state = frequency}; in noteCpuFrequencyChange()
/system/media/audio_utils/tests/
Dmel_processor_tests.cpp66 float frequency, in appendSineWaveBuffer() argument
70 float rad = 2.0f * (float) M_PI * frequency / (float) sampleRate; in appendSineWaveBuffer()
/system/connectivity/wificond/tests/
Dscan_result_unittest.cpp78 EXPECT_EQ(kFakeFrequency, scan_result_copy.frequency); in TEST_F()
/system/extras/simpleperf/
Dcmd_monitor_test.cpp114 TEST(monitor_cmd, frequency) { in TEST() argument
/system/nfc/src/nfa/dm/
Dnfa_dm_discover.cc234 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pa; in nfa_dm_get_rf_discover_config()
243 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pb; in nfa_dm_get_rf_discover_config()
252 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pf; in nfa_dm_get_rf_discover_config()
263 disc_params[num_params].frequency = 1; in nfa_dm_get_rf_discover_config()
272 disc_params[num_params].frequency = 1; in nfa_dm_get_rf_discover_config()
281 disc_params[num_params].frequency = 1; in nfa_dm_get_rf_discover_config()
290 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pi93; in nfa_dm_get_rf_discover_config()
299 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pbp; in nfa_dm_get_rf_discover_config()
308 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pk; in nfa_dm_get_rf_discover_config()
317 disc_params[num_params].frequency = 1; in nfa_dm_get_rf_discover_config()
[all …]
/system/extras/profcollectd/
DREADME.md38 Setting the frequency value to `0` disables collection for the corresponding event.
163 each device (by reducing collection frequency).
/system/connectivity/wificond/net/
Dnetlink_manager.cpp750 uint32_t frequency = 0; in OnChannelSwitchEvent() local
751 if (!packet->GetAttributeValue(NL80211_ATTR_WIPHY_FREQ, &frequency)) { in OnChannelSwitchEvent()
765 handler->second(frequency, getBandwidthType(bandwidth)); in OnChannelSwitchEvent()
Dnetlink_manager.h107 uint32_t frequency, ChannelBandwidth bandwidth)> OnChannelSwitchEventHandler;
/system/extras/cpu_loads/
DREADME.md24 …t. This usually means stopping the framework, locking a sustainable CPU frequency, and moving the …
/system/extras/simpleperf/doc/
DREADME.md130 sample at very high frequency (usually <= 4000 Hz).
141 5. Takes much less CPU time than DWARF based call graphs. So the sample frequency can be 10000 Hz or
289 kernel buffer size(-m), or decreasing sample frequency(-f), or
293 decreasing sample frequency(-f), or increasing sample period(-c).
303 We can also reduce samples generated in a fixed time period, like reducing sample frequency using
Dexecutable_commands_reference.md364 what frequency to dump samples, how long to monitor, and where to store samples.
368 # frequency (4000 samples per second), writing records to perf.data.
416 ### Set the frequency to record
418 We can set the frequency to dump records via -f or -c. For example, -f 4000 means
425 # Record with sample frequency 1000: sample 1000 times every second running.
433 used for generating samples (default is 25%), and decreases the max allowed sample frequency when
438 # Record with sample frequency 10000, with max allowed cpu percent to be 50%.
/system/nfc/src/include/
Dnci_defs.h607 uint8_t frequency; member
/system/extras/libatrace_rust/
DREADME.md115 affect the performance of hot high-frequency methods. When the events are disabled, calling them is

12