/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/ |
D | InstallOverlayTests.java | 72 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/ |
D | AppEnumerationInternalTests.java | 92 installPackage(SYNC_PROVIDER_APK_PATH, true /* forceQueryable */); in querySyncProviders_canSeeForceQueryable() 104 installPackage(SYNC_PROVIDER_APK_PATH, false /* forceQueryable */); in querySyncProviders_cannotSeeSyncProvider() 114 installPackage(HAS_APPOP_PERMISSION_APK_PATH, true /* forceQueryable */); in getAppOpPermissionPackages_canSeeForceQueryable() 124 installPackage(HAS_APPOP_PERMISSION_APK_PATH, false /* forceQueryable */); in getAppOpPermissionPackages_cannotSeeHasAppOpPermission() 134 installPackage(SHARED_USER_APK_PATH, true /* forceQueryable */); in getUidForSharedUser_canSeeForceQueryable() 142 installPackage(SHARED_USER_APK_PATH, false /* forceQueryable */); in getUidForSharedUser_cannotSeeSharedUser() 151 installPackage(SHARED_USER_APK_PATH, false /* forceQueryable */); in getLaunchIntentSenderForPackage_intentSender_cannotDetectPackage() 171 installPackage(SHARED_USER_APK_PATH, true /* forceQueryable */); in mediaProjectionManager_createProjection_canSeeForceQueryable() 183 installPackage(SHARED_USER_APK_PATH, false /* forceQueryable */); in mediaProjectionManager_createProjection_cannotSeeTarget() 193 private static void installPackage(String apkPath, boolean forceQueryable) { in installPackage() method in AppEnumerationInternalTests
|
D | CrossUserPackageVisibilityTests.java | 195 installPackage(CROSS_USER_TEST_APK_FILE); in testGetFlagsForUid_cannotDetectCrossUserPkg() 315 private static void installPackage(File apk) { in installPackage() method in CrossUserPackageVisibilityTests
|
/frameworks/base/services/tests/BackgroundInstallControlServiceTests/host/src/com/android/server/pm/test/ |
D | BackgroundInstallControlServiceHostTest.java | 50 installPackage(TEST_DATA_DIR + MOCK_APK_FILE_1); in testGetMockBackgroundInstalledPackages() 51 installPackage(TEST_DATA_DIR + MOCK_APK_FILE_2); in testGetMockBackgroundInstalledPackages() 85 private void installPackage(String path) throws DeviceNotAvailableException { in installPackage() method in BackgroundInstallControlServiceHostTest
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | FactoryPackageTest.kt | 56 assertThat(device.installPackage(versionTwoFile, true)).isNull() in testGetInstalledPackagesFactoryOnlyFlag() 68 assertThat(device.installPackage(deviceSideFile, true)).isNull() in runDeviceTest()
|
D | InvalidNewSystemAppTest.kt | 71 assertThat(device.installPackage(versionTwoFile, true)).isNull() in verify() 83 assertThat(device.installPackage(versionFourFile, true)).isNull() in verify()
|
D | TamperedUpdatedSystemPackageTest.kt | 128 assertThat(device.installPackage(versionTwoFile, true)).isNull() in detectApkAndXmlTamperingAtBoot() 155 assertThat(device.installPackage(versionTwoFile, true)).isNull() in detectApkTamperingAtBoot()
|
D | PackageInstallerSessionTest.kt | 51 Truth.assertThat(device.installPackage(deviceSideFile, true)).isNull() in runDeviceTest()
|
D | BootTest.kt | 43 device.installPackage(testApkFile, true) in installApk()
|
D | SdCardEjectionTests.kt | 90 assertThat(device.installPackage(hostApkFile, true)).isNull() in launchActivity() 121 assertThat(device.installPackage(usesApkFile, true)).isNull() in uninstallStaticLibraryInUse()
|
D | OverlayPathsUninstallSystemUpdatesTest.kt | 67 assertThat(device.installPackage(versionTwoFile, true)).isNull() in verify()
|
D | ApexUpdateTest.kt | 73 device.installPackage(testInformation.getDependencyFile(APK_FILE_NAME, false), false) in apexModuleName()
|
D | HostUtils.kt | 46 return installPackage(file, reinstall, *extraArgs) in installJavaResourceApk()
|
/frameworks/base/services/tests/BackgroundInstallControlServiceTests/host/test-app/BackgroundInstallControlServiceTestApp/src/com/android/server/pm/test/app/ |
D | BackgroundInstallControlServiceTest.java | 142 installPackage(TEST_DATA_DIR + MOCK_APK_FILE, MOCK_PACKAGE_NAME); in testRegisterBackgroundInstallControlCallback() 172 installPackage(TEST_DATA_DIR + MOCK_APK_FILE, MOCK_PACKAGE_NAME); in testUnregisterBackgroundInstallControlCallback() 177 private static boolean installPackage(String apkPath, String packageName) { in installPackage() method in BackgroundInstallControlServiceTest
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NonAbUpdateInstaller.java | 43 RecoverySystem.installPackage(mContext, mCopiedUpdateFile); in installUpdateInThread()
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | OverlayManagerPerfTest.java | 70 sSmallOverlays.add(installer.installPackage("Overlay" + i +".apk")); in classSetUp() 71 sLargeOverlays.add(installer.installPackage("LargeOverlay" + i +".apk")); in classSetUp()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | AppUtilsTest.java | 173 mShadowPackageManager.installPackage(packageInfo); in isMainlineModule_hasApexPackageName_shouldCheckByPackageInfo() 187 mShadowPackageManager.installPackage(packageInfo); in isMainlineModule_noApexPackageName_shouldCheckBySourceDirPath()
|
/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/ |
D | MultiUserRollbackTest.java | 68 installPackage("RollbackTest.apk", "--user all"); in setup()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | TestPackageInstaller.java | 55 public InstalledPackage installPackage(String resourceName) throws IOException, in installPackage() method in TestPackageInstaller
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | ApexManagerTest.java | 397 newApexInfo = mApexManager.installPackage(installedApex, /* force= */ false); in testInstallPackage_activeOnSystem() 428 newApexInfo = mApexManager.installPackage(installedApex, /* force= */ false); in testInstallPackage_activeOnData() 449 () -> mApexManager.installPackage(installedApex, /* force= */ false)); in testInstallPackageBinderCallFails()
|
/frameworks/base/tests/BinaryTransparencyHostTest/src/android/transparency/test/ |
D | BinaryTransparencyHostTest.java | 177 installPackage("com.android.apex.cts.shim.v2_rebootless.apex", "--force-non-staged"); in installRebootlessApex()
|
/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/ |
D | StagedInstallInternalTest.java | 175 getDevice().installPackage(apex, false, extraArgs); in installTestApex() 242 installPackage(APK_IN_APEX_TESTAPEX_NAME + "_v2.apex", "--staged"); in testApkInApexPruneCache()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 120 installPackage(msg.getData()); in handleMessage() 210 private void installPackage(Bundle argsBundle) { in installPackage() method in WearPackageInstallerService
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ServiceRestarterTest.java | 410 assertTrue("Unable to install package " + apkPath, installPackage(apkPath)); in testServiceWithDepPkgStopped() 435 private boolean installPackage(String apkPath) throws Exception { in installPackage() method in ServiceRestarterTest
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 5819 installPackage(USER_0, CALLING_PACKAGE_1); in checkBackupAndRestore_success() 5831 installPackage(USER_0, LAUNCHER_1); in checkBackupAndRestore_success() 5848 installPackage(USER_0, CALLING_PACKAGE_2); in checkBackupAndRestore_success() 5879 installPackage(USER_0, CALLING_PACKAGE_3); in checkBackupAndRestore_success() 5896 installPackage(USER_P0, CALLING_PACKAGE_1); in checkBackupAndRestore_success() 5903 installPackage(USER_0, LAUNCHER_2); in checkBackupAndRestore_success() 5937 installPackage(USER_0, CALLING_PACKAGE_1); in checkBackupAndRestore_success() 5944 installPackage(USER_0, LAUNCHER_1); in checkBackupAndRestore_success() 5974 installPackage(USER_0, CALLING_PACKAGE_2); in checkBackupAndRestore_success() 6007 installPackage(USER_0, CALLING_PACKAGE_1); in checkBackupAndRestore_publisherNotRestored() [all …]
|