Home
last modified time | relevance | path

Searched refs:leafTask1 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java361 final Task leafTask1 = createTaskInRootTask(childTask, 10 /* userId */); in testSwitchUser() local
366 doReturn(true).when(leafTask1).showToCurrentUser(); in testSwitchUser()
369 assertEquals(leafTask1, childTask.getTopChild()); in testSwitchUser()
375 final Task leafTask1 = createTaskInRootTask(rootTask, 0 /* userId */); in testEnsureActivitiesVisible() local
377 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() local
435 leafTask1.getWindowConfiguration().setActivityType(ACTIVITY_TYPE_HOME); in testHandlesOrientationChangeFromDescendant()
445 assertTrue(leafTask1.handlesOrientationChangeFromDescendant(orientation)); in testHandlesOrientationChangeFromDescendant()
DTaskFragmentTest.java527 final Task leafTask1 = new TaskBuilder(mSupervisor) in testActivityHasOverlayOverUntrustedModeEmbedded() local
532 final ActivityRecord activity2 = leafTask1.getTopMostActivity(); in testActivityHasOverlayOverUntrustedModeEmbedded()