/development/tools/winscope/src/trace/ |
D | traces_test.ts | 30 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 …]
|
D | traces.ts | 23 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 …]
|
D | frame_mapper_test.ts | 47 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/ |
D | timeline_data_test.ts | 35 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 …]
|
D | trace_pipeline.ts | 45 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 …]
|
D | timeline_data.ts | 28 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 …]
|
D | trace_pipeline_test.ts | 169 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/ |
D | abstract_presenter_input_method_test.ts | 39 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 …]
|
D | abstract_viewer_input_method.ts | 39 traces: Traces, 44 this.presenter = this.initializePresenter(trace, traces, storage); 77 traces: Traces,
|
/development/tools/winscope/src/test/unit/ |
D | traces_utils.ts | 24 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) => {
|
D | traces_builder.ts | 45 const traces = new Traces(); constant 47 traces.addTrace(builder.build()); 49 return traces;
|
/development/tools/winscope/src/viewers/viewer_transitions/ |
D | presenter_test.ts | 31 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/ |
D | viewer_factory.ts | 48 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/ |
D | mini_canvas_drawer_data.ts | 41 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/ |
D | viewer_view_capture.ts | 34 private readonly traces: Traces; property in ViewerViewCapture 40 constructor(traces: Traces, storage: Storage) { 41 this.traces = traces; 47 traces,
|
D | presenter_test.ts | 39 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/ |
D | viewer_input_method_manager_service.ts | 35 traces: Traces, 38 super(trace, traces, storage); 49 traces: Traces, 54 traces,
|
/development/tools/winscope/src/viewers/viewer_input_method_clients/ |
D | viewer_input_method_clients.ts | 35 traces: Traces, 38 super(trace, traces, storage); 49 traces: Traces, 54 traces,
|
D | presenter_input_method_clients.ts | 57 traces: Traces, 61 super(trace, traces, storage, notifyViewCallback);
|
/development/tools/winscope/src/viewers/viewer_input_method_service/ |
D | viewer_input_method_service.ts | 35 traces: Traces, 38 super(trace, traces, storage); 49 traces: Traces, 54 traces,
|
/development/tools/winscope/src/viewers/viewer_surface_flinger/ |
D | presenter_test.ts | 121 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,
|
D | viewer_surface_flinger.ts | 39 traces: Traces, 50 traces,
|
/development/tools/winscope/src/viewers/viewer_window_manager/ |
D | presenter_test.ts | 102 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);
|
D | viewer_window_manager.ts | 37 traces: Traces, 48 traces,
|
/development/tools/winscope/src/parsers/legacy/ |
D | traces_parser_factory.ts | 27 traces: Traces, 34 const parser = new ParserType(traces, timestampConverter);
|