Home
last modified time | relevance | path

Searched refs:packageInstaller (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTestPackageInstaller.java61 PackageInstaller packageInstaller = mContext.getPackageManager().getPackageInstaller(); in installPackage() local
65 int sessionId = packageInstaller.createSession(params); in installPackage()
66 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in installPackage()
109 PackageInstaller packageInstaller = mContext.getPackageManager().getPackageInstaller(); in uninstall() local
110 packageInstaller.uninstall(mPackageName, intentSender.getIntentSender(mSessionId)); in uninstall()
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java106 PackageInstaller packageInstaller = getPackageInstaller(); in assertSessionState() local
108 List<PackageInstaller.SessionInfo> sessions = packageInstaller.getStagedSessions(); in assertSessionState()
120 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in assertSessionState()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java501 PackageInstaller packageInstaller = pm.getPackageInstaller(); in commit() local
511 int parentSessionId = packageInstaller.createSession(parentParams); in commit()
512 PackageInstaller.Session parentSession = packageInstaller.openSession( in commit()
540 int sessionId = packageInstaller.createSession(params); in commit()
541 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in commit()
DWatchdogRollbackLogger.java120 PackageInstaller packageInstaller = context.getPackageManager().getPackageInstaller(); in logRollbackStatusOnBoot() local
148 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in logRollbackStatusOnBoot()
DRollbackPackageHealthObserver.java211 PackageInstaller packageInstaller = in handleStagedSessionChange() local
221 packageInstaller.getSessionInfo(sessionId); in handleStagedSessionChange()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java75 PackageInstaller packageInstaller = getPackageManager().getPackageInstaller(); in onCreate() local
76 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in onCreate()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt60 private val installer = context.packageManager.packageInstaller in <lambda>()