Home
last modified time | relevance | path

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

123456

/build/make/tools/releasetools/
Dtest_common.py197 def test_init(self): argument
204 def test_init_with_oem_props(self): argument
220 def test_init_badFingerprint(self): argument
230 def test_init_goodFingerprint(self): argument
257 def test___getitem__(self): argument
264 def test___getitem__with_oem_props(self): argument
271 def test___setitem__(self): argument
283 def test_get(self): argument
292 def test_get_with_oem_props(self): argument
301 def test_items(self): argument
[all …]
Dtest_ota_from_target_files.py94 def test_NoneDict(self): argument
97 def test_SingleDict(self): argument
107 def test_MultipleDicts(self): argument
180 def setUp(self): argument
203 def test_GetPackageMetadata_abOta_full(self): argument
222 def test_GetPackageMetadata_abOta_incremental(self): argument
245 def test_GetPackageMetadata_nonAbOta_full(self): argument
261 def test_GetPackageMetadata_nonAbOta_incremental(self): argument
281 def test_GetPackageMetadata_wipe(self): argument
300 def test_GetApexInfoFromTargetFiles(self): argument
[all …]
Dtest_sign_target_files_apks.py47 def setUp(self): argument
50 def test_EditTags(self): argument
60 def test_RewriteAvbProps(self): argument
100 def test_RewriteProps(self): argument
157 def test_ReplaceCerts(self): argument
183 def test_ReplaceCerts_duplicateEntries(self): argument
201 def test_ReplaceCerts_skipNonExistentCerts(self): argument
227 def test_WriteOtacerts(self): argument
243 def test_CheckApkAndApexKeysAvailable(self): argument
267 def test_CheckApkAndApexKeysAvailable_invalidApexKeys(self): argument
[all …]
Dtest_add_img_to_target_files.py36 def setUp(self): argument
56 def test_CheckAbOtaImages_imageExistsUnderImages(self): argument
61 def test_CheckAbOtaImages_imageExistsUnderRadio(self): argument
71 def test_CheckAbOtaImages_missingImages(self): argument
76 def test_AddPackRadioImages(self): argument
84 def test_AddPackRadioImages_with_suffix(self): argument
93 def test_AddPackRadioImages_zipOutput(self): argument
105 def test_AddPackRadioImages_imageExists(self): argument
117 def test_AddPackRadioImages_missingImages(self): argument
160 def _verifyCareMap(self, expected, file_name): argument
[all …]
Dtest_rangelib.py23 def test_union(self): argument
29 def test_intersect(self): argument
35 def test_subtract(self): argument
41 def test_overlaps(self): argument
45 def test_size(self): argument
49 def test_map_within(self): argument
61 def test_first(self): argument
72 def test_extend(self): argument
78 def test_equality(self): argument
90 def test_init(self): argument
[all …]
Dtest_check_partition_sizes.py22 def setUp(self): argument
39 def test_ab(self): argument
42 def test_non_ab(self): argument
50 def test_non_dap(self): argument
57 def test_retrofit_dap(self): argument
67 def test_ab_partition_too_big(self): argument
74 def test_ab_group_too_big(self): argument
81 def test_no_image(self): argument
86 def test_block_devices_not_match(self): argument
97 def test_retrofit_vab(self): argument
[all …]
Dtest_blockimgdiff.py30 def __init__(self, score): argument
33 def test_init(self): argument
49 def test_clear(self): argument
59 def test_GenerateDigraphOrder(self): argument
110 def test_ReviseStashSize(self): argument
139 def test_ReviseStashSize_bug_33687949(self): argument
177 def test_FileTypeSupportedByImgdiff(self): argument
195 def test_CanUseImgdiff(self): argument
212 def test_CanUseImgdiff_ineligible(self): argument
250 def test_Log(self): argument
[all …]
Dtest_apex_utils.py33 def setUp(self): argument
49 def test_ParseApexPayloadInfo(self): argument
62 def test_SignApexPayload(self): argument
71 def test_SignApexPayload_withHashtree(self): argument
81 def test_SignApexPayload_noHashtree(self): argument
92 def test_SignApexPayload_withSignerHelper(self): argument
109 def test_SignApexPayload_invalidKey(self): argument
123 def test_VerifyApexPayload_wrongKey(self): argument
139 def test_ApexApkSigner_noApkPresent(self): argument
146 def test_ApexApkSigner_apkKeyNotPresent(self): argument
[all …]
Drangelib.py33 def __init__(self, data=None): argument
45 def __iter__(self): argument
49 def __eq__(self, other): argument
52 def __ne__(self, other): argument
55 def __bool__(self): argument
61 def __str__(self): argument
67 def __repr__(self): argument
71 def extra(self): argument
104 def _parse_internal(self, text): argument
145 def to_string(self): argument
[all …]
Dtest_validate_target_files.py33 def setUp(self): argument
36 def _generate_boot_image(self, output_file): argument
58 def test_ValidateVerifiedBootImages_bootImage(self): argument
73 def test_ValidateVerifiedBootImages_bootImage_wrongKey(self): argument
90 def test_ValidateVerifiedBootImages_bootImage_corrupted(self): argument
114 def _generate_system_image(self, output_file, system_root=None, argument
145 def test_ValidateVerifiedBootImages_systemRootImage(self): argument
168 def test_ValidateVerifiedBootImages_nonSystemRootImage(self): argument
199 def test_ValidateVerifiedBootImages_nonSystemRootImage_mismatchingKeys(self): argument
232 def test_ValidateFileConsistency_incompleteRange(self): argument
[all …]
Dimages.py24 def RangeSha1(self, ranges): argument
27 def ReadRangeSet(self, ranges): argument
30 def TotalSha1(self, include_clobbered_blocks=False): argument
33 def WriteRangeDataToFd(self, ranges, fd): argument
40 def __init__(self): argument
49 def RangeSha1(self, ranges): argument
52 def ReadRangeSet(self, ranges): argument
55 def TotalSha1(self, include_clobbered_blocks=False): argument
61 def WriteRangeDataToFd(self, ranges, fd): argument
68 def __init__(self, data, trim=False, pad=False): argument
[all …]
/build/soong/cc/symbolfile/
Dtest_symbolfile.py29 def test_decode_api_level(self) -> None: argument
38 def test_get_tags_no_tags(self) -> None: argument
42 def test_get_tags(self) -> None: argument
48 def test_get_unrecognized_tags(self) -> None: argument
58 def test_split_tag(self) -> None: argument
66 def test_get_tag_value(self) -> None: argument
73 def test_is_api_level_tag(self) -> None: argument
86 def test_decode_api_level_tags(self) -> None: argument
117 def test_version_is_private(self) -> None: argument
134 def test_symbol_in_arch(self) -> None: argument
[all …]
/build/soong/scripts/
Dmanifest_fixer_test.py32 def test_sdk(self): argument
38 def test_codename(self): argument
44 def test_sdk_codename(self): argument
49 def test_compare_numeric(self): argument
57 def raise_min_sdk_version_test(self, input_manifest, min_sdk_version, argument
73 def uses_sdk(self, min=None, target=None, extra=''): argument
83 def assert_xml_equal(self, output, expected): argument
86 def test_no_uses_sdk(self): argument
94 def test_no_min(self): argument
103 def test_raise_min(self): argument
[all …]
Dmanifest_check_test.py47 def run_test(self, xml, apk, uses_libraries=[], optional_uses_libraries=[], argument
77 def test_uses_library(self): argument
83 def test_uses_library_required(self): argument
89 def test_optional_uses_library(self): argument
95 def test_expected_uses_library(self): argument
101 def test_expected_optional_uses_library(self): argument
107 def test_expected_missing_optional_uses_library(self): argument
116 def test_missing_uses_library(self): argument
122 def test_missing_optional_uses_library(self): argument
128 def test_extra_uses_library(self): argument
[all …]
/build/make/tools/fs_config/
Dtest_fs_config_generator.py22 def test_is_overlap(self): argument
35 def test_in_any_range(self): argument
45 def test_aid(self): argument
64 def test_aid_header_parser_good(self): argument
91 def test_aid_header_parser_good_unordered(self): argument
118 def test_aid_header_parser_bad_aid(self): argument
131 def test_aid_header_parser_bad_oem_range(self): argument
145 def test_aid_header_parser_bad_oem_range_no_end(self): argument
158 def test_aid_header_parser_bad_oem_range_no_start(self): argument
171 def test_aid_header_parser_bad_oem_range_duplicated(self): argument
[all …]
/build/make/tools/
Dtest_post_process_props.py25 def test_createFromLine(self): argument
49 def test_makeAsComment(self): argument
59 def setUp(self): argument
72 def tearDown(self): argument
76 def test_readFromFile(self): argument
99 def test_putNewProp(self): argument
108 def test_putExistingNonOptionalProp(self): argument
119 def test_putExistingOptionalProp(self): argument
130 def test_deleteNonOptionalProp(self): argument
138 def test_deleteOptionalProp(self): argument
[all …]
/build/soong/tests/
Drun_tool_with_logging_test.py46 def setUp(self): argument
54 def tearDown(self): argument
58 def test_does_not_log_when_logger_var_empty(self): argument
68 def test_does_not_log_with_logger_unset(self): argument
78 def test_log_success_with_logger_enabled(self): argument
94 def test_run_tool_output_is_same_with_and_without_logging(self): argument
119 def test_logger_output_is_suppressed(self): argument
130 def test_logger_error_is_suppressed(self): argument
143 def test_log_success_when_tool_interrupted(self): argument
167 def test_logger_can_be_toggled_on(self): argument
[all …]
/build/soong/scripts/hiddenapi/
Dsignature_trie_test.py34 def test_nested_inner_classes(self): argument
47 def test_basic_member(self): argument
58 def test_double_dollar_class(self): argument
72 def test_no_member(self): argument
84 def test_wildcard(self): argument
94 def test_recursive_wildcard(self): argument
104 def test_no_packages_wildcard(self): argument
112 def test_no_packages_recursive_wildcard(self): argument
120 def test_non_standard_class_name(self): argument
130 def test_invalid_pattern_wildcard(self): argument
[all …]
Dverify_overlaps_test.py51 def test_extract_subset_signature(self): argument
67 def test_extract_subset_class(self): argument
87 def test_extract_subset_outer_class(self): argument
109 def test_extract_subset_nested_class(self): argument
127 def test_extract_subset_package(self): argument
161 def test_extract_subset_recursive_package(self): argument
199 def test_read_trie_duplicate(self): argument
208 def test_read_trie_missing_member(self): argument
217 def test_match(self): argument
229 def test_mismatch_overlapping_flags(self): argument
[all …]
Danalyze_bcpf_test.py41 def __init__(self, lines, return_code): argument
46 def lines(self): argument
49 def wait(self, *args, **kwargs): argument
55 def setUp(self): argument
59 def tearDown(self): argument
69 def populate_fs(self, fs): argument
74 def create_analyzer_for_test(self, argument
105 def test_reformat_report_text(self): argument
122 def do_test_build_flags(self, fix): argument
224 def test_build_flags_report(self): argument
[all …]
/build/make/ci/
Dbuild_test_suites_test.py42 def setUp(self): argument
55 def test_missing_target_release_env_var_raises(self): argument
61 def test_missing_target_product_env_var_raises(self): argument
67 def test_missing_top_env_var_raises(self): argument
73 def test_invalid_arg_raises(self): argument
79 def test_build_failure_returns(self): argument
87 def test_incorrectly_formatted_build_context_raises(self): argument
95 def test_build_success_returns(self): argument
99 def assert_raises_word(self, cls, word): argument
102 def _setup_working_build_env(self): argument
[all …]
/build/soong/cc/ndkstubgen/
Dtest_ndkstubgen.py33 def setUp(self) -> None: argument
36 def test_omit_version(self) -> None: argument
69 def test_omit_symbol(self) -> None: argument
107 def test_write(self) -> None: argument
169 def setUp(self) -> None: argument
172 def test_integration(self) -> None: argument
255 def test_integration_future_api(self) -> None: argument
308 def test_multiple_definition(self) -> None: argument
343 def test_integration_with_apex(self) -> None: argument
427 def test_integration_with_nondk(self) -> None: argument
[all …]
/build/bazel/scripts/bp2build_progress/
Dbp2build_progress_test.py127 self, _ argument
182 self, _ argument
238 self, _ argument
295 self, _ argument
371 self, _ argument
448 self, _ argument
558 self, _ argument
635 self, _ argument
681 self, _ argument
722 def test_generate_report_data(self): argument
[all …]
/build/pesto/experiments/prepare_bazel_test_env/
Dbazelenv.py52 def __init__(self, soong_workspace: pathlib.Path): argument
62 def build(self, build_targets: Set[str]) -> None: argument
113 def build_targets(self) -> set: argument
117 def stage(self, _): argument
122 def sync(self): argument
130 def clean(self): argument
141 def __init__(self, stage_path: pathlib.Path, workspace_path: pathlib.Path, argument
147 def stage(self, _): argument
152 def sync(self): argument
155 def clean(self): argument
[all …]
/build/make/tools/tool_event_logger/
Dtool_event_logger_test.py37 def setUp(self): argument
50 def test_log_event_timestamp(self): argument
60 def test_log_event_basic_information(self): argument
71 def test_log_invocation_started(self): argument
89 def test_log_invocation_stopped(self): argument
107 def test_log_multiple_events(self): argument
129 def test_log_and_exit_with_missing_required_args(self): argument
143 def test_log_and_exit_with_invalid_args(self): argument
157 def test_log_and_exit_with_dry_run(self): argument
165 def test_log_and_exit_with_unexpected_exception(self, mock_cc): argument
[all …]

123456