Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 71) 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/tests/FlickerTests/lib/test/src/com/android/server/wm/flicker/
DLayersTraceTest.java62 LayersTrace trace = readLayerTraceFromFile( in canParseAllLayers() local
64 assertThat(trace.getEntries()).isNotEmpty(); in canParseAllLayers()
65 assertThat(trace.getEntries().get(0).getTimestamp()).isEqualTo(2307984557311L); in canParseAllLayers()
66 assertThat(trace.getEntries().get(trace.getEntries().size() - 1).getTimestamp()) in canParseAllLayers()
68 List<LayersTrace.Layer> flattenedLayers = trace.getEntries().get(0).asFlattenedLayers(); in canParseAllLayers()
76 LayersTrace trace = readLayerTraceFromFile( in canParseVisibleLayers() local
78 assertThat(trace.getEntries()).isNotEmpty(); in canParseVisibleLayers()
79 assertThat(trace.getEntries().get(0).getTimestamp()).isEqualTo(2307984557311L); in canParseVisibleLayers()
80 assertThat(trace.getEntries().get(trace.getEntries().size() - 1).getTimestamp()) in canParseVisibleLayers()
82 List<LayersTrace.Layer> flattenedLayers = trace.getEntries().get(0).asFlattenedLayers(); in canParseVisibleLayers()
[all …]
DWmTraceSubjectTest.java39 WindowManagerTrace trace = readWmTraceFromFile("wm_trace_openchrome2.pb"); in testCanTransitionInAppWindow() local
41 assertThat(trace).showsAppWindowOnTop("com.google.android.apps.nexuslauncher/" in testCanTransitionInAppWindow()
43 assertThat(trace).showsAppWindowOnTop( in testCanTransitionInAppWindow()
/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/opt/gamesdk/samples/common/include/
DTrace.h96 static std::unique_ptr<Trace> trace = Trace::create(); in getInstance() local
97 return trace.get(); in getInstance()
108 Trace *trace = Trace::getInstance(); in ScopedTrace() local
109 if (!trace->isAvailable() || !trace->isEnabled()) { in ScopedTrace()
113 trace->beginSection(name); in ScopedTrace()
122 Trace *trace = Trace::getInstance(); in ~ScopedTrace() local
123 trace->endSection(); in ~ScopedTrace()
/frameworks/opt/gamesdk/src/common/
DTrace.h96 static std::unique_ptr<Trace> trace = Trace::create(); in getInstance() local
97 return trace.get(); in getInstance()
108 Trace *trace = Trace::getInstance(); in ScopedTrace() local
109 if (!trace->isAvailable() || !trace->isEnabled()) { in ScopedTrace()
113 trace->beginSection(name); in ScopedTrace()
122 Trace *trace = Trace::getInstance(); in ~ScopedTrace() local
123 trace->endSection(); in ~ScopedTrace()
/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.
165 # Read and truncate the kernel trace.
166 chmod 0666 /sys/kernel/debug/tracing/trace
167 chmod 0666 /sys/kernel/tracing/trace
169 # Read and truncate the per-CPU kernel trace.
172 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu0/trace
173 chmod 0666 /sys/kernel/tracing/per_cpu/cpu0/trace
174 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu1/trace
175 chmod 0666 /sys/kernel/tracing/per_cpu/cpu1/trace
[all …]
/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/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/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/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/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/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/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/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/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/base/tests/FlickerTests/lib/test/src/com/android/server/wm/flicker/monitor/
DLayersTraceMonitorTest.java72 byte[] trace = Files.toByteArray(testFile); in captureLayersTrace()
73 assertThat(trace.length).isGreaterThan(0); in captureLayersTrace()
74 LayersTraceFileProto mLayerTraceFileProto = LayersTraceFileProto.parseFrom(trace); in captureLayersTrace()
DWindowManagerTraceMonitorTest.java72 byte[] trace = Files.toByteArray(testFile); in captureWindowTrace()
73 assertThat(trace.length).isGreaterThan(0); in captureWindowTrace()
75 trace); in captureWindowTrace()
/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/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
/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/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

123