Searched refs:stacks (Results 1 – 7 of 7) sorted by relevance
447 List<StackState> stacks = new ArrayList<>(); in fromStacks() local450 stacks.add(new StackState(stack)); in fromStacks()453 return new StateDump(stacks); in fromStacks()456 public StateDump(List<StackState> stacks) { in StateDump() argument457 mStacks = stacks; in StateDump()461 JSONArray stacks = new JSONArray(); in toJson() local463 stacks.put(stack.toJson()); in toJson()466 return new JSONObject().put("stacks", stacks); in toJson()471 List<StackState> stacks = new ArrayList<>(); in fromJson() local474 stacks.add(StackState.fromJson((JSONObject) jsonTasks.get(i))); in fromJson()[all …]
201 List<WindowStack> stacks = new ArrayList<>(); in parseSysDumpProto() local202 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() local538 for (int i = 0; i < stacks.size(); i++) { in getStackIndexByActivityType()539 if (activityType == stacks.get(i).getActivityType()) { in getStackIndexByActivityType()
661 for (int i = 0; i < proto.stacks.length; i++) { in ActivityDisplay()662 ActivityStack activityStack = new ActivityStack(proto.stacks[i]); in ActivityDisplay()
596 final List<ActivityManagerState.ActivityStack> stacks = mAmWmState.getAmState().getStacks(); in getStackIds() local598 for (ActivityManagerState.ActivityStack s : stacks) { in getStackIds()607 final List<ActivityManagerState.ActivityStack> stacks = mAmWmState.getAmState().getStacks(); in getStackForTaskId() local608 for (ActivityManagerState.ActivityStack stack : stacks) { in getStackForTaskId()
156 List<WindowStack> stacks = new ArrayList<>(); in parseSysDumpProto() local157 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()
253 for (int i = 0; i < proto.stacks.length; i++) { in ActivityDisplay()254 ActivityStack activityStack = new ActivityStack(proto.stacks[i]); in ActivityDisplay()
256 final int stacks = mAmWmState.getAmState().getStackCounts(); in testLaunchAliasActivity() local266 assertEquals("Stacks counts should not be increased.", stacks, in testLaunchAliasActivity()275 assertEquals("Stacks counts should not be increased.", stacks, in testLaunchAliasActivity()