/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | hostapd_ap_preset.py | 47 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/tests/google/wifi/ |
D | WifiSensitivityTest.py | 257 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 if 'VHT' in mode: 549 rates = self.VALID_RATES[mode] 550 elif 'HT' in mode: 551 rates = self.VALID_RATES[mode] 552 elif 'legacy' in mode and channel < 14: 554 elif 'legacy' in mode and channel > 14: [all …]
|
D | WifiThroughputStabilityTest.py | 77 for channel, mode, signal_level, traffic_type, traffic_direction in itertools.product( 84 if channel not in allowed_configs[mode]: 88 mode=mode, 95 channel, mode)) 562 … for channel, mode, position, traffic_type, signal_level, traffic_direction in itertools.product( 565 if channel not in allowed_configs[mode]: 569 mode=mode, 579 channel, mode, position))
|
D | WifiPingTest.py | 525 for channel, mode, chain, test_type in itertools.product( 527 if channel not in allowed_configs[mode]: 529 testcase_name = '{}_ch{}_{}_ch{}'.format(test_type, channel, mode, 534 mode=mode, 722 for channel, mode, position in itertools.product( 724 if channel not in allowed_configs[mode]: 727 channel, mode, position) 732 mode=mode,
|
D | WifiRvrTest.py | 593 for channel, mode, traffic_type, traffic_direction in itertools.product( 595 if channel not in allowed_configs[mode]: 598 traffic_type, traffic_direction, channel, mode) 601 mode=mode, 812 for channel, mode, angle, traffic_type, direction in itertools.product( 814 if channel not in allowed_configs[mode]: 817 traffic_type, direction, channel, mode, angle) 819 mode=mode,
|
D | WifiRssiTest.py | 796 for channel, mode, traffic_mode, test_type in itertools.product( 798 if channel not in allowed_configs[mode]: 801 channel, mode, traffic_mode) 804 mode=mode, 1026 for (channel, mode, traffic, chamber_mode, orientation, 1030 if channel not in allowed_configs[mode]: 1033 channel, mode, traffic, orientation) 1036 mode=mode,
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/third_party_ap_profiles/ |
D | asus.py | 112 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 …]
|
D | tplink.py | 110 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,
|
D | linksys.py | 109 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,
|
D | netgear.py | 120 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/ |
D | GnssFunctionTest.py | 238 def run_ttff_via_gtw_gpstool(self, mode, criteria): argument 247 start_ttff_by_gtw_gpstool(self.ad, mode, self.ttff_test_cycle) 251 self.ad, ttff_data, self.ttff_mode.get(mode), criteria) 254 "seconds." % (self.ttff_mode.get(mode), criteria)) 262 def supl_ttff_with_sim(self, mode, criteria): argument 271 self.run_ttff_via_gtw_gpstool(mode, criteria) 273 def standalone_ttff_airplane_mode_on(self, mode, criteria): argument 283 self.run_ttff_via_gtw_gpstool(mode, criteria) 285 def supl_ttff_weak_gnss_signal(self, mode, criteria): argument 296 self.run_ttff_via_gtw_gpstool(mode, criteria) [all …]
|
D | LocationPlatinumTest.py | 87 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/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 675 RunMode mode) { in invokeRemoteDynamic() argument 678 if (RunMode.REMOTE_INVOCATION.equals(mode)) { in invokeRemoteDynamic() 788 RunMode mode = RunMode.REGULAR; in invoke() local 790 mode = RunMode.SANDBOX; in invoke() 793 mode = RunMode.PARENT_SANDBOX; in invoke() 796 mode = RunMode.REMOTE_INVOCATION; in invoke() 799 mode = RunMode.DELEGATED_INVOCATION; in invoke() 801 IInvocationExecution invocationPath = createInvocationExec(mode); in invoke() 821 context, config, rescheduler, listener, invocationPath, mode); in invoke() 859 if (RunMode.REGULAR.equals(mode) || RunMode.SANDBOX.equals(mode)) { in invoke() [all …]
|
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/ |
D | ManagedFileContentProvider.java | 186 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/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmw500.py | 470 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/framework/acts/controllers/anritsu_lib/ |
D | md8475a.py | 1962 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/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | SandboxedInvocationExecutionTest.java | 120 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/test_utils/abstract_devices/utils_lib/ |
D | wlan_utils.py | 38 mode=None, argument 73 setup_ap(access_point, profile_name, channel, ssid, mode, preamble, 98 mode=None, argument 137 mode=mode,
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_retail_ap.py | 1355 mode=self.ap_settings["mode_{}".format(network)], 1390 mode=None, argument 1406 self.ap_settings["mode_2G"] = mode 1413 self.ap_settings["mode_5G_1"] = mode 1420 elif "legacy" in mode.lower(): 1423 elif "vht" in mode.lower(): 1428 elif "ht" in mode.lower():
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | ConvertTest.kt | 93 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()
|
D | ApiFileTest.kt | 1453 fun `Enum class, non-compat mode`() { in Enum class, non-compat mode() 1523 fun `Do not include inherited public methods from private parents in compat mode`() { in Do not include inherited public methods from private parents in compat mode() 1648 fun `Annotation class extraction, non-compat mode`() { in Annotation class extraction, non-compat mode() 1976 fun `Check all modifiers, non-compat mode`() { in Check all modifiers, non-compat mode() 2622 fun `Implementing package private class, non-compat mode`() { in Implementing package private class, non-compat mode()
|
/tools/tradefederation/core/atest/test_runners/ |
D | robolectric_test_runner_unittest.py | 69 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/wifi/aware/ |
D | README.md | 19 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/framework/tests/metrics/ |
D | core_test.py | 218 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/buds_lib/ |
D | apollo_lib.py | 414 mode = '0' if cmd == 'Off' else '1' 415 cmd = 'Pow ' + mode 641 def set_ohd(self, mode='AUTO'): argument 653 if mode != 'AUTO': 656 if mode == 'ON':
|