Home
last modified time | relevance | path

Searched refs:atten (Results 1 – 21 of 21) sorted by relevance

/tools/test/connectivity/acts/framework/tests/
DAttenuatorSanityTest.py34 for atten in self.attenuators:
35 self.log.info("Attenuator: {}".format(atten))
37 atten_max_value = atten.get_max_atten()
50 atten.set_atten(atten_val)
51 current_atten = int(atten.get_atten())
60 for atten in self.attenuators:
62 atten_max_value = atten.get_max_atten()
/tools/test/connectivity/acts_tests/tests/google/ble/performance/
DBleRangeTest.py116 for atten in self.attenuation_range:
117 ramp_attenuation(self.attenuator, atten)
118 self.log.info('Set attenuation to %d dB', atten)
122 rssi_primary, pwlv_primary, atten))
125 attenuation.append(atten)
128 path_loss.append(atten + self.system_path_loss)
170 for atten in self.attenuation_range:
171 ramp_attenuation(self.attenuator, atten)
172 self.log.info('Set attenuation to %d dB', atten)
178 .format(rssi_primary, pwlv_primary, atten, datarate))
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/performance/
DBtInterferenceStaticTest.py81 for atten in self.bt_attenuation_range:
83 self.attenuator.set_atten(atten)
92 tag = 'attenuation_{}dB'.format(atten)
95 atten))
129 thdns, atten))
144 ' {} dBm'.format(atten, rssi_primary))
DBtRfcommThroughputRangeTest.py72 for atten in self.attenuation_range:
73 ramp_attenuation(self.attenuator, atten)
74 self.log.info('Set attenuation to %d dB', atten)
81 rssi_primary, pwlv_primary, atten))
86 'attenuation_db': atten,
89 'Pathloss': atten + self.system_path_loss,
DInjectWifiInterferenceTest.py98 atten = int(input("Please enter the attenuation level for CHAN1 :"))
99 self.attenuator.set_atten(atten)
100 self.log.info("Attenuation for CHAN1 set to:{} dB".format(atten))
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
DA2dpBaseTest.py284 def set_test_atten(self, atten): argument
290 atten,
293 self.log.info('Set Chain 0 attenuation to %d dB', atten)
295 atten + self.gain_mismatch,
299 atten + self.gain_mismatch)
301 ramp_attenuation(self.attenuator, atten)
302 self.log.info('Set attenuation to %d dB', atten)
325 for atten in attenuation_range:
327 self.set_test_atten(atten)
330 codec_config['codec_type'], atten)
[all …]
DBtSarBaseTest.py728 for atten in range(self.atten_min, self.atten_max, BT_SAR_ATTEN_STEP):
729 self.attenuator.set_atten(atten)
735 'PL10 located at {}'.format(atten + BT_SAR_ATTEN_STEP))
736 return atten + BT_SAR_ATTEN_STEP
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/
D__init__.py366 for atten in atten_list:
367 if path_label in atten.path:
368 atten.set_atten(atten_level, retry=True)
388 for atten in attenuators:
389 atten.set_atten(0, strict=False, retry=True)
417 for atten in attenuators:
418 atten.set_atten(target_atten, strict=False, retry=True)
470 for atten in attenuators:
471 atten.set_atten(0, strict=False, retry=True)
532 for atten in attenuators:
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
DCoexPerformanceBaseTest.py173 for i, atten in enumerate(self.rvr[bt_atten]["attenuation"]):
208 for atten in self.wifi_atten_range:
209 tag = '{}_{}'.format(bt_atten, atten)
211 atten + self.rvr[bt_atten]["fixed_attenuation"])
212 self.log.info('Setting wifi attenuation to: {} dB'.format(atten))
214 self.attenuators[i].set_atten(atten)
244 self.rvr[bt_atten]["audio_artifacts"][atten] = f.readline()
245 content = json.loads(self.rvr[bt_atten]["audio_artifacts"][atten])
246 self.rvr["bt_gap_analysis"][bt_atten][atten] = {}
249 self.rvr["bt_gap_analysis"][bt_atten][atten][idx] = (
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/sar/
DBtSarTpcTest.py164 for atten in self.tpc_sweep_range:
166 self.attenuator.set_atten(atten)
168 atten, scenario))
175 self.pathloss + atten)
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveConnectivityMonitorMobilityTest.py74 for atten in self.attenuators:
75 self.attens[atten.path] = atten
76 atten.set_atten(atten.get_max_atten()) # Default all attens to max
DTelWifiDataTest.py57 for atten in self.attenuators:
58 self.attens[atten.path] = atten
DTelWifiVoiceTest.py119 for atten in self.attenuators:
120 self.attens[atten.path] = atten
121 atten.set_atten(ATTEN_MIN_VALUE, retry=True) # Default all attens to min
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiSensitivityTest.py422 for atten in self.attenuators:
423 if 'AP-Chain-0' in atten.path:
424 atten.offset = atten_offsets[0]
425 elif 'AP-Chain-1' in atten.path:
426 atten.offset = atten_offsets[1]
428 atten.offset = 0
470 for idx, atten in enumerate(self.attenuators):
473 atten.offset = atten.instrument.max_atten
DWifiPingTest.py324 for atten in testcase_params['atten_range']:
326 attenuator.set_atten(atten, strict=False, retry=True)
373 .format(atten,
386 'Attenuation = {}dB. Disconnected.'.format(atten))
492 for idx, atten in enumerate(self.attenuators):
495 atten.offset = atten.instrument.max_atten
497 atten.offset = 0
DWifiRoamingPerformanceTest.py451 for idx, atten in enumerate(self.attenuators):
456 atten.set_atten(0)
458 atten.set_atten(atten.instrument.max_atten)
595 for idx, atten in enumerate(self.attenuators):
600 atten.set_atten(atten_waveform[atten_idx])
DWifiIFSTwTest.py234 attenuation = ', '.join('{:>5.2f}dB '.format(atten.get_atten())
235 for atten in self.attenuators)
DWifiRvrTwTest.py164 for atten in self.attenuators:
165 atten.set_atten(db)
167 "Current dB = " + str(atten.get_atten()) + "dB")
169 while atten.get_atten() != db and retry < 11:
DWifiRvrTest.py424 for atten in testcase_params['atten_range']:
430 attenuator.set_atten(atten, strict=False, retry=True)
448 self.iperf_server.start(tag=str(atten))
451 testcase_params['iperf_args'], str(atten),
471 self.sniffer.stop_capture(tag=str(atten))
497 atten, curr_throughput, current_rssi['signal_poll_rssi'],
DWifiRssiTest.py499 for atten in testcase_params['rssi_atten_range']:
501 self.log.info('Setting attenuation to {} dB'.format(atten))
503 attenuator.set_atten(atten)
518 .format(atten, current_rssi['signal_poll_rssi']['mean'],
DWifiTxPowerCheckTest.py695 for atten in testcase_params['atten_range']:
697 attenuator.set_atten(atten, strict=False, retry=True)