Home
last modified time | relevance | path

Searched refs:attenuator (Results 1 – 25 of 27) sorted by relevance

12

/tools/test/connectivity/acts/framework/acts/controllers/
Dattenuator.py84 for attenuator in attenuators:
86 "Address": attenuator.instrument.address,
87 "Attenuator_Port": attenuator.idx
157 for attenuator in attenuators:
158 if (attenuator.instrument.address ==
160 and attenuator.idx is attenuator_port):
161 attenuator_list.append(attenuator)
371 def add(self, attenuator): argument
380 if not isinstance(attenuator, Attenuator):
383 self.attens.append(attenuator)
/tools/test/connectivity/acts_tests/tests/google/bt/performance/
DBtInterferenceRSSITest.py35 def set(self, attenuator, value): argument
36 self.log.debug("Set attenuator %s to %s" % (attenuator.idx, value))
37 attenuator.set_atten(int(value))
39 def wait_seconds(self, attenuator, value): argument
41 (attenuator.idx, value))
44 def atten_sequence_worker(self, attenuator, action_sequence): argument
50 getattr(self, method)(attenuator, value)
53 for attenuator in self.attenuators:
54 attenuator.set_atten(value)
DBtA2dpRangeTest.py114 ramp_attenuation(self.attenuator, atten)
125 'attenuation_db': int(self.attenuator.get_atten()),
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_test_utils.py30 from acts.controllers import attenuator
1937 attn0 = attenuator.AttenuatorGroup("AP0")
1938 attn1 = attenuator.AttenuatorGroup("AP1")
1955 def set_attns(attenuator, attn_val_name): argument
1964 attenuator[0].set_atten(roaming_attn[attn_val_name][0])
1965 attenuator[1].set_atten(roaming_attn[attn_val_name][1])
1966 attenuator[2].set_atten(roaming_attn[attn_val_name][2])
1967 attenuator[3].set_atten(roaming_attn[attn_val_name][3])
1987 start_atten = [attenuator.get_atten() for attenuator in attenuators]
1991 for i, attenuator in enumerate(attenuators):
[all …]
DWifiBaseTest.py46 for attenuator in self.attenuators:
47 attenuator.set_atten(0)
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/minicircuits/
Dhttp.py28 from acts.controllers import attenuator
31 class AttenuatorInstrument(attenuator.AttenuatorInstrument):
64 raise attenuator.InvalidDataError(
120 raise attenuator.InvalidDataError(
148 raise attenuator.InvalidDataError(
Dtelnet.py27 from acts.controllers import attenuator
31 class AttenuatorInstrument(attenuator.AttenuatorInstrument):
108 raise attenuator.InvalidOperationError('Connection not open!')
133 raise attenuator.InvalidOperationError('Connection not open!')
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRvrTest.py365 for attenuator in self.attenuators:
366 attenuator.set_atten(atten, strict=False)
432 for attenuator in self.attenuators:
433 attenuator.set_atten(0, strict=False)
510 for attenuator in self.attenuators:
511 attenuator.set_atten(0, strict=False)
DWifiRssiTest.py490 for attenuator in self.attenuators:
491 attenuator.set_atten(atten)
511 for attenuator in self.attenuators:
512 attenuator.set_atten(0)
579 for attenuator in self.attenuators:
580 attenuator.set_atten(testcase_params['rssi_atten_range'][0])
DWifiThroughputStabilityTest.py304 for attenuator in self.attenuators:
305 attenuator.set_atten(testcase_params['atten_level'])
345 for attenuator in self.attenuators:
346 attenuator.set_atten(0)
DWifiStressTest.py490 for attenuator in self.attenuators:
491 attenuator.set_atten(95)
515 for attenuator in self.attenuators:
516 attenuator.set_atten(95)
DWifiPingTest.py310 for attenuator in self.attenuators:
311 attenuator.set_atten(atten, strict=False)
432 for attenuator in self.attenuators:
433 attenuator.set_atten(0, strict=False)
DWifiIFSTwTest.py25 from acts.controllers import attenuator
126 for attenuator in self.attenuators:
127 attenuator.set_atten(attn_max)
DWifiNetworkSelectorTest.py25 from acts.controllers import attenuator
68 for attenuator in self.attenuators:
69 attenuator.set_atten(ATTENUATOR_INITIAL_SETTING)
DWifiSoftApPerformanceTest.py137 for attenuator in self.attenuators:
138 attenuator.set_atten(0, strict=False)
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBtSarBaseTest.py95 self.attenuator = self.attenuators[0]
114 self.atten_max = int(self.attenuator.get_max_atten())
162 self.attenuator.set_atten(self.pl10_atten)
177 self.attenuator.set_atten(self.atten_min)
648 self.attenuator.set_atten(atten)
DA2dpBaseTest.py64 self.attenuator = self.attenuators[0]
65 self.attenuator.set_atten(INIT_ATTEN)
81 self.attenuator.set_atten(INIT_ATTEN)
111 self.attenuator.set_atten(INIT_ATTEN)
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/aeroflex/
Dtelnet.py28 from acts.controllers import attenuator
32 class AttenuatorInstrument(attenuator.AttenuatorInstrument):
98 raise attenuator.InvalidOperationError('Connection not open!')
123 raise attenuator.InvalidOperationError('Connection not open!')
/tools/test/connectivity/acts_tests/tests/google/power/bt/
DPowerBTcalibrationTest.py30 self.attenuator = self.attenuators[0]
56 for i in range(int(self.attenuator.get_max_atten())):
58 self.attenuator.set_atten(i)
DPowerBTa2dpTest.py69 self.attenuator.get_atten()))
71 PBtBT.ramp_attenuation(self.attenuator, self.atten_pl_settings[tpl][0],
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/
D_tnhelper.py24 from acts.controllers import attenuator
107 raise attenuator.InvalidOperationError(
125 raise attenuator.InvalidDataError(
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/
DWlanRvrTest.py25 from acts.controllers.attenuator import get_attenuators_for_device
417 for attenuator in rvr_attenuators:
418 attenuator.set_atten(step)
/tools/test/connectivity/acts_tests/tests/google/bt/sar/
DBleSarPowerLimitTest.py60 self.attenuator.set_atten(FIXED_ATTENUATION)
72 self.attenuator.set_atten(self.atten_min)
DBtSarTpcTest.py49 self.attenuator.set_atten(self.atten_min)
160 self.attenuator.set_atten(atten)
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/
Dgnss_test_utils.py1093 def set_attenuator_gnss_signal(ad, attenuator, atten_value): argument
1104 attenuator[0].set_atten(atten_value)

12