Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/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.py137 ramp_attenuation(self.attenuator, atten)
148 'attenuation_db': int(self.attenuator.get_atten()),
/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/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/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/google/power/bt/
DPowerBTcalibrationTest.py30 self.attenuator = self.attenuators[0]
55 for i in range(int(self.attenuator.get_max_atten())):
57 self.attenuator.set_atten(i)
DPowerBTa2dpTest.py66 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.py24 from acts.controllers import attenuator
107 raise attenuator.InvalidOperationError(
125 raise attenuator.InvalidDataError(
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DA2dpBaseTest.py62 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)
DBtSarBaseTest.py81 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/
Dwifi_test_utils.py31 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 …]
DWifiBaseTest.py46 for attenuator in self.attenuators:
47 attenuator.set_atten(0)
/tools/test/connectivity/acts/tests/google/bt/sar/
DBtSarTpcTest.py49 self.attenuator.set_atten(self.atten_min)
160 self.attenuator.set_atten(atten)
/tools/test/connectivity/acts/tests/google/wifi/
DWifiIFSTwTest.py25 from acts.controllers import attenuator
126 for attenuator in self.attenuators:
127 attenuator.set_atten(attn_max)
DWifiRvrTest.py371 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)
DWifiThroughputStabilityTest.py303 for attenuator in self.attenuators:
304 attenuator.set_atten(testcase_params['atten_level'])
335 for attenuator in self.attenuators:
336 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)
DWifiRssiTest.py497 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])
DWifiPingTest.py333 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)
DWifiNetworkSelectorTest.py25 from acts.controllers import attenuator
/tools/test/connectivity/acts/framework/acts/test_utils/net/
Darduino_test_utils.py27 from acts.controllers import attenuator
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerBTBaseTest.py74 self.attenuator = self.attenuators[0]
/tools/test/connectivity/acts/tests/google/fuchsia/wlan/
DWlanRvrTest.py25 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/
Dgnss_test_utils.py1062 def set_attenuator_gnss_signal(ad, attenuator, atten_value): argument
1073 attenuator[0].set_atten(atten_value)