Searched refs:PackageInstallerSession (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.java | 76 PackageInstallerSession session = createSimpleSession(); in testWriteAndRestoreSessionXmlSimpleSession() 78 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlSimpleSession() 85 PackageInstallerSession session = createStagedSession(); in testWriteAndRestoreSessionXmlStagedSession() 87 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlStagedSession() 94 PackageInstallerSession session = createSessionWithGrantedPermissions(); in testWriteAndRestoreSessionXmlGrantedPermission() 96 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlGrantedPermission() 103 PackageInstallerSession session = createMultiPackageParentSession(123, new int[]{234, 345}); in testWriteAndRestoreSessionXmlMultiPackageSessions() 104 PackageInstallerSession childSession1 = createMultiPackageChildSession(234, 123); in testWriteAndRestoreSessionXmlMultiPackageSessions() 105 PackageInstallerSession childSession2 = createMultiPackageChildSession(345, 123); in testWriteAndRestoreSessionXmlMultiPackageSessions() 106 List<PackageInstallerSession> sessionGroup = in testWriteAndRestoreSessionXmlMultiPackageSessions() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 77 private final SparseArray<PackageInstallerSession> mStagedSessions = new SparseArray<>(); 86 private void updateStoredSession(@NonNull PackageInstallerSession sessionInfo) { in updateStoredSession() 88 PackageInstallerSession storedSession = mStagedSessions.get(sessionInfo.sessionId); in updateStoredSession() 101 final PackageInstallerSession stagedSession = mStagedSessions.valueAt(i); in getSessions() 143 private boolean submitSessionToApexService(@NonNull PackageInstallerSession session, in submitSessionToApexService() 144 List<PackageInstallerSession> childSessions, in submitSessionToApexService() 199 private static boolean isApexSession(@NonNull PackageInstallerSession session) { in isApexSession() 203 private void preRebootVerification(@NonNull PackageInstallerSession session) { in preRebootVerification() 214 List<PackageInstallerSession> childSessions = in preRebootVerification() 287 private boolean sessionContains(@NonNull PackageInstallerSession session, in sessionContains() [all …]
|
D | PackageInstallerService.java | 172 private final SparseArray<PackageInstallerSession> mSessions = new SparseArray<>(); 232 final PackageInstallerSession session = mSessions.valueAt(i); in systemReady() 250 List<PackageInstallerSession> stagedSessionsToRestore = new ArrayList<>(); in restoreAndApplyStagedSessionIfNeeded() 253 final PackageInstallerSession session = mSessions.valueAt(i); in restoreAndApplyStagedSessionIfNeeded() 261 for (PackageInstallerSession session : stagedSessionsToRestore) { in restoreAndApplyStagedSessionIfNeeded() 284 final PackageInstallerSession session = mSessions.valueAt(i); in reconcileStagesLocked() 350 if (PackageInstallerSession.TAG_SESSION.equals(tag)) { in readSessionsLocked() 351 final PackageInstallerSession session; in readSessionsLocked() 353 session = PackageInstallerSession.readFromXml(in, mInternalCallback, in readSessionsLocked() 401 PackageInstallerSession session = mSessions.valueAt(i); in readSessionsLocked() [all …]
|
D | PackageSessionProvider.java | 26 PackageInstallerSession getSession(int sessionId); in getSession()
|
D | PackageInstallerSession.java | 130 public class PackageInstallerSession extends IPackageInstallerSession.Stub { class 411 public PackageInstallerSession(PackageInstallerService.InternalCallback callback, in PackageInstallerSession() method in PackageInstallerSession 952 PackageInstallerSession.this.sessionId); in statusUpdate() 964 PackageInstallerSession.this.sessionId); in statusUpdate() 988 List<PackageInstallerSession> childSessions = getChildSessions(); in markAsCommitted() 1056 private @Nullable List<PackageInstallerSession> getChildSessions() { in getChildSessions() 1057 List<PackageInstallerSession> childSessions = null; in getChildSessions() 1076 @NonNull List<PackageInstallerSession> childSessions) throws PackageManagerException { in assertMultiPackageConsistencyLocked() 1077 for (PackageInstallerSession childSession : childSessions) { in assertMultiPackageConsistencyLocked() 1095 private void assertConsistencyWithLocked(PackageInstallerSession other) in assertConsistencyWithLocked() [all …]
|
/frameworks/base/services/ |
D | art-profile | 10517 …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 …]
|