Home
last modified time | relevance | path

Searched refs:parentSession (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java203 try (PackageInstaller.Session parentSession in testOpenSessionForMultiPackageSession() argument
205 assertThat(parentSession.isMultiPackage()).isTrue(); in testOpenSessionForMultiPackageSession()
207 assertThat(parentSession.isStaged()).isTrue(); in testOpenSessionForMultiPackageSession()
210 int[] childSessionIds = parentSession.getChildSessionIds(); in testOpenSessionForMultiPackageSession()
219 parentSession.abandon(); in testOpenSessionForMultiPackageSession()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java346 try (PackageInstaller.Session parentSession = in testInvalidStateScenarios() argument
348 for (int childSessionId : parentSession.getChildSessionIds()) { in testInvalidStateScenarios()
371 parentSession.addChildSessionId(toAbandonSessionId); in testInvalidStateScenarios()
379 parentSession.commit(sender.getIntentSender()); in testInvalidStateScenarios()
DSessionAbandonBehaviorTest.java205 try (PackageInstaller.Session parentSession = in getChildSessionIds() argument
207 return parentSession.getChildSessionIds(); in getChildSessionIds()