Lines Matching defs:self
49 def _verify(self, zip_file, zip_file_name, arcname, expected_hash, argument
80 def _test_ZipWrite(self, contents, extra_zipwrite_args=None): argument
120 def _test_ZipWriteStr(self, zinfo_or_arcname, contents, extra_args=None): argument
151 def _test_ZipWriteStr_large_file(self, large, small, extra_args=None): argument
200 def _test_reset_ZIP64_LIMIT(self, func, *args): argument
206 def test_ZipWrite(self): argument
210 def test_ZipWrite_with_opts(self): argument
223 def test_ZipWrite_large_file(self): argument
229 def test_ZipWrite_resets_ZIP64_LIMIT(self): argument
232 def test_ZipWriteStr(self): argument
245 def test_ZipWriteStr_with_opts(self): argument
266 def test_ZipWriteStr_large_file(self): argument
276 def test_ZipWriteStr_resets_ZIP64_LIMIT(self): argument
281 def test_bug21309935(self): argument
318 def test_ZipDelete(self): argument
379 def test_UnzipTemp(self): argument
388 def test_UnzipTemp_withPatterns(self): argument
419 def test_UnzipTemp_withEmptyPatterns(self): argument
428 def test_UnzipTemp_withPartiallyMatchingPatterns(self): argument
437 def test_UnzipTemp_withNoMatchingPatterns(self): argument
492 def setUp(self): argument
506 def test_ReadApkCerts_NoncompressedApks(self): argument
514 def test_ReadApkCerts_CompressedApks(self): argument
537 def test_ReadApkCerts_CompressedAndNoncompressedApks(self): argument
550 def test_ReadApkCerts_MultipleCompressionMethods(self): argument
558 def test_ReadApkCerts_MismatchingKeys(self): argument
568 def test_ExtractPublicKey(self): argument
574 def test_ExtractPublicKey_invalidInput(self): argument
578 def test_ExtractAvbPublicKey(self): argument
585 def test_ParseCertificate(self): argument
597 def test_GetMinSdkVersion(self): argument
601 def test_GetMinSdkVersion_invalidInput(self): argument
605 def test_GetMinSdkVersionInt(self): argument
609 def test_GetMinSdkVersionInt_invalidInput(self): argument
617 def setUp(self): argument
620 def test_GetSparseImage_emptyBlockMapFile(self): argument
644 def test_GetSparseImage_missingImageFile(self): argument
652 def test_GetSparseImage_missingBlockMapFile(self): argument
670 def test_GetSparseImage_sharedBlocks_notAllowed(self): argument
692 def test_GetSparseImage_sharedBlocks_allowed(self): argument
734 def test_GetSparseImage_incompleteRanges(self): argument
757 def test_GetSparseImage_systemRootImage_filenameWithExtraLeadingSlash(self): argument
784 def test_GetSparseImage_systemRootImage_nonSystemFiles(self): argument
806 def test_GetSparseImage_fileNotFound(self): argument
825 def test_GetAvbChainedPartitionArg(self): argument
838 def test_GetAvbChainedPartitionArg_withPrivateKey(self): argument
851 def test_GetAvbChainedPartitionArg_withSpecifiedKey(self): argument
865 def test_GetAvbChainedPartitionArg_invalidKey(self): argument
903 def test_LoadInfoDict(self): argument
914 def test_LoadInfoDict_legacyRecoveryFstabPath(self): argument
925 def test_LoadInfoDict_dirInput(self): argument
936 def test_LoadInfoDict_dirInput_legacyRecoveryFstabPath(self): argument
947 def test_LoadInfoDict_systemRootImageFalse(self): argument
964 def test_LoadInfoDict_recoveryAsBootFalse(self): argument
980 def test_LoadInfoDict_noRecoveryTrue(self): argument
993 def test_LoadInfoDict_missingMetaMiscInfoTxt(self): argument
1001 def test_LoadInfoDict_repacking(self): argument
1017 def test_LoadInfoDict_repackingWithZipFileInput(self): argument
1032 def setUp(self): argument
1052 def _out_tmp_sink(self, name, data, prefix="SYSTEM"): argument
1059 def test_full_recovery(self): argument
1069 def test_recovery_from_boot(self): argument
1090 def __init__(self, enable_comments=False): argument
1093 def Comment(self, comment): argument
1096 def AppendExtra(self, extra): argument
1098 def __str__(self): argument
1103 def __init__(self, partition, tgt, src=None): argument
1107 def WriteScript(self, script, _, progress=None, argument
1114 def WritePostInstallVerifyScript(self, script): argument
1119 def __init__(self, size): argument
1133 def setUp(self): argument
1137 def test_full(self): argument
1179 def test_inc_groups(self): argument
1210 def test_incremental(self): argument
1284 def test_remove_partition(self): argument