Home
last modified time | relevance | path

Searched refs:installPackage (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/
DInstallOverlayTests.java72 installPackage("OverlayHostTests_NonPlatformSignatureOverlay.apk"); in failToInstallNonPlatformSignedOverlayTargetPreQ()
82 installPackage("OverlayHostTests_PlatformSignatureStaticOverlay.apk"); in installedIsStaticOverlayIsMutable()
88 installPackage("OverlayHostTests_PlatformSignatureOverlay.apk"); in installPlatformSignedOverlay()
96 installPackage("OverlayHostTests_AppOverlayV1.apk"); in installPlatformSignedAppOverlayAndUpdate()
105 installPackage("OverlayHostTests_AppOverlayV2.apk"); in installPlatformSignedAppOverlayAndUpdate()
118 installPackage("OverlayHostTests_FrameworkOverlayV1.apk"); in installPlatformSignedFrameworkOverlayAndUpdate()
127 installPackage("OverlayHostTests_FrameworkOverlayV2.apk"); in installPlatformSignedFrameworkOverlayAndUpdate()
141 installPackage("OverlayHostTests_FrameworkOverlayV1.apk"); in enabledFrameworkOverlayMustAffectNewlyInstalledPackage()
166 installPackage("OverlayHostTests_AppOverlayV1.apk"); in changesPersistedWhenUninstallingDisabledOverlay()
177 installPackage("OverlayHostTests_AppOverlayV1.apk"); in testAdbShellOMSInterface()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/
DAppEnumerationInternalTests.java65 installPackage(SYNC_PROVIDER_APK_PATH, true /* forceQueryable */); in querySyncProviders_canSeeForceQueryable()
77 installPackage(SYNC_PROVIDER_APK_PATH, false /* forceQueryable */); in querySyncProviders_cannotSeeSyncProvider()
85 private static void installPackage(String apkPath, boolean forceQueryable) { in installPackage() method in AppEnumerationInternalTests
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DFactoryPackageTest.kt56 assertThat(device.installPackage(versionTwoFile, true)).isNull() in testGetInstalledPackagesFactoryOnlyFlag()
68 assertThat(device.installPackage(deviceSideFile, true)).isNull() in runDeviceTest()
DInvalidNewSystemAppTest.kt71 assertThat(device.installPackage(versionTwoFile, true)).isNull() in verify()
83 assertThat(device.installPackage(versionFourFile, true)).isNull() in verify()
DBootTest.kt43 device.installPackage(testApkFile, true) in installApk()
DSdCardEjectionTests.kt87 assertThat(device.installPackage(hostApkFile, true)).isNull() in launchActivity()
118 assertThat(device.installPackage(usesApkFile, true)).isNull() in uninstallStaticLibraryInUse()
DHostUtils.kt46 return installPackage(file, reinstall, *extraArgs) in installJavaResourceApk()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DApexManagerTest.java330 () -> mApexManager.installPackage(apex, mPackageParser2)); in testInstallPackageFailsToInstallNewApex()
347 () -> mApexManager.installPackage(installedApex, mPackageParser2)); in testInstallPackageDowngrade()
367 mApexManager.installPackage(installedApex, mPackageParser2); in testInstallPackage_activeOnSystem()
405 mApexManager.installPackage(installedApex, mPackageParser2); in testInstallPackage_activeOnData()
439 () -> mApexManager.installPackage(installedApex, mPackageParser2)); in testInstallPackageBinderCallFails()
454 () -> mApexManager.installPackage(installedApex, mPackageParser2)); in testInstallPackageSignedWithWrongCertificate()
472 () -> mApexManager.installPackage(installedApex, mPackageParser2)); in testInstallPackageUnsignedApexContainer()
DShortcutManagerTest1.java5594 installPackage(USER_0, CALLING_PACKAGE_1); in checkBackupAndRestore_success()
5606 installPackage(USER_0, LAUNCHER_1); in checkBackupAndRestore_success()
5623 installPackage(USER_0, CALLING_PACKAGE_2); in checkBackupAndRestore_success()
5654 installPackage(USER_0, CALLING_PACKAGE_3); in checkBackupAndRestore_success()
5671 installPackage(USER_P0, CALLING_PACKAGE_1); in checkBackupAndRestore_success()
5678 installPackage(USER_0, LAUNCHER_2); in checkBackupAndRestore_success()
5712 installPackage(USER_0, CALLING_PACKAGE_1); in checkBackupAndRestore_success()
5719 installPackage(USER_0, LAUNCHER_1); in checkBackupAndRestore_success()
5749 installPackage(USER_0, CALLING_PACKAGE_2); in checkBackupAndRestore_success()
5790 installPackage(USER_0, CALLING_PACKAGE_1); in checkBackupAndRestore_publisherNotRestored()
[all …]
DBaseShortcutManagerTest.java1458 protected void installPackage(int userId, String packageName) { in installPackage() method in BaseShortcutManagerTest
2300 installPackage(userId, packageName);
2318 installPackage(userId, pakcageName);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNonAbUpdateInstaller.java43 RecoverySystem.installPackage(mContext, mCopiedUpdateFile); in installUpdateInThread()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DOverlayManagerPerfTest.java70 sSmallOverlays.add(installer.installPackage("Overlay" + i +".apk")); in classSetUp()
71 sLargeOverlays.add(installer.installPackage("LargeOverlay" + i +".apk")); in classSetUp()
/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/
DMultiUserRollbackTest.java59 installPackage("RollbackTest.apk", "--user all"); in setup()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTestPackageInstaller.java55 public InstalledPackage installPackage(String resourceName) throws IOException, in installPackage() method in TestPackageInstaller
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java102 installPackage(msg.getData()); in handleMessage()
192 private void installPackage(Bundle argsBundle) { in installPackage() method in WearPackageInstallerService
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java401 abstract void installPackage(File apexFile, PackageParser2 packageParser) in installPackage() method in ApexManager
1026 void installPackage(File apexFile, PackageParser2 packageParser) in installPackage() method in ApexManager.ApexManagerImpl
1347 void installPackage(File apexFile, PackageParser2 packageParser) { in installPackage() method in ApexManager.ApexManagerFlattenedApex
DPackageManagerService.java17355 mApexManager.installPackage(apexes[0], packageParser); in installApexPackages()
/frameworks/base/core/java/android/os/
DRecoverySystem.java594 public static void installPackage(Context context, File packageFile) in installPackage() method in RecoverySystem
596 installPackage(context, packageFile, false); in installPackage()
616 public static void installPackage(Context context, File packageFile, boolean processed) in installPackage() method in RecoverySystem
/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/
DSystemPreparer.java138 final String result = device.installPackage(tmpFile, true /* reinstall */); in installResourceApk()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java557 shadowPackageManager.installPackage(packageInfo); in setUpForUpdateTransportAttributes()
1258 mShadowPackageManager.installPackage(packageInfo); in registerPackages()
DTransportManagerTest.java679 mShadowPackageManager.installPackage(packageInfo); in setUpPackage()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java574 mShadowPackageManager.installPackage(packageInfo); in setUpPackage()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2584 mShadowPackageManager.installPackage(packageInfo); in setUpAgent()
/frameworks/base/core/api/
Dsystem-current.txt8476 …sPermission(android.Manifest.permission.RECOVERY) public static void installPackage(android.conten…
Dcurrent.txt31746 …method @RequiresPermission("android.permission.RECOVERY") public static void installPackage(androi…

12