/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/DeviceSide/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.kt | 55 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/ |
D | ChildContentCaptureSession.java | 92 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()
|
D | ContentCaptureContext.java | 230 public void setParentSessionId(int parentSessionId) { in setParentSessionId() argument 231 mParentSessionId = parentSessionId; in setParentSessionId()
|
D | ContentCaptureSession.java | 581 abstract void internalNotifyChildSessionStarted(int parentSessionId, int childSessionId, in internalNotifyChildSessionStarted() argument 584 abstract void internalNotifyChildSessionFinished(int parentSessionId, int childSessionId); in internalNotifyChildSessionFinished() argument
|
D | MainContentCaptureSession.java | 832 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()
|
D | ContentCaptureEvent.java | 228 public ContentCaptureEvent setParentSessionId(int parentSessionId) { in setParentSessionId() argument 229 mParentSessionId = parentSessionId; in setParentSessionId()
|
D | MainContentCaptureSessionV2.java | 864 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/ |
D | PackageInstallerSessionTest.kt | 143 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/ |
D | PackageInstallerHistoricalSession.java | 89 String finalMessage, SessionParams params, int parentSessionId, in PackageInstallerHistoricalSession() argument 123 this.mParentSessionId = parentSessionId; in PackageInstallerHistoricalSession() 206 info.parentSessionId = mParentSessionId; in generateInfo()
|
D | PackageInstallerSession.java | 1157 @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,
|
D | PackageManagerShellCommand.java | 1762 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/ |
D | ContentCaptureSessionTest.java | 269 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/ |
D | Rollback.java | 557 int parentSessionId = packageInstaller.createSession(parentParams); in commit() local 559 parentSessionId); in commit() 687 info.setCommittedSessionId(parentSessionId); in commit()
|
D | RollbackManagerServiceImpl.java | 1350 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/ |
D | PackageInstaller.java | 3845 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/ |
D | StagingManagerTest.java | 797 private void setParentSessionId(int parentSessionId) { in setParentSessionId() argument 798 mParentSessionId = parentSessionId; in setParentSessionId()
|