Home
last modified time | relevance | path

Searched refs:num_atten (Results 1 – 14 of 14) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/minicircuits/
Dtelnet.py40 def __init__(self, num_atten=0): argument
41 super(AttenuatorInstrument, self).__init__(num_atten)
63 if self.num_atten == 0:
64 self.num_atten = 1
110 if idx >= self.num_atten:
111 raise IndexError('Attenuator index out of range!', self.num_atten,
135 if idx >= self.num_atten or idx < 0:
136 raise IndexError('Attenuator index out of range!', self.num_atten,
139 if self.num_atten == 1:
Dhttp.py39 def __init__(self, num_atten=1): argument
40 super(AttenuatorInstrument, self).__init__(num_atten)
106 if not (0 <= idx < self.num_atten):
107 raise IndexError('Attenuator index out of range!', self.num_atten,
137 if not (0 <= idx < self.num_atten):
138 raise IndexError('Attenuator index out of range!', self.num_atten,
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/aeroflex/
Dtelnet.py34 def __init__(self, num_atten=0): argument
35 super(AttenuatorInstrument, self).__init__(num_atten)
58 if self.num_atten == 0:
59 self.num_atten = int(self._tnhelper.cmd('RFCONFIG? CHAN'))
100 if idx >= self.num_atten:
101 raise IndexError('Attenuator index out of range!', self.num_atten,
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
DCoexPerformanceBaseTest.py79 self.num_atten = self.attenuators[0].instrument.num_atten
83 for i in range(self.num_atten):
107 for i in range(self.num_atten):
115 for i in range(self.num_atten):
141 self.attenuators[self.num_atten - 1].set_atten(0)
153 self.attenuators[self.num_atten - 1].set_atten(bt_atten)
154 for i in range(self.num_atten - 1):
213 for i in range(self.num_atten - 1):
260 for i in range(self.num_atten - 1):
/tools/test/connectivity/acts/framework/acts/controllers/
Dattenuator.py210 def __init__(self, num_atten=0): argument
227 self.num_atten = num_atten
289 if self.idx >= instrument.num_atten:
/tools/test/connectivity/acts/tests/google/wifi/
DWifiSoftApPerformanceTest.py55 self.num_atten = self.attenuators[0].instrument.num_atten
138 [self.attenuators[i].set_atten(0) for i in range(self.num_atten)]
DWifiThroughputStabilityTest.py106 self.num_atten = self.attenuators[0].instrument.num_atten
DWifiRoamingPerformanceTest.py60 self.num_atten = self.attenuators[0].instrument.num_atten
DWifiPingTest.py76 self.num_atten = self.attenuators[0].instrument.num_atten
DWifiRvrTest.py73 self.num_atten = self.attenuators[0].instrument.num_atten
DWifiSensitivityTest.py149 self.num_atten = self.attenuators[0].instrument.num_atten
DWifiRssiTest.py71 self.num_atten = self.attenuators[0].instrument.num_atten
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerCoexBaseTest.py75 [self.attenuators[i].set_atten(95) for i in range(self.num_atten)]
DPowerBaseTest.py152 self.num_atten = self.attenuators[0].instrument.num_atten
281 if len(atten_list) != self.num_atten:
283 for i in range(self.num_atten):