Home
last modified time | relevance | path

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

123

/build/make/tools/releasetools/
Dtest_common.py188 def test_init(self): argument
195 def test_init_with_oem_props(self): argument
211 def test_init_badFingerprint(self): argument
221 def test_init_goodFingerprint(self): argument
248 def test___getitem__(self): argument
255 def test___getitem__with_oem_props(self): argument
262 def test___setitem__(self): argument
274 def test_get(self): argument
283 def test_get_with_oem_props(self): argument
292 def test_items(self): argument
[all …]
Dtest_ota_from_target_files.py92 def test_NoneDict(self): argument
95 def test_SingleDict(self): argument
105 def test_MultipleDicts(self): argument
164 def setUp(self): argument
187 def test_GetPackageMetadata_abOta_full(self): argument
206 def test_GetPackageMetadata_abOta_incremental(self): argument
229 def test_GetPackageMetadata_nonAbOta_full(self): argument
245 def test_GetPackageMetadata_nonAbOta_incremental(self): argument
265 def test_GetPackageMetadata_wipe(self): argument
284 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
94 def test_RewriteProps(self): argument
151 def test_ReplaceVerityKeyId(self): argument
191 def test_ReplaceVerityKeyId_no_veritykeyid(self): argument
209 def test_ReplaceCerts(self): argument
235 def test_ReplaceCerts_duplicateEntries(self): argument
253 def test_ReplaceCerts_skipNonExistentCerts(self): argument
279 def test_WriteOtacerts(self): argument
[all …]
Dtest_add_img_to_target_files.py35 def setUp(self): argument
55 def test_CheckAbOtaImages_imageExistsUnderImages(self): argument
60 def test_CheckAbOtaImages_imageExistsUnderRadio(self): argument
70 def test_CheckAbOtaImages_missingImages(self): argument
75 def test_AddPackRadioImages(self): argument
83 def test_AddPackRadioImages_with_suffix(self): argument
92 def test_AddPackRadioImages_zipOutput(self): argument
104 def test_AddPackRadioImages_imageExists(self): argument
116 def test_AddPackRadioImages_missingImages(self): argument
162 def _verifyCareMap(self, expected, file_name): argument
[all …]
Dtest_verity_utils.py39 def setUp(self): argument
56 def _CreateSimg(self, raw_data): # pylint: disable=no-self-use argument
66 def _GenerateImage(self): argument
92 def test_CreateHashtreeInfoGenerator(self): argument
103 def test_DecomposeSparseImage(self): argument
114 def test_ParseHashtreeMetadata(self): argument
129 def test_ValidateHashtree_smoke(self): argument
145 def test_ValidateHashtree_failure(self): argument
161 def test_Generate(self): argument
186 def test_init(self): 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
169 def test_ValidateVerifiedBootImages_nonSystemRootImage(self): argument
200 def test_ValidateVerifiedBootImages_nonSystemRootImage_mismatchingKeys(self): argument
233 def test_ValidateFileConsistency_incompleteRange(self): argument
[all …]
Dtest_merge_target_files.py31 def setUp(self): argument
34 def test_copy_items_CopiesItemsMatchingPatterns(self): argument
86 def test_validate_config_lists_ReturnsFalseIfMissingDefaultItem(self): argument
94 def test_validate_config_lists_ReturnsTrueIfDefaultItemInDifferentList(self): argument
104 def test_validate_config_lists_ReturnsTrueIfExtraItem(self): argument
112 def test_validate_config_lists_ReturnsFalseIfSharedExtractedPartition(self): argument
121 self): argument
129 def test_validate_config_lists_ReturnsFalseIfBadSystemMiscInfoKeys(self): argument
138 def test_process_apex_keys_apk_certs_ReturnsTrueIfNoConflicts(self): argument
172 def test_process_apex_keys_apk_certs_ReturnsFalseIfConflictsPresent(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 …]
Dedify_generator.py23 def __init__(self, version, info, fstab=None): argument
35 def required_cache(self): argument
67 def AppendScript(self, other): argument
72 def AssertOemProperty(self, name, values, oem_no_mount): argument
96 def AssertSomeFingerprint(self, *fp): argument
107 def AssertSomeThumbprint(self, *fp): argument
118 def AssertFingerprintOrThumbprint(self, fp, tp): argument
129 def AssertOlderBuild(self, timestamp, timestamp_text): argument
138 def AssertDevice(self, device): argument
146 def AssertSomeBootloader(self, *bootloaders): argument
[all …]
Dtest_build_image.py33 def test_CheckHeadroom_SizeUnderLimit(self): argument
42 def test_CheckHeadroom_InsufficientHeadroom(self): argument
53 def test_CheckHeadroom_WrongFsType(self): argument
62 def test_CheckHeadroom_MissingProperties(self): argument
78 def test_CheckHeadroom_WithMke2fsOutput(self): argument
102 def test_SetUpInDirAndFsConfig_SystemRootImageTrue_NonSystem(self): argument
120 def test_SetUpInDirAndFsConfig(self): argument
149 def test_SetUpInDirAndFsConfig_WithRootFsConfig(self): argument
184 def test_GetFilesystemCharacteristics(self): argument
Dtest_non_ab_ota.py29 def setUp(self): argument
31 def test_init(self): argument
37 def test_Compute(self): argument
48 def test_Finalize(self): argument
67 def test_Verify(self): argument
121 def test_WriteFingerprintAssertion_without_oem_props(self): argument
135 def test_WriteFingerprintAssertion_with_source_oem_props(self): argument
147 def test_WriteFingerprintAssertion_with_target_oem_props(self): argument
159 def test_WriteFingerprintAssertion_with_both_oem_props(self): argument
Dtest_check_target_files_vintf.py66 def setUp(self): argument
69 def prepare_test_dir(self, test_delta_rel_path): argument
90 def test_CheckVintf_skeleton(self): argument
96 def test_CheckVintf_matrix_incompat(self): argument
103 def test_CheckVintf_kernel_compat(self): argument
112 def test_CheckVintf_kernel_incompat(self): argument
122 def test_CheckVintf_sku_compat(self): argument
131 def test_CheckVintf_sku_incompat(self): argument
140 def test_CheckVintf_bad_xml(self): argument
/build/soong/cc/symbolfile/
Dtest_symbolfile.py28 def test_decode_api_level(self) -> None: argument
37 def test_get_tags_no_tags(self) -> None: argument
41 def test_get_tags(self) -> None: argument
45 def test_split_tag(self) -> None: argument
53 def test_get_tag_value(self) -> None: argument
60 def test_is_api_level_tag(self) -> None: argument
73 def test_decode_api_level_tags(self) -> None: argument
103 def test_version_is_private(self) -> None: argument
117 def test_symbol_in_arch(self) -> None: argument
123 def test_symbol_in_api(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 test_no_uses_sdk(self): argument
91 def test_no_min(self): argument
100 def test_raise_min(self): argument
108 def test_raise(self): argument
[all …]
Dmanifest_check_test.py47 def run_test(self, xml, apk, uses_libraries=[], optional_uses_libraries=[]): argument
75 def test_uses_library(self): argument
81 def test_uses_library_required(self): argument
87 def test_optional_uses_library(self): argument
93 def test_expected_uses_library(self): argument
99 def test_expected_optional_uses_library(self): argument
105 def test_missing_uses_library(self): argument
111 def test_missing_optional_uses_library(self): argument
117 def test_extra_uses_library(self): argument
123 def test_extra_optional_uses_library(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/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_mismatch_start_end(self): argument
[all …]
Dfs_config_generator.py42 def __init__(self, gen): argument
58 def __call__(self, cls): argument
143 def __init__(self, identifier, value, found, login_shell): argument
175 def __eq__(self, other): argument
227 def __init__(self, mode, user, group, caps, path, filename): argument
244 def __eq__(self, other): argument
250 def __repr__(self): argument
265 def __init__(self, capability_header): argument
275 def _parse(self, capability_file): argument
322 def __init__(self, aid_header): 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/soong/cc/ndkstubgen/
Dtest_ndkstubgen.py31 def test_omit_version(self) -> None: argument
60 def test_omit_symbol(self) -> None: argument
96 def test_write(self) -> None: argument
146 def test_integration(self) -> None: argument
218 def test_integration_future_api(self) -> None: argument
260 def test_multiple_definition(self) -> None: argument
294 def test_integration_with_apex(self) -> None: argument

123