/tools/test/connectivity/acts/framework/tests/controllers/ |
D | iperf_server_test.py | 58 def test_create_creates_server_over_ssh_with_ssh_config_and_port(self, _): argument 119 iperf_server._get_port_from_ss_output = lambda *_: IPerfServerTest.PID 127 server._get_full_file_path = lambda _: MOCK_LOGFILE_PATH 135 def test_start_stop_makes_started_false(self, _, __, ___): argument 138 server._get_full_file_path = lambda _: MOCK_LOGFILE_PATH 148 def test_start_sets_current_log_file(self, _, __, ___): argument 150 server._get_full_file_path = lambda _: MOCK_LOGFILE_PATH 162 def test_stop_returns_current_log_file(self, _, __): argument 164 server._get_full_file_path = lambda _: MOCK_LOGFILE_PATH 179 def test_start_does_not_run_two_concurrent_processes(self, start_proc, _, __): argument [all …]
|
D | monsoon_test.py | 30 def test_create_can_create_lvpm_from_id_only(self, *_): argument 34 def test_create_can_create_lvpm_from_dict(self, *_): argument 39 def test_create_can_create_hvpm_from_id_only(self, *_): argument 43 def test_create_can_create_hvpm_from_dict(self, *_): argument 48 def test_raises_error_if_monsoon_type_is_unknown(self, *_): argument 52 def test_raises_error_if_monsoon_serial_not_provided(self, *_): argument
|
/tools/repohooks/tools/ |
D | checkpatch.pl | 64 my ($exitcode) = @_; 131 return grep { !$seen{$_}++ } @_; 135 my ($exitcode) = @_; 150 push (@types, $_); 168 my $line = $_; 190 if ($_ eq "--color" || $_ eq "-color") { 191 $_ = "--color=$color"; 266 my ($hashRef, $arrayRef) = @_; 283 my ($hashRef, $prefix) = @_; 611 my ($string) = @_; [all …]
|
D | pylintrc | 271 dummy-variables-rgx=_|unused_ 326 good-names=i,j,k,ex,x,_ 339 function-rgx=[a-z_][a-z0-9_]{2,30}$ 342 function-name-hint=[a-z_][a-z0-9_]{2,30}$ 345 variable-rgx=[a-z_][a-z0-9_]{2,30}$ 348 variable-name-hint=[a-z_][a-z0-9_]{2,30}$ 351 const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$ 354 const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$ 357 attr-rgx=[a-z_][a-z0-9_]{2,30}$ 360 attr-name-hint=[a-z_][a-z0-9_]{2,30}$ [all …]
|
D | cpplint.py | 2518 (_, end_line, end_pos) = CloseExpression(clean_lines, linenum, pos - 1) 3363 (_, _, end_pos) = CloseExpression( 3374 (_, _, start_pos) = ReverseCloseExpression( 3651 (text, _, start_col) = ReverseCloseExpression(clean_lines, linenum, column) 3781 (endline, _, endpos) = CloseExpression(clean_lines, linenum, pos) 4180 (end, _) = FindEndOfExpressionInLine(expression, 0, ['(']) 4949 line, _, closing_paren = CloseExpression( 5077 (_, startline, startpos) = ReverseCloseExpression( 5250 _, y1, x1 = CloseExpression(clean_lines, linenum, len(match.group(1))) 5252 _, y2, x2 = CloseExpression(clean_lines, y1, x1) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | SocketKeepaliveTest.py | 535 for _ in range(self.max_ka_wifi): 540 for _ in range(self.max_ka_wifi): 542 cport_list[_]) 543 self._start_tcp_keepalive(sock, interval_list[_]) 559 for _ in range(self.max_ka_wifi): 560 total_dropped_acks += int(SLEEP_TIME/interval_list[_]) 562 interval_list[_]) 564 interval_list[_], 565 int(cport_server_list[_]), 589 for _ in range(self.max_ka_wifi): [all …]
|
D | DhcpServerTest.py | 268 addr, siaddr, _ = self._request_address(self.hwaddr) 331 addr, siaddr, _ = self._request_address(self.hwaddr) 341 addr, siaddr, _ = self._request_address(self.hwaddr) 370 addr, siaddr, _ = self._request_address(self.hwaddr) 458 addr, siaddr, _ = self._request_address(self.hwaddr) 495 resp, _ = self._run_rebinding(bcastbit=False, giaddr=giaddr) 501 addr, siaddr, _ = self._request_address(self.hwaddr) 511 addr, siaddr, _ = self._request_address(self.hwaddr) 524 addr, siaddr, _ = self._request_address(self.hwaddr) 540 addr, siaddr, _ = self._request_address(self.hwaddr) [all …]
|
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/ |
D | rpc_client_test.py | 39 lambda _: mock.Mock(), 40 lambda _: mock.Mock()) 56 lambda _: mock.Mock(), 57 lambda _: mock.Mock()) 59 working_connections = [mock.Mock() for _ in range(3)] 60 free_connections = [mock.Mock() for _ in range(3)] 83 lambda _: mock.Mock(), 84 lambda _: mock.Mock()) 116 lambda _: mock.Mock(), 117 lambda _: mock.Mock()) [all …]
|
D | sl4a_manager_test.py | 152 def test_start_sl4a_server_uses_all_retries(self, _): argument 159 adb.shell = lambda _, **kwargs: '' 163 for _ in range(int(sl4a_manager.MAX_WAIT_ON_SERVER_SECONDS / 177 def test_start_sl4a_server_fails_all_retries(self, _): argument 184 adb.shell = lambda _, **kwargs: '' 187 for _ in range(int(sl4a_manager.MAX_WAIT_ON_SERVER_SECONDS / 249 adb.shell = lambda _: '' 261 adb.shell = lambda _: '12345 67890' 274 adb.shell = lambda _: '12345 67890' 286 adb.shell = lambda _, **kwargs: 'asdf' [all …]
|
/tools/test/connectivity/acts/framework/tests/libs/logging/ |
D | log_stream_test.py | 61 def test_init_adds_null_handler(self, *_): argument 77 self, *_): argument 93 def test_validate_styles_raises_when_multiple_file_outputs_set(self, *_): argument 129 def test_validate_styles_raises_when_no_level_exists(self, *_): argument 144 def test_validate_styles_raises_when_no_location_exists(self, *_): argument 159 def test_validate_styles_raises_when_rotate_logs_no_file_handler(self, *_): argument 181 def test_handle_style_to_acts_log_creates_handler(self, *_): argument 191 def test_handle_style_to_acts_log_creates_handler_is_lowest_level(self, *_): argument 204 def test_handle_style_to_stdout_creates_stream_handler(self, *_): argument 214 def test_handle_style_creates_file_handler(self, *_): argument [all …]
|
/tools/test/connectivity/acts/framework/tests/event/ |
D | event_bus_test.py | 47 args, _ = register_subscription.call_args 61 EventSubscription(mocks[0], lambda _: None), 62 EventSubscription(mocks[1], lambda _: None), 63 EventSubscription(mocks[2], lambda _: None), 78 subscription = EventSubscription(mock_type, lambda _: None) 91 EventSubscription(mock_type, lambda _: None)] 92 new_subscription = EventSubscription(mock_type, lambda _: True) 129 def _raise(_): argument 152 for args, _ in unregister.call_args_list: 173 for args, _ in unregister.call_args_list: [all …]
|
/tools/metalava/ |
D | README.md | 37 _ _ 38 _ __ ___ ___| |_ __ _| | __ ___ ____ _ 39 | '_ ` _ \ / _ \ __/ _` | |/ _` \ \ / / _` | 40 | | | | | | __/ || (_| | | (_| |\ V / (_| | 41 |_| |_| |_|\___|\__\__,_|_|\__,_| \_/ \__,_|
|
/tools/test/connectivity/acts/framework/tests/libs/test_bindings/ |
D | binding_test.py | 79 def inner(*_, **__): argument 91 def inner(*_, **__): argument 105 def arg_modifier(_, *args, **kwargs): argument 129 def before(*_, **__): argument 132 def inner(*_, **__): argument 148 def after(*_, **__): argument 151 def inner(*_, **__): argument 165 def inner(*_, **__): argument 168 def signal_modifier(_, signal, *__, **___): argument
|
/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveGFTDSDSSupplementaryServiceTest.py | 476 callee_sub_id, _, _ = get_subid_on_same_network_of_host_ad(ads) 498 _, caller_sub_id, _ = get_subid_on_same_network_of_host_ad(ads) 521 _, _, forwarded_callee_sub_id = \ 855 host_sub_id, _, _ = get_subid_on_same_network_of_host_ad(ads) 872 _, p1_sub_id, _ = get_subid_on_same_network_of_host_ad(ads) 888 _, _, p2_sub_id = get_subid_on_same_network_of_host_ad(ads)
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_test_decorators_test.py | 243 def test_case(_): argument 268 def test_case(_): argument 276 def test_case(_): argument 284 def test_case(_): argument 293 def test_case(_): argument 303 def result_selector(_): argument 307 def test_case(_): argument
|
D | test_runner_test.py | 50 def test_class_name_pattern_single(self, *_): argument 64 def test_class_name_pattern_multi(self, *_): argument 79 def test_class_name_pattern_question_mark(self, *_): argument 93 def test_class_name_pattern_char_seq(self, *_): argument 110 def test_class_logpath_contains_proper_directory(self, logger_mock, *_): argument
|
D | acts_utils_test.py | 189 def test_bypass_setup_wizard_no_complications(self, _): argument 205 def test_bypass_setup_wizard_unrecognized_error(self, _): argument 221 def test_bypass_setup_wizard_need_root_access(self, _): argument 240 def test_bypass_setup_wizard_need_root_already_skipped(self, _): argument 254 def test_bypass_setup_wizard_root_access_still_fails(self, _): argument
|
/tools/tradefederation/core/ |
D | pylintrc | 17 method-name-hint=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$ 20 method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
|
/tools/asuite/ |
D | pylintrc | 21 method-name-hint=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$ 24 method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
|
/tools/test/connectivity/acts/framework/tests/libs/ |
D | version_selector_test.py | 37 return version_selector.set_version(lambda ret, *_, **__: ret, min_sdk, 42 return version_selector.set_version(lambda ret, *_, **__: ret, min_sdk, 47 return version_selector.set_version(lambda *_, **__: 1, min_sdk, max_sdk) 66 def versioned_func_with_kwargs(_, asdf='jkl'): argument 71 return version_selector.set_version(lambda _, ret, *__, **___: ret, 93 def __init__(self, configs, _): argument
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
D | socket_test_utils.py | 98 for _ in range(1, PKTS+1): 99 msg = MSG + " %s" % _ 157 for _ in range(1, PKTS+1): 158 msg = MSG + " %s" % _ 274 for _ in range(1, PKTS+1): 275 msg = MSG + " %s" % _
|
/tools/test/connectivity/acts/framework/tests/libs/uicd/ |
D | uicd_cli_test.py | 28 def _mock_walk(path, **_): argument 42 def test_set_workflows_sets_correct_file_path(self, *_): argument 55 def test_set_workflows_adds_workflows_from_directories(self, *_): argument 72 def test_set_workflows_rejects_duplicate_workflow_names(self, *_): argument 87 def test_run_generates_correct_uicd_cmds(self, *_): argument
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_coc_test_utils.py | 76 for _, client_conn_id in enumerate(list_client_conn_id): 87 for _ in range(0, (num_iterations - 1)): 89 for _, client_conn_id in enumerate(list_client_conn_id): 96 for _, server_ad in enumerate(list_server_ad): 105 for _, server_ad in enumerate(list_server_ad):
|
/tools/asuite/aidegen/ |
D | aidegen_main.py | 323 language, _ = common_util.determine_language_ide( 347 _, abs_path = common_util.get_related_paths(atest_module_info, target) 354 _, abs_path = common_util.get_related_paths(cc_module_info, target) 419 _, exc_value, exc_traceback = sys.exc_info() 464 _, ide = common_util.determine_language_ide(args.language[0], args.ide[0])
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | tel_test_utils.py | 481 for _ in range(12): 4550 for _ in range(3): 4560 for _ in range(3): 8487 for _ in range(2): 8819 for _ in range(retries): 8866 for _ in range(retries): 8884 for _ in range(retries): 8915 for _ in range(3): 8916 ad.log.info("Attempt %d - activating eSIM", (_ + 1)) 8920 for _ in range(4): [all …]
|