Searched refs:installer (Results 1 – 6 of 6) sorted by relevance
64 private SessionInfo getSessionInfo(@NonNull PackageInstaller installer, in getSessionInfo() argument66 List<SessionInfo> mySessionInfos = installer.getMySessions(); in getSessionInfo()87 ResolveInfo installer = InstrumentationRegistry.getInstrumentation().getTargetContext() in getPackageInstallerPackageName() local91 if (installer != null) { in getPackageInstallerPackageName()92 return installer.activityInfo.packageName; in getPackageInstallerPackageName()120 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession() local123 int sessionId = installer.createSession(params); in createSession()124 return installer.openSession(sessionId); in createSession()134 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in transferSession() local137 int sessionId = installer.createSession(params); in transferSession()[all …]
185 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in getSessionInfo() local186 List<SessionInfo> mySessionInfos = installer.getMySessions(); in getSessionInfo()204 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession() local206 return installer.createSession(params); in createSession()
143 PackageInstaller installer = getPackageInstaller(); in stageApex() local149 int sessionId = installer.createSession(params); in stageApex()150 PackageInstaller.Session session = installer.openSession(sessionId); in stageApex()
406 PackageInstaller installer = getPackageInstaller(); in testsFailsNonStagedApexInstall() local411 installer.createSession(params); in testsFailsNonStagedApexInstall()
546 private void installApp(String apk, String installer) throws Exception { in installApp() argument549 .addArg("-i " + installer) in installApp()559 private void installEphemeralApp(String apk, String installer) throws Exception { in installEphemeralApp() argument562 .addArg("-i " + installer) in installEphemeralApp()
208 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in waitForSessionReady() local209 PackageInstaller.SessionInfo info = installer.getSessionInfo(sessionId); in waitForSessionReady()