Searched refs:parentSession (Results 1 – 3 of 3) sorted by relevance
210 try (PackageInstaller.Session parentSession in testOpenSessionForMultiPackageSession() argument212 assertThat(parentSession.isMultiPackage()).isTrue(); in testOpenSessionForMultiPackageSession()214 assertThat(parentSession.isStaged()).isTrue(); in testOpenSessionForMultiPackageSession()217 int[] childSessionIds = parentSession.getChildSessionIds(); in testOpenSessionForMultiPackageSession()226 parentSession.abandon(); in testOpenSessionForMultiPackageSession()
346 try (PackageInstaller.Session parentSession = in testInvalidStateScenarios() argument348 for (int childSessionId : parentSession.getChildSessionIds()) { in testInvalidStateScenarios()371 parentSession.addChildSessionId(toAbandonSessionId); in testInvalidStateScenarios()379 parentSession.commit(sender.getIntentSender()); in testInvalidStateScenarios()
205 try (PackageInstaller.Session parentSession = in getChildSessionIds() argument207 return parentSession.getChildSessionIds(); in getChildSessionIds()