Searched refs:leafTask1 (Results 1 – 2 of 2) sorted by relevance
361 final Task leafTask1 = createTaskInRootTask(childTask, 10 /* userId */); in testSwitchUser() local366 doReturn(true).when(leafTask1).showToCurrentUser(); in testSwitchUser()369 assertEquals(leafTask1, childTask.getTopChild()); in testSwitchUser()375 final Task leafTask1 = createTaskInRootTask(rootTask, 0 /* userId */); in testEnsureActivitiesVisible() local377 final ActivityRecord activity1 = createActivityRecord(mDisplayContent, leafTask1); in testEnsureActivitiesVisible()381 doReturn(false).when(leafTask1).shouldBeVisible(any()); in testEnsureActivitiesVisible()388 doReturn(true).when(leafTask1).shouldBeVisible(any()); in testEnsureActivitiesVisible()433 final Task leafTask1 = createTaskInRootTask(rootTask, 0 /* userId */); in testHandlesOrientationChangeFromDescendant() local435 leafTask1.getWindowConfiguration().setActivityType(ACTIVITY_TYPE_HOME); in testHandlesOrientationChangeFromDescendant()445 assertTrue(leafTask1.handlesOrientationChangeFromDescendant(orientation)); in testHandlesOrientationChangeFromDescendant()
527 final Task leafTask1 = new TaskBuilder(mSupervisor) in testActivityHasOverlayOverUntrustedModeEmbedded() local532 final ActivityRecord activity2 = leafTask1.getTopMostActivity(); in testActivityHasOverlayOverUntrustedModeEmbedded()