Home
last modified time | relevance | path

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

/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DTestTest.java31 final String stack = ""; in testGetFailureMessageFromStackTrace_empty() local
32 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_empty()
39 final String stack = "this is a line"; in testGetFailureMessageFromStackTrace_oneLine() local
40 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_oneLine()
48 final String stack = "this is a line\n"; in testGetFailureMessageFromStackTrace_oneNewLine() local
49 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_oneNewLine()
56 final String stack = "this is a line\nthis is also a line"; in testGetFailureMessageFromStackTrace_twoLines() local
57 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_twoLines()
64 final String stack = "this is a line\nthis is also a line\n oh look another line"; in testGetFailureMessageFromStackTrace_multiLines() local
66 Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_multiLines()
/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/libs/json/src/com/android/json/stream/
DJsonWriter.java125 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in JsonWriter
127 stack.add(JsonScope.EMPTY_DOCUMENT);
215 stack.add(empty); in open()
228 throw new IllegalStateException("Nesting problem: " + stack); in close()
231 stack.remove(stack.size() - 1); in close()
243 return stack.get(stack.size() - 1); in peek()
250 stack.set(stack.size() - 1, topOfStack); in replaceTop()
411 for (int i = 1; i < stack.size(); i++) { in newline()
425 throw new IllegalStateException("Nesting problem: " + stack); in beforeName()
469 throw new IllegalStateException("Nesting problem: " + stack); in beforeValue()
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/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/services/activitymanager/src/android/server/cts/
DActivityManagerState.java120 final ActivityStack stack = ActivityStack.create(mSysDump, mStackIdPattern, in parseSysDump() local
123 if (stack != null) { in parseSysDump()
124 mStacks.add(stack); in parseSysDump()
125 if (stack.mResumedActivity != null) { in parseSysDump()
126 mResumedActivities.add(stack.mResumedActivity); in parseSysDump()
193 for (ActivityStack stack : mStacks) { in getStackById()
194 if (stackId == stack.mStackId) { in getStackById()
195 return stack; in getStackById()
210 for (ActivityStack stack : mStacks) { in isActivityVisible()
211 for (ActivityTask task : stack.mTasks) { in isActivityVisible()
[all …]
DWindowManagerState.java133 final WindowStack stack = in parseSysDump() local
136 if (stack != null) { in parseSysDump()
137 mStacks.add(stack); in parseSysDump()
244 for (WindowStack stack : mStacks) { in containsStack()
245 if (stackId == stack.mStackId) { in containsStack()
262 for (WindowStack stack : mStacks) { in getStack()
263 if (stackId == stack.mStackId) { in getStack()
264 return stack; in getStack()
303 final WindowStack stack = new WindowStack(); in create() local
307 stack.mStackId = Integer.parseInt(stackId); in create()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTest.java192 static String getFailureMessageFromStackTrace(String stack) { in getFailureMessageFromStackTrace() argument
194 int endPoint = stack.indexOf('\n'); in getFailureMessageFromStackTrace()
196 int nextLine = stack.indexOf('\n', endPoint + 1); in getFailureMessageFromStackTrace()
198 return stack.substring(0, nextLine); in getFailureMessageFromStackTrace()
201 return stack; in getFailureMessageFromStackTrace()
DCtsTestLogReporter.java136 String stack = result.getStackTrace() == null ? "" : "\n" + result.getStackTrace(); in testEnded() local
138 stack); in testEnded()
/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/libs/deviceutil/src/android/cts/util/
DMediaUtils.java81 StackTraceElement[] stack = entry.getValue(); in getTestName() local
82 for (int index = 0; index < stack.length; ++index) { in getTestName()
84 String methodName = stack[index].getMethodName(); in getTestName()
93 clazz = Class.forName(stack[index].getClassName()); in getTestName()
117 while (index + depth < stack.length in getTestName()
118 && stack[index + depth].getMethodName().equals("invoke") in getTestName()
119 && stack[index + depth].getClassName().equals( in getTestName()
126 if (index + depth < stack.length) { in getTestName()
127 if (stack[index + depth].getClassName().startsWith("android.test.")) { in getTestName()
130 if (stack[index + depth].getMethodName().equals("runMethod")) { in getTestName()
[all …]
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTest.java369 ByteArrayOutputStream stack = new ByteArrayOutputStream(); in run()
370 due.printStackTrace(new PrintWriter(stack, true)); in run()
372 stack.close(); in run()
378 stack.toString()); in run()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DCtsTest.java589 ByteArrayOutputStream stack = new ByteArrayOutputStream(); in run()
590 due.printStackTrace(new PrintWriter(stack, true)); in run()
592 stack.close(); in run()
598 stack.toString()); in run()
/cts/tools/dasm/etc/
Djava_cup-new.jar ... .runtime.token cur_token protected java.util.Stack stack protected short[][] production_tab protected short ...
Djava_cup.jar ... java_cup.runtime.lr_parser, java.util.Stack, int) throws java.lang.Exception } ...
Djava_cup.jar.old ... java_cup.runtime.lr_parser, java.util.Stack, int) throws java.lang.Exception } ...
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex107918 private char[] stack
Dclasses.out.dex138840 private com.google.android.mms.pdu.PduComposer$LengthRecordNode stack