Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 23 of 23) sorted by relevance

/cts/tools/dasm/src/dasm/
Dparser.java812 java.util.Stack stack, in do_action() argument
817 return action_obj.CUP$do_action(act_num, parser, stack, top); in do_action()
896 java.util.Stack CUP$stack, in CUP$do_action() argument
918 …SparseSwitchData((/*i*/(int_token)CUP$stack.elementAt(CUP$top-3)).int_val, (/*off*/(relative_numbe… in CUP$do_action()
926 …Asm.addSparseSwitchData((/*i*/(int_token)CUP$stack.elementAt(CUP$top-3)).int_val, (/*w*/(str_token… in CUP$do_action()
950 dAsm.newSparseSwitch((/*r*/(str_token)CUP$stack.elementAt(CUP$top-1)).str_val); in CUP$do_action()
974 …dAsm.addPackedSwitchData((/*target*/(relative_number_token)CUP$stack.elementAt(CUP$top-1)).int_val… in CUP$do_action()
982 … dAsm.addPackedSwitchData((/*target*/(str_token)CUP$stack.elementAt(CUP$top-1)).str_val); in CUP$do_action()
1006 …dAsm.newPackedSwitch((/*r*/(str_token)CUP$stack.elementAt(CUP$top-2)).str_val, (/*k*/(int_token)CU… in CUP$do_action()
1030 … dAsm.addFillArrayData(new Integer((/*data*/(int_token)CUP$stack.elementAt(CUP$top-1)).int_val)); in CUP$do_action()
[all …]
/cts/tools/dasm/src/java_cup/runtime/
Dlr_parser.java242 protected Stack stack = new Stack(); field in lr_parser
275 Stack stack, in do_action() argument
500 stack.push(new symbol(0, start_state())); in parse()
509 act = get_action(((symbol)stack.peek()).parse_state, cur_token.sym); in parse()
516 stack.push(cur_token); in parse()
526 lhs_sym = do_action((-act)-1, this, stack, tos); in parse()
535 stack.pop(); in parse()
540 act = get_reduce(((symbol)stack.peek()).parse_state, lhs_sym_num); in parse()
544 stack.push(lhs_sym); in parse()
583 if (stack == null) in dump_stack()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerState.java238 final ActivityStack stack = getStackById(mTopFocusedStackId); in getFocusedStackActivityType() local
239 return stack != null ? stack.getActivityType() : ACTIVITY_TYPE_UNDEFINED; in getFocusedStackActivityType()
243 final ActivityStack stack = getStackById(mTopFocusedStackId); in getFocusedStackWindowingMode() local
244 return stack != null ? stack.getWindowingMode() : WINDOWING_MODE_UNDEFINED; in getFocusedStackWindowingMode()
283 for (ActivityStack stack : mStacks) { in containsStack()
285 && activityType != stack.getActivityType()) { in containsStack()
289 && windowingMode != stack.getWindowingMode()) { in containsStack()
298 for (ActivityStack stack : mStacks) { in getStackById()
299 if (stackId == stack.mStackId) { in getStackById()
300 return stack; in getStackById()
[all …]
DWindowManagerState.java204 final WindowStack stack = new WindowStack(stackProto); in parseSysDumpProto() local
205 mStacks.add(stack); in parseSysDumpProto()
206 stacks.add(stack); in parseSysDumpProto()
207 allWindows.addAll(stack.getWindows()); in parseSysDumpProto()
449 for (WindowStack stack : mStacks) { in containsStack()
450 if (stackId == stack.mStackId) { in containsStack()
458 for (WindowStack stack : mStacks) { in containsStack()
460 && activityType != stack.getActivityType()) { in containsStack()
464 && windowingMode != stack.getWindowingMode()) { in containsStack()
514 for (WindowStack stack : mStacks) { in getStack()
[all …]
DActivityManagerTestBase.java503 protected void tapOnStackCenter(ActivityManagerState.ActivityStack stack) { in tapOnStackCenter() argument
504 final Rect sideStackBounds = stack.getBounds(); in tapOnStackCenter()
507 tapOnDisplay(tapX, tapY, stack.mDisplayId); in tapOnStackCenter()
581 for (ActivityManagerState.ActivityStack stack : stacks) { in getStackForTaskId()
582 for (ActivityManagerState.ActivityTask task : stack.mTasks) { in getStackForTaskId()
584 return stack; in getStackForTaskId()
/cts/tools/dasm/src/java_cup/
Dparser.java303 java.util.Stack stack, in do_action() argument
308 return action_obj.CUP$do_action(act_num, parser, stack, top); in do_action()
430 java.util.Stack CUP$stack, in CUP$do_action() argument
452 …tr_token)CUP$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-… in CUP$do_action()
460 …tr_token)CUP$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-… in CUP$do_action()
468 …tr_token)CUP$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-… in CUP$do_action()
478 …if (symbols.get((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_va… in CUP$do_action()
481 …lexer.emit_error( "Symbol \"" + (/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CU… in CUP$do_action()
488 …new non_terminal((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_v… in CUP$do_action()
491 …non_terms.put((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val,… in CUP$do_action()
[all …]
/cts/hostsidetests/jvmti/base/jni/
Dredefine.cpp72 std::stack<std::vector<unsigned char>> stack; in PushRedefinition() local
73 redefinitions_[name] = std::move(stack); in PushRedefinition()
79 auto stack = redefinitions_.find(name); in RetrieveRedefinition() local
80 if (stack == redefinitions_.end() || stack->second.empty()) { in RetrieveRedefinition()
83 *data = stack->second.top(); in RetrieveRedefinition()
90 auto stack = redefinitions_.find(name); in PopRedefinition() local
91 if (stack == redefinitions_.end() || stack->second.empty()) { in PopRedefinition()
94 stack->second.pop(); in PopRedefinition()
100 std::unordered_map<std::string, std::stack<std::vector<unsigned char>>> redefinitions_;
/cts/libs/json/src/com/android/json/stream/
DJsonReader.java191 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in JsonReader
507 stack.clear(); in close()
508 stack.add(JsonScope.CLOSED); in close()
535 return stack.get(stack.size() - 1); in peekStack()
539 return stack.remove(stack.size() - 1); in pop()
543 stack.add(newTop); in push()
550 stack.set(stack.size() - 1, newTop); in replaceTop()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java448 for (ActivityManagerState.ActivityStack stack : trimStacks(activityStacks, in fromStacks()
450 stacks.add(new StackState(stack)); in fromStacks()
462 for (StackState stack : mStacks) { in toJson()
463 stacks.put(stack.toJson()); in toJson()
489 for (ActivityManagerState.ActivityStack stack : trimFrom) { in trimStacks()
490 toTrim.removeIf(t -> t.getStackId() == stack.getStackId()); in trimStacks()
531 public StackState(ActivityManagerState.ActivityStack stack) { in StackState() argument
532 this.mResumedActivity = stack.getResumedActivity(); in StackState()
534 for (ActivityManagerState.ActivityTask task : stack.getTasks()) { in StackState()
574 StackState stack = (StackState) o; in equals()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dimage_and_kernel.rsh21 // of a stack of kernel matrices.
23 // The starting position of a kernel matrix in a buffer of a stack of kernel
Dlayered_filter_d1new_helper.rsh18 // This allocation contains the kernel stack info: only one float per cell
130 // Extracts kernel matrix from kernel stack using kernel_info.
185 // Extracts kernel matrix from kernel stack using kernel_info.
218 // Extracts kernel matrix from kernel stack using kernel_info.
Dlayered_filter_f32_helper.rsh70 // Extracts kernel matrix from kernel stack using kernel_info.
122 // Extracts kernel matrix from kernel stack using kernel_info.
158 // Extracts kernel matrix from kernel stack using kernel_info.
/cts/tests/tests/keystore/src/android/server/am/
DActivityManagerState.java185 for (ActivityStack stack : mStacks) { in getStackByActivityType()
186 if (activityType == stack.getActivityType()) { in getStackByActivityType()
187 return stack; in getStackByActivityType()
207 for (ActivityStack stack : mStacks) { in isActivityVisible()
208 for (ActivityTask task : stack.mTasks) { in isActivityVisible()
DWindowManagerState.java159 final WindowStack stack = new WindowStack(stackProto); in parseSysDumpProto() local
160 mStacks.add(stack); in parseSysDumpProto()
161 stacks.add(stack); in parseSysDumpProto()
162 allWindows.addAll(stack.getWindows()); in parseSysDumpProto()
276 for (WindowStack stack : mStacks) { in getStack()
277 if (stackId == stack.mStackId) { in getStack()
278 return stack; in getStack()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java93 StackTraceElement[] stack = entry.getValue(); in getTestName() local
94 for (int index = 0; index < stack.length; ++index) { in getTestName()
96 String methodName = stack[index].getMethodName(); in getTestName()
105 clazz = Class.forName(stack[index].getClassName()); in getTestName()
129 while (index + depth < stack.length in getTestName()
130 && stack[index + depth].getMethodName().equals("invoke") in getTestName()
131 && stack[index + depth].getClassName().equals( in getTestName()
138 if (index + depth < stack.length) { in getTestName()
139 if (stack[index + depth].getClassName().startsWith("android.test.")) { in getTestName()
142 if (stack[index + depth].getMethodName().equals("runMethod")) { in getTestName()
[all …]
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java94 StackTraceElement[] stack = entry.getValue(); in getTestName() local
95 for (int index = 0; index < stack.length; ++index) { in getTestName()
97 String methodName = stack[index].getMethodName(); in getTestName()
106 clazz = Class.forName(stack[index].getClassName()); in getTestName()
130 while (index + depth < stack.length in getTestName()
131 && stack[index + depth].getMethodName().equals("invoke") in getTestName()
132 && stack[index + depth].getClassName().equals( in getTestName()
139 if (index + depth < stack.length) { in getTestName()
140 if (stack[index + depth].getClassName().startsWith("android.test.")) { in getTestName()
143 if (stack[index + depth].getMethodName().equals("runMethod")) { in getTestName()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DFreeformWindowingModeTests.java93 final ActivityStack stack = mAmWmState.getAmState().getStackById(task.mStackId); in testNonResizeableActivityHasFullDisplayBounds() local
103 assertEquals(mAmWmState.getWmState().getDisplay(stack.mDisplayId).getDisplayRect(), in testNonResizeableActivityHasFullDisplayBounds()
DPinnedStackTests.java989 ActivityStack stack = mAmWmState.getAmState().getStandardStackByWindowingMode( in testNoResumeAfterTaskOverlayFinishes() local
991 int stackId = stack.mStackId; in testNoResumeAfterTaskOverlayFinishes()
992 int taskId = stack.getTopTask().mTaskId; in testNoResumeAfterTaskOverlayFinishes()
1244 final ActivityStack stack = getPinnedStack(); in offsetPipWithinMovementBounds() local
1245 final Rect displayRect = mAmWmState.getWmState().getDisplay(stack.mDisplayId) in offsetPipWithinMovementBounds()
1255 resizeStack(stack.mStackId, offsetBoundsOut.left, offsetBoundsOut.top, in offsetPipWithinMovementBounds()
1388 WindowStack stack = wmState.getStandardStackByWindowingMode(WINDOWING_MODE_PINNED); in waitForEnterPipAnimationComplete() local
1389 return stack != null && !stack.mAnimatingBounds; in waitForEnterPipAnimationComplete()
DAppConfigurationTests.java256 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in moveActivityFullSplitFull() local
262 resizeStack(stack.mStackId, displayRect.left, displayRect.top, displayRect.width(), in moveActivityFullSplitFull()
303 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in testDialogWhenLargeSplitSmall() local
306 mAmWmState.getWmState().getDisplay(stack.mDisplayId); in testDialogWhenLargeSplitSmall()
311 resizeStack(stack.mStackId, 0, 0, smallWidthPx, smallHeightPx); in testDialogWhenLargeSplitSmall()
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java367 StackTraceElement stack[] = joinThread.getStackTrace(); in testJoinThreadPool() local
369 for (StackTraceElement elem : stack) { in testJoinThreadPool()
375 assertTrue(Arrays.toString(stack), found); in testJoinThreadPool()
/cts/tools/release-parser/tests/resources/
Dbuild.prop58 dalvik.vm.stack-trace-dir=/data/anr
Dbuild.prop.pb.txt106 key: "dalvik.vm.stack-trace-dir"
/cts/tools/dasm/etc/
Djava_cup.jar.old ... java_cup.runtime.lr_parser, java.util.Stack, int) throws java.lang.Exception } ...