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_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
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_vndk.py12 def test_normalize_partition_tags_bad_vendor_deps(self): argument
49 def test_normalize_partition_tags_sp_hal(self): argument
68 def test_vndk(self): argument
88 def test_vndk_bad_vendor_deps(self): argument
115 def test_ll_ndk_private_without_sp_hal(self): argument
Dtest_dex_file.py19 def test_encode(self): argument
31 def test_decode(self): argument
43 def test_decode_exception(self): argument
66 def _assemble_smali(self, dest, source): argument
75 def _create_zip_file(self, dest, paths): argument
82 def test_generate_classes_dex_names(self): argument
89 def test_enumerate_dex_strings_buf(self): argument
104 def test_enumerate_dex_strings_apk(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 …]
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/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/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/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/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 …]
Dandroid_manifest.py35 def __init__(self, app_path=None): argument
39 def GetAppPath(self): argument
43 def GetPackageName(self): argument
54 def _ParseManifest(self, app_path): argument
67 def AddUsesSdk(self, min_sdk_version): argument
84 def GetInstrumentationNames(self): argument
96 def _GetManifestElement(self): argument
107 def _SaveXml(self): argument
/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
/development/scripts/
Dnative_heapdump_viewer_tests.py28 def CreateTmpFile(self, contents): argument
34 def tearDown(self): argument
86 def test_version10_valid(self): argument
90 def test_version10_invalid(self): argument
94 def test_version11_valid(self): argument
98 def test_version12_valid(self): argument
109 def test_backtrace_num_field_valid(self): argument
125 def test_backtrace_num_field_invalid(self): argument
141 def test_backtrace_reverse_field_valid(self): argument
157 def test_mappings(self): argument
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 …]
/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 …]

1234