Searched refs:packageInstaller (Results 1 – 8 of 8) sorted by relevance
126 PackageInstaller packageInstaller = getPackageInstaller(); in cleanUp() local127 List<PackageInstaller.SessionInfo> stagedSessions = packageInstaller.getStagedSessions(); in cleanUp()131 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()295 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSession() local298 PackageInstaller.SessionInfo session = packageInstaller.getActiveStagedSession(); in testGetActiveStagedSession()304 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessionNoSessionActive() local305 PackageInstaller.SessionInfo session = packageInstaller.getActiveStagedSession(); in testGetActiveStagedSessionNoSessionActive()449 PackageInstaller packageInstaller = getPackageInstaller(); in testNonStagedInstallApkWithSameNameAsApexShouldFail() local452 int sessionId = packageInstaller.createSession(sessionParams); in testNonStagedInstallApkWithSameNameAsApexShouldFail()453 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in testNonStagedInstallApkWithSameNameAsApexShouldFail()[all …]
312 final PackageInstaller packageInstaller = InstrumentationRegistry.getContext() in createSessionId() local314 final int sessionId = packageInstaller.createSession(params); in createSessionId()318 final PackageInstaller.Session session = packageInstaller.openSession(sessionId); in createSessionId()333 final PackageInstaller packageInstaller = InstrumentationRegistry.getContext() in getSessionOrFail() local335 return packageInstaller.openSession(sessionId); in getSessionOrFail()340 final PackageInstaller packageInstaller = InstrumentationRegistry.getContext() in getSessionInfoOrFail() local342 return packageInstaller.getSessionInfo(sessionId); in getSessionInfoOrFail()377 final PackageInstaller packageInstaller = InstrumentationRegistry.getContext() in uninstall() local379 packageInstaller.uninstall(packageName, LocalIntentSender.getIntentSender()); in uninstall()
37 pm.packageInstaller.createSession( in instantAppsCannotCreateInstallSessions()
132 val pi = pm.packageInstaller in <lambda>()
145 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in uninstall() local146 packageInstaller.uninstall(packageName, LocalIntentSender.getIntentSender()); in uninstall()
537 final PackageInstaller packageInstaller = getPackageManager().getPackageInstaller(); in installHelperPackage() local538 final PackageInstaller.Session session = packageInstaller.openSession( in installHelperPackage()539 packageInstaller.createSession(new PackageInstaller.SessionParams( in installHelperPackage()
118 val pi = pm.packageInstaller in <lambda>()
732 final PackageInstaller packageInstaller = getContext() in installRestrictedPermissionUserApp() local734 final int sessionId = packageInstaller.createSession(params); in installRestrictedPermissionUserApp()735 final Session session = packageInstaller.openSession(sessionId); in installRestrictedPermissionUserApp()