Home
last modified time | relevance | path

Searched refs:parentSessionId (Results 1 – 3 of 3) 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.java202 int parentSessionId = Install.multi(TestApp.A1, TestApp.B1).setStaged().createSession(); in testOpenSessionForMultiPackageSession() local
204 = InstallUtils.openPackageInstallerSession(parentSessionId)) { in testOpenSessionForMultiPackageSession()