/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 92 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in hasSignature() 131 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in verify() 145 private static VerifiedSigner verify(RandomAccessFile apk, boolean verifyIntegrity) in verify() 158 private static SignatureInfo findSignature(RandomAccessFile apk) in findSignature() 171 RandomAccessFile apk, in verify() 401 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in getVerityRootHash() 411 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateApkVerity() 420 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateApkVerityRootHash()
|
D | ApkSignatureSchemeV3Verifier.java | 89 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in hasSignature() 127 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in verify() 141 private static VerifiedSigner verify(RandomAccessFile apk, boolean verifyIntegrity) in verify() 154 private static SignatureInfo findSignature(RandomAccessFile apk) in findSignature() 167 RandomAccessFile apk, in verify() 525 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in getVerityRootHash() 535 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateApkVerity() 544 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateApkVerityRootHash()
|
D | VerityBuilder.java | 80 public static VerityResult generateFsVerityTree(@NonNull RandomAccessFile apk, in generateFsVerityTree() 97 public static VerityResult generateApkVerityTree(@NonNull RandomAccessFile apk, in generateApkVerityTree() 105 private static VerityResult generateVerityTreeInternal(@NonNull RandomAccessFile apk, in generateVerityTreeInternal() 130 static void generateApkVerityFooter(@NonNull RandomAccessFile apk, in generateApkVerityFooter() 146 static byte[] generateApkVerityRootHash(@NonNull RandomAccessFile apk, in generateApkVerityRootHash() 175 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) { in generateApkVerity() 306 private static void generateApkVerityDigestAtLeafLevel(RandomAccessFile apk, in generateApkVerityDigestAtLeafLevel() 352 private static byte[] generateVerityTreeInternal(@NonNull RandomAccessFile apk, in generateVerityTreeInternal()
|
D | ApkSigningBlockUtils.java | 58 static SignatureInfo findSignature(RandomAccessFile apk, int blockId) in findSignature() 89 RandomAccessFile apk, in verifyIntegrity() 118 expectedDigests.get(CONTENT_DIGEST_VERITY_CHUNKED_SHA256), apk, signatureInfo); in verifyIntegrity() local 330 RandomAccessFile apk, in verifyIntegrityForVerityBasedAlgorithm() 356 static Pair<ByteBuffer, Long> getEocd(RandomAccessFile apk) in getEocd() 661 RandomAccessFile apk, long centralDirOffset) in findApkSigningBlock()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Dump.cpp | 222 int DumpConfigsCommand::Dump(LoadedApk* apk) { in Dump() 253 int DumpPackageNameCommand::Dump(LoadedApk* apk) { in Dump() 263 int DumpStringsCommand::Dump(LoadedApk* apk) { in Dump() 279 int DumpStyleParentCommand::Dump(LoadedApk* apk) { in Dump() 304 int DumpTableCommand::Dump(LoadedApk* apk) { in Dump() 324 int DumpXmlStringsCommand::Dump(LoadedApk* apk) { in Dump() 380 int DumpXmlTreeCommand::Dump(LoadedApk* apk) { in Dump()
|
D | Dump.h | 46 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()
|
D | Link_test.cpp | 45 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() local 73 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() local
|
D | Convert_test.cpp | 56 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
|
D | Optimize.cpp | 125 int Run(std::unique_ptr<LoadedApk> apk) { in Run() 357 bool ExtractAppDataFromManifest(OptimizeContext* context, const LoadedApk* apk, in ExtractAppDataFromManifest() 429 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(apk_path, context.GetDiagnostics()); in Action() local
|
D | Convert.cpp | 257 int Convert(IAaptContext* context, LoadedApk* apk, IArchiveWriter* output_writer, in Convert() 358 unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(path, context.GetDiagnostics()); in Action() local
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator_test.cpp | 59 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/ |
D | AssetManager2_bench.cpp | 41 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 180 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(kFrameworkPath); in BM_AssetManagerGetResourceLocales() local 216 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(kFrameworkPath); in BM_AssetManagerSetConfigurationFramework() local
|
D | Theme_bench.cpp | 31 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
|
D | BenchmarkHelpers.cpp | 59 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(path); in GetResourceBenchmark() local
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.cpp | 138 std::unique_ptr<io::IData> CommandTestFixture::OpenFileAsData(LoadedApk* apk, 146 void CommandTestFixture::AssertLoadXml(LoadedApk* apk, const io::IData* data,
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | ZipUtil.java | 54 static long getZipCrc(File apk) throws IOException { in getZipCrc()
|
D | MultiDexExtractor.java | 258 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/ |
D | LoadedApk.h | 59 LoadedApk(const Source& source, std::unique_ptr<io::IFileCollection> apk, in LoadedApk()
|
D | LoadedApk.cpp | 38 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/cmds/statsd/src/metrics/ |
D | GaugeMetricProducer.h | 74 void notifyAppUpgrade(const int64_t& eventTimeNs, const string& apk, const int uid, in notifyAppUpgrade()
|
D | MetricProducer.h | 106 virtual void notifyAppUpgrade(const int64_t& eventTimeNs, const string& apk, const int uid, in notifyAppUpgrade() 120 void notifyAppRemoved(const int64_t& eventTimeNs, const string& apk, const int uid) { in notifyAppRemoved()
|
D | ValueMetricProducer.h | 67 void notifyAppUpgrade(const int64_t& eventTimeNs, const string& apk, const int uid, in notifyAppUpgrade()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewLibraryLoader.java | 78 LoadedApk apk = ActivityThread.currentActivityThread().getPackageInfo( in main() local
|
/frameworks/base/tools/bit/ |
D | main.cpp | 875 InstallApk& apk = installApks[i]; in run_phases() local 979 Apk apk; in run_phases() local 1101 const InstallApk& apk = installApks[i]; in run_phases() local 1112 const InstallApk& apk = installApks[i]; in run_phases() local
|
/frameworks/base/core/proto/android/service/ |
D | package.proto | 46 optional string apk = 4; field
|