Home
last modified time | relevance | path

Searched refs:getPackageInstaller (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallInstalling.java114 getPackageManager().getPackageInstaller().abandonSession(mSessionId); in onCreate()
151 getPackageManager().getPackageInstaller().openSession( in onCreate()
202 PackageInstaller installer = getPackageManager().getPackageInstaller(); in onResume()
289 return getPackageManager().getPackageInstaller().openSession(mSessionId); in doInBackground()
329 getPackageManager().getPackageInstaller().abandonSession(mSessionId); in onPostExecute()
DDeleteStagedFileOnResult.java59 getPackageManager().getPackageInstaller().abandonSession(sessionId); in onDestroy()
DUnarchiveActivity.java141 getPackageManager().getPackageInstaller().requestUnarchive(mPackageName, mIntentSender); in startUnarchive()
DUninstallUninstalling.java122 createContextAsUser(user, 0).getPackageManager().getPackageInstaller().uninstall( in onCreate()
DInstallStart.java79 mPackageInstaller = mPackageManager.getPackageInstaller(); in onCreate()
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java19 import static com.android.cts.install.lib.InstallUtils.getPackageInstaller;
189 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in testDuplicateApkInApexShouldFail_Verify()
211 InstallUtils.getPackageInstaller().abandonSession(id1); in testAbandonStagedSessionShouldCleanUp()
213 InstallUtils.getPackageInstaller().abandonSession(id2); in testAbandonStagedSessionShouldCleanUp()
215 InstallUtils.getPackageInstaller().abandonSession(id3); in testAbandonStagedSessionShouldCleanUp()
217 InstallUtils.getPackageInstaller().abandonSession(id4); in testAbandonStagedSessionShouldCleanUp()
280 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in testFailStagedSessionIfStagingDirectoryDeleted_Verify()
428 InstallUtils.getPackageInstaller().abandonSession(sessionId); in testVendorApexCorrectInstaller_staged()
651 PackageInstaller packageInstaller = getPackageInstaller(); in assertSessionState()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerFactory.java30 public synchronized static PackageInstallerImpl getPackageInstaller(Context context) { in getPackageInstaller() method in PackageInstallerFactory
DWearPackageInstallerService.java355 PackageInstallerFactory.getPackageInstaller(this).install(packageName, fd, in installPackage()
407 pm.getPackageInstaller().uninstall( in uninstallPackage()
DPackageInstallerImpl.java56 mPackageInstaller = mContext.getPackageManager().getPackageInstaller(); in PackageInstallerImpl()
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/pm/
DTvPackageInstaller.java29 mPackageInstaller = packageManager.getPackageInstaller(); in TvPackageInstaller()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTestPackageInstaller.java61 PackageInstaller packageInstaller = mContext.getPackageManager().getPackageInstaller(); in installPackage()
109 PackageInstaller packageInstaller = mContext.getPackageManager().getPackageInstaller(); in uninstall()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java510 mInterface.getPackageInstaller() in runBypassStagedInstallerCheck()
524 mInterface.getPackageInstaller() in runBypassAllowedApexUpdateCheck()
543 mInterface.getPackageInstaller().disableVerificationForUid(uid); in runDisableVerificationForUid()
562 final IPackageInstaller installer = mInterface.getPackageInstaller(); in uninstallSystemUpdates()
1290 mInterface.getPackageInstaller().getStagedSessions().getList(); in runListStagedSessions()
1659 PackageInstaller.SessionInfo si = mInterface.getPackageInstaller() in doWaitForStagedSessionReady()
1681 si = mInterface.getPackageInstaller().getSessionInfo(sessionId); in doWaitForStagedSessionReady()
1722 final PackageInstaller.SessionInfo si = mInterface.getPackageInstaller() in runInstallCommit()
1785 mInterface.getPackageInstaller().openSession(sessionId)); in runInstallSetPreVerifiedDomains()
1799 mInterface.getPackageInstaller().openSession(sessionId)); in runInstallGetPreVerifiedDomains()
[all …]
DGentleUpdateHelper.java70 .getPackageInstaller(); in onStartJob()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPreRebootLoggerTest.java87 when(mPackageManager.getPackageInstaller()).thenReturn(mPackageInstaller); in prepareActiveStagedSessions()
/frameworks/base/services/core/java/com/android/server/power/
DPreRebootLogger.java74 && !context.getPackageManager().getPackageInstaller() in needDump()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRestoreUtils.java88 PackageInstaller installer = packageManager.getPackageInstaller(); in installApk()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DWatchdogRollbackLoggerTest.java67 when(mMockPm.getPackageInstaller()).thenReturn(mockPi); in setUp()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityShortcutChooserActivity.java174 context.getPackageManager().getPackageInstaller().uninstall( in showPermissionDialogIfNeeded()
/frameworks/base/services/core/java/com/android/server/rollback/
DWatchdogRollbackLogger.java122 PackageInstaller packageInstaller = context.getPackageManager().getPackageInstaller(); in logRollbackStatusOnBoot()
DRollbackManagerServiceImpl.java345 context.getPackageManager().getPackageInstaller() in registerUserCallbacks()
638 .getPackageInstaller().getSessionInfo(rollback.getOriginalSessionId());
837 PackageInstaller installer = mContext.getPackageManager().getPackageInstaller();
/frameworks/base/apct-tests/perftests/packagemanager/src/android/os/
DPackageManagerPerfTest.java81 mPackageInstaller = mContext.getPackageManager().getPackageInstaller(); in PackageManagerPerfTest()
/frameworks/base/services/tests/BackgroundInstallControlServiceTests/host/test-app/BackgroundInstallControlServiceTestApp/src/com/android/server/pm/test/app/
DBackgroundInstallControlServiceTest.java195 PackageInstaller packageInstaller = context.getPackageManager().getPackageInstaller(); in installPackage()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java241 final PackageInstaller installer = contextAsUser.getPackageManager().getPackageInstaller(); in installPackageForUser()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DStagedRollbackTest.java91 .getPackageManager().getPackageInstaller(); in testPreviouslyAbandonedRollbacks_Phase1_InstallAndAbandon()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java288 createContextAsUser(user, 0).getPackageManager().getPackageInstaller().uninstall( in onCreate()

123