Home
last modified time | relevance | path

Searched refs:hasParentSessionId (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageInstallerSessionTest.java320 assertEquals(expected.hasParentSessionId(), actual.hasParentSessionId()); in assertSessionsEquivalent()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DStagingManager.java138 boolean hasParentSessionId(); in hasParentSessionId() method
668 return session.hasParentSessionId() ? session.getParentSessionId() : session.sessionId(); in getSessionIdForParentOrSelf()
672 return session.hasParentSessionId() in getParentSessionOrSelf()
720 if (stagedSession.hasParentSessionId() || !stagedSession.isCommitted() in checkNonOverlappingWithStagedSessions()
918 Preconditions.checkArgument(!session.hasParentSessionId(), in restoreSessions()
H A DPackageInstallerService.java316 if (!stagedSession.isInTerminalState() && stagedSession.hasParentSessionId() in restoreAndApplyStagedSessionIfNeeded()
323 if (!stagedSession.hasParentSessionId() && stagedSession.isCommitted() in restoreAndApplyStagedSessionIfNeeded()
391 PackageInstallerSession root = !session.hasParentSessionId() in freeStageDirs()
1011 if (session.userId == userId && !session.hasParentSessionId() in getAllSessions()
1034 && session.userId == userId && !session.hasParentSessionId() in getMySessions()
1414 final PackageInstallerSession rootSession = session.hasParentSessionId() in dump()
H A DPackageInstallerSession.java603 public boolean hasParentSessionId() { in hasParentSessionId() method in PackageInstallerSession.StagedSession
604 return PackageInstallerSession.this.hasParentSessionId(); in hasParentSessionId()
1688 if (hasParentSessionId()) { in commit()
2178 final PackageInstallerSession root = hasParentSessionId() in onAfterSessionRead()
2577 if (!hasParentSessionId()) { in makeVerificationParamsLocked()
3726 if (hasParentSessionId()) { in assertNotChildLocked()
3901 if (hasParentSessionId()) { in prepareDataLoaderLocked()
4072 return (!hasParentSessionId() || mParentSessionId == parentCandidate) in canBeAddedAsChild()
4177 boolean hasParentSessionId() { in hasParentSessionId() method in PackageInstallerSession
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DStagingManagerTest.java705 Preconditions.checkState(!hasParentSessionId(), "Child session"); in containsApkSession()
719 Preconditions.checkState(!hasParentSessionId(), "Child session"); in containsApexSession()
756 public boolean hasParentSessionId() { in hasParentSessionId() method in StagingManagerTest.FakeStagedSession
/aosp12/frameworks/base/core/java/android/content/pm/
H A DPackageInstaller.java2851 && !hasParentSessionId(); in isStagedSessionActive()
2865 public boolean hasParentSessionId() { in hasParentSessionId() method in PackageInstaller.SessionInfo
/aosp12/frameworks/base/services/core/java/com/android/server/rollback/
H A DRollbackManagerServiceImpl.java777 PackageInstaller.SessionInfo parentSession = packageSession.hasParentSessionId()
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt12432 method public boolean hasParentSessionId();
/aosp12/frameworks/base/services/
H A Dart-profile30134 HSPLcom/android/server/pm/PackageInstallerSession$StagedSession;->hasParentSessionId()Z
30245 HSPLcom/android/server/pm/PackageInstallerSession;->hasParentSessionId()Z