Home
last modified time | relevance | path

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

/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DSessionAbandonBehaviorTest.java204 private int[] getChildSessionIds(int parentSessionId) throws IOException { in getChildSessionIds() argument
206 openPackageInstallerSession(parentSessionId)) { in getChildSessionIds()
398 final int parentSessionId = Install.multi(TestApp.A1, in abandon_stagedParentSession_shouldReceiveAllChildrenAbandonCallBack() local
400 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_stagedParentSession_shouldReceiveAllChildrenAbandonCallBack()
405 InstallUtils.getPackageInstaller().abandonSession(parentSessionId); in abandon_stagedParentSession_shouldReceiveAllChildrenAbandonCallBack()
414 final int parentSessionId = Install.multi(TestApp.A1, TestApp.B1).createSession(); in abandon_nonStagedParentSession_shouldReceiveAllChildrenAbandonCallBack() local
415 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_nonStagedParentSession_shouldReceiveAllChildrenAbandonCallBack()
420 InstallUtils.getPackageInstaller().abandonSession(parentSessionId); in abandon_nonStagedParentSession_shouldReceiveAllChildrenAbandonCallBack()
429 final int parentSessionId = Install.multi(TestApp.A1, TestApp.B1) in abandon_stagedParentSession_shouldAbandonAllChildrenSessions() local
431 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_stagedParentSession_shouldAbandonAllChildrenSessions()
[all …]
DAtomicInstallTest.java345 int parentSessionId = Install.multi(TestApp.A1, TestApp.B1).createSession(); in testInvalidStateScenarios() local
347 openPackageInstallerSession(parentSessionId)) { in testInvalidStateScenarios()
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java209 int parentSessionId = Install.multi(TestApp.A1, TestApp.B1).setStaged().createSession(); in testOpenSessionForMultiPackageSession() local
211 = InstallUtils.openPackageInstallerSession(parentSessionId)) { in testOpenSessionForMultiPackageSession()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandInstallTest.java1499 String parentSessionId = createSession("--multi-package"); in testAppUsingSdkRequiredInstallGroupInstall() local
1513 "pm install-add-session " + parentSessionId + " " + sdkSessionId + " " in testAppUsingSdkRequiredInstallGroupInstall()
1515 commitSession(parentSessionId); in testAppUsingSdkRequiredInstallGroupInstall()