Home
last modified time | relevance | path

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

12

/tools/loganalysis/src/com/android/loganalysis/parser/
DTracesParser.java57 StringBuffer stack = null; in parse() local
60 if (stack == null) { in parse()
71 stack = new StringBuffer(); in parse()
72 stack.append(line); in parse()
73 stack.append("\n"); in parse()
76 stack.append(line); in parse()
77 stack.append("\n"); in parse()
79 traces.setStack(stack.toString().trim()); in parse()
83 if (stack == null) { in parse()
86 traces.setStack(stack.toString().trim()); in parse()
DJavaCrashParser.java56 StringBuilder stack = new StringBuilder(); in parse() local
67 stack = new StringBuilder(); in parse()
108 addMessageStack(jc, message.toString(), stack.toString()); in parse()
115 stack.append(line); in parse()
116 stack.append("\n"); in parse()
120 addMessageStack(jc, message.toString(), stack.toString()); in parse()
127 private void addMessageStack(JavaCrashItem jc, String message, String stack) { in addMessageStack() argument
132 jc.setStack(stack.trim()); in addMessageStack()
DNativeCrashParser.java43 StringBuilder stack = new StringBuilder(); in parse() local
60 stack.append(line); in parse()
61 stack.append("\n"); in parse()
65 nc.setStack(stack.toString().trim()); in parse()
DAnrParser.java65 StringBuilder stack = new StringBuilder(); in parse() local
111 stack.append(line); in parse()
112 stack.append("\n"); in parse()
117 anr.setStack(stack.toString().trim()); in parse()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBuilders.kt27 private val stack = mutableListOf<P>() in noReset() constant
35 stack.add(p) in noReset()
40 if (stack.isEmpty()) return null in noReset()
41 val p = stack.removeAt(stack.lastIndex) in noReset()
/tools/repohooks/tools/
Dcpplint.py1997 def FindEndOfExpressionInLine(line, startpos, stack): argument
2014 stack.append(char)
2019 if stack and stack[-1] == '<':
2020 stack.pop()
2021 if not stack:
2028 stack.append('<')
2034 while stack and stack[-1] == '<':
2035 stack.pop()
2036 if not stack:
2038 if ((stack[-1] == '(' and char == ')') or
[all …]
/tools/security/sanitizer-status/
Dsanitizer-status.cpp54 volatile char stack[32]; in test_crash_stack() local
55 volatile char* p_stack = stack; in test_crash_stack()
78 volatile int stack[10]; in test_msan_crash_stack() local
79 stack[5] = 0; in test_msan_crash_stack()
80 if (stack[0]) { // NOLINT in test_msan_crash_stack()
81 stack[0] = 1; in test_msan_crash_stack()
/tools/netsim/guide/src/
DREADME.md13 …e with HCI connector | host OS C++ apps using Nimbile bluetooth stack |
14 …://github.com/google/bumble) device | host OS python apps using Bumble bluetooth stack |
15 …ub.com/google/bumble) Web App | Browser hosted python apps using Bumble bluetooth stack |
/tools/asuite/atest/test_finders/
Dtest_filter_utils.py345 stack = []
349 stack.append(char)
351 if not stack or brackets[stack.pop()] != char:
353 return len(stack) == 0
/tools/loganalysis/src/com/android/loganalysis/item/
DTracesItem.java89 public void setStack(String stack) { in setStack() argument
90 setAttribute(STACK, stack); in setStack()
DMiscKernelLogItem.java108 public void setStack(String stack) { in setStack() argument
109 setAttribute(STACK, stack); in setStack()
DMiscLogcatItem.java196 public void setStack(String stack) { in setStack() argument
197 setAttribute(STACK, stack); in setStack()
/tools/security/fuzzing/example_fuzzer/
DREADME.md37 - a stack-buffer-overflow is caught by AddressSanitizer
53 ==32069==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x007fe3caf8c3 at pc 0x007891974…
65 Address 0x007fe3caf8c3 is located in stack of thread T0 at offset 35 in frame
71 HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcon…
73 SUMMARY: AddressSanitizer: stack-buffer-overflow (/system/lib64/libclang_rt.asan-aarch64-android.so…
/tools/external_updater/tests/
Dtest_git_utils.py43 with ExitStack() as stack:
45 stack.enter_context(temp_dir)
46 self.addCleanup(stack.pop_all().close)
/tools/tradefederation/core/src/com/android/tradefed/result/
DConsoleResultReporter.java226 String stack = testResult.getStackTrace(); in getTestSummary() local
227 if (stack != null && !stack.isEmpty()) { in getTestSummary()
229 String lines[] = stack.split("\\r?\\n"); in getTestSummary()
DLogcatCrashResultForwarder.java289 private String truncateLargeCrash(String stack) { in truncateLargeCrash() argument
290 if (stack.length() > MAX_CRASH_SIZE) { in truncateLargeCrash()
291 return new StringBuilder(stack.substring(0, MAX_CRASH_SIZE)) in truncateLargeCrash()
295 return stack; in truncateLargeCrash()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java412 String stack = kernelErrors.get(i).getStack(); in runMonkey() local
413 if (stack != null) { in runMonkey()
414 CLog.d("Kernel Error #%d: %s", i + 1, stack.split("\n")[0].trim()); in runMonkey()
418 String stack = kernelResets.get(i).getStack(); in runMonkey() local
419 if (stack != null) { in runMonkey()
420 CLog.d("Kernel Reset #%d: %s", i + 1, stack.split("\n")[0].trim()); in runMonkey()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DTestResultTest.java101 private TestResult createResult(TestStatus status, String stack, long startTime, long endTime) { in createResult() argument
104 result.setStackTrace(stack); in createResult()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java372 String stack = testResult.getStackTrace(); in getTestSummary() local
373 if (stack != null && !stack.isEmpty()) { in getTestSummary()
375 String lines[] = stack.split("\\r?\\n"); in getTestSummary()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DJUnit4ResultForwarder.java120 String stack = StreamUtil.getStackTrace(mTestCaseFailures.get(0)); in testRunFinished() local
129 mListener.testAssumptionFailure(testid, stack); in testRunFinished()
135 mListener.testRunFailed(stack); in testRunFinished()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt620 val stack = Stack<ItemTree>() in pop() constant
622 stack.push(root) in pop()
652 val parent = stack.peek() in pop()
655 stack.push(node) in pop()
668 stack.pop() in pop()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java115 protected void setExitCode(ExitCode code, Throwable stack) { in setUp()
186 protected void setExitCode(ExitCode code, Throwable stack) { in testParentSandboxInvocation_sharding()
283 protected void setExitCode(ExitCode code, Throwable stack) { in testInvocation_sharding_notTests()
340 protected void setExitCode(ExitCode code, Throwable stack) { in testInvocation_preInvocationFailing()
/tools/test/connectivity/acts/framework/acts/
Dtracelogger.py28 inspect_stack = inspect.stack()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/common/
DMetalavaCommandTest.kt123 fun `Test print stack trace`() { in Test print stack trace()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/protos/
Dbluetooth.proto77 // https://cs.corp.google.com/#android/system/bt/stack/include/btm_api.h&q=major_computer.
180 // See: system/bt/stack/include/hcidefs.h, HCI_ERR_CONN_FAILED_ESTABLISHMENT

12