Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Daudio_analysis.py273 freq, argument
306 golden_y = _generate_golden_pattern(rate, freq, block_size)
324 freq, argument
351 anoms = anomaly_detection(signal, rate, freq, block_size, threshold)
368 def _generate_golden_pattern(rate, freq, block_size): argument
392 samples_in_a_period = int(rate / freq) + 1
397 golden_y = numpy.sin(freq * 2.0 * numpy.pi * golden_x)
504 def THDN(signal, rate, q, freq): argument
524 freq = freq or fundamental_freq(windowed, rate)
526 w0 = freq / (rate / 2.0)
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dsmbv100.py93 def set_rfout_freq(self, freq): argument
104 if not isinstance(freq, numbers.Number):
108 self._send(':SOUR:FREQ:CW ' + str(freq))
110 infmsg = 'set SMBV100 RF output frequency to {} Hz'.format(freq)
122 freq = float(resp.split(';')[0])
124 infmsg = 'get SMBV100 RF output frequency as {} Hz'.format(freq)
127 return freq
/tools/netsim/rust/daemon/src/wifi/
Dhwsim_attr_set.rs64 freq: Option<u32>, field
79 pub freq: Option<u32>, field
159 pub fn freq(&mut self, freq: u32) -> &mut Self { in freq() method
160 self.extend_attributes(mac80211_hwsim::HwsimAttrFreq { freq, nla_m: 0, nla_o: 0 }); in freq()
161 self.freq = Some(freq); in freq()
194 freq: self.freq, in build()
212 self.freq.map(|v| write!(f, "freq: {}, ", v)); in fmt()
269 HwsimAttrFreq(child) => builder.freq(child.freq),
312 assert_eq!(attrs.freq, Some(2422)); in test_attr_set_parse()
Dradiotap.rs38 freq: u16, field
63 channel: ChannelInfo { freq: frame.freq.unwrap_or(0) as u16, flags: 0 }, in frame_into_pcap()
73 buffer.extend_from_slice(&radiotap_hdr.channel.freq.to_le_bytes()); in frame_into_pcap()
Dframe.rs38 pub freq: Option<u32>, field
65 freq: attrs.freq, in parse()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Daudio_test_utils.py84 def THDN(self, win_size=None, step_size=None, q=1, freq=None): argument
104 freq=freq)
110 freq=freq)
113 freq=None, argument
137 freq=freq,
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiCellCoexChannelAvoidTest.py215 freq = infos[0]["frequency"]
218 freq, WifiEnums.freq_to_channel[freq]))
219 return freq
226 freq, bandwidth = wutils.get_current_softap_info(
228 ad.log.info("SoftAp freq: {}".format(freq))
232 freq, WifiEnums.freq_to_channel[freq]))
233 return freq, bandwidth
DWifiIOTConnectionTest.py97 freq = "NA"
106 freq = line.split()[1]
114 return rssi, link_speed, freq
206 self.rssi, self.link_speed, self.freq = self.get_wifi_info()
227 connection_result['freq'] = self.freq
255 self.freq = "NA"
DWifiCountrySoftApAcsTest.py200 freq = infos[0]["frequency"]
201 return freq, None
208 freq, bandwidth = wutils.get_current_softap_info(ad, callbackId,
210 ad.log.info("SoftAp freq: {}".format(freq))
212 return freq, bandwidth
DWifiDppTest.py318 freq=2412, argument
339 self.log.info("Starting Responder in Configurator mode, frequency %sMHz" % freq)
404 cmd = "wpa_cli -iwlan0 DPP_LISTEN %d role=configurator netrole=%s" % (freq,
417 freq=2412, argument
436 self.log.info("Starting Responder in Enrollee mode, frequency %sMHz" % freq)
438 cmd = "wpa_cli -iwlan0 DPP_LISTEN %d role=enrollee netrole=%s" % (freq, net_role)
533 self.start_responder_enrollee(self.helper_dev, freq=responder_freq, net_role=net_role)
DWifiScannerMultiScanTest.py89 freq = scan_result["frequency"]
91 freq in self.scan_channels,
93 % (freq, scan_result, self.scan_channels))
DWifiRttManagerTest.py383 freq = scan_result[RttParam.frequency]
384 p[RttParam.frequency] = freq
386 if freq > 5000:
/tools/test/connectivity/acts_tests/tests/google/gnss/
DGnssPowerMeasurementTest.py27 mode='standalone', freq=self.meas_interval, meas=True)
32 mode='standalone', freq=self.meas_interval, meas=True)
37 mode='standalone', freq=self.interval, meas=True)
42 mode='standalone', freq=self.interval, meas=True)
DGnssConcurrencyTest.py203 self.ad, TTFF_criteria, freq=criteria["ap_location"])
257 def run_engine_switching_test(self, freq): argument
265 self.ad.droid.startLocating(freq[0] * 1000, 0)
268 gutils.start_gnss_by_gtw_gpstool(self.ad, True, freq=freq[1])
481 freq = [1, self.onchip_interval]
482 self.run_engine_switching_test(freq)
486 freq = [self.onchip_interval, 1]
487 self.run_engine_switching_test(freq)
DGnssPowerLowPowerTest.py27 freq=self.interval, lowpower=True)
32 freq=self.interval, lowpower=True)
37 freq=self.interval, lowpower=True)
DGnssPowerBasicTest.py50 self.start_gnss_tracking_with_power_data(freq=self.interval)
54 self.start_gnss_tracking_with_power_data(freq=self.interval)
58 self.start_gnss_tracking_with_power_data(freq=self.interval)
DGnssPowerAGPSTest.py47 self.start_gnss_tracking_with_power_data(freq=self.interval)
52 self.start_gnss_tracking_with_power_data(freq=self.interval)
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationDef.java118 Integer freq = mClassFrequency.get(className); in addConfigObjectDef() local
119 freq = freq == null ? 1 : freq + 1; in addConfigObjectDef()
120 mClassFrequency.put(className, freq); in addConfigObjectDef()
121 classList.add(new ConfigObjectDef(className, freq)); in addConfigObjectDef()
123 return freq; in addConfigObjectDef()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DCpuThrottlingWaiter.java76 String freq = device.executeShellCommand( in setUp() local
78 if (!e.getValue().equals(freq)) { in setUp()
80 CLog.d("CPU %s not ready: %s/%s", e.getKey(), freq, e.getValue()); in setUp()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/
Daudio_analysis_integrationtest.py180 self.freq = 440
185 self.y = numpy.sin(self.freq * 2.0 * numpy.pi * x)
229 self.y, self.rate, self.freq, self.block_size)
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/
DRangeApSupporting11McTest.py309 freq = scan_result[RttParam.frequency]
310 p[RttParam.frequency] = freq
312 if freq > 5000:
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java303 for (Freq freq : freqs) { in search()
304 CLog.v("Search checking predicate %s", p(relation, freq, noun)); in search()
305 if (pred.partialMatch(p(relation, freq, noun))) { in search()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
DPowerGTWGnssBaseTest.py86 freq=0, argument
99 gutils.start_gnss_by_gtw_gpstool(self.ad, True, 'gnss', True, freq,
/tools/test/connectivity/acts_tests/tests/google/coex/hotspot_tests/
DHotspotWiFiChannelTest.py218 freq = match.group(0).split('=')[1]
219 wifi_channel = wifi_channel_map[int(freq)]
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Devent_dispatcher.py283 def pop_events(self, regex_pattern, timeout, freq=1): argument
316 time.sleep(freq)

12