Home
last modified time | relevance | path

Searched refs:mPackageInstaller (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/pm/
DTvPackageInstaller.java26 private final PackageInstaller mPackageInstaller; field in TvPackageInstaller
29 mPackageInstaller = packageManager.getPackageInstaller(); in TvPackageInstaller()
34 mPackageInstaller.uninstallExistingPackage(packageName, statusReceiver); in uninstallExistingPackage()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java50 private final PackageInstaller mPackageInstaller; field in PackageInstallerImpl
56 mPackageInstaller = mContext.getPackageManager().getPackageInstaller(); in PackageInstallerImpl()
61 List<PackageInstaller.SessionInfo> mySessions = mPackageInstaller.getMySessions(); in PackageInstallerImpl()
132 session = mPackageInstaller.openSession(sessionInfo.getSessionId()); in install()
186 session = mPackageInstaller.openSession(sessionInfo.getSessionId()); in getSession()
212 int sessionId = mPackageInstaller.createSession(params); in innerCreateSession()
213 PackageInstaller.SessionInfo sessionInfo = mPackageInstaller.getSessionInfo(sessionId); in innerCreateSession()
226 mPackageInstaller.abandonSession(sessionId); in cancelSession()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPreRebootLoggerTest.java61 @Mock PackageInstaller mPackageInstaller; field in PreRebootLoggerTest
87 when(mPackageManager.getPackageInstaller()).thenReturn(mPackageInstaller); in prepareActiveStagedSessions()
88 when(mPackageInstaller.getActiveStagedSessions()).thenReturn(mSessions); in prepareActiveStagedSessions()
/frameworks/base/apct-tests/perftests/packagemanager/src/android/content/pm/
DPackageInstallerBenchmark.java103 private PackageInstaller mPackageInstaller; field in PackageInstallerBenchmark
114 mPackageInstaller = context.getPackageManager().getPackageInstaller(); in setUp()
151 mPackageInstaller.registerSessionCallback(mSessionCallback, in createSinglePackageSessions()
177 mPackageInstaller.registerSessionCallback(mSessionCallback, in createMultiplePackageSessions()
196 mPackageInstaller.uninstall(packageName, intentSender); in uninstall()
214 mPackageInstaller.unregisterSessionCallback(mSessionCallback); in uninstallSession()