Home
last modified time | relevance | path

Searched refs:mPackageInstaller (Results 1 – 7 of 7) 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()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java54 private PackageInstaller mPackageInstaller; field in InstallStart
79 mPackageInstaller = mPackageManager.getPackageInstaller(); in onCreate()
108 PackageInstaller.SessionInfo sessionInfo = mPackageInstaller.getSessionInfo(sessionId); in onCreate()
300 PackageInstaller.SessionInfo sessionInfo = mPackageInstaller.getSessionInfo(sessionId); in isCallerSessionOwner()
/frameworks/base/apct-tests/perftests/packagemanager/src/android/os/
DPackageManagerPerfTest.java78 private PackageInstaller mPackageInstaller; field in PackageManagerPerfTest
81 mPackageInstaller = mContext.getPackageManager().getPackageInstaller(); in PackageManagerPerfTest()
101 mPackageInstaller.uninstall(packageName, intentSender); in uninstallTestApp()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutChooserActivityTest.java130 private PackageInstaller mPackageInstaller; field in AccessibilityShortcutChooserActivityTest
154 when(mPackageManager.getPackageInstaller()).thenReturn(mPackageInstaller); in setUp()
204 verify(mPackageInstaller).uninstall(eq(TEST_PACKAGE), any()); in selectTestService_permissionDialog_uninstall_callsUninstaller_rowRemoved()