Home
last modified time | relevance | path

Searched defs:apk (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/tools/aapt2/cmd/
DDump.cpp228 int DumpConfigsCommand::Dump(LoadedApk* apk) { in Dump()
259 int DumpPackageNameCommand::Dump(LoadedApk* apk) { in Dump()
269 int DumpStringsCommand::Dump(LoadedApk* apk) { in Dump()
285 int DumpStyleParentCommand::Dump(LoadedApk* apk) { in Dump()
310 int DumpTableCommand::Dump(LoadedApk* apk) { in Dump()
330 int DumpXmlStringsCommand::Dump(LoadedApk* apk) { in Dump()
386 int DumpXmlTreeCommand::Dump(LoadedApk* apk) { in Dump()
397 int DumpOverlayableCommand::Dump(LoadedApk* apk) { in Dump()
DDump.h46 Maybe<std::string> GetPackageName(LoadedApk* apk) { in GetPackageName()
71 for (auto apk : args) { in Action() local
131 int Dump(LoadedApk* apk) override { in Dump()
166 int Dump(LoadedApk* apk) override { in Dump()
DConvert_test.cpp56 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_convert_apk, &diag); in TEST_F() local
94 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_convert_apk, &diag); in TEST_F() local
DLink_test.cpp51 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() local
79 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() local
114 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() local
162 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() local
216 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() local
260 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() local
728 auto apk = LoadedApk::LoadApkFromPath(lib_apk, &diag); local
DOptimize.cpp131 int Run(std::unique_ptr<LoadedApk> apk) { in Run()
350 bool ExtractAppDataFromManifest(OptimizeContext* context, const LoadedApk* apk, in ExtractAppDataFromManifest()
422 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(apk_path, context.GetDiagnostics()); in Action() local
DCompile_test.cpp219 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in AssertTranslations() local
323 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(apk_path, &diag); in TEST_F() local
DConvert.cpp263 int Convert(IAaptContext* context, LoadedApk* apk, IArchiveWriter* output_writer, in Convert()
364 unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(path, context.GetDiagnostics()); in Action() local
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java83 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in hasSignature()
125 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in verify()
139 private static VerifiedSigner verify(RandomAccessFile apk, boolean verifyIntegrity) in verify()
152 public static SignatureInfo findSignature(RandomAccessFile apk) in findSignature()
165 RandomAccessFile apk, in verify()
394 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in getVerityRootHash()
404 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateApkVerity()
413 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateApkVerityRootHash()
DApkSignatureSchemeV3Verifier.java80 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in hasSignature()
119 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in verify()
134 private static VerifiedSigner verify(RandomAccessFile apk, boolean verifyIntegrity) in verify()
147 public static SignatureInfo findSignature(RandomAccessFile apk) in findSignature()
160 RandomAccessFile apk, in verify()
431 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in getVerityRootHash()
441 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateApkVerity()
450 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateApkVerityRootHash()
DVerityBuilder.java81 public static VerityResult generateApkVerityTree(@NonNull RandomAccessFile apk, in generateApkVerityTree()
88 private static VerityResult generateVerityTreeInternal(@NonNull RandomAccessFile apk, in generateVerityTreeInternal()
107 static void generateApkVerityFooter(@NonNull RandomAccessFile apk, in generateApkVerityFooter()
134 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateFsVerityRootHash()
151 static byte[] generateApkVerityRootHash(@NonNull RandomAccessFile apk, in generateApkVerityRootHash()
180 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateApkVerity()
311 private static void generateApkVerityDigestAtLeafLevel(RandomAccessFile apk, in generateApkVerityDigestAtLeafLevel()
357 private static byte[] generateFsVerityTreeInternal(@NonNull RandomAccessFile apk, in generateFsVerityTreeInternal()
386 private static byte[] generateVerityTreeInternal(@NonNull RandomAccessFile apk, in generateVerityTreeInternal()
DApkSigningBlockUtils.java69 static SignatureInfo findSignature(RandomAccessFile apk, int blockId) in findSignature()
100 RandomAccessFile apk, in verifyIntegrity()
129 expectedDigests.get(CONTENT_DIGEST_VERITY_CHUNKED_SHA256), apk, signatureInfo); in verifyIntegrity() local
367 RandomAccessFile apk, in verifyIntegrityForVerityBasedAlgorithm()
393 static Pair<ByteBuffer, Long> getEocd(RandomAccessFile apk) in getEocd()
699 RandomAccessFile apk, long centralDirOffset) in findApkSigningBlock()
DSourceStampVerifier.java120 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in verify()
144 RandomAccessFile apk, byte[] sourceStampCertificateDigest, byte[] manifestBytes) { in verify()
335 RandomAccessFile apk, byte[] manifestBytes) throws IOException { in getSignatureSchemeApkContentDigests()
DApkSignatureSchemeV4Verifier.java61 final File apk = new File(apkFile); in extractCertificates() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DArtStatsLogUtilsTest.java96 Path apk = null; in testProfileAndVdexDexMetadata() local
128 Path apk = null; in testProfileOnlyDexMetadata() local
160 Path apk = null; in testVdexOnlyDexMetadata() local
191 Path apk = null; in testNoneDexMetadata() local
221 Path apk = null; in testUnKnownDexMetadata() local
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator_test.cpp59 MultiApkGeneratorWrapper(LoadedApk* apk, IAaptContext* context) in MultiApkGeneratorWrapper()
109 LoadedApk apk = {{"test.apk"}, {}, std::move(table), {}, kBinary}; in TEST_F() local
136 LoadedApk apk = {{"test.apk"}, {}, std::move(table), {}, kBinary}; in TEST_F() local
161 LoadedApk apk = {{"test.apk"}, {}, std::move(table), {}, kBinary}; in TEST_F() local
/frameworks/base/libs/androidfw/tests/
DAssetManager2_bench.cpp41 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(path); in BM_AssetManagerLoadAssets() local
64 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(path); in BM_AssetManagerLoadFrameworkAssets() local
132 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(GetTestDataPath() + "/styles/styles.apk"); in BM_AssetManagerGetBag() local
184 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(kFrameworkPath); in BM_AssetManagerGetResourceLocales() local
220 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(kFrameworkPath); in BM_AssetManagerSetConfigurationFramework() local
DTheme_bench.cpp31 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(kFrameworkPath); in BM_ThemeApplyStyleFramework() local
65 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(kFrameworkPath); in BM_ThemeGetAttribute() local
DBenchmarkHelpers.cpp59 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(path); in GetResourceBenchmark() local
/frameworks/base/core/tests/coretests/src/android/util/apk/
DSourceStampVerifierTest.java235 File apk = File.createTempFile("SourceStampApk", ".apk"); in getApk() local
242 private byte[] getSourceStampCertificateHashFromApk(File apk) throws IOException { in getSourceStampCertificateHashFromApk()
/frameworks/base/tools/aapt2/test/
DFixture.cpp149 std::unique_ptr<io::IData> CommandTestFixture::OpenFileAsData(LoadedApk* apk,
157 void CommandTestFixture::AssertLoadXml(LoadedApk* apk, const io::IData* data,
/frameworks/multidex/library/src/androidx/multidex/
DZipUtil.java54 static long getZipCrc(File apk) throws IOException { in getZipCrc()
DMultiDexExtractor.java258 final ZipFile apk = new ZipFile(sourceApk); in performExtractions() local
380 private static void extract(ZipFile apk, ZipEntry dexFile, File extractTo, in extract()
/frameworks/base/tools/aapt2/
DLoadedApk.h59 LoadedApk(const Source& source, std::unique_ptr<io::IFileCollection> apk, in LoadedApk()
DLoadedApk.cpp38 static ApkFormat DetermineApkFormat(io::IFileCollection* apk) { in DetermineApkFormat()
78 std::unique_ptr<io::ZipFileCollection> apk = io::ZipFileCollection::Create(path, &error); in LoadApkFromPath() local
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DNetworkStagedRollbackTest.java66 final File apk = new File("/system/priv-app/" + name + "/" + name + ".apk"); in findNetworkStackApk() local

12