Home
last modified time | relevance | path

Searched refs:getEntry (Results 1 – 25 of 103) sorted by relevance

12345

/development/tools/winscope/src/trace/
Dtrace_entry_test.ts56 expect(trace.getEntry(0).getFullTrace()).toEqual(trace);
57 expect(trace.sliceEntries(0, 1).getEntry(0).getFullTrace()).toEqual(trace);
61 expect(trace.getEntry(0).getIndex()).toEqual(0);
62 expect(trace.sliceEntries(2, 4).getEntry(0).getIndex()).toEqual(2);
63 expect(trace.sliceEntries(2, 4).getEntry(1).getIndex()).toEqual(3);
67 expect(trace.getEntry(0).getTimestamp()).toEqual(
70 expect(trace.getEntry(1).getTimestamp()).toEqual(
76 expect(trace.getEntry(0).getFramesRange()).toEqual({start: 0, end: 2});
77 expect(trace.getEntry(1).getFramesRange()).toEqual({start: 1, end: 2});
78 expect(trace.getEntry(2).getFramesRange()).toEqual({start: 1, end: 2});
[all …]
Dtrace_entry_finder_test.ts69 dump.getEntry(0),
74 const posFromEntry = TracePosition.fromTraceEntry(trace.getEntry(1));
87 traceWithFrames.getEntry(1),
91 ).toEqual(trace.getEntry(0));
95 const correspondingEntryByTime = trace.getEntry(4);
109 traceWithFrames.getEntry(1),
113 ).toEqual(trace.getEntry(4));
115 traceWithFrames.getEntry(2),
119 ).toEqual(trace.getEntry(5));
123 const posFromEntry14 = TracePosition.fromTraceEntry(trace.getEntry(3));
[all …]
Dtrace.ts102 return await this.parser.getEntry(this.index);
204 getEntry(index: RelativeEntryIndex): TraceEntryLazy<T> {
271 return this.getEntry(this.lengthEntries - 1);
275 return this.getEntry(0);
287 return this.getEntry(prevEntry - this.entriesRange.start);
289 return this.getEntry(entry - this.entriesRange.start);
307 const entry = this.getEntry(pos - this.entriesRange.start);
327 const entry = this.getEntry(pos - this.entriesRange.start);
343 return this.getEntry(this.lengthEntries - 1);
348 return this.getEntry(firstGreater.getIndex() - this.entriesRange.start - 1);
[all …]
Dframe_mapper_test.ts336 [TraceType.VIEW_CAPTURE, [await viewCapture.getEntry(0).getValue()]],
339 [await surfaceFlinger.getEntry(0).getValue()],
346 [TraceType.VIEW_CAPTURE, [await viewCapture.getEntry(2).getValue()]],
349 [await surfaceFlinger.getEntry(1).getValue()],
356 [TraceType.VIEW_CAPTURE, [await viewCapture.getEntry(2).getValue()]],
359 [await surfaceFlinger.getEntry(2).getValue()],
366 [TraceType.VIEW_CAPTURE, [await viewCapture.getEntry(3).getValue()]],
369 [await surfaceFlinger.getEntry(3).getValue()],
447 expect(sfTrace.getEntry(0).getFramesRange()).toBeDefined();
494 traceIndexes.map((i) => trace.getEntry(i).getValue()),
[all …]
Dtrace_entry_finder.ts33 return trace.getEntry(0);
36 if (position.entry?.getFullTrace() === trace.getEntry(0).getFullTrace()) {
44 return frame.getEntry(0);
/development/tools/winscope/src/test/unit/
Dmock_log_viewer_presenter.ts76 traceEntry: this.trace.getEntry(0),
82 value: this.trace.getEntry(0).getTimestamp(),
85 propertiesTree: await this.trace.getEntry(0).getValue(),
88 traceEntry: this.trace.getEntry(1),
94 value: this.trace.getEntry(1).getTimestamp(),
97 propertiesTree: await this.trace.getEntry(1).getValue(),
100 traceEntry: this.trace.getEntry(2),
106 value: this.trace.getEntry(2).getTimestamp(),
109 propertiesTree: await this.trace.getEntry(2).getValue(),
112 traceEntry: this.trace.getEntry(3),
[all …]
/development/tools/winscope/src/viewers/common/
Dlog_presenter_test.ts123 presenter.applyTracePositionUpdate(trace.getEntry(0));
152 presenter.applyTracePositionUpdate(trace.getEntry(0));
187 presenter.applyTracePositionUpdate(trace.getEntry(1));
201 presenter.applyTracePositionUpdate(trace.getEntry(1));
217 presenter.applyTracePositionUpdate(trace.getEntry(1));
224 presenter.applyTracePositionUpdate(trace.getEntry(1));
230 presenter.applyTracePositionUpdate(trace.getEntry(1));
240 presenter.applyTracePositionUpdate(trace.getEntry(1));
245 presenter.applyTracePositionUpdate(trace.getEntry(3));
273 traceEntry: trace.getEntry(0),
[all …]
/development/tools/winscope/src/parsers/transitions/legacy/
Dtraces_parser_transitions_test.ts67 (await parser.getEntry(0)).getChildByName('id')?.getValue(),
68 (await parser.getEntry(1)).getChildByName('id')?.getValue(),
69 (await parser.getEntry(2)).getChildByName('id')?.getValue(),
70 (await parser.getEntry(3)).getChildByName('id')?.getValue(),
80 const entry = await parser.getEntry(1);
/development/tools/winscope/src/viewers/viewer_input/
Dpresenter_test.ts164 this.trace.getEntry(0),
439 const keyEntry = assertDefined(this.trace).getEntry(7);
446 const motionEntry = assertDefined(this.trace).getEntry(1);
469 const lastMotion = assertDefined(this.trace).getEntry(5);
470 const firstKey = assertDefined(this.trace).getEntry(6);
490 TracePositionUpdate.fromTraceEntry(otherTrace.getEntry(0)),
496 TracePositionUpdate.fromTraceEntry(otherTrace.getEntry(1)),
501 TracePositionUpdate.fromTraceEntry(otherTrace.getEntry(2)),
516 await parser.getEntry(0),
517 await parser.getEntry(1),
[all …]
/development/tools/winscope/src/parsers/transactions/perfetto/
Dparser_transactions_test.ts62 const entry = await parser.getEntry(1);
67 const entry0 = await parser.getEntry(0);
68 const entry2 = await parser.getEntry(2);
128 const entry = await parser.getEntry(0);
149 const entry = await parser.getEntry(222);
/development/tools/winscope/src/parsers/legacy/
Dparser_common_test.ts97 let entry = await parser.getEntry(0);
102 entry = await parser.getEntry(parser.getLengthEntries() - 1);
128 let entry = await parser.getEntry(0);
133 entry = await parser.getEntry(parser.getLengthEntries() - 1);
/development/tools/winscope/src/parsers/screen_recording/
Dparser_screen_recording_test.ts61 const entry = await parser.getEntry(0);
66 const entry = await parser.getEntry(parser.getLengthEntries() - 1);
114 const entry = await parser.getEntry(0);
119 const entry = await parser.getEntry(parser.getLengthEntries() - 1);
Dparser_screen_recording_legacy_test.ts66 const entry = await parser.getEntry(0);
71 const entry = await parser.getEntry(parser.getLengthEntries() - 1);
/development/tools/winscope/src/parsers/input_method/legacy/
Dparser_input_method_clients_test.ts59 const entry = await parser.getEntry(1);
86 const entry = await parser.getEntry(0);
92 const entry = await parser.getEntry(8);
Dparser_input_method_service_test.ts54 const entry = await parser.getEntry(0);
80 const entry = await parser.getEntry(0);
Dparser_input_method_manager_service_test.ts54 const entry = await parser.getEntry(0);
82 const entry = await parser.getEntry(0);
/development/tools/winscope/src/app/
Dtimeline_data.ts267 const firstTimestamp = trace.getEntry(0).getTimestamp();
301 return trace.getEntry(currentIndex - 1);
311 return trace.getEntry(0);
318 return trace.getEntry(currentIndex + 1);
373 const entry = trace.getEntry(i);
394 const candidate = trace.getEntry(trace.lengthEntries - 1);
407 return this.activeTrace.getEntry(0);
/development/tools/winscope/src/parsers/input/perfetto/
Dparser_key_event_test.ts61 const entry = await parser.getEntry(1);
66 const entry = await parser.getEntry(0);
89 const entry = await parser.getEntry(0);
/development/tools/winscope/src/parsers/transactions/legacy/
Dparser_transactions_test.ts62 const entry = await parser.getEntry(1);
68 const entry = await parser.getEntry(0);
92 const entry = await parser.getEntry(222);
/development/tools/winscope/src/parsers/window_manager/legacy/
Dparser_window_manager_test.ts66 const entry = await parser.getEntry(1);
103 const entry = await parser.getEntry(1);
132 const entry = await parser.getEntry(0);
/development/tools/winscope/src/viewers/viewer_search/
Dsearch_result_presenter_test.ts69 this.trace.getEntry(0),
104 await trace.getEntry(0).getValue(),
117 const firstEntry = assertDefined(this.trace).getEntry(0);
152 TracePositionUpdate.fromTraceEntry(trace.getEntry(0)),
Dsearch_result_presenter.ts72 const entry = this.trace.getEntry(0);
82 hasTimestamps ? this.trace.getEntry(i) : entry,
123 const entry = this.trace.getEntry(entryIndex);
/development/tools/winscope/src/parsers/surface_flinger/legacy/
Dparser_surface_flinger_test.ts80 const entry = await parser.getEntry(1);
86 const entry = await parser.getEntry(0);
159 const entry = await parser.getEntry(0);
215 const entry = await parser.getEntry(0);
/development/tools/winscope/src/parsers/input_method/perfetto/
Dparser_input_method_clients_test.ts58 const entry = await parser.getEntry(1);
64 const entry = await parser.getEntry(7);
/development/tools/winscope/src/viewers/viewer_surface_flinger/
Dpresenter_test.ts197 await perfettoTrace.getEntry(0),
201 const firstEntry = this.traceSf.getEntry(0);
204 this.traceSf.getEntry(1),
207 this.traceSf.getEntry(2),
467 traceSf.getEntry(0),
525 TracePositionUpdate.fromTraceEntry(trace.getEntry(3)),
536 TracePositionUpdate.fromTraceEntry(trace.getEntry(4)),
584 const entry = assertDefined(this.traceSf?.getEntry(5));
646 traceSf.getEntry(0),
735 const firstEntry = traceSf.getEntry(0);
[all …]

12345