/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionTransferTest.java | 75 private SessionInfo getSessionInfo(@NonNull PackageInstaller installer, in getSessionInfo() argument 77 List<SessionInfo> mySessionInfos = installer.getMySessions(); in getSessionInfo() 98 ResolveInfo installer = InstrumentationRegistry.getInstrumentation().getTargetContext() in getPackageInstallerPackageName() local 102 if (installer != null) { in getPackageInstallerPackageName() 103 return installer.activityInfo.packageName; in getPackageInstallerPackageName() 131 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession() local 134 int sessionId = installer.createSession(params); in createSession() 135 return installer.openSession(sessionId); in createSession() 145 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in transferSession() local 148 int sessionId = installer.createSession(params); in transferSession() [all …]
|
D | ChecksumsTest.java | 614 final PackageInstaller installer = getPackageInstaller(); in testInstallerSignedChecksumsInvalidSignature() local 619 final int sessionId = installer.createSession(params); in testInstallerSignedChecksumsInvalidSignature() 620 Session session = installer.openSession(sessionId); in testInstallerSignedChecksumsInvalidSignature() 641 final PackageInstaller installer = getPackageInstaller(); in testInstallerSignedChecksumsSignatureTooBig() local 645 final int sessionId = installer.createSession(params); in testInstallerSignedChecksumsSignatureTooBig() 646 Session session = installer.openSession(sessionId); in testInstallerSignedChecksumsSignatureTooBig() 672 final PackageInstaller installer = getPackageInstaller(); in testInstallerSignedChecksumsInvalidChecksum() local 677 final int sessionId = installer.createSession(params); in testInstallerSignedChecksumsInvalidChecksum() 678 Session session = installer.openSession(sessionId); in testInstallerSignedChecksumsInvalidChecksum() 823 PackageInstaller installer = null; in testInstallerFileChecksumsDuringInstall() local [all …]
|
D | PackageManagerShellCommandInstallTest.java | 771 final PackageInstaller installer = getPackageInstaller(); in installDontKillSplit() local 777 final int sessionId = installer.createSession(params); in installDontKillSplit() 778 PackageInstaller.Session session = installer.openSession(sessionId); in installDontKillSplit() 834 final PackageInstaller installer = getPackageInstaller(); in testDontKillRemovedWithBaseApkFullInstall() local 839 final int sessionId = installer.createSession(params); in testDontKillRemovedWithBaseApkFullInstall() 840 PackageInstaller.Session session = installer.openSession(sessionId); in testDontKillRemovedWithBaseApkFullInstall() 871 final PackageInstaller installer = getPackageInstaller(); in testDontKillRemovedWithBaseApk() local 876 final int sessionId = installer.createSession(params); in testDontKillRemovedWithBaseApk() 877 PackageInstaller.Session session = installer.openSession(sessionId); in testDontKillRemovedWithBaseApk() 910 final PackageInstaller installer = getPackageInstaller(); in testDontKillRemovedWithRemovedSplit() local [all …]
|
D | LauncherAppsForHiddenProfilesTest.java | 378 PackageInstaller installer = in startInstallationSession() local 384 installer.openSession( in startInstallationSession() 385 installer.createSession( in startInstallationSession()
|
D | PackageManagerShellCommandIncrementalTest.java | 1116 final Callable<Void> installer, in checkSysTrace() argument 1146 installer.call(); in checkSysTrace()
|
/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | EnterpriseContactsMultiUserTest.java | 81 for (SuiteApkInstaller installer : sInstallers) { in tearDownClass() 82 installer.tearDown(testInfo, null); in tearDownClass() 129 SuiteApkInstaller installer = new SuiteApkInstaller(); in installPackageAsUser() local 130 installer.addTestFileName(TARGET_APK_A); in installPackageAsUser() 131 installer.setUserId(userId); in installPackageAsUser() 132 installer.setShouldGrantPermission(true); in installPackageAsUser() 133 installer.setUp(testInfo); in installPackageAsUser() 134 sInstallers.add(installer); in installPackageAsUser()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | PackageInstallerEnumerationTests.java | 98 final PackageInstaller installer = sPm.getPackageInstaller(); in getSessionInfo_sessionOwner_canSeeSession() local 99 final PackageInstaller.SessionInfo info = installer.getSessionInfo(sessionId); in getSessionInfo_sessionOwner_canSeeSession() 143 final PackageInstaller installer = sPm.getPackageInstaller(); in getStagedSessions_sessionOwner_canSeeSession() local 144 final Integer[] sessionIds = installer.getStagedSessions().stream() in getStagedSessions_sessionOwner_canSeeSession() 186 final PackageInstaller installer = sPm.getPackageInstaller(); in getAllSessions_sessionOwner_canSeeSession() local 187 final Integer[] sessionIds = installer.getAllSessions().stream() in getAllSessions_sessionOwner_canSeeSession()
|
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerWhitelistApp/src/com/android/cts/packageinstallerpermissionwhitelistapp/ |
D | PermissionWhitelistTest.kt | 96 private fun assertTargetInstaller(installer: String?) { in assertTargetInstaller() 98 .isEqualTo(installer) in assertTargetInstaller()
|
/cts/tests/framework/base/locale/InstallerApp/src/android/localemanager/cts/installer/ |
D | InstallerBroadcastReceiver.java | 16 package android.localemanager.cts.installer;
|
D | MainActivity.java | 17 package android.localemanager.cts.installer;
|
/cts/hostsidetests/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/ |
D | CtsExtractNativeLibsHostTestBase.java | 149 SuiteApkInstaller installer = new SuiteApkInstaller(); in installPackageLegacy() local 150 installer.addTestFileName(apkFileName); in installPackageLegacy() 153 installer.addInstallArg(abiFlag); in installPackageLegacy() 156 installer.setUp(getTestInformation()); in installPackageLegacy()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | Install.java | 313 PackageInstaller installer = InstallUtils.getPackageInstaller(); in createEmptyInstallSession() local 314 if (installer == null) { in createEmptyInstallSession() 318 return installer.createSession(params); in createEmptyInstallSession()
|
/cts/hostsidetests/silentupdate/testapp/src/com/android/tests/silentupdate/ |
D | SilentUpdateTests.java | 298 final PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in commit() local 311 int sessionId = installer.createSession(params); in commit() 314 installer.getSessionInfo(sessionId).getRequireUserAction(), in commit() 320 final PackageInstaller.Session session = installer.openSession(sessionId); in commit()
|
/cts/hostsidetests/incrementalinstall/app/ |
D | Android.bp | 43 // needs to be extracted by the installer instead of calling directly into the apk. 71 // does not need to be extracted by the installer.
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ApkVerityInstallTest.java | 337 InstallMultiple installer = new InstallMultiple(incremental) in testInstallDmWithMissingFsvSig() local 343 installer.run(); in testInstallDmWithMissingFsvSig() 353 InstallMultiple installer = new InstallMultiple(incremental) in testInstallSplitWithFsvSigAndBaseWithout() local 360 installer.run(); in testInstallSplitWithFsvSigAndBaseWithout()
|
D | EphemeralTest.java | 604 private void installApp(String apk, String installer) throws Exception { in installApp() argument 607 .addArg("-i " + installer) in installApp() 617 private void installEphemeralApp(String apk, String installer) throws Exception { in installEphemeralApp() argument 620 .addArg("-i " + installer) in installEphemeralApp()
|
D | PackageSetInstallerTest.kt | 196 private fun assertTargetInstaller(installer: String?) { in assertTargetInstaller() 198 .isEqualTo("package:$TARGET_PKG installer=$installer") in assertTargetInstaller()
|
D | PkgInstallSignatureVerificationTest.java | 2041 var installer = new InstallMultiple(); in installV4Package() local 2043 installer.useIncremental(); in installV4Package() 2046 installer.addRemoteFile(remoteApkPath + ".idsig"); in installV4Package() 2048 return installer in installV4Package()
|
/cts/hostsidetests/incrementalinstall/app/nativelibcompressed/ |
D | Android.bp | 45 // lib to be compressed in the apk, and needs to be extracted by the installer instead of
|
/cts/tests/rollback/src/com/android/cts/rollback/ |
D | RollbackManagerTest.java | 599 String installer = InstrumentationRegistry.getContext().getPackageManager() in testBadUpdateRollback() local 601 assertThat(installer).isEqualTo(getClass().getPackageName()); in testBadUpdateRollback()
|