Home
last modified time | relevance | path

Searched refs:parentSessionId (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/DeviceSide/src/com/android/server/pm/
DPackageInstallerSessionTest.kt55 private fun getChildSessionIds(parentSessionId: Int): IntArray { in <lambda>()
56 InstallUtils.openPackageInstallerSession(parentSessionId).use { in <lambda>()
103 val parentSessionId: Int = Install.multi(TestApp.A1).createSession() in <lambda>() constant
104 val childSessionIds: IntArray = getChildSessionIds(parentSessionId) in <lambda>()
109 InstallUtils.openPackageInstallerSession(parentSessionId).use { session -> in <lambda>()
/frameworks/base/core/java/android/view/contentcapture/
DChildContentCaptureSession.java92 void internalNotifyChildSessionStarted(int parentSessionId, int childSessionId, in internalNotifyChildSessionStarted() argument
95 .internalNotifyChildSessionStarted(parentSessionId, childSessionId, clientContext); in internalNotifyChildSessionStarted()
99 void internalNotifyChildSessionFinished(int parentSessionId, int childSessionId) { in internalNotifyChildSessionFinished() argument
100 getMainCaptureSession().internalNotifyChildSessionFinished(parentSessionId, childSessionId); in internalNotifyChildSessionFinished()
DContentCaptureContext.java230 public void setParentSessionId(int parentSessionId) { in setParentSessionId() argument
231 mParentSessionId = parentSessionId; in setParentSessionId()
DContentCaptureSession.java581 abstract void internalNotifyChildSessionStarted(int parentSessionId, int childSessionId, in internalNotifyChildSessionStarted() argument
584 abstract void internalNotifyChildSessionFinished(int parentSessionId, int childSessionId); in internalNotifyChildSessionFinished() argument
DMainContentCaptureSession.java832 void internalNotifyChildSessionStarted(int parentSessionId, int childSessionId, in internalNotifyChildSessionStarted() argument
836 .setParentSessionId(parentSessionId) in internalNotifyChildSessionStarted()
842 void internalNotifyChildSessionFinished(int parentSessionId, int childSessionId) { in internalNotifyChildSessionFinished() argument
845 .setParentSessionId(parentSessionId); in internalNotifyChildSessionFinished()
DContentCaptureEvent.java228 public ContentCaptureEvent setParentSessionId(int parentSessionId) { in setParentSessionId() argument
229 mParentSessionId = parentSessionId; in setParentSessionId()
DMainContentCaptureSessionV2.java864 void internalNotifyChildSessionStarted(int parentSessionId, int childSessionId, in internalNotifyChildSessionStarted() argument
868 .setParentSessionId(parentSessionId) in internalNotifyChildSessionStarted()
874 void internalNotifyChildSessionFinished(int parentSessionId, int childSessionId) { in internalNotifyChildSessionFinished() argument
877 .setParentSessionId(parentSessionId); in internalNotifyChildSessionFinished()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageInstallerSessionTest.kt143 val childSession1 = createSession(sessionId = 234, parentSessionId = 123) in <lambda>()
144 val childSession2 = createSession(sessionId = 345, parentSessionId = 123) in <lambda>()
152 parentSessionId: Int = PackageInstaller.SessionInfo.INVALID_ID, in <lambda>()
192 /* parentSessionId */ parentSessionId, in <lambda>()
335 assertThat(expected.parentSessionId).isEqualTo(actual.parentSessionId) in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerHistoricalSession.java89 String finalMessage, SessionParams params, int parentSessionId, in PackageInstallerHistoricalSession() argument
123 this.mParentSessionId = parentSessionId; in PackageInstallerHistoricalSession()
206 info.parentSessionId = mParentSessionId; in generateInfo()
DPackageInstallerSession.java1157 @Nullable int[] childSessionIds, int parentSessionId, boolean isReady, in PackageInstallerSession() argument
1189 this.mParentSessionId = parentSessionId; in PackageInstallerSession()
1370 info.parentSessionId = mParentSessionId; in generateInfoInternal()
4977 void setParentSessionId(int parentSessionId) {
4979 if (parentSessionId != SessionInfo.INVALID_ID
4984 this.mParentSessionId = parentSessionId;
5795 final int parentSessionId = in.getAttributeInt(null, ATTR_PARENT_SESSION_ID,
5970 childSessionIdsArray, parentSessionId, isReady, isFailed, isApplied,
DPackageManagerShellCommand.java1762 final int parentSessionId = Integer.parseInt(getNextArg()); in runInstallAddSession() local
1773 return doInstallAddSession(parentSessionId, otherSessionIds.toArray(), in runInstallAddSession()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureSessionTest.java269 void internalNotifyChildSessionStarted(int parentSessionId, int childSessionId, in internalNotifyChildSessionStarted() argument
275 void internalNotifyChildSessionFinished(int parentSessionId, int childSessionId) { in internalNotifyChildSessionFinished() argument
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java557 int parentSessionId = packageInstaller.createSession(parentParams); in commit() local
559 parentSessionId); in commit()
687 info.setCommittedSessionId(parentSessionId); in commit()
DRollbackManagerServiceImpl.java1350 int parentSessionId = parentSession.getSessionId();
1361 packageSessionIds = new int[]{parentSessionId};
1367 rollback = mRollbackStore.createStagedRollback(rollbackId, parentSessionId, userId,
1370 rollback = mRollbackStore.createNonStagedRollback(rollbackId, parentSessionId, userId,
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java3845 public int parentSessionId = INVALID_ID; field in PackageInstaller.SessionInfo
3930 parentSessionId = source.readInt(); in SessionInfo()
4367 return parentSessionId; in getParentSessionId()
4374 return parentSessionId != INVALID_ID; in hasParentSessionId()
4571 dest.writeInt(parentSessionId); in writeToParcel()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java797 private void setParentSessionId(int parentSessionId) { in setParentSessionId() argument
798 mParentSessionId = parentSessionId; in setParentSessionId()