Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRunningTasksTest.java70 final int numTasks = 10; in testTaskInfo_expectNoExtrasByDefault() local
71 for (int i = 0; i < numTasks; i++) { in testTaskInfo_expectNoExtrasByDefault()
95 final int numTasks = 10; in testTaskInfo_expectExtrasWithKeepExtraFlag() local
96 for (int i = 0; i < numTasks; i++) { in testTaskInfo_expectExtrasWithKeepExtraFlag()
127 final int numTasks = 10; in testGetTasksSortByFocusAndVisibility() local
129 for (int i = 0; i < numTasks; i++) { in testGetTasksSortByFocusAndVisibility()
135 final Task focusedTask = tasks.get(numTasks - 1); in testGetTasksSortByFocusAndVisibility()
139 final Task visibleTaskTop = tasks.get(numTasks - 2); in testGetTasksSortByFocusAndVisibility()
142 final Task visibleTaskBottom = tasks.get(numTasks - 3); in testGetTasksSortByFocusAndVisibility()
153 assertEquals(numTasks - i - 1, fetchTasks.get(i).id); in testGetTasksSortByFocusAndVisibility()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java2704 final int numTasks = task.getDescendantTaskCount(); in getRootTaskInfo() local
2705 info.childTaskIds = new int[numTasks]; in getRootTaskInfo()
2706 info.childTaskNames = new String[numTasks]; in getRootTaskInfo()
2707 info.childTaskBounds = new Rect[numTasks]; in getRootTaskInfo()
2708 info.childTaskUserIds = new int[numTasks]; in getRootTaskInfo()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java473 int numTasks = tasks.size(); in onSensorUseStarted() local
474 for (int taskNum = 0; taskNum < numTasks; taskNum++) { in onSensorUseStarted()