Home
last modified time | relevance | path

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

1234

/development/vndk/tools/sourcedr/sourcedr/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 …]
Dtest_server.py20 def create_app(self): argument
33 def setUp(self): argument
38 def tearDown(self): argument
42 def test_get_file(self): argument
51 def test_load_file(self): argument
65 def test_save_all(self): argument
/development/vndk/tools/definition-tool/tests/
Dtest_vndk_lib_dir.py18 def test_create_vndk_dir_suffix(self): argument
23 def test_create_vndk_sp_dir_name(self): argument
30 def test_create_vndk_dir_name(self): argument
37 def test_extract_vndk_version_from_name(self): argument
52 def test_extract_vndk_version_from_path(self): argument
86 def test_is_in_vndk_sp_dir(self): argument
100 def test_is_in_vndk_dir(self): argument
113 def test_create_vndk_search_paths(self): argument
134 def test_add_version_current(self): argument
140 def test_create_from_dirs_unversioned(self): argument
[all …]
Dtest_elf.py16 def setUp(self): argument
22 def test_is_local(self): argument
27 def test_is_global(self): argument
32 def test_is_weak(self): argument
37 def test_is_undef(self): argument
43 def test_get_ei_class_from_name(self): argument
47 def test_get_ei_data_from_name(self): argument
53 def test_get_e_machine_from_name(self): argument
61 def test_repr(self): argument
70 def test_class_name(self): argument
[all …]
Dtest_elf_linker.py21 def _create_normal_graph(self): argument
51 def _get_paths_from_nodes(self, nodes): argument
55 def test_get_lib(self): argument
74 def test_map_paths_to_libs(self): argument
94 def test_elf_class_and_partitions(self): argument
103 def test_deps(self): argument
124 def test_linked_symbols(self): argument
165 def test_unresolved_symbols(self): argument
176 def test_users(self): argument
200 def test_compute_predefined_sp_hal(self): argument
[all …]
Dtest_elf_link_data.py15 def setUp(self): argument
28 def test_add_dep_and_accessors(self): argument
39 def test_remove_dep(self): argument
54 def test_num_deps(self): argument
63 def test_num_users(self): argument
72 def test_has_dep(self): argument
78 def test_has_user(self): argument
84 def test_is_system_lib(self): argument
88 def test_get_dep_linked_symbols(self): argument
Dtest_tagged_dict.py45 def test_normalize_tag(self): argument
53 def _check_tag_visibility(self, d, from_tag, visible_tags): argument
59 def test_is_tag_visible(self): argument
102 def test_enumerate_paths(self): argument
138 def test_load_from_csv_empty(self): argument
145 def test_load_from_csv_with_header(self): argument
157 def test_load_from_csv_without_header(self): argument
164 def _check_test_data_loaded(self, d): argument
187 def test_load_from_csv_tags(self): argument
194 def test_create_from_csv(self): argument
[all …]
Dtest_vndk.py17 def test_normalize_partition_tags_bad_vendor_deps(self): argument
54 def test_normalize_partition_tags_sp_hal(self): argument
73 def test_vndk(self): argument
93 def test_vndk_bad_vendor_deps(self): argument
118 def test_ll_ndk_indirect_without_sp_hal(self): argument
/development/vndk/tools/sourcedr/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_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_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_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/vndk/tools/header-checker/tests/
Dtest.py28 def get_reference_dump_path(self, name, target_arch): argument
34 def run_and_compare(self, input_path, expected_path, cflags=[]): argument
40 def run_and_compare_name(self, name, cflags=[]): argument
45 def run_and_compare_name_cpp(self, name, cflags=[]): argument
48 def run_and_compare_name_c_cpp(self, name, cflags=[]): argument
52 def run_and_compare_abi_diff(self, old_dump, new_dump, lib, arch, argument
57 def prepare_and_run_abi_diff(self, old_ref_dump_path, new_ref_dump_path, argument
63 def create_ref_dump(self, name, dir_name, target_arch): argument
69 def get_or_create_ref_dump(self, name, target_arch, dir_name, create): argument
74 def prepare_and_run_abi_diff_all_archs(self, old_lib, new_lib, 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
Druntest.py83 def __init__(self): argument
98 def _ProcessOptions(self): argument
226 def _ReadTests(self): argument
253 def _DumpTests(self): argument
263 def _DoBuild(self): argument
273 def _DoPermissionAwareBuild(self, tests, test_requires_permissions): argument
340 def _DoInstall(self, make_output, test_requires_permissions, filter_re=None): argument
372 def _PushInstallFileToDevice(self, install_path): argument
385 def _DoFullBuild(self, tests, test_requires_permissions): argument
411 def _AddBuildTarget(self, test_suite, target_tree, extra_args_set): 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
/development/vndk/tools/sourcedr/sourcedr/
Dcodesearch.py21 def __init__(self, skip_literals=True, skip_comments=True): argument
27 def process(self, code): argument
39 def get_span(self, code): argument
61 def __init__(self, skip_literals=True, skip_comments=True): argument
66 def process(self, code): argument
76 def get_span(self, code): argument
94 def __init__(self, skip_literals=True, skip_comments=True): argument
99 def process(self, code): argument
109 def get_span(self, code): argument
127 def __init__(self, skip_literals=True, skip_comments=True): argument
[all …]
/development/python-packages/adb/
Dtest.py23 def setUp(self): argument
28 def tearDown(self): argument
36 def test_explicit(self, mock_get_devices): argument
42 def test_from_env(self, mock_get_devices): argument
49 def test_arg_beats_env(self, mock_get_devices): argument
56 def test_no_such_device(self, mock_get_devices): argument
64 def test_unique_device(self, mock_get_devices): argument
70 def test_no_unique_device(self, mock_get_devices): argument

1234