Lines Matching defs:self
197 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
307 def test_GetBuildProp(self): argument
313 def test_GetBuildProp_with_oem_props(self): argument
320 def test_GetPartitionFingerprint(self): argument
328 def test_GetPartitionFingerprint_system_other_uses_system(self): argument
334 def test_GetPartitionFingerprint_uses_fingerprint_prop_if_available(self): argument
343 def test_WriteMountOemScript(self): argument
350 def test_WriteDeviceAssertions(self): argument
356 def test_WriteDeviceAssertions_with_oem_props(self): argument
370 def test_ResolveRoProductProperty_FromVendor(self): argument
376 def test_ResolveRoProductProperty_FromSystem(self): argument
383 def test_ResolveRoProductProperty_InvalidPropertySearchOrder(self): argument
392 def test_ResolveRoProductProperty_Android10PropertySearchOrder(self): argument
399 def test_ResolveRoProductProperty_Android9PropertySearchOrder(self): argument
409 def _verify(self, zip_file, zip_file_name, arcname, expected_hash, argument
440 def _test_ZipWrite(self, contents, extra_zipwrite_args=None): argument
447 def _test_ZipWriteFile(self, test_file_name, extra_zipwrite_args=None): argument
483 def _test_ZipWriteStr(self, zinfo_or_arcname, contents, extra_args=None): argument
515 def _test_ZipWriteStr_large_file(self, large_file: BinaryIO, small, extra_args=None): argument
560 def _test_reset_ZIP64_LIMIT(self, func, *args): argument
566 def test_ZipWrite(self): argument
570 def test_ZipWrite_with_opts(self): argument
583 def test_ZipWrite_large_file(self): argument
589 def test_ZipWrite_resets_ZIP64_LIMIT(self): argument
592 def test_ZipWriteStr(self): argument
605 def test_ZipWriteStr_with_opts(self): argument
630 def test_ZipWriteStr_large_file(self): argument
640 def test_ZipWriteStr_resets_ZIP64_LIMIT(self): argument
645 def test_bug21309935(self): argument
683 def test_ZipDelete(self): argument
745 def test_UnzipTemp(self): argument
755 def test_UnzipTemp_withPatterns(self): argument
786 def test_UnzipTemp_withEmptyPatterns(self): argument
796 def test_UnzipTemp_withPartiallyMatchingPatterns(self): argument
805 def test_UnzipTemp_withNoMatchingPatterns(self): argument
879 def setUp(self): argument
893 def test_ReadApkCerts_NoncompressedApks(self): argument
901 def test_ReadApkCerts_CompressedApks(self): argument
924 def test_ReadApkCerts_CompressedAndNoncompressedApks(self): argument
937 def test_ReadApkCerts_MultipleCompressionMethods(self): argument
945 def test_ReadApkCerts_MismatchingKeys(self): argument
955 def test_ReadApkCerts_WithWithoutOptionalFields(self): argument
963 def test_ExtractPublicKey(self): argument
969 def test_ExtractPublicKey_invalidInput(self): argument
974 def test_ExtractAvbPublicKey(self): argument
983 def test_ParseCertificate(self): argument
997 def test_GetMinSdkVersion(self): argument
1002 def test_GetMinSdkVersion_invalidInput(self): argument
1007 def test_GetMinSdkVersionInt(self): argument
1012 def test_GetMinSdkVersionInt_invalidInput(self): argument
1020 def setUp(self): argument
1024 def test_GetSparseImage_emptyBlockMapFile(self): argument
1048 def test_PartitionMapFromTargetFiles(self): argument
1069 def test_SharedUidPartitionViolations(self): argument
1084 def test_SharedUidPartitionViolations_Violation(self): argument
1097 def test_GetSparseImage_missingImageFile(self): argument
1106 def test_GetSparseImage_missingBlockMapFile(self): argument
1125 def test_GetSparseImage_sharedBlocks_notAllowed(self): argument
1148 def test_GetSparseImage_sharedBlocks_allowed(self): argument
1193 def test_GetSparseImage_incompleteRanges(self): argument
1219 def test_GetSparseImage_systemRootImage_filenameWithExtraLeadingSlash(self): argument
1250 def test_GetSparseImage_systemRootImage_nonSystemFiles(self): argument
1275 def test_GetSparseImage_fileNotFound(self): argument
1295 def test_GetAvbChainedPartitionArg(self): argument
1309 def test_GetAvbChainedPartitionArg_withPrivateKey(self): argument
1323 def test_GetAvbChainedPartitionArg_withSpecifiedKey(self): argument
1337 def test_GetAvbChainedPartitionArg_invalidKey(self): argument
1355 def test_LoadListFromFile(self): argument
1385 def test_LoadInfoDict(self): argument
1395 def test_LoadInfoDict_legacyRecoveryFstabPath(self): argument
1406 def test_LoadInfoDict_dirInput(self): argument
1417 def test_LoadInfoDict_dirInput_legacyRecoveryFstabPath(self): argument
1427 def test_LoadInfoDict_recoveryAsBootFalse(self): argument
1441 def test_LoadInfoDict_noRecoveryTrue(self): argument
1455 def test_LoadInfoDict_missingMetaMiscInfoTxt(self): argument
1464 def test_LoadInfoDict_repacking(self): argument
1479 def test_LoadInfoDict_repackingWithZipFileInput(self): argument
1487 def test_MergeDynamicPartitionInfoDicts_ReturnsMergedDict(self): argument
1522 def test_MergeDynamicPartitionInfoDicts_IgnoringFrameworkGroupSize(self): argument
1555 def test_GetAvbPartitionArg(self): argument
1563 def test_AppendVBMetaArgsForPartition_vendorAsChainedPartition(self): argument
1580 def test_AppendVBMetaArgsForPartition_recoveryAsChainedPartition_nonAb(self): argument
1593 def test_AppendVBMetaArgsForPartition_recoveryAsChainedPartition_ab(self): argument
1618 def setUp(self): argument
1638 def _out_tmp_sink(self, name, data, prefix="SYSTEM"): argument
1645 def test_full_recovery(self): argument
1656 def test_recovery_from_boot(self): argument
1676 def __init__(self, partition, tgt, src=None): argument
1681 def WriteScript(self, script, _, progress=None, argument
1689 def WritePostInstallVerifyScript(self, script): argument
1695 def __init__(self, size): argument
1710 def setUp(self): argument
1714 def test_full(self): argument
1756 def test_inc_groups(self): argument
1788 def test_incremental(self): argument
1862 def test_remove_partition(self): argument
1899 def setUp(self): argument
1917 def test_parseBuildProps_noImportStatement(self): argument
1944 def test_parseBuildProps_singleImportStatement(self): argument
1990 def test_parseBuildProps_noPlaceHolders(self): argument
2009 def test_parseBuildProps_multipleImportStatements(self): argument
2073 def test_parseBuildProps_defineAfterOverride(self): argument
2098 def test_parseBuildProps_duplicateOverride(self): argument
2135 def test_partitionBuildProps_fromInputFile_deepcopy(self): argument