Home
last modified time | relevance | path

Searched refs:stacks (Results 1 – 7 of 7) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java447 List<StackState> stacks = new ArrayList<>(); in fromStacks() local
450 stacks.add(new StackState(stack)); in fromStacks()
453 return new StateDump(stacks); in fromStacks()
456 public StateDump(List<StackState> stacks) { in StateDump() argument
457 mStacks = stacks; in StateDump()
461 JSONArray stacks = new JSONArray(); in toJson() local
463 stacks.put(stack.toJson()); in toJson()
466 return new JSONObject().put("stacks", stacks); in toJson()
471 List<StackState> stacks = new ArrayList<>(); in fromJson() local
474 stacks.add(StackState.fromJson((JSONObject) jsonTasks.get(i))); in fromJson()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java201 List<WindowStack> stacks = new ArrayList<>(); in parseSysDumpProto() local
202 for (int j = 0; j < displayProto.stacks.length; j++) { in parseSysDumpProto()
203 StackProto stackProto = displayProto.stacks[j]; in parseSysDumpProto()
206 stacks.add(stack); in parseSysDumpProto()
209 mDisplayStacks.put(display.mDisplayId, stacks); in parseSysDumpProto()
537 List<WindowStack> stacks = mDisplayStacks.get(displayId); in getStackIndexByActivityType() local
538 for (int i = 0; i < stacks.size(); i++) { in getStackIndexByActivityType()
539 if (activityType == stacks.get(i).getActivityType()) { in getStackIndexByActivityType()
DActivityManagerState.java661 for (int i = 0; i < proto.stacks.length; i++) { in ActivityDisplay()
662 ActivityStack activityStack = new ActivityStack(proto.stacks[i]); in ActivityDisplay()
DActivityManagerTestBase.java569 final List<ActivityManagerState.ActivityStack> stacks = mAmWmState.getAmState().getStacks(); in getStackIds() local
571 for (ActivityManagerState.ActivityStack s : stacks) { in getStackIds()
580 final List<ActivityManagerState.ActivityStack> stacks = mAmWmState.getAmState().getStacks(); in getStackForTaskId() local
581 for (ActivityManagerState.ActivityStack stack : stacks) { in getStackForTaskId()
/cts/tests/tests/keystore/src/android/server/am/
DWindowManagerState.java156 List<WindowStack> stacks = new ArrayList<>(); in parseSysDumpProto() local
157 for (int j = 0; j < displayProto.stacks.length; j++) { in parseSysDumpProto()
158 StackProto stackProto = displayProto.stacks[j]; in parseSysDumpProto()
161 stacks.add(stack); in parseSysDumpProto()
164 mDisplayStacks.put(display.mDisplayId, stacks); in parseSysDumpProto()
DActivityManagerState.java253 for (int i = 0; i < proto.stacks.length; i++) { in ActivityDisplay()
254 ActivityStack activityStack = new ActivityStack(proto.stacks[i]); in ActivityDisplay()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityStarterTests.java256 final int stacks = mAmWmState.getAmState().getStackCounts(); in testLaunchAliasActivity() local
266 assertEquals("Stacks counts should not be increased.", stacks, in testLaunchAliasActivity()
275 assertEquals("Stacks counts should not be increased.", stacks, in testLaunchAliasActivity()