/tools/test/connectivity/acts/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 | 137 ramp_attenuation(self.attenuator, atten) 148 'attenuation_db': int(self.attenuator.get_atten()),
|
/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/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/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/google/power/bt/ |
D | PowerBTcalibrationTest.py | 30 self.attenuator = self.attenuators[0] 55 for i in range(int(self.attenuator.get_max_atten())): 57 self.attenuator.set_atten(i)
|
D | PowerBTa2dpTest.py | 66 self.attenuator.get_atten())) 68 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/framework/acts/test_utils/bt/ |
D | A2dpBaseTest.py | 62 self.attenuator = self.attenuators[0] 63 self.attenuator.set_atten(INIT_ATTEN) 79 self.attenuator.set_atten(INIT_ATTEN) 109 self.attenuator.set_atten(INIT_ATTEN)
|
D | BtSarBaseTest.py | 81 self.attenuator = self.attenuators[0] 90 self.atten_max = int(self.attenuator.get_max_atten()) 153 self.attenuator.set_atten(self.atten_min) 342 self.attenuator.set_atten(atten)
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_test_utils.py | 31 from acts.controllers import attenuator 2069 attn0 = attenuator.AttenuatorGroup("AP0") 2070 attn1 = attenuator.AttenuatorGroup("AP1") 2087 def set_attns(attenuator, attn_val_name, roaming_attn=ROAMING_ATTN): argument 2097 attenuator[0].set_atten(roaming_attn[attn_val_name][0]) 2098 attenuator[1].set_atten(roaming_attn[attn_val_name][1]) 2099 attenuator[2].set_atten(roaming_attn[attn_val_name][2]) 2100 attenuator[3].set_atten(roaming_attn[attn_val_name][3]) 2125 start_atten = [attenuator.get_atten() for attenuator in attenuators] 2129 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/tests/google/bt/sar/ |
D | BtSarTpcTest.py | 49 self.attenuator.set_atten(self.atten_min) 160 self.attenuator.set_atten(atten)
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiIFSTwTest.py | 25 from acts.controllers import attenuator 126 for attenuator in self.attenuators: 127 attenuator.set_atten(attn_max)
|
D | WifiRvrTest.py | 371 for attenuator in self.attenuators: 372 attenuator.set_atten(atten, strict=False) 436 for attenuator in self.attenuators: 437 attenuator.set_atten(0, strict=False) 514 for attenuator in self.attenuators: 515 attenuator.set_atten(0, strict=False)
|
D | WifiThroughputStabilityTest.py | 303 for attenuator in self.attenuators: 304 attenuator.set_atten(testcase_params['atten_level']) 335 for attenuator in self.attenuators: 336 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 | WifiRssiTest.py | 497 for attenuator in self.attenuators: 498 attenuator.set_atten(atten) 518 for attenuator in self.attenuators: 519 attenuator.set_atten(0) 586 for attenuator in self.attenuators: 587 attenuator.set_atten(testcase_params['rssi_atten_range'][0])
|
D | WifiPingTest.py | 333 for attenuator in self.attenuators: 334 attenuator.set_atten(atten, strict=False) 454 for attenuator in self.attenuators: 455 attenuator.set_atten(0, strict=False)
|
D | WifiNetworkSelectorTest.py | 25 from acts.controllers import attenuator
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
D | arduino_test_utils.py | 27 from acts.controllers import attenuator
|
/tools/test/connectivity/acts/framework/acts/test_utils/power/ |
D | PowerBTBaseTest.py | 74 self.attenuator = self.attenuators[0]
|
/tools/test/connectivity/acts/tests/google/fuchsia/wlan/ |
D | WlanRvrTest.py | 25 from acts.controllers.attenuator import get_attenuators_for_device 408 for attenuator in rvr_attenuators: 409 attenuator.set_atten(step)
|
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/ |
D | gnss_test_utils.py | 1062 def set_attenuator_gnss_signal(ad, attenuator, atten_value): argument 1073 attenuator[0].set_atten(atten_value)
|