Home
last modified time | relevance | path

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

1234

/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_ap_preset.py47 mode=None, argument
120 mode = _get_or_default(mode, hostapd_constants.MODE_11N_MIXED)
135 mode=mode,
148 mode = _get_or_default(mode, hostapd_constants.MODE_11AC_MIXED)
155 mode = hostapd_constants.MODE_11N_MIXED
193 mode=mode,
207 mode = hostapd_constants.MODE_11B
209 mode = hostapd_constants.MODE_11A
215 mode=mode,
230 mode = hostapd_constants.MODE_11G
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiSensitivityTest.py257 with open(results_file_path, mode='w') as csv_file:
544 mode for mode in modes
545 if mode in self.VALID_TEST_CONFIGS[channel]
547 for mode in requested_modes:
548 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
549 if 'VHT' in mode:
550 rates = self.VALID_RATES[mode]
551 elif 'HT' in mode:
552 rates = self.VALID_RATES[mode]
553 elif 'legacy' in mode and channel < 14:
[all …]
DWifiThroughputStabilityTest.py79 for channel, mode, signal_level, traffic_type, traffic_direction in itertools.product(
86 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
91 mode=mode,
99 channel, mode))
582 … for channel, mode, position, traffic_type, signal_level, traffic_direction in itertools.product(
585 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
590 mode=mode,
600 channel, mode, position))
DWifiPingTest.py526 for channel, mode, chain, test_type in itertools.product(
528 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
531 testcase_name = '{}_ch{}_{}_ch{}'.format(test_type, channel, mode,
536 mode=mode,
726 for channel, mode, position in itertools.product(
728 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
732 channel, mode, position)
737 mode=mode,
DWifiRvrTest.py655 for channel, mode, traffic_type, traffic_direction in itertools.product(
657 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
661 traffic_type, traffic_direction, channel, mode)
664 mode=mode,
867 for channel, mode, angle, traffic_type, direction in itertools.product(
869 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
873 traffic_type, direction, channel, mode, angle)
875 mode=mode,
DWifiRssiTest.py797 for channel, mode, traffic_mode, test_type in itertools.product(
799 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
803 channel, mode, traffic_mode)
806 mode=mode,
1029 for (channel, mode, traffic, chamber_mode, orientation,
1033 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
1037 channel, mode, traffic, orientation)
1040 mode=mode,
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/third_party_ap_profiles/
Dasus.py112 mode = hostapd_constants.MODE_11N_MIXED
119 mode = hostapd_constants.MODE_11AC_MIXED
138 mode=mode,
205 mode = hostapd_constants.MODE_11G
214 mode = hostapd_constants.MODE_11A
237 mode=mode,
328 mode = hostapd_constants.MODE_11N_MIXED
340 mode = hostapd_constants.MODE_11AC_MIXED
361 mode=mode,
470 mode=hostapd_constants.MODE_11N_MIXED,
[all …]
Dtplink.py110 mode = hostapd_constants.MODE_11N_MIXED
119 mode = hostapd_constants.MODE_11AC_MIXED
142 mode=mode,
218 mode = hostapd_constants.MODE_11N_MIXED
229 mode = hostapd_constants.MODE_11AC_MIXED
268 mode=mode,
356 mode = hostapd_constants.MODE_11N_MIXED
364 mode = hostapd_constants.MODE_11AC_MIXED
386 mode=mode,
460 mode=hostapd_constants.MODE_11N_MIXED,
Dlinksys.py109 mode=hostapd_constants.MODE_11N_MIXED,
170 mode = hostapd_constants.MODE_11G
176 mode = hostapd_constants.MODE_11A
187 mode=mode,
301 mode=hostapd_constants.MODE_11AC_MIXED,
Dnetgear.py120 mode = hostapd_constants.MODE_11N_MIXED
128 mode = hostapd_constants.MODE_11AC_MIXED
160 mode=mode,
263 mode=hostapd_constants.MODE_11N_MIXED,
/tools/test/connectivity/acts_tests/tests/google/gnss/
DLabTtffTest.py170 def get_and_verify_ttff(self, mode): argument
176 if mode not in self.test_types:
177 raise signals.TestError('Unrecognized mode %s' % mode)
178 test_type = self.test_types.get(mode)
184 self.dut, ttff_mode=mode,
194 format(mode.upper()))
226 def verify_pe(self, mode): argument
241 if mode not in self.test_types:
242 raise signals.TestError('Unrecognized mode %s' % mode)
243 test_type = self.test_types.get(mode)
[all …]
DGnssFunctionTest.py246 def run_ttff_via_gtw_gpstool(self, mode, criteria): argument
255 start_ttff_by_gtw_gpstool(self.ad, mode, self.ttff_test_cycle)
259 self.ad, ttff_data, self.ttff_mode.get(mode), criteria)
262 "seconds." % (self.ttff_mode.get(mode), criteria))
270 def supl_ttff_with_sim(self, mode, criteria): argument
279 self.run_ttff_via_gtw_gpstool(mode, criteria)
281 def standalone_ttff_airplane_mode_on(self, mode, criteria): argument
291 self.run_ttff_via_gtw_gpstool(mode, criteria)
293 def supl_ttff_weak_gnss_signal(self, mode, criteria): argument
304 self.run_ttff_via_gtw_gpstool(mode, criteria)
[all …]
DGnssPowerMeasurementTest.py27 mode='standalone', freq=self.meas_interval, meas=True)
32 mode='standalone', freq=self.meas_interval, meas=True)
36 mode='standalone', freq=self.interval, meas=True)
41 mode='standalone', freq=self.interval, meas=True)
DLocationPlatinumTest.py87 def get_and_verify_ttff(self, mode): argument
93 if mode in self.test_types:
94 test_type = self.test_types.get(mode)
96 raise signals.TestFailure('Unrecognized mode %s' % mode)
102 self.ad, ttff_mode=mode, iteration=1, aid_data=True)
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcmw500.py470 def duplex_mode(self, mode): argument
476 if not isinstance(mode, DuplexMode):
479 cmd = 'CONFigure:LTE:SIGN:{}:DMODe {}'.format(self._bts, mode.value)
692 def scheduling_mode(self, mode): argument
698 if not isinstance(mode, SchedulingMode):
702 self._bts, mode.value)
973 def drx_connected_mode(self, mode): argument
1128 def measurement_repetition(self, mode): argument
1134 if not isinstance(mode, RepetitionMode):
1137 cmd = 'CONFigure:LTE:MEAS:MEValuation:REPetition {}'.format(mode.value)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/
Dgoogle_wifi.py199 mode=self.ap_settings[interface]['mode'],
234 mode=None, argument
253 self.ap_settings[interface]['mode'] = mode
260 elif 'legacy' in mode.lower():
263 elif 'vht' in mode.lower():
268 elif 'ht' in mode.lower():
/tools/metalava/src/test/java/com/android/tools/metalava/
DConvertTest.kt93 fun `Test convert new with compat mode and api strip`() { in Test convert new with compat mode and api strip()
230 fun `Test convert new without compat mode and no strip`() { in Test convert new without compat mode and no strip()
518 fun `Test convert new to v2 without compat mode and no strip`() { in Test convert new to v2 without compat mode and no strip()
587 fun `Test convert new to v1 signatures with compat mode and no strip`() { in Test convert new to v1 signatures with compat mode and no strip()
DJDiffXmlTest.kt482 fun `Test enums compat mode`() { in Test enums compat mode()
849 fun `Interface extends, compat mode`() { in Interface extends, compat mode()
882 fun `Interface extends, non-compat mode`() { in Interface extends, non-compat mode()
/tools/asuite/atest-py2/test_runners/
Drobolectric_test_runner_unittest.py69 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
84 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
105 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
115 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/
DREADME.md19 in a particular mode and expect the tester to capture an over-the-air
45 * **aware_default_power_mode**: The power mode in which to run all tests. Options
49 * wifi_aware.json: Normal (high power/interactive) test mode.
50 * wifi_aware_non_interactive.json: Low power (non-interactive) test mode.
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_5g_test_utils.py201 def set_preferred_mode_for_5g(ad, sub_id=None, mode=None): argument
210 if mode is None:
211 mode = NETWORK_MODE_NR_LTE_GSM_WCDMA
212 return set_preferred_network_mode_pref(ad.log, ad, sub_id, mode)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dconnectivity_test_utils.py114 mode = ad.droid.getPrivateDnsMode()
116 ad.log.info("DNS mode is %s and DNS server is %s" % (mode, host))
117 asserts.assert_true(dns_mode == mode and host == hostname,
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmd8475a.py1962 def duplex_mode(self, mode): argument
1971 cmd = "DUPLEXMODE {},{}".format(mode, self._bts_number)
3071 def lte_scheduling_mode(self, mode): argument
3081 while mode != self.lte_scheduling_mode:
3084 cmd = "SCHEDULEMODE {},{}".format(mode, self._bts_number)
3129 def drx_connected_mode(self, mode): argument
3138 cmd = "DRXCONN {}, {}".format(mode, self._bts_number)
3456 def mimo_support(self, mode): argument
3463 if isinstance(mode, LteMimoMode):
3464 mode = mode.value
[all …]
/tools/test/connectivity/acts/framework/tests/metrics/
Dcore_test.py218 mode='wb')
269 mode='wb')
324 call_1 = call(binary_1, file_path_1, mode='wb')
325 call_2 = call(binary_2, file_path_2, mode='wb')
/tools/test/connectivity/acts/framework/acts/controllers/spirent_lib/
Dgss6450.py129 mode = resp_raw.split('-m')[-1].strip(' ')
130 self._logger.debug('Got operation mode: "%s".', mode)
132 return mode

1234