Home
last modified time | relevance | path

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

1234

/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_ap_preset.py47 mode=None, argument
118 mode = _get_or_default(mode, hostapd_constants.MODE_11N_MIXED)
132 mode=mode,
145 mode = _get_or_default(mode, hostapd_constants.MODE_11AC_MIXED)
152 mode = hostapd_constants.MODE_11N_MIXED
189 mode=mode,
203 mode = hostapd_constants.MODE_11B
205 mode = hostapd_constants.MODE_11A
211 mode=mode,
225 mode = hostapd_constants.MODE_11G
[all …]
/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,
Dactiontec.py73 mode=hostapd_constants.MODE_11G,
146 mode=hostapd_constants.MODE_11N_MIXED,
/tools/test/connectivity/acts/tests/google/wifi/
DWifiSensitivityTest.py269 with open(results_file_path, mode='w') as csv_file:
552 mode for mode in modes
553 if mode in self.VALID_TEST_CONFIGS[channel]
555 for mode in requested_modes:
556 if 'VHT' in mode:
557 rates = self.VALID_RATES[mode]
558 elif 'HT' in mode:
559 rates = self.VALID_RATES[mode]
560 elif 'legacy' in mode and channel < 14:
562 elif 'legacy' in mode and channel > 14:
[all …]
DWifiThroughputStabilityTest.py77 for channel, mode, traffic_type, traffic_direction, signal_level in itertools.product(
80 if channel not in allowed_configs[mode]:
84 mode=mode,
91 channel, mode))
572 … for channel, mode, position, traffic_type, signal_level, traffic_direction in itertools.product(
575 if channel not in allowed_configs[mode]:
579 mode=mode,
589 channel, mode, position))
DWifiPingTest.py547 for channel, mode, chain, test_type in itertools.product(
549 if channel not in allowed_configs[mode]:
551 testcase_name = '{}_ch{}_{}_ch{}'.format(test_type, channel, mode,
556 mode=mode,
732 for channel, mode, position in itertools.product(
734 if channel not in allowed_configs[mode]:
737 channel, mode, position)
742 mode=mode,
DWifiRvrTest.py597 for channel, mode, traffic_type, traffic_direction in itertools.product(
599 if channel not in allowed_configs[mode]:
602 traffic_type, traffic_direction, channel, mode)
605 mode=mode,
816 for channel, mode, angle, traffic_type, direction in itertools.product(
818 if channel not in allowed_configs[mode]:
821 traffic_type, direction, channel, mode, angle)
823 mode=mode,
DWifiRssiTest.py803 for channel, mode, traffic_mode, test_type in itertools.product(
805 if channel not in allowed_configs[mode]:
808 channel, mode, traffic_mode)
811 mode=mode,
1032 for (channel, mode, traffic, chamber_mode, orientation,
1036 if channel not in allowed_configs[mode]:
1039 channel, mode, traffic, orientation)
1042 mode=mode,
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java186 public ParcelFileDescriptor openFile(@NonNull Uri uri, @NonNull String mode) in openFile() argument
189 final int fileMode = modeToMode(mode); in openFile()
257 private static int modeToMode(String mode) { in modeToMode() argument
259 if ("r".equals(mode)) { in modeToMode()
261 } else if ("w".equals(mode) || "wt".equals(mode)) { in modeToMode()
266 } else if ("wa".equals(mode)) { in modeToMode()
271 } else if ("rw".equals(mode)) { in modeToMode()
273 } else if ("rwt".equals(mode)) { in modeToMode()
279 throw new IllegalArgumentException("Invalid mode: " + mode); in modeToMode()
/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/test/connectivity/acts/framework/acts/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/tradefederation/core/atest/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/google/gnss/
DLocationPlatinumTest.py114 def get_and_verify_ttff(self, mode): argument
120 if mode in self.test_types:
121 test_type = self.test_types.get(mode)
123 raise signals.TestFailure('Unrecognized mode %s' % mode)
129 self.ad, ttff_mode=mode, iteration=1, aid_data=True)
/tools/test/connectivity/acts/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/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteFileUtil.java207 ScpMode mode) { in internalScpExec() argument
216 mode); in internalScpExec()
221 if (ScpMode.PULL.equals(mode)) { in internalScpExec()
DGceRemoteCmdFormatter.java91 ScpMode mode) { in getScpCommand() argument
107 if (ScpMode.PULL.equals(mode)) { in getScpCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java120 public IInvocationExecution createInvocationExec(RunMode mode) { in setUp()
122 (InvocationExecution) Mockito.spy(super.createInvocationExec(mode)); in setUp()
191 public IInvocationExecution createInvocationExec(RunMode mode) { in testParentSandboxInvocation_sharding()
293 public IInvocationExecution createInvocationExec(RunMode mode) { in testInvocation_sharding_notTests()
295 (InvocationExecution) Mockito.spy(super.createInvocationExec(mode)); in testInvocation_sharding_notTests()
356 public IInvocationExecution createInvocationExec(RunMode mode) { in testInvocation_preInvocationFailing()
358 (InvocationExecution) Mockito.spy(super.createInvocationExec(mode)); in testInvocation_preInvocationFailing()
/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)
977 def measurement_repetition(self, mode): argument
983 if not isinstance(mode, RepetitionMode):
986 cmd = 'CONFigure:LTE:MEAS:MEValuation:REPetition {}'.format(mode.value)
/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
/tools/test/connectivity/acts/framework/acts/metrics/
Dcore.py190 dump_string_to_file(metric.get_binary(), filename, mode='wb')
212 dump_string_to_file(metric.get_descriptor_binary(), filename, mode='wb')
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon.py79 def _set_usb_passthrough_mode(self, mode): argument
91 self._mon.set_usb_passthrough(mode)

1234