Searched refs:mPackageInstaller (Results 1 – 7 of 7) 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()
54 private PackageInstaller mPackageInstaller; field in InstallStart79 mPackageInstaller = mPackageManager.getPackageInstaller(); in onCreate()108 PackageInstaller.SessionInfo sessionInfo = mPackageInstaller.getSessionInfo(sessionId); in onCreate()300 PackageInstaller.SessionInfo sessionInfo = mPackageInstaller.getSessionInfo(sessionId); in isCallerSessionOwner()
78 private PackageInstaller mPackageInstaller; field in PackageManagerPerfTest81 mPackageInstaller = mContext.getPackageManager().getPackageInstaller(); in PackageManagerPerfTest()101 mPackageInstaller.uninstall(packageName, intentSender); in uninstallTestApp()
130 private PackageInstaller mPackageInstaller; field in AccessibilityShortcutChooserActivityTest154 when(mPackageManager.getPackageInstaller()).thenReturn(mPackageInstaller); in setUp()204 verify(mPackageInstaller).uninstall(eq(TEST_PACKAGE), any()); in selectTestService_permissionDialog_uninstall_callsUninstaller_rowRemoved()