Home
last modified time | relevance | path

Searched refs:installer (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionTransferTest.java64 private SessionInfo getSessionInfo(@NonNull PackageInstaller installer, in getSessionInfo() argument
66 List<SessionInfo> mySessionInfos = installer.getMySessions(); in getSessionInfo()
87 ResolveInfo installer = InstrumentationRegistry.getInstrumentation().getTargetContext() in getPackageInstallerPackageName() local
91 if (installer != null) { in getPackageInstallerPackageName()
92 return installer.activityInfo.packageName; in getPackageInstallerPackageName()
120 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession() local
123 int sessionId = installer.createSession(params); in createSession()
124 return installer.openSession(sessionId); in createSession()
134 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in transferSession() local
137 int sessionId = installer.createSession(params); in transferSession()
[all …]
DInstallSessionParamsUnitTest.java185 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in getSessionInfo() local
186 List<SessionInfo> mySessionInfos = installer.getMySessions(); in getSessionInfo()
204 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession() local
206 return installer.createSession(params); in createSession()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DApexShimValidationTest.java143 PackageInstaller installer = getPackageInstaller(); in stageApex() local
149 int sessionId = installer.createSession(params); in stageApex()
150 PackageInstaller.Session session = installer.openSession(sessionId); in stageApex()
DStagedInstallTest.java406 PackageInstaller installer = getPackageInstaller(); in testsFailsNonStagedApexInstall() local
411 installer.createSession(params); in testsFailsNonStagedApexInstall()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DEphemeralTest.java546 private void installApp(String apk, String installer) throws Exception { in installApp() argument
549 .addArg("-i " + installer) in installApp()
559 private void installEphemeralApp(String apk, String installer) throws Exception { in installEphemeralApp() argument
562 .addArg("-i " + installer) in installEphemeralApp()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DUtils.java208 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in waitForSessionReady() local
209 PackageInstaller.SessionInfo info = installer.getSessionInfo(sessionId); in waitForSessionReady()