Searched refs:fileSize (Results 1 – 5 of 5) sorted by relevance
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | ZipUtils.java | 124 long fileSize = zip.size(); in findZipEndOfCentralDirectoryRecord() local 125 if (fileSize < ZIP_EOCD_REC_MIN_SIZE) { in findZipEndOfCentralDirectoryRecord() 171 long fileSize = zip.size(); in findZipEndOfCentralDirectoryRecord() local 172 if (fileSize < ZIP_EOCD_REC_MIN_SIZE) { in findZipEndOfCentralDirectoryRecord() 177 maxCommentSize = (int) Math.min(maxCommentSize, fileSize - ZIP_EOCD_REC_MIN_SIZE); in findZipEndOfCentralDirectoryRecord() 180 long bufOffsetInFile = fileSize - maxEocdSize; in findZipEndOfCentralDirectoryRecord()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | RemoteZip.java | 53 long fileSize, in RemoteZip() argument 57 mFileSize = fileSize; in RemoteZip() 71 public RemoteZip(String remoteFilePath, long fileSize, IFileDownloader downloader) { in RemoteZip() argument 72 this(remoteFilePath, fileSize, downloader, false); in RemoteZip()
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | FileChannelDataSourceTest.java | 100 private static byte[] createFileContent(int fileSize) { in createFileContent() argument 101 byte[] fullFileContent = new byte[fileSize]; in createFileContent() 102 for (int i = 0; i < fileSize; ++i) { in createFileContent()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/ |
D | V4SchemeSigner.java | 120 final long fileSize = apkContent.size(); in generateV4Signature() local 144 fileSize); in generateV4Signature() 155 byte[] apkDigest, byte[] additionaData, long fileSize) in generateSignature() argument 174 final byte[] data = V4Signature.getSigningData(fileSize, hashingInfo, in generateSignature()
|
D | V4Signature.java | 137 static byte[] getSigningData(long fileSize, HashingInfo hashingInfo, SigningInfo signingInfo) { in getSigningData() argument 145 buffer.putLong(fileSize); in getSigningData()
|