Searched refs:mPackageInstaller (Results 1 – 4 of 4) sorted by relevance
26 private final PackageInstaller mPackageInstaller; field in TvPackageInstaller29 mPackageInstaller = packageManager.getPackageInstaller(); in TvPackageInstaller()34 mPackageInstaller.uninstallExistingPackage(packageName, statusReceiver); in uninstallExistingPackage()
50 private final PackageInstaller mPackageInstaller; field in PackageInstallerImpl56 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()
61 @Mock PackageInstaller mPackageInstaller; field in PreRebootLoggerTest87 when(mPackageManager.getPackageInstaller()).thenReturn(mPackageInstaller); in prepareActiveStagedSessions()88 when(mPackageInstaller.getActiveStagedSessions()).thenReturn(mSessions); in prepareActiveStagedSessions()
103 private PackageInstaller mPackageInstaller; field in PackageInstallerBenchmark114 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()