Home
last modified time | relevance | path

Searched refs:getChildSessionIds (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() method in SessionAbandonBehaviorTest
207 return parentSession.getChildSessionIds(); in getChildSessionIds()
400 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_stagedParentSession_shouldReceiveAllChildrenAbandonCallBack()
415 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_nonStagedParentSession_shouldReceiveAllChildrenAbandonCallBack()
431 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_stagedParentSession_shouldAbandonAllChildrenSessions()
449 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_nonStagedParentSession_shouldAbandonAllChildrenSessions()
467 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_stagedParentSession_openedChildSession_getNamesShouldReturnEmptyList()
495 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_nonStagedParentSession_openedChildSession_canNotGetNames()
525 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_stagedParentSession_openChildSessionForWriting_shouldFail()
545 final int[] childSessionIds = getChildSessionIds(parentSessionId); in abandon_nonStagedParentSession_openChildSessionForWriting_shouldFail()
[all …]
DAtomicInstallTest.java338 assertThat(parent1.getChildSessionIds()).asList().contains(childId); in testInvalidStateScenario_RemoveWrongChildShouldDoNothing()
339 assertThat(parent2.getChildSessionIds()).asList().doesNotContain(childId); in testInvalidStateScenario_RemoveWrongChildShouldDoNothing()
348 for (int childSessionId : parentSession.getChildSessionIds()) { in testInvalidStateScenarios()
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java210 int[] childSessionIds = parentSession.getChildSessionIds(); in testOpenSessionForMultiPackageSession()