Home
last modified time | relevance | path

Searched refs:apkPath (Results 1 – 14 of 14) sorted by relevance

/packages/modules/adb/fastdeploy/deploypatchgenerator/
Ddeploy_patch_generator_test.cpp41 std::string apkPath = GetTestFile("rotating_cube-release.apk"); in TEST() local
42 APKMetaData metadataA = PatchUtils::GetHostAPKMetaData(apkPath.c_str()); in TEST()
53 std::string apkPath = GetTestFile("rotating_cube-release.apk"); in TEST() local
57 unique_fd apkFile(adb_open(apkPath.c_str(), O_RDWR)); in TEST()
64 generator.CreatePatch(apkPath.c_str(), {}, output.fd); in TEST()
72 std::string apkPath = GetTestFile("rotating_cube-release.apk"); in TEST() local
73 ApkArchive archive(apkPath); in TEST()
83 generator.CreatePatch(apkPath.c_str(), metadata, output.fd); in TEST()
Dpatch_utils.cpp58 APKMetaData PatchUtils::GetHostAPKMetaData(const char* apkPath) { in GetHostAPKMetaData() argument
59 ApkArchive archive(apkPath); in GetHostAPKMetaData()
62 fprintf(stderr, "adb: Could not extract Central Directory from %s\n", apkPath); in GetHostAPKMetaData()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxVerifierReceiver.java90 String apkPath = intent.getData() != null ? intent.getData().getPath() : null; in verifySdkHandler() local
93 apkPath != null in verifySdkHandler()
94 ? context.getPackageManager().getPackageArchiveInfo(apkPath, /* flags */ 0) in verifySdkHandler()
114 apkPath, in verifySdkHandler()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineConfig.java237 @Nullable String apkPath, in VirtualMachineConfig() argument
257 mApkPath = apkPath; in VirtualMachineConfig()
325 String apkPath = b.getString(KEY_APKPATH); in fromPersistableBundle() local
326 if (apkPath != null) { in fromPersistableBundle()
327 builder.setApkPath(apkPath); in fromPersistableBundle()
739 String apkPath = (mApkPath != null) ? mApkPath : findPayloadApk(packageManager); in toVsConfig() local
742 vsConfig.apk = ParcelFileDescriptor.open(new File(apkPath), MODE_READ_ONLY); in toVsConfig()
904 String apkPath = null; in build() local
908 apkPath = mApkPath; in build()
959 apkPath, in build()
[all …]
/packages/modules/Permission/tests/cts/permissionmultidevice/TestUtils/src/android/permissionmultidevice/cts/
DPackageManagementUtils.kt25 apkPath: String, in installPackage()
37 }${if (installSource != null) " -i $installSource" else ""} $apkPath" in installPackage()
/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/
DFastDeployTest.java81 private void fastInstallPackage(String apkPath) in fastInstallPackage() argument
84 apkPath); in fastInstallPackage()
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleShellCommandTest.kt177 private fun installPackage(apkPath: String) { in installPackage()
178 assertThat(runShellCommandOrThrow("pm install -r --user $userId $apkPath").trim()) in installPackage()
DRoleControllerManagerTest.kt142 private fun installPackage(apkPath: String) { in installPackage()
146 "pm install -r --user ${Process.myUserHandle().identifier} $apkPath" in installPackage()
DRoleManagerTest.java490 private void installPackage(@NonNull String apkPath) { in installPackage() argument
491 installPackage(apkPath, Process.myUserHandle()); in installPackage()
494 private void installPackage(@NonNull String apkPath, UserHandle user) { in installPackage() argument
495 runShellCommandOrThrow("pm install -r --user " + user.getIdentifier() + " " + apkPath); in installPackage()
/packages/modules/Virtualization/tests/hostside/java/com/android/microdroid/test/
DMicrodroidHostTests.java315 final String apkPath = getPathForPackage(PACKAGE_NAME);
317 android.run(VIRT_APEX + "bin/vm", "create-idsig", apkPath, idSigPath);
387 .put(newPartition("microdroid-apk", apkPath))
688 final String apkPath = getPathForPackage(PACKAGE_NAME);
699 apkPath,
981 final String apkPath = getPathForPackage(PACKAGE_NAME);
983 android.run(VIRT_APEX + "bin/vm", "create-idsig", apkPath, idSigPath);
1000 apkPath,
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DBaseUsePermissionTest.kt315 apkPath: String, in <lambda>()
322 apkPath, in <lambda>()
332 apkPath: String, in <lambda>()
340 apkPath, in <lambda>()
DBasePermissionTest.kt262 apkPath: String, in <lambda>()
272 else ""}${if (installSource != null) " -i $installSource" else ""} $apkPath" in <lambda>()
DAppDataSharingUpdatesTest.kt640 apkPath: String, in <lambda>()
645 installPackageViaSession(apkPath, appMetadata, packageSource) in <lambda>()
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/src/com/android/adservices/tests/cts/customaudience/
DCustomAudienceTest.java681 private void installApp(String apkPath) { in installApp() argument
682 String installMessage = runShellCommand("pm install --user %d -r %s", mUserId, apkPath); in installApp()