Home
last modified time | relevance | path

Searched refs:sigLoc (Results 1 – 4 of 4) sorted by relevance

/packages/modules/adb/fastdeploy/deploypatchgenerator/
Dapk_archive_test.cpp51 ApkArchive::Location sigLoc = archiveTester.GetSignatureLocation(cdLoc.offset); in TEST() local
52 EXPECT_TRUE(sigLoc.valid); in TEST()
53 ASSERT_EQ(sigLoc.offset, 2040049u); in TEST()
54 ASSERT_EQ(sigLoc.size, 4088u); in TEST()
Dapk_archive.cpp101 Location sigLoc = GetSignatureLocation(cdLoc.offset); in ExtractMetadata() local
102 if (sigLoc.valid) { in ExtractMetadata()
103 dump.set_signature(ReadMetadata(sigLoc)); in ExtractMetadata()
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DApkArchive.java85 Location sigLoc = getSignatureLocation(cdLoc.offset); in extractMetadata() local
86 if (sigLoc != null) { in extractMetadata()
87 signature = readMetadata(sigLoc); in extractMetadata()
89 if (sigLoc.size != size) { in extractMetadata()
90 Log.e(TAG, "Mismatching signature sizes: " + sigLoc.size + " != " + size); in extractMetadata()
/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/
DApkArchiveTest.java50 ApkArchive.Location sigLoc = archive.getSignatureLocation(cdLoc.offset); in testApkArchiveSizes() local
51 assertNotEquals(sigLoc, null); in testApkArchiveSizes()
52 assertEquals(sigLoc.offset, 2040049); in testApkArchiveSizes()
53 assertEquals(sigLoc.size, 4088); in testApkArchiveSizes()