Home
last modified time | relevance | path

Searched refs:ApkArchive (Results 1 – 8 of 8) sorted by relevance

/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/
DApkArchiveTest.java29 import com.android.fastdeploy.ApkArchive;
42 ApkArchive archive = new ApkArchive(SAMPLE_APK); in testApkArchiveSizes()
44 ApkArchive.Location cdLoc = archive.getCDLocation(); in testApkArchiveSizes()
50 ApkArchive.Location sigLoc = archive.getSignatureLocation(cdLoc.offset); in testApkArchiveSizes()
58 ApkArchive archive = new ApkArchive(SAMPLE_APK); in testApkArchiveDump()
60 ApkArchive.Dump dump = archive.extractMetadata(); in testApkArchiveDump()
70 ApkArchive archive = new ApkArchive(WRONG_APK); in testApkArchiveDumpWrongApk()
/packages/modules/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.cpp69 ApkArchive::ApkArchive(const std::string& path) : path_(path), size_(0) { in ApkArchive() function in ApkArchive
84 ApkArchive::~ApkArchive() {} in ~ApkArchive()
86 APKDump ApkArchive::ExtractMetadata() { in ExtractMetadata()
108 off_t ApkArchive::FindEndOfCDRecord() const { in FindEndOfCDRecord()
131 ApkArchive::Location ApkArchive::FindCDRecord(const char* cursor) { in FindCDRecord()
152 ApkArchive::Location ApkArchive::GetCDLocation() { in GetCDLocation()
176 ApkArchive::Location ApkArchive::GetSignatureLocation(off_t cdRecordOffset) { in GetSignatureLocation()
204 std::string ApkArchive::ReadMetadata(Location loc) const { in ReadMetadata()
209 size_t ApkArchive::ParseCentralDirectoryRecord(const char* input, size_t size, std::string* md5Hash, in ParseCentralDirectoryRecord()
291 size_t ApkArchive::CalculateLocalFileEntrySize(int64_t localFileHeaderOffset, in CalculateLocalFileEntrySize()
Dapk_archive_test.cpp32 ApkArchive::Location GetCDLocation() { return archive_.GetCDLocation(); } in GetCDLocation()
33 ApkArchive::Location GetSignatureLocation(size_t start) { in GetSignatureLocation()
38 ApkArchive archive_;
45 ApkArchive::Location cdLoc = archiveTester.GetCDLocation(); in TEST()
51 ApkArchive::Location sigLoc = archiveTester.GetSignatureLocation(cdLoc.offset); in TEST()
Dapk_archive.h31 class ApkArchive {
43 ApkArchive(const std::string& path);
44 ~ApkArchive();
Dpatch_utils.cpp45 while (auto consumed = ApkArchive::ParseCentralDirectoryRecord( in GetDeviceAPKMetaData()
59 ApkArchive archive(apkPath); in GetHostAPKMetaData()
Ddeploy_patch_generator_test.cpp73 ApkArchive archive(apkPath); in TEST()
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DDeployAgent.java33 import com.android.fastdeploy.ApkArchive;
180 ApkArchive.Dump dump = new ApkArchive(apk).extractMetadata(); in dumpApk()
DApkArchive.java33 public final class ApkArchive { class
70 public ApkArchive(File apk) throws IOException { in ApkArchive() method in ApkArchive