Lines Matching defs:self
188 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
298 def test_GetBuildProp(self): argument
304 def test_GetBuildProp_with_oem_props(self): argument
311 def test_GetPartitionFingerprint(self): argument
319 def test_GetPartitionFingerprint_system_other_uses_system(self): argument
325 def test_GetPartitionFingerprint_uses_fingerprint_prop_if_available(self): argument
334 def test_WriteMountOemScript(self): argument
341 def test_WriteDeviceAssertions(self): argument
347 def test_WriteDeviceAssertions_with_oem_props(self): argument
361 def test_ResolveRoProductProperty_FromVendor(self): argument
367 def test_ResolveRoProductProperty_FromSystem(self): argument
374 def test_ResolveRoProductProperty_InvalidPropertySearchOrder(self): argument
383 def test_ResolveRoProductProperty_Android10PropertySearchOrder(self): argument
390 def test_ResolveRoProductProperty_Android9PropertySearchOrder(self): argument
400 def _verify(self, zip_file, zip_file_name, arcname, expected_hash, argument
431 def _test_ZipWrite(self, contents, extra_zipwrite_args=None): argument
473 def _test_ZipWriteStr(self, zinfo_or_arcname, contents, extra_args=None): argument
505 def _test_ZipWriteStr_large_file(self, large, small, extra_args=None): argument
556 def _test_reset_ZIP64_LIMIT(self, func, *args): argument
562 def test_ZipWrite(self): argument
566 def test_ZipWrite_with_opts(self): argument
579 def test_ZipWrite_large_file(self): argument
585 def test_ZipWrite_resets_ZIP64_LIMIT(self): argument
588 def test_ZipWriteStr(self): argument
601 def test_ZipWriteStr_with_opts(self): argument
626 def test_ZipWriteStr_large_file(self): argument
636 def test_ZipWriteStr_resets_ZIP64_LIMIT(self): argument
641 def test_bug21309935(self): argument
679 def test_ZipDelete(self): argument
741 def test_UnzipTemp(self): argument
751 def test_UnzipTemp_withPatterns(self): argument
782 def test_UnzipTemp_withEmptyPatterns(self): argument
792 def test_UnzipTemp_withPartiallyMatchingPatterns(self): argument
801 def test_UnzipTemp_withNoMatchingPatterns(self): argument
875 def setUp(self): argument
889 def test_ReadApkCerts_NoncompressedApks(self): argument
897 def test_ReadApkCerts_CompressedApks(self): argument
920 def test_ReadApkCerts_CompressedAndNoncompressedApks(self): argument
933 def test_ReadApkCerts_MultipleCompressionMethods(self): argument
941 def test_ReadApkCerts_MismatchingKeys(self): argument
951 def test_ReadApkCerts_WithWithoutOptionalFields(self): argument
959 def test_ExtractPublicKey(self): argument
965 def test_ExtractPublicKey_invalidInput(self): argument
970 def test_ExtractAvbPublicKey(self): argument
979 def test_ParseCertificate(self): argument
993 def test_GetMinSdkVersion(self): argument
998 def test_GetMinSdkVersion_invalidInput(self): argument
1003 def test_GetMinSdkVersionInt(self): argument
1008 def test_GetMinSdkVersionInt_invalidInput(self): argument
1016 def setUp(self): argument
1020 def test_GetSparseImage_emptyBlockMapFile(self): argument
1044 def test_PartitionMapFromTargetFiles(self): argument
1065 def test_SharedUidPartitionViolations(self): argument
1080 def test_SharedUidPartitionViolations_Violation(self): argument
1093 def test_GetSparseImage_missingImageFile(self): argument
1102 def test_GetSparseImage_missingBlockMapFile(self): argument
1121 def test_GetSparseImage_sharedBlocks_notAllowed(self): argument
1144 def test_GetSparseImage_sharedBlocks_allowed(self): argument
1189 def test_GetSparseImage_incompleteRanges(self): argument
1215 def test_GetSparseImage_systemRootImage_filenameWithExtraLeadingSlash(self): argument
1245 def test_GetSparseImage_systemRootImage_nonSystemFiles(self): argument
1270 def test_GetSparseImage_fileNotFound(self): argument
1290 def test_GetAvbChainedPartitionArg(self): argument
1304 def test_GetAvbChainedPartitionArg_withPrivateKey(self): argument
1318 def test_GetAvbChainedPartitionArg_withSpecifiedKey(self): argument
1333 def test_GetAvbChainedPartitionArg_invalidKey(self): argument
1352 def test_LoadListFromFile(self): argument
1388 def test_LoadInfoDict(self): argument
1399 def test_LoadInfoDict_legacyRecoveryFstabPath(self): argument
1411 def test_LoadInfoDict_dirInput(self): argument
1423 def test_LoadInfoDict_dirInput_legacyRecoveryFstabPath(self): argument
1434 def test_LoadInfoDict_systemRootImageFalse(self): argument
1451 def test_LoadInfoDict_recoveryAsBootFalse(self): argument
1467 def test_LoadInfoDict_noRecoveryTrue(self): argument
1481 def test_LoadInfoDict_missingMetaMiscInfoTxt(self): argument
1490 def test_LoadInfoDict_repacking(self): argument
1506 def test_LoadInfoDict_repackingWithZipFileInput(self): argument
1514 def test_MergeDynamicPartitionInfoDicts_ReturnsMergedDict(self): argument
1548 def test_MergeDynamicPartitionInfoDicts_IgnoringFrameworkGroupSize(self): argument
1579 def test_GetAvbPartitionArg(self): argument
1586 def test_AppendVBMetaArgsForPartition_vendorAsChainedPartition(self): argument
1604 def test_AppendVBMetaArgsForPartition_recoveryAsChainedPartition_nonAb(self): argument
1617 def test_AppendVBMetaArgsForPartition_recoveryAsChainedPartition_ab(self): argument
1636 def test_GenerateGkiCertificate_KeyPathNotFound(self): argument
1649 def test_GenerateGkiCertificate_SearchKeyPathNotFound(self): argument
1675 def setUp(self): argument
1695 def _out_tmp_sink(self, name, data, prefix="SYSTEM"): argument
1702 def test_full_recovery(self): argument
1713 def test_recovery_from_boot(self): argument
1733 def __init__(self, partition, tgt, src=None): argument
1738 def WriteScript(self, script, _, progress=None, argument
1746 def WritePostInstallVerifyScript(self, script): argument
1752 def __init__(self, size): argument
1767 def setUp(self): argument
1771 def test_full(self): argument
1813 def test_inc_groups(self): argument
1845 def test_incremental(self): argument
1919 def test_remove_partition(self): argument
1956 def setUp(self): argument
1974 def test_parseBuildProps_noImportStatement(self): argument
2001 def test_parseBuildProps_singleImportStatement(self): argument
2047 def test_parseBuildProps_noPlaceHolders(self): argument
2066 def test_parseBuildProps_multipleImportStatements(self): argument
2130 def test_parseBuildProps_defineAfterOverride(self): argument
2155 def test_parseBuildProps_duplicateOverride(self): argument
2192 def test_partitionBuildProps_fromInputFile_deepcopy(self): argument