/packages/modules/adb/fastdeploy/deploypatchgenerator/ |
D | deploy_patch_generator_test.cpp | 41 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()
|
D | patch_utils.cpp | 58 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/ |
D | SdkSandboxVerifierReceiver.java | 90 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/ |
D | VirtualMachineConfig.java | 237 @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/ |
D | PackageManagementUtils.kt | 25 apkPath: String, in installPackage() 37 }${if (installSource != null) " -i $installSource" else ""} $apkPath" in installPackage()
|
/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/ |
D | FastDeployTest.java | 81 private void fastInstallPackage(String apkPath) in fastInstallPackage() argument 84 apkPath); in fastInstallPackage()
|
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/ |
D | RoleShellCommandTest.kt | 177 private fun installPackage(apkPath: String) { in installPackage() 178 assertThat(runShellCommandOrThrow("pm install -r --user $userId $apkPath").trim()) in installPackage()
|
D | RoleControllerManagerTest.kt | 142 private fun installPackage(apkPath: String) { in installPackage() 146 "pm install -r --user ${Process.myUserHandle().identifier} $apkPath" in installPackage()
|
D | RoleManagerTest.java | 490 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/ |
D | MicrodroidHostTests.java | 315 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/ |
D | BaseUsePermissionTest.kt | 315 apkPath: String, in <lambda>() 322 apkPath, in <lambda>() 332 apkPath: String, in <lambda>() 340 apkPath, in <lambda>()
|
D | BasePermissionTest.kt | 262 apkPath: String, in <lambda>() 272 else ""}${if (installSource != null) " -i $installSource" else ""} $apkPath" in <lambda>()
|
D | AppDataSharingUpdatesTest.kt | 640 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/ |
D | CustomAudienceTest.java | 681 private void installApp(String apkPath) { in installApp() argument 682 String installMessage = runShellCommand("pm install --user %d -r %s", mUserId, apkPath); in installApp()
|