Home
last modified time | relevance | path

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

123

/build/make/tools/releasetools/
Dtest_ota_from_target_files.py80 def test_NoneDict(self): argument
83 def test_SingleDict(self): argument
93 def test_MultipleDicts(self): argument
167 def setUp(self): argument
185 def test_GetPackageMetadata_abOta_full(self): argument
203 def test_GetPackageMetadata_abOta_incremental(self): argument
225 def test_GetPackageMetadata_nonAbOta_full(self): argument
240 def test_GetPackageMetadata_nonAbOta_incremental(self): argument
259 def test_GetPackageMetadata_wipe(self): argument
276 def test_GetPackageMetadata_retrofitDynamicPartitions(self): argument
[all …]
Dtest_common.py171 def test_init(self): argument
178 def test_init_with_oem_props(self): argument
194 def test_init_badFingerprint(self): argument
204 def test___getitem__(self): argument
211 def test___getitem__with_oem_props(self): argument
218 def test___setitem__(self): argument
230 def test_get(self): argument
239 def test_get_with_oem_props(self): argument
248 def test_items(self): argument
254 def test_GetBuildProp(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.py34 def setUp(self): argument
54 def test_CheckAbOtaImages_imageExistsUnderImages(self): argument
59 def test_CheckAbOtaImages_imageExistsUnderRadio(self): argument
69 def test_CheckAbOtaImages_missingImages(self): argument
74 def test_AddPackRadioImages(self): argument
82 def test_AddPackRadioImages_with_suffix(self): argument
91 def test_AddPackRadioImages_zipOutput(self): argument
103 def test_AddPackRadioImages_imageExists(self): argument
115 def test_AddPackRadioImages_missingImages(self): argument
161 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_verity_utils.py38 def setUp(self): argument
55 def _CreateSimg(self, raw_data): # pylint: disable=no-self-use argument
65 def _GenerateImage(self): argument
91 def test_CreateHashtreeInfoGenerator(self): argument
102 def test_DecomposeSparseImage(self): argument
113 def test_ParseHashtreeMetadata(self): argument
128 def test_ValidateHashtree_smoke(self): argument
144 def test_ValidateHashtree_failure(self): argument
160 def test_Generate(self): argument
185 def test_init(self): argument
[all …]
Dtest_check_partition_sizes.py22 def setUp(self): argument
38 def test_ab(self): argument
41 def test_non_ab(self): argument
49 def test_non_dap(self): argument
56 def test_retrofit_dap(self): argument
66 def test_ab_partition_too_big(self): argument
73 def test_ab_group_too_big(self): argument
80 def test_no_image(self): argument
85 def test_block_devices_not_match(self): argument
96 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 …]
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_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 …]
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 …]
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 …]
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 …]
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
120 def test_validate_config_lists_ReturnsFalseIfBadSystemMiscInfoKeys(self): argument
129 def test_process_apex_keys_apk_certs_ReturnsTrueIfNoConflicts(self): argument
164 def test_process_apex_keys_apk_certs_ReturnsFalseIfConflictsPresent(self): argument
186 def test_process_apex_keys_apk_certs_HandlesApkCertsSyntax(self): 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_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
Dblockimgdiff.py64 def __init__(self, tgt_name, src_name, tgt_ranges, src_ranges, tgt_sha1, argument
88 def patch_info(self): argument
92 def patch_info(self, info): argument
97 def NetStashChange(self): argument
101 def ConvertToNew(self): argument
108 def __str__(self): argument
115 def __init__(self, item): argument
121 def clear(self): argument
124 def __bool__(self): argument
131 def __eq__(self, other): argument
[all …]
/build/soong/cc/symbolfile/
Dtest_symbolfile.py27 def test_decode_api_level(self): argument
36 def test_get_tags_no_tags(self): argument
40 def test_get_tags(self): argument
44 def test_split_tag(self): argument
50 def test_get_tag_value(self): argument
56 def test_is_api_level_tag(self): argument
69 def test_decode_api_level_tags(self): argument
99 def test_version_is_private(self): argument
113 def test_symbol_in_arch(self): argument
119 def test_symbol_in_api(self): 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.py39 def run_test(self, input_manifest, uses_libraries=None, optional_uses_libraries=None): argument
55 def test_uses_library(self): argument
60 def test_uses_library_required(self): argument
65 def test_optional_uses_library(self): argument
70 def test_expected_uses_library(self): argument
75 def test_expected_optional_uses_library(self): argument
80 def test_missing_uses_library(self): argument
85 def test_missing_optional_uses_library(self): argument
90 def test_extra_uses_library(self): argument
95 def test_extra_optional_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_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/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 …]
Dfat16copy.py81 def seek(self, amount, direction=0): argument
102 def __init__(self, fs, cluster, size=None): argument
118 def read(self, size): argument
126 def write(self, data): argument
147 def __init__(self, backing): argument
165 def __str__(self): argument
168 def add_dentry(self, attributes, shortname, ext, longname, first_cluster, argument
187 def make_short_name(self, name): argument
214 def new_file(self, name, data=None): argument
237 def open_subdirectory(self, name): argument
[all …]
Dpost_process_props.py121 def __init__(self, name, value, optional=False, comment=None): argument
146 def is_comment(self): argument
149 def is_optional(self): argument
152 def make_as_comment(self): argument
160 def delete(self, reason): argument
164 def __str__(self): argument
173 def __init__(self, filename): argument
178 def get_all_props(self): argument
181 def get_all_names(self): argument
184 def get_props(self, name): argument
[all …]

123