Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 82) sorted by relevance

1234

/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py16 def __init__(self, *args, **kwargs): argument
20 def _push_context(self, lexer, env): argument
26 def test_empty(self): argument
31 def test_append_raw(self): argument
36 def test_append_raw_concat(self): argument
45 def test_append_var(self): argument
49 def test_var_eval(self): argument
56 def test_var_concat_eval(self): argument
68 def test_var_repeat_eval(self): argument
83 def test_var_recursive_eval(self): argument
[all …]
/development/vndk/tools/header-checker/tests/
Dtest.py45 def setUp(self): argument
48 def tearDown(self): argument
53 def get_tmp_dir(self): argument
58 def run_and_compare(self, input_path, expected_path, cflags=[]): argument
69 def run_and_compare_name(self, name, cflags=[]): argument
74 def run_and_compare_name_cpp(self, name, cflags=[]): argument
77 def run_and_compare_name_c_cpp(self, name, cflags=[]): argument
81 def run_and_compare_abi_diff(self, old_dump, new_dump, lib, arch, argument
88 def prepare_and_run_abi_diff(self, old_ref_dump_path, new_ref_dump_path, argument
94 def get_or_create_dump(self, module, create): argument
[all …]
/development/scripts/
Dgdbclient_test.py27 …def merge_compare(self, base: dict[str, Any], to_add: dict[str, Any] | None, expected: dict[str, A… argument
32 def test_add_none(self) -> None: argument
38 def test_add_val(self) -> None: argument
44 def test_overwrite_val(self) -> None: argument
50 def test_lists_get_appended(self) -> None: argument
56 def test_add_elem_to_dict(self) -> None: argument
62 def test_overwrite_elem_in_dict(self) -> None: argument
68 def test_merging_dict_and_value_raises(self) -> None: argument
74 def test_merging_value_and_dict_raises(self) -> None: argument
80 def test_merging_dict_and_list_raises(self) -> None: argument
[all …]
Dadd3prf_test.py23 def setUp(self): argument
26 def test_dual_license(self): argument
36 def test_mit_license(self): argument
45 def test_misc_license(self): argument
54 def test_missing_license_file(self): argument
58 def test_mpl_license(self): argument
67 def test_0bsd_license(self): argument
76 def test_0bsd_licensefile(self): argument
85 def test_0bsd_licensefile_with_extension(self): argument
94 def test_unlicense_license(self): argument
[all …]
Dcargo2rulesmk.py176 def __init__(self, runner, outf_name): argument
214 def write(self, s): argument
219 def find_cargo_dir(self): argument
229 def add_codegens_flag(self, flag): argument
249 def get_dependencies(self): argument
291 def parse(self, line_num, line): argument
437 def dump_line(self): argument
440 def feature_list(self): argument
451 def dump_skip_crate(self, kind): argument
456 def skip_crate(self): argument
[all …]
Dstack_core.py73 def UpdateBitnessRegexes(self): argument
144 def CleanLine(self, ln): argument
149 def PrintTraceLines(self, trace_lines): argument
158 def PrintValueLines(self, value_lines): argument
167 def MatchStackRecords(self): argument
237 def PrintOutput(self, trace_lines, value_lines): argument
245 def PrintDivider(self): argument
248 def DeleteApkTmpFiles(self): argument
253 def ConvertTrace(self, lines): argument
266 def MatchTraceLine(self, line): argument
[all …]
Dupdate_crate_tests.py116 def __init__(self): argument
134 def __init__(self, env): argument
160 def query_modules(self, path): argument
172 def query_rdeps(self, module): argument
182 def exclude_module(self, module): argument
189 def find_all_test_mapping_files(self, path): argument
198 def test_to_test_mapping(self, env, path, test): argument
222 def query_rdep_tests_dirs(self, env, modules, path, exclude_dir): argument
260 def __init__(self, path, env, bazel): argument
290 def get_rdep_tests_dirs(self): argument
[all …]
/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_lexer.py46 def test_lexer_error(self): argument
62 def test_hierarchy(self): argument
71 def test_compute_line_column(self): argument
130 def test_raw_string_lit(self): argument
156 def test_interpreted_string_literal(self): argument
174 def test_literal_escape_char(self): argument
224 def test_literal_escape_octal(self): argument
250 def test_literal_escape_hex(self): argument
277 def test_literal_escape_little_u(self): argument
306 def test_literal_escape_big_u(self): argument
[all …]
Dtest_ast.py33 def test_eval(self): argument
47 def test_bool(self): argument
62 def test_equal(self): argument
77 def test_hash(self): argument
87 def test_repr(self): argument
101 def test_int(self): argument
121 def test_equal(self): argument
136 def test_hash(self): argument
146 def test_repr(self): argument
160 def test_string(self): argument
[all …]
Dtest_parser.py31 def test_define_var(self): argument
49 def test_create_var_ref(self): argument
71 def test_assign_string(self): argument
80 def test_list_empty(self): argument
89 def test_list_one_element(self): argument
98 def test_list_one_element_comma(self): argument
107 def test_list_two_elements(self): argument
116 def test_list_two_elements_comma(self): argument
125 def test_dict_empty(self): argument
134 def test_dict_one_element(self): argument
[all …]
Dtest_evaluate_default.py33 def test_evaluate_default(self): argument
47 def test_evaluate_default_nested(self): argument
68 def test_evaluate_defaults(self): argument
92 def test_evaluate_two_defaults(self): argument
123 def test_skip_modules_without_name(self): argument
134 def test_evaluate_recursive(self): argument
177 def test_evaluate_recursive_diamond(self): argument
/development/python-packages/adb/adb/
D__init__.py32 def __init__(self, serial: str) -> None: argument
39 def __init__(self) -> None: argument
45 self, cmd: list[str], stdout: str, stderr: str, exit_code: int argument
212 self, serial: str | None, product: str | None = None, adb_path: str = 'adb' argument
227 def linesep(self) -> str: argument
234 def features(self) -> list[str]: argument
242 def has_shell_protocol(self) -> bool: argument
245 def _make_shell_cmd(self, user_cmd: list[str]) -> list[str]: argument
251 def _parse_shell_output(self, out: str) -> tuple[int, str]: argument
279 def _simple_call(self, cmd: list[str]) -> str: argument
[all …]
/development/vndk/tools/sourcedr/blueprint/
Dvndk.py30 def __init__(self, rule, attrs): argument
36 def get_property(self, *names, **kwargs): argument
47 def is_vndk(self): argument
52 def is_vndk_sp(self): argument
57 def is_vendor(self): argument
63 def is_vendor_available(self): argument
68 def has_vendor_variant(self): argument
73 def get_name(self): argument
78 def get_dependencies(self): argument
99 def __init__(self): argument
[all …]
Dblueprint.py49 def __init__(self, name, value): argument
55 def __repr__(self): argument
120 def __init__(self, buf, pos, message): argument
127 def __str__(self): argument
136 def __init__(self, buf, offset=0, path=None): argument
155 def consume(self, *tokens): argument
166 def _next(self): argument
385 def eval(self, env): argument
393 def eval(self, env): argument
404 def __init__(self, value): argument
[all …]
/development/tools/axl/
Daxl.py32 def __init__(self): argument
35 def write(self, data): argument
39 def dataReceived(self, data): argument
42 def connectionMade(self): argument
46 def connectionLost(self, reason): argument
49 def sendResponse(self, response): argument
62 def connectionMade(self): argument
69 def dataReceived(self, data): argument
76 def dataReceived(self, data): argument
83 def dataReceived(self, data): argument
[all …]
Dlog.py24 def __init__(self, file): argument
32 def _getTime(self): argument
38 def _log(self, *logstrs): argument
44 def debug(self, *logstrs): argument
46 def info(self, *logstrs): argument
48 def warn(self, *logstrs): argument
50 def error(self, *logstrs): argument
/development/tools/compare_cts_reports/
Dtest_parse_cts_report.py29 def test_set(self): argument
43 def test_select_abi(self): argument
57 def test_parse_xml(self): argument
63 def test_parse_zip(self): argument
69 def check_ctsreport(self, report): argument
149 def test_output(self): argument
/development/tools/ndk/ndkabidump/
Dtest_soong.py41 def setUp(self) -> None: argument
46 def test_finds_soong_ui(self) -> None: argument
52 def test_get_build_var(self) -> None: argument
64 def test_clean(self) -> None: argument
73 def test_build(self) -> None: argument
87 def test_build_creates_out_dir(self) -> None: argument
/development/vndk/tools/elfcheck/elfcheck/
Drewriter.py39 def __init__(self, value, locs): argument
44 def __repr__(self): argument
48 def append(self, value, locs): argument
61 def __init__(self): argument
65 def __len__(self): argument
69 def append(self, line): argument
74 def extend(self, lines): argument
80 def replace(self, locs, line): argument
89 def flush(self, out_file): argument
108 def __init__(self, mk_path, variables=None, android_build_top=None): argument
[all …]
/development/python-packages/adb/tests/
Dtest_adb.py23 def setUp(self) -> None: argument
28 def tearDown(self) -> None: argument
36 def test_explicit(self, mock_get_devices: Mock) -> None: argument
42 def test_from_env(self, mock_get_devices: Mock) -> None: argument
49 def test_arg_beats_env(self, mock_get_devices: Mock) -> None: argument
56 def test_no_such_device(self, mock_get_devices: Mock) -> None: argument
64 def test_unique_device(self, mock_get_devices: Mock) -> None: argument
70 def test_no_unique_device(self, mock_get_devices: Mock) -> None: argument
/development/tools/winscope/src/adb/
Dwinscope_proxy.py119 def process(self, server, path): argument
133 def __init__(self, handler): argument
137 def register_endpoint(self, method: RequestType, name: str, endpoint: RequestEndpoint): argument
140 def _bad_request(self, error: str): argument
145 def _internal_error(self, error: str): argument
150 def _bad_token(self): argument
155 def process(self, method: RequestType): argument
193 def process(self, server, path): argument
210 def process(self, server, path): argument
217 def process_with_device(self, server, path, device_id): argument
[all …]
/development/vndk/tools/sourcedr/ninja/
Dninja.py44 def __init__(self, *args, **kwargs): argument
49 def get_recursive(self, key, default=None): argument
62 def __init__(self, build_env, rule_env): argument
67 def get_recursive(self, key, default=None): argument
93 def __init__(self, expanded_vars): argument
102 def __bool__(self): argument
107 def __nonzero__(self): argument
112 def create_iters(self): argument
183 def __init__(self): argument
187 def append_raw(self, text): argument
[all …]
/development/tools/logblame/
Dps.py12 def __init__(self, uid, pid, ppid, name): argument
18 def DisplayName(self): argument
25 def __str__(self): argument
29 def __init__(self, uid, name): argument
33 def __str__(self): argument
37 def __init__(self): argument
44 def Update(self, force=False): argument
48 def UpdateProcesses(self, force=False): argument
62 def UpdateUids(self, force=False): argument
75 def FindPid(self, pid, uid=None): argument
[all …]
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py45 def send_form(self, title, action, contactId, handle, content_obj): argument
79 def get(self): argument
82 def post(self): argument
101 def get(self): argument
107 def post(self): argument
124 def get(self): argument
141 def get(self): argument
152 def post(self): argument
169 def get(self): argument
184 def get(self): argument
/development/vndk/snapshot/
Dgen_buildfiles.py72 def __init__(self, install_dir, vndk_version): argument
102 def _get_etc_paths(self): argument
116 def _parse_lib_list(self, txt_filename): argument
135 def _get_modules_with_notice(self): argument
142 def generate_root_android_bp(self): argument
163 def generate_common_android_bp(self): argument
181 def generate_android_bp(self): argument
273 def _gen_autogen_msg(self, comment_char): argument
278 def _gen_license_package(self): argument
286 def _get_license_kinds(self, module=''): argument
[all …]

1234