Home
last modified time | relevance | path

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

/external/autotest/server/cros/network/
Dattenuator.py13 def __init__(self, host, num_atten=0): argument
17 self.num_atten = num_atten
35 if self.num_atten == 0:
36 self.num_atten = 1
70 if channel >= self.num_atten:
73 (channel, self.num_atten))
94 if channel >= self.num_atten or channel < 0:
97 "%d" % (channel, self.num_atten))
Dattenuator_controller.py44 num_atten = len(self.supported_attenuators)
46 self._attenuator = attenuator.Attenuator(hostname, num_atten)