Home
last modified time | relevance | path

Searched refs:traces (Results 1 – 25 of 56) sorted by relevance

123

/development/tools/winscope/src/trace/
Dtraces_test.ts30 let traces: Traces; variable
58 traces = new Traces();
59 traces.addTrace(
72 traces.addTrace(
145 assertDefined(traces.getTrace(TraceType.TEST_TRACE_STRING)),
152 assertDefined(traces.getTrace(TraceType.TEST_TRACE_NUMBER)),
157 expect(traces.getTrace(TraceType.SURFACE_FLINGER)).toBeUndefined();
161 expect(traces.getTraces(TraceType.TEST_TRACE_NUMBER)).toEqual([
162 assertDefined(traces.getTrace(TraceType.TEST_TRACE_NUMBER)),
176 const traces = new Traces(); constant
[all …]
Dtraces.ts23 private traces = new Set<Trace<{}>>(); property in Traces
26 this.traces.add(trace);
33 this.traces.forEach((trace) => {
55 return Array.from(this.traces).filter(
61 this.traces.delete(trace);
65 this.traces.forEach((trace) => {
69 this.traces.delete(trace);
74 return this.traces.has(trace);
79 this.traces.forEach((trace) => {
87 this.traces.forEach((trace) => {
[all …]
Dframe_mapper_test.ts47 let traces: Traces; variable
77 traces = new Traces();
78 traces.addTrace(protoLog);
79 traces.addTrace(windowManager);
80 await new FrameMapper(traces).computeMapping();
103 expect(await TracesUtils.extractFrames(traces)).toEqual(expectedFrames);
110 let traces: Traces; variable
138 traces = new Traces();
139 traces.addTrace(ime);
140 traces.addTrace(windowManager);
[all …]
/development/tools/winscope/src/app/
Dtimeline_data_test.ts35 const traces = new TracesBuilder() constant
42 const traceSf = assertDefined(traces.getTrace(TraceType.SURFACE_FLINGER));
43 const traceWm = assertDefined(traces.getTrace(TraceType.WINDOW_MANAGER));
46 assertDefined(traces.getTrace(TraceType.SURFACE_FLINGER)).getEntry(0),
49 assertDefined(traces.getTrace(TraceType.WINDOW_MANAGER)).getEntry(0),
63 traces,
71 const traces = new TracesBuilder() constant
76 const dumpWm = assertDefined(traces.getTrace(TraceType.WINDOW_MANAGER));
80 traces,
93 traces,
[all …]
Dtrace_pipeline.ts45 private traces = new Traces(); property in TracePipeline
80 this.traces = new Traces();
84 this.traces.addTrace(trace);
89 this.traces,
95 this.traces.addTrace(trace);
99 this.traces.getTrace(TraceType.TRANSITION) !== undefined;
101 this.traces.deleteTracesByType(TraceType.WM_TRANSITION);
102 this.traces.deleteTracesByType(TraceType.SHELL_TRANSITION);
105 const hasCujTrace = this.traces.getTrace(TraceType.CUJS);
107 this.traces.deleteTracesByType(TraceType.EVENT_LOG);
[all …]
Dtimeline_data.ts28 private traces = new Traces(); property in TimelineData
46 traces: Traces,
54 this.traces = new Traces();
55 traces.forEachTrace((trace, type) => {
61 this.traces.addTrace(trace);
64 const transitionTrace = this.traces.getTrace(TraceType.TRANSITION);
75 const tracesSortedByDisplayOrder = traces
149 const isTraceWithValidTimestamps = this.traces.hasTrace(trace);
209 return this.traces;
219 const trace = this.traces.getTrace(TraceType.SCREEN_RECORDING);
[all …]
Dtrace_pipeline_test.ts169 const traces = tracePipeline.getTraces(); constant
170 expect(traces.getTrace(TraceType.SURFACE_FLINGER)).toBeDefined();
171 expect(traces.getTrace(TraceType.WINDOW_MANAGER)).toBeUndefined(); // ignored
172 expect(traces.getTrace(TraceType.INPUT_METHOD_CLIENTS)).toBeDefined();
297 const traces = tracePipeline.getTraces(); constant
299 const actualTraceTypes = new Set(traces.mapTrace((trace) => trace.type));
306 const sfTrace = assertDefined(traces.getTrace(TraceType.SURFACE_FLINGER));
355 const traces = tracePipeline.getTraces(); constant
356 traces.forEachTrace((trace, type) => {
/development/tools/winscope/src/viewers/common/
Dabstract_presenter_input_method_test.ts39 private traces: Traces | undefined; property in AbstractPresenterInputMethodTest
56 this.traces = new Traces();
68 this.traces.addTrace(trace);
72 this.traces.addTrace(
83 this.traces.addTrace(
108 const traces = new Traces(); constant
109 traces.addTrace(trace);
112 traces,
121 const traces = assertDefined(this.traces); constant
122 const trace = assertDefined(traces.getTrace(this.imeTraceType));
[all …]
Dabstract_viewer_input_method.ts39 traces: Traces,
44 this.presenter = this.initializePresenter(trace, traces, storage);
77 traces: Traces,
/development/tools/winscope/src/test/unit/
Dtraces_utils.ts24 static extractTraces(traces: Traces): Array<Trace<{}>> {
25 return traces.mapTrace((trace) => trace);
29 traces: Traces,
33 const promises = traces.mapTrace(async (trace) => {
42 traces: Traces,
46 const framePromises = traces.mapFrame(async (frame, index) => {
Dtraces_builder.ts45 const traces = new Traces(); constant
47 traces.addTrace(builder.build());
49 return traces;
/development/tools/winscope/src/viewers/viewer_transitions/
Dpresenter_test.ts31 const traces = new TracesBuilder() constant
34 const trace = assertDefined(traces.getTrace(TraceType.TRANSITION));
36 const presenter = new Presenter(trace, traces, (data: UiData) => {
59 const traces = new Traces(); constant
60 traces.addTrace(trace);
63 const presenter = new Presenter(trace, traces, (data: UiData) => {
/development/tools/winscope/src/viewers/
Dviewer_factory.ts48 createViewers(traces: Traces, storage: Storage): Viewer[] {
52 traces.forEachTrace((trace) => {
57 viewers.push(new Viewer(trace as Trace<any>, traces, storage));
63 const availableTraceTypes = new Set(traces.mapTrace((trace) => trace.type));
68 viewers.push(new ViewerViewCapture(traces, storage));
/development/tools/winscope/src/app/components/timeline/mini-timeline/drawer/
Dmini_canvas_drawer_data.ts41 private traces: TimelineTraces | undefined = undefined; property in MiniCanvasDrawerData
44 if (this.traces === undefined) {
45 this.traces = await this.timelineTracesGetter();
47 return this.traces;
/development/tools/winscope/src/viewers/viewer_view_capture/
Dviewer_view_capture.ts34 private readonly traces: Traces; property in ViewerViewCapture
40 constructor(traces: Traces, storage: Storage) {
41 this.traces = traces;
47 traces,
Dpresenter_test.ts39 private traces: Traces | undefined; property in PresenterViewCaptureTest
70 this.traces = new Traces();
72 this.traces.addTrace(Trace.fromParser(parser));
76 this.traces.getTraces(TraceType.VIEW_CAPTURE)[0],
82 this.traces.getTraces(TraceType.VIEW_CAPTURE)[1],
116 const traces = new Traces(); constant
117 traces.addTrace(trace);
118 return new Presenter(traces, new InMemoryStorage(), callback);
125 assertDefined(this.traces),
/development/tools/winscope/src/viewers/viewer_input_method_manager_service/
Dviewer_input_method_manager_service.ts35 traces: Traces,
38 super(trace, traces, storage);
49 traces: Traces,
54 traces,
/development/tools/winscope/src/viewers/viewer_input_method_clients/
Dviewer_input_method_clients.ts35 traces: Traces,
38 super(trace, traces, storage);
49 traces: Traces,
54 traces,
Dpresenter_input_method_clients.ts57 traces: Traces,
61 super(trace, traces, storage, notifyViewCallback);
/development/tools/winscope/src/viewers/viewer_input_method_service/
Dviewer_input_method_service.ts35 traces: Traces,
38 super(trace, traces, storage);
49 traces: Traces,
54 traces,
/development/tools/winscope/src/viewers/viewer_surface_flinger/
Dpresenter_test.ts121 const traces = new Traces(); constant
122 traces.addTrace(trace);
123 return new Presenter(trace, traces, new InMemoryStorage(), callback);
129 const traces = new Traces(); constant
131 traces.addTrace(trace);
132 return new Presenter(trace, traces, new InMemoryStorage(), callback);
291 const traces = new Traces(); constant
294 traces.addTrace(traceSf);
295 traces.addTrace(traceVc);
301 traces,
Dviewer_surface_flinger.ts39 traces: Traces,
50 traces,
/development/tools/winscope/src/viewers/viewer_window_manager/
Dpresenter_test.ts102 const traces = new Traces(); constant
103 traces.addTrace(trace);
104 return new Presenter(trace, traces, new InMemoryStorage(), callback);
110 const traces = new Traces(); constant
112 traces.addTrace(trace);
113 return new Presenter(trace, traces, new InMemoryStorage(), callback);
Dviewer_window_manager.ts37 traces: Traces,
48 traces,
/development/tools/winscope/src/parsers/legacy/
Dtraces_parser_factory.ts27 traces: Traces,
34 const parser = new ParserType(traces, timestampConverter);

123