/tools/test/connectivity/acts/framework/acts/controllers/ |
D | attenuator.py | 84 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/ |
D | BtInterferenceRSSITest.py | 35 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)
|
D | BtA2dpRangeTest.py | 114 ramp_attenuation(self.attenuator, atten) 125 'attenuation_db': int(self.attenuator.get_atten()),
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_test_utils.py | 30 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 …]
|
D | WifiBaseTest.py | 46 for attenuator in self.attenuators: 47 attenuator.set_atten(0)
|
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/minicircuits/ |
D | http.py | 28 from acts.controllers import attenuator 31 class AttenuatorInstrument(attenuator.AttenuatorInstrument): 64 raise attenuator.InvalidDataError( 120 raise attenuator.InvalidDataError( 148 raise attenuator.InvalidDataError(
|
D | telnet.py | 27 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/ |
D | WifiRvrTest.py | 365 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)
|
D | WifiRssiTest.py | 490 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])
|
D | WifiThroughputStabilityTest.py | 304 for attenuator in self.attenuators: 305 attenuator.set_atten(testcase_params['atten_level']) 345 for attenuator in self.attenuators: 346 attenuator.set_atten(0)
|
D | WifiStressTest.py | 490 for attenuator in self.attenuators: 491 attenuator.set_atten(95) 515 for attenuator in self.attenuators: 516 attenuator.set_atten(95)
|
D | WifiPingTest.py | 310 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)
|
D | WifiIFSTwTest.py | 25 from acts.controllers import attenuator 126 for attenuator in self.attenuators: 127 attenuator.set_atten(attn_max)
|
D | WifiNetworkSelectorTest.py | 25 from acts.controllers import attenuator 68 for attenuator in self.attenuators: 69 attenuator.set_atten(ATTENUATOR_INITIAL_SETTING)
|
D | WifiSoftApPerformanceTest.py | 137 for attenuator in self.attenuators: 138 attenuator.set_atten(0, strict=False)
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | BtSarBaseTest.py | 95 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)
|
D | A2dpBaseTest.py | 64 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/ |
D | telnet.py | 28 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/ |
D | PowerBTcalibrationTest.py | 30 self.attenuator = self.attenuators[0] 56 for i in range(int(self.attenuator.get_max_atten())): 58 self.attenuator.set_atten(i)
|
D | PowerBTa2dpTest.py | 69 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.py | 24 from acts.controllers import attenuator 107 raise attenuator.InvalidOperationError( 125 raise attenuator.InvalidDataError(
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/ |
D | WlanRvrTest.py | 25 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/ |
D | BleSarPowerLimitTest.py | 60 self.attenuator.set_atten(FIXED_ATTENUATION) 72 self.attenuator.set_atten(self.atten_min)
|
D | BtSarTpcTest.py | 49 self.attenuator.set_atten(self.atten_min) 160 self.attenuator.set_atten(atten)
|
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/ |
D | gnss_test_utils.py | 1093 def set_attenuator_gnss_signal(ad, attenuator, atten_value): argument 1104 attenuator[0].set_atten(atten_value)
|