Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 99) 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.py41 def setUp(self): argument
44 def tearDown(self): argument
49 def get_tmp_dir(self): argument
54 def run_and_compare(self, input_path, expected_path, cflags=[]): argument
60 def run_and_compare_name(self, name, cflags=[]): argument
65 def run_and_compare_name_cpp(self, name, cflags=[]): argument
68 def run_and_compare_name_c_cpp(self, name, cflags=[]): argument
72 def run_and_compare_abi_diff(self, old_dump, new_dump, lib, arch, argument
77 def prepare_and_run_abi_diff(self, old_ref_dump_path, new_ref_dump_path, argument
83 def get_or_create_ref_dump(self, module, create): argument
[all …]
/development/vndk/tools/definition-tool/tests/
Dtest_elf_linker.py14 def _create_normal_graph(self): argument
44 def _get_paths_from_nodes(self, nodes): argument
48 def test_get_lib(self): argument
67 def test_map_paths_to_libs(self): argument
87 def test_elf_class_and_partitions(self): argument
96 def test_deps(self): argument
116 def test_linked_symbols(self): argument
157 def test_unresolved_symbols(self): argument
168 def test_users(self): argument
192 def test_compute_predefined_sp_hal(self): argument
[all …]
Dtest_vndk_lib_dir.py16 def test_create_vndk_dir_suffix(self): argument
21 def test_create_vndk_sp_dir_name(self): argument
28 def test_create_vndk_dir_name(self): argument
35 def test_extract_vndk_version_from_name(self): argument
50 def test_extract_vndk_version_from_path(self): argument
84 def test_is_in_vndk_sp_dir(self): argument
98 def test_is_in_vndk_dir(self): argument
111 def test_get_vndk_lib_dirs(self): argument
132 def test_add_version_current(self): argument
138 def test_create_from_dirs_unversioned(self): argument
[all …]
Dtest_elf.py14 def setUp(self): argument
21 def test_is_local(self): argument
27 def test_is_global(self): argument
33 def test_is_weak(self): argument
39 def test_is_undef(self): argument
45 def test_get_ei_class_from_name(self): argument
50 def test_get_ei_data_from_name(self): argument
57 def test_get_e_machine_from_name(self): argument
66 def test_repr(self): argument
76 def test_class_name(self): argument
[all …]
Dtest_tagged_dict.py54 def test_normalize_tag(self): argument
62 def _check_tag_visibility(self, d, from_tag, visible_tags): argument
70 def test_is_tag_visible(self): argument
128 def test_enumerate_paths(self): argument
165 def test_load_from_csv_empty(self): argument
172 def test_load_from_csv_with_header(self): argument
184 def test_load_from_csv_without_header(self): argument
191 def _check_test_data_loaded(self, d): argument
215 def test_load_from_csv_tags(self): argument
222 def test_create_from_csv(self): argument
[all …]
Dtest_elf_link_data.py11 def setUp(self): argument
25 def test_add_dep_and_accessors(self): argument
37 def test_remove_dep(self): argument
53 def test_num_deps(self): argument
63 def test_num_users(self): argument
73 def test_has_dep(self): argument
80 def test_has_user(self): argument
87 def test_is_system_lib(self): argument
92 def test_get_dep_linked_symbols(self): argument
/development/vndk/tools/sourcedr/blueprint/tests/
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_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_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 …]
/development/gsi/gsi_util/gsi_util/mounters/
Dbase_mounter.py22 def __init__(self, filename, cleanup_func=None): argument
26 def _handle_get_filename(self): argument
29 def _handle_clean_up(self): argument
33 def __enter__(self): argument
36 def __exit__(self, exc_type, exc_val, exc_tb): argument
39 def get_filename(self): argument
42 def clean_up(self): argument
48 def __init__(self, file_list): argument
51 def _handle_get_filenames(self): argument
54 def _handle_clean_up(self): argument
[all …]
/development/testrunner/test_defs/
Dtest_suite.py27 def __init__(self): argument
38 def GetName(self): argument
41 def SetName(self, name): argument
45 def GetBuildPath(self): argument
49 def SetBuildPath(self, build_path): argument
53 def GetBuildDependencies(self, options): argument
57 def SetBuildDependencies(self, build_dependencies): argument
61 def IsContinuous(self): argument
65 def SetContinuous(self, continuous): argument
69 def IsGrantedPermissions(self): argument
[all …]
Dinstrumentation_test.py36 def __init__(self): argument
44 def GetPackageName(self): argument
47 def SetPackageName(self, package_name): argument
51 def GetRunnerName(self): argument
54 def SetRunnerName(self, runner_name): argument
58 def GetClassName(self): argument
61 def SetClassName(self, class_name): argument
65 def GetJavaPackageFilter(self): argument
68 def SetJavaPackageFilter(self, java_package_name): argument
73 def GetTargetName(self): argument
[all …]
Dtest_defs.py36 def __init__(self): argument
40 def __iter__(self): argument
46 def Parse(self, file_path): argument
67 def ParseString(self, xml_string): argument
73 def _ParseDoc(self, doc): argument
83 def _GetRootElement(self, doc): argument
90 def _AddTest(self, test): argument
102 def GetTests(self): argument
105 def GetContinuousTests(self): argument
112 def GetTestsInSuite(self, suite): argument
[all …]
/development/gsi/gsi_util/gsi_util/utils/tests/
Dcmd_utils_unittest.py31 def setUp(self): argument
38 def handle(self, record): argument
44 def tearDown(self): argument
48 def test_command_sequence(self): argument
54 def test_shell_command(self): argument
60 def test_log_stdout(self): argument
69 def test_log_stderr(self): argument
80 def test_log_stdout_and_log_stderr(self): argument
93 def test_read_stdout(self): argument
100 def test_read_stderr(self): argument
[all …]
/development/scripts/
Dcargo2android.py161 def __init__(self, runner, outf_name): argument
198 def write(self, s): argument
202 def same_flags(self, other): argument
216 def merge_host_device(self, other): argument
224 def merge_test(self, other): argument
239 def merge(self, other, outf_name): argument
260 def do_merge(self, other, should_merge_test): argument
292 def find_cargo_dir(self): argument
302 def parse(self, line_num, line): argument
424 def dump_line(self): argument
[all …]
Dstack_core.py70 def UpdateAbiRegexes(self): argument
135 def CleanLine(self, ln): argument
140 def PrintTraceLines(self, trace_lines): argument
151 def PrintValueLines(self, value_lines): argument
162 def PrintOutput(self, trace_lines, value_lines): argument
168 def PrintDivider(self): argument
172 def DeleteApkTmpFiles(self): argument
177 def ConvertTrace(self, lines): argument
190 def MatchTraceLine(self, line): argument
209 def ExtractLibFromApk(self, apk, shared_lib_name): argument
[all …]
/development/python-packages/adb/
Ddevice.py29 def __init__(self, serial): argument
36 def __init__(self): argument
41 def __init__(self, cmd, stdout, stderr, exit_code): argument
262 def __init__(self, serial, product=None, adb_path='adb'): argument
276 def linesep(self): argument
283 def features(self): argument
291 def has_shell_protocol(self): argument
294 def _make_shell_cmd(self, user_cmd): argument
300 def _parse_shell_output(self, out): argument
328 def _simple_call(self, cmd): argument
[all …]
/development/testrunner/
Dmake_tree.py27 def __init__(self, name, parent): argument
38 def _AddPath(self, path_segs): argument
54 def _SetLeaf(self, is_leaf): argument
57 def _GetPath(self): argument
60 def _DoesIncludesSubMake(self): argument
70 def _DoesParentIncludeMe(self): argument
73 def _BuildPrunedMakeList(self, make_list): argument
87 def __init__(self): argument
90 def AddPath(self, path): argument
106 def GetPrunedMakeList(self): argument
[all …]
Druntest.py83 def __init__(self): argument
98 def _ProcessOptions(self): argument
230 def _ReadTests(self): argument
257 def _DumpTests(self): argument
267 def _DoBuild(self): argument
277 def _DoPermissionAwareBuild(self, tests, test_requires_permissions): argument
344 def _DoInstall(self, make_output, test_requires_permissions, filter_re=None): argument
376 def _PushInstallFileToDevice(self, install_path): argument
389 def _DoFullBuild(self, tests, test_requires_permissions): argument
415 def _AddBuildTarget(self, test_suite, target_tree, extra_args_set): argument
[all …]
/development/testrunner/tests/
Dandroid_mk_tests.py28 def testHasGTest(self): argument
34 def testHasGTest_lib(self): argument
40 def testHasGTest_false(self): argument
45 def testHasJavaLibrary(self): argument
51 def testHasJavaLibrary_missing(self): argument
60 def testHasJavaLibrary_false(self): argument
69 def testGetExpandedVariable(self): argument
76 def testGetExpandedVariable_loop(self): argument
/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 …]
/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 …]
/development/testrunner/coverage/
Dcoverage_target.py19 def __init__(self): argument
25 def GetName(self): argument
28 def SetName(self, name): argument
31 def GetPaths(self): argument
34 def AddPath(self, path): argument
37 def GetType(self): argument
40 def SetType(self, buildtype): argument
43 def GetBuildPath(self): argument
46 def SetBuildPath(self, build_path): argument
Dcoverage.py59 def __init__(self, adb_interface): argument
68 def ExtractReport(self, argument
110 def _GenerateReport(self, report_path, coverage_file_path, targets, argument
139 def _GatherMetadatas(self, targets): argument
155 def _GetBuildIntermediatePath(self, target): argument
160 def _GatherSrcs(self, targets): argument
175 def _MergeFiles(self, input_paths, dest_path): argument
189 def _RunCmd(self, cmd): argument
193 def _CombineTargetCoverage(self): argument
209 def _CombineTestCoverage(self): argument
[all …]

1234