Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java132 Tracer.trace(); in getDisplaySizeDp()
155 Tracer.trace(); in getProductName()
175 Tracer.trace(); in getLastTraversedText()
185 Tracer.trace(); in clearLastTraversedText()
195 Tracer.trace(); in pressMenu()
208 Tracer.trace(); in pressBack()
221 Tracer.trace(); in pressHome()
234 Tracer.trace(); in pressSearch()
244 Tracer.trace(); in pressDPadCenter()
254 Tracer.trace(); in pressDPadDown()
[all …]
DUiScrollable.java69 Tracer.trace(); in setAsVerticalList()
80 Tracer.trace(); in setAsHorizontalList()
120 Tracer.trace(childPattern, text); in getChildByDescription()
142 Tracer.trace(childPattern, text, allowScrollSearch); in getChildByDescription()
166 Tracer.trace(childPattern, instance); in getChildByInstance()
191 Tracer.trace(childPattern, text); in getChildByText()
212 Tracer.trace(childPattern, text, allowScrollSearch); in getChildByText()
232 Tracer.trace(text); in scrollDescriptionIntoView()
245 Tracer.trace(obj.getSelector()); in scrollIntoView()
260 Tracer.trace(selector); in scrollIntoView()
[all …]
DUiObject.java92 Tracer.trace(); in getSelector()
124 Tracer.trace(selector); in getChild()
138 Tracer.trace(selector); in getFromParent()
150 Tracer.trace(); in getChildCount()
241 Tracer.trace(steps); in swipeUp()
269 Tracer.trace(steps); in swipeDown()
297 Tracer.trace(steps); in swipeLeft()
324 Tracer.trace(steps); in swipeRight()
396 Tracer.trace(); in click()
416 Tracer.trace(); in clickAndWaitForNewWindow()
[all …]
DUiCollection.java55 Tracer.trace(childPattern, text); in getChildByDescription()
89 Tracer.trace(childPattern, instance); in getChildByInstance()
113 Tracer.trace(childPattern, text); in getChildByText()
143 Tracer.trace(childPattern); in getChildCount()
/frameworks/base/core/java/android/os/
DTransactionTracker.java47 String trace = Log.getStackTraceString(tr); in addTrace() local
49 if (mTraces.containsKey(trace)) { in addTrace()
50 mTraces.put(trace, mTraces.get(trace) + 1); in addTrace()
52 mTraces.put(trace, Long.valueOf(1)); in addTrace()
64 for (String trace : mTraces.keySet()) { in writeTracesToFile()
65 pw.println("Count: " + mTraces.get(trace)); in writeTracesToFile()
66 pw.println("Trace: " + trace); in writeTracesToFile()
/frameworks/native/cmds/atrace/
Datrace.rc1 ## Permissions to allow system-wide tracing to the kernel trace buffer.
5 # Allow writing to the kernel trace log.
181 # Read and truncate the kernel trace.
182 chmod 0666 /sys/kernel/debug/tracing/trace
183 chmod 0666 /sys/kernel/tracing/trace
185 # Read and truncate the per-CPU kernel trace.
188 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu0/trace
189 chmod 0666 /sys/kernel/tracing/per_cpu/cpu0/trace
190 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu1/trace
191 chmod 0666 /sys/kernel/tracing/per_cpu/cpu1/trace
[all …]
/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp78 static status_t readProtoFile(Trace* trace) { in readProtoFile() argument
84 if (fd && !trace->ParseFromZeroCopyStream(&f)) { in readProtoFile()
153 void preProcessTrace(const Trace& trace);
180 bool surfaceUpdateFound(const Trace& trace, SurfaceChange::SurfaceChangeCase changeCase);
183 void assertAllUpdatesFound(const Trace& trace);
192 bool singleIncrementFound(const Trace& trace, Increment::IncrementCase incrementCase);
195 bool bufferUpdatesFound(const Trace& trace);
266 void SurfaceInterceptorTest::preProcessTrace(const Trace& trace) { in preProcessTrace() argument
267 mBGLayerId = getSurfaceId(trace, UNIQUE_TEST_SURFACE_NAME); in preProcessTrace()
572 bool SurfaceInterceptorTest::surfaceUpdateFound(const Trace& trace, in surfaceUpdateFound() argument
[all …]
/frameworks/base/core/java/android/ddm/
DDdmHandleThread.java131 StackTraceElement[] trace = DdmVmInternal.getStackTraceById(threadId); in handleSTKL() local
132 if (trace == null) { in handleSTKL()
135 return createStackChunk(trace, threadId); in handleSTKL()
145 private Chunk createStackChunk(StackTraceElement[] trace, int threadId) { in createStackChunk() argument
151 for (StackTraceElement elem : trace) { in createStackChunk()
163 out.putInt(trace.length); in createStackChunk()
164 for (StackTraceElement elem : trace) { in createStackChunk()
/frameworks/base/tests/JankBench/scripts/
Drunall.py43 def start_benchmark(device, trace): argument
46 if trace:
48 adbutil.trace(DEVICES[device])
50 if trace:
61 start_benchmark(options.device, options.trace)
/frameworks/native/cmds/surfacereplayer/replayer/
DREADME.md14 At their specified times to be as close to the original trace.
19 ###Creating a trace
26 To start recording a trace, run
34 The default location for the trace is `/data/SurfaceTrace.dat`
38 To replay a specific trace, execute
40 `/data/local/tmp/surfacereplayer /absolute/path/to/trace`
42 inside the android shell. This will replay the full trace and then exit. Running this command
44 off VSync injections if it interrupted in any way other than fully replaying the trace
47 random color which will be the same every time the trace is replayed. Surfaces modulate their color
52 - -m pause the replayer at the start of the trace for manual replay
[all …]
/frameworks/ml/nn/tools/systrace_parser/parser/
Dinput.py11 trace = []
21 trace.append([line, lineno])
22 return trace
27 def parse_trace_part(trace): argument
57 for [line, lineno] in trace:
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiAsyncChannel.java58 getOrInitLog().trace("sendMessage message=%") in sendMessage()
73 .trace("replyToMessage recvdMessage=% sendingUid=% sentMessage=%") in replyToMessage()
89 getOrInitLog().trace("sendMessageSynchronously.send message=%") in sendMessageSynchronously()
94 getOrInitLog().trace("sendMessageSynchronously.recv message=% sendingUid=%") in sendMessageSynchronously()
/frameworks/base/tests/FlickerTests/
DREADME.md7 …ions, captures Winscope traces and exposes common assertions that can be tested against each trace.
51trace can be represented as a ordered collection of trace entries, with an associated timestamp. E…
57 // check all trace entries
78 … the root cause. Failed assertion message will also contain a path to the trace that was tested. E…
109 Captures Layers trace. This monitor is started by default. Build a transition with `skipLayersTrace…
111 Captures Window Manager trace. This monitor is started by default. Build a transition with `skipWin…
121 To add a new assertion, add a function to one of the trace entry classes, `LayersTrace.Entry` or `W…
132 …to the trace subject `LayersTraceSubject` or `WmTraceSubject` which will add the assertion for tes…
144 // Check if "Chrome" layer is hidden by parent in the first trace entry.
/frameworks/ml/nn/tools/systrace_parser/
Dparse_systrace.py24 def produce_stats(trace, print_detail=False, total_times=False, per_execution=False, json=False): argument
28 tracked_pids, driver_tgids, parsed = parse_trace_part(trace)
77 trace = get_trace_part(args.filename) variable
78 produce_stats(trace, args.print_detail, args.total_times, args.per_execution, args.json)
/frameworks/base/tools/aapt2/trace/
DTraceBuffer.cpp79 for(const TracePoint& trace : traces) { in Flush() local
81 "\"name\" : \"%s\" },\n", trace.time, trace.type, 0, trace.tid, trace.tag.c_str()); in Flush()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLogcatLogTest.java257 WifiLog.LogMessage logMessage = mLogger.trace("%"); in traceLogMessageIncludesCallerName()
283 WifiLog.LogMessage logMessage = mLogger.trace("%", in traceLogMessageDoesNotCrashOnOversizedNumFramesToIgnore()
296 WifiLog.LogMessage logMessage = mLogger.trace("%", Integer.MAX_VALUE); in traceLogMessageDoesNotCrashOnOverflowingNumFramesToIgnore()
308 WifiLog.LogMessage logMessage = mLogger.trace("%", Integer.MIN_VALUE); in traceLogMessageDoesNotCrashOnUndersizedNumFramesToIgnore()
318 assertThat(mLogger.trace("%"), instanceOf(DummyLogMessage.class)); in traceLogMessageReturnsDummyLogMessageByDefault()
327 return mLogger.trace(format, 1); in traceHelper()
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
Dtrace_creator.py9 trace = Trace() variable
12 global trace
19 increment = trace.increment.add()
43 f.write(trace.SerializeToString())
89 global trace
/frameworks/native/services/surfaceflinger/layerproto/
Dlayerstrace.proto24 /* represents a file full of surface flinger trace entries.
42 /* one window manager trace entry. */
47 /* where the trace originated */
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFakeWifiLog.java40 public LogMessage trace(String format) { in trace() method in FakeWifiLog
45 public LogMessage trace(String format, int numFramesToIgnore) { in trace() method in FakeWifiLog
DWifiLog.java122 LogMessage trace(@CompileTimeConstant @NonNull String format); in trace() method
136 LogMessage trace(@NonNull String format, int numFramesToIgnore); in trace() method
/frameworks/opt/net/wifi/service/
Dwifi-events.rc21 # Create trace buffer, and set basic configuration.
73 # Set DAC to allow system_server to enable/disable, and read wifi trace
77 chown system /sys/kernel/debug/tracing/instances/wifi/trace
80 chmod 600 /sys/kernel/debug/tracing/instances/wifi/trace
84 chown system /sys/kernel/tracing/instances/wifi/trace
87 chmod 600 /sys/kernel/tracing/instances/wifi/trace
/frameworks/base/core/proto/android/server/
Dwindowmanagertrace.proto25 /* represents a file full of window manager trace entries.
43 /* one window manager trace entry. */
48 /* where the trace originated */
/frameworks/native/libs/math/include/math/
DTMatHelpers.h73 inline constexpr int trace(int v) { return v; } in trace() function
74 inline constexpr float trace(float v) { return v; } in trace() function
75 inline constexpr double trace(double v) { return v; } in trace() function
278 CONSTEXPR typename MATRIX::value_type PURE trace(const MATRIX& m) { in trace() function
282 result += trace(m[col][col]); in trace()
307 const T trace = mat[0][0] + mat[1][1] + mat[2][2]; in extractQuat() local
310 if (LIKELY(trace > 0)) { in extractQuat()
312 T s = std::sqrt(trace + 1); in extractQuat()
435 friend inline constexpr T PURE trace(const BASE<T>& m) { in trace() function
436 return matrix::trace(m); in trace()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java374 StackTraceElement trace = rootTr.getStackTrace()[0]; in CrashInfo() local
375 throwFileName = trace.getFileName(); in CrashInfo()
376 throwClassName = trace.getClassName(); in CrashInfo()
377 throwMethodName = trace.getMethodName(); in CrashInfo()
378 throwLineNumber = trace.getLineNumber(); in CrashInfo()
/frameworks/native/cmds/surfacereplayer/proto/
DAndroid.bp4 "src/trace.proto",

123