Home
last modified time | relevance | path

Searched refs:PackageInstallerSession (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java81 PackageInstallerSession session = createSimpleSession(); in testWriteAndRestoreSessionXmlSimpleSession()
83 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlSimpleSession()
90 PackageInstallerSession session = createStagedSession(); in testWriteAndRestoreSessionXmlStagedSession()
92 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlStagedSession()
99 PackageInstallerSession session = createSessionWithGrantedPermissions(); in testWriteAndRestoreSessionXmlGrantedPermission()
101 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlGrantedPermission()
108 PackageInstallerSession session = createMultiPackageParentSession(123, new int[]{234, 345}); in testWriteAndRestoreSessionXmlMultiPackageSessions()
109 PackageInstallerSession childSession1 = createMultiPackageChildSession(234, 123); in testWriteAndRestoreSessionXmlMultiPackageSessions()
110 PackageInstallerSession childSession2 = createMultiPackageChildSession(345, 123); in testWriteAndRestoreSessionXmlMultiPackageSessions()
111 List<PackageInstallerSession> sessionGroup = in testWriteAndRestoreSessionXmlMultiPackageSessions()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java86 private final SparseArray<PackageInstallerSession> mStagedSessions = new SparseArray<>();
97 private void updateStoredSession(@NonNull PackageInstallerSession sessionInfo) { in updateStoredSession()
99 PackageInstallerSession storedSession = mStagedSessions.get(sessionInfo.sessionId); in updateStoredSession()
171 @NonNull PackageInstallerSession session) throws PackageManagerException { in submitSessionToApexService()
214 private void checkRequiredVersionCode(final PackageInstallerSession session, in checkRequiredVersionCode()
232 private void checkDowngrade(final PackageInstallerSession session, in checkDowngrade()
251 private static boolean isApexSession(@NonNull PackageInstallerSession session) { in isApexSession()
255 private boolean sessionContains(@NonNull PackageInstallerSession session, in sessionContains()
256 Predicate<PackageInstallerSession> filter) { in sessionContains()
271 private boolean sessionContainsApex(@NonNull PackageInstallerSession session) { in sessionContainsApex()
[all …]
DPackageInstallerService.java171 private final SparseArray<PackageInstallerSession> mSessions = new SparseArray<>();
231 final PackageInstallerSession session = mSessions.valueAt(i); in systemReady()
249 List<PackageInstallerSession> stagedSessionsToRestore = new ArrayList<>(); in restoreAndApplyStagedSessionIfNeeded()
252 final PackageInstallerSession session = mSessions.valueAt(i); in restoreAndApplyStagedSessionIfNeeded()
261 for (PackageInstallerSession session : stagedSessionsToRestore) { in restoreAndApplyStagedSessionIfNeeded()
290 final PackageInstallerSession session = mSessions.valueAt(i); in reconcileStagesLocked()
356 if (PackageInstallerSession.TAG_SESSION.equals(tag)) { in readSessionsLocked()
357 final PackageInstallerSession session; in readSessionsLocked()
359 session = PackageInstallerSession.readFromXml(in, mInternalCallback, in readSessionsLocked()
407 PackageInstallerSession session = mSessions.valueAt(i); in readSessionsLocked()
[all …]
DPackageSessionProvider.java26 PackageInstallerSession getSession(int sessionId); in getSession()
DPackageInstallerSession.java128 public class PackageInstallerSession extends IPackageInstallerSession.Stub { class
406 public PackageInstallerSession(PackageInstallerService.InternalCallback callback, in PackageInstallerSession() method in PackageInstallerSession
915 PackageInstallerSession.this.sessionId); in statusUpdate()
927 PackageInstallerSession.this.sessionId); in statusUpdate()
951 List<PackageInstallerSession> childSessions = getChildSessions(); in markAsCommitted()
1011 private @Nullable List<PackageInstallerSession> getChildSessions() { in getChildSessions()
1012 List<PackageInstallerSession> childSessions = null; in getChildSessions()
1031 @NonNull List<PackageInstallerSession> childSessions) throws PackageManagerException { in assertMultiPackageConsistencyLocked()
1032 for (PackageInstallerSession childSession : childSessions) { in assertMultiPackageConsistencyLocked()
1050 private void assertConsistencyWithLocked(PackageInstallerSession other) in assertConsistencyWithLocked()
[all …]
/frameworks/base/services/
Dart-profile10517 …ervice$InternalCallback;->onSessionActiveChanged(Lcom/android/server/pm/PackageInstallerSession;Z)V
10518 …llerService$InternalCallback;->onSessionFinished(Lcom/android/server/pm/PackageInstallerSession;Z)V
10519 …allerService$InternalCallback;->onSessionPrepared(Lcom/android/server/pm/PackageInstallerSession;)V
10520 …vice$InternalCallback;->onSessionProgressChanged(Lcom/android/server/pm/PackageInstallerSession;F)V
10521 …ervice$InternalCallback;->onSessionSealedBlocking(Lcom/android/server/pm/PackageInstallerSession;)V
10527 …kageInstallerService;->addHistoricalSessionLocked(Lcom/android/server/pm/PackageInstallerSession;)V
10553 HSPLcom/android/server/pm/PackageInstallerSession$1;-><init>()V
10554 HSPLcom/android/server/pm/PackageInstallerSession$1;->accept(Ljava/io/File;)Z
10555 HSPLcom/android/server/pm/PackageInstallerSession$2;-><init>()V
10556 HSPLcom/android/server/pm/PackageInstallerSession$2;->accept(Ljava/io/File;)Z
[all …]