Home
last modified time | relevance | path

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

123

/development/tools/winscope/src/trace/
Dtrace_entry_test.ts54 expect(trace.getEntry(0).getFullTrace()).toEqual(trace);
55 expect(trace.sliceEntries(0, 1).getEntry(0).getFullTrace()).toEqual(trace);
59 expect(trace.getEntry(0).getIndex()).toEqual(0);
60 expect(trace.sliceEntries(2, 4).getEntry(0).getIndex()).toEqual(2);
61 expect(trace.sliceEntries(2, 4).getEntry(1).getIndex()).toEqual(3);
65 expect(trace.getEntry(0).getTimestamp()).toEqual(
68 expect(trace.getEntry(1).getTimestamp()).toEqual(
74 expect(trace.getEntry(0).getFramesRange()).toEqual({start: 0, end: 2});
75 expect(trace.getEntry(1).getFramesRange()).toEqual({start: 1, end: 2});
76 expect(trace.getEntry(2).getFramesRange()).toEqual({start: 1, end: 2});
[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()],
432 [TraceType.TRANSACTIONS, [await transactions.getEntry(0).getValue()]],
435 [await surfaceFlinger.getEntry(0).getValue()],
[all …]
Dtrace_entry_finder.ts32 return trace.getEntry(0);
35 if (position.entry?.getFullTrace() === trace.getEntry(0).getFullTrace()) {
42 return frame.getEntry(0);
Dtrace.ts90 return await this.parser.getEntry(this.index);
175 getEntry(index: RelativeEntryIndex): TraceEntryLazy<T> {
242 return this.getEntry(this.lengthEntries - 1);
246 return this.getEntry(0);
258 return this.getEntry(prevEntry - this.entriesRange.start);
260 return this.getEntry(entry - this.entriesRange.start);
278 const entry = this.getEntry(pos - this.entriesRange.start);
298 const entry = this.getEntry(pos - this.entriesRange.start);
314 return this.getEntry(this.lengthEntries - 1);
319 return this.getEntry(firstGreater.getIndex() - this.entriesRange.start - 1);
[all …]
/development/tools/winscope/src/parsers/transactions/perfetto/
Dparser_transactions_test.ts59 const entry = await parser.getEntry(1);
64 const entry0 = await parser.getEntry(0);
65 const entry2 = await parser.getEntry(2);
125 const entry = await parser.getEntry(0);
146 const entry = await parser.getEntry(222);
/development/tools/winscope/src/parsers/legacy/
Dparser_common_test.ts72 let entry = await parser.getEntry(0);
77 entry = await parser.getEntry(parser.getLengthEntries() - 1);
103 let entry = await parser.getEntry(0);
108 entry = await parser.getEntry(parser.getLengthEntries() - 1);
Dabstract_traces_parser.ts60 const entry = await this.getEntry(index);
70 abstract getEntry(index: AbsoluteEntryIndex): Promise<T>;
/development/tools/winscope/src/app/
Dtimeline_data.ts224 const firstTimestamp = trace.getEntry(0).getTimestamp();
258 return trace.getEntry(currentIndex - 1);
268 return trace.getEntry(0);
275 return trace.getEntry(currentIndex + 1);
330 const candidate = trace.getEntry(0);
346 const candidate = trace.getEntry(trace.lengthEntries - 1);
359 return this.activeTrace.getEntry(0);
/development/tools/winscope/src/parsers/input_method/legacy/
Dparser_input_method_clients_test.ts56 const entry = await parser.getEntry(1);
83 const entry = await parser.getEntry(0);
89 const entry = await parser.getEntry(8);
Dparser_input_method_manager_service_test.ts51 const entry = await parser.getEntry(0);
79 const entry = await parser.getEntry(0);
Dparser_input_method_service_test.ts51 const entry = await parser.getEntry(0);
77 const entry = await parser.getEntry(0);
/development/tools/winscope/src/parsers/input/perfetto/
Dparser_key_event_test.ts56 const entry = await parser.getEntry(1);
61 const entry = await parser.getEntry(0);
84 const entry = await parser.getEntry(0);
Dparser_motion_event_test.ts58 const entry = await parser.getEntry(1);
63 const entry = await parser.getEntry(0);
137 const entry = await parser.getEntry(0);
/development/tools/winscope/src/parsers/transactions/legacy/
Dparser_transactions_test.ts59 const entry = await parser.getEntry(1);
65 const entry = await parser.getEntry(0);
89 const entry = await parser.getEntry(222);
/development/tools/winscope/src/parsers/surface_flinger/legacy/
Dparser_surface_flinger_test.ts64 const entry = await parser.getEntry(1);
70 const entry = await parser.getEntry(0);
143 const entry = await parser.getEntry(0);
197 const entry = await parser.getEntry(0);
/development/tools/winscope/src/parsers/screen_recording/
Dparser_screen_recording_test.ts57 const entry = await parser.getEntry(0);
62 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/perfetto/
Dparser_input_method_clients_test.ts55 const entry = await parser.getEntry(1);
61 const entry = await parser.getEntry(7);
/development/tools/winscope/src/parsers/surface_flinger/perfetto/
Dparser_surface_flinger_test.ts64 const entry = await parser.getEntry(1);
70 const entry = await parser.getEntry(0);
146 const entry = await parser.getEntry(0);
/development/tools/winscope/src/parsers/protolog/perfetto/
Dparser_protolog_test.ts52 const message = await parser.getEntry(0);
76 const ts = (await parser.getEntry(i))
/development/tools/winscope/src/parsers/view_capture/perfetto/
Dparser_view_capture_window_test.ts59 const root = await parser.getEntry(1);
73 const root = await parser.getEntry(1);
/development/tools/winscope/src/parsers/window_manager/
Dparser_window_manager_test.ts63 const entry = await parser.getEntry(1);
100 const entry = await parser.getEntry(1);
/development/tools/winscope/src/parsers/events/
Dparser_eventlog_test.ts60 const entry = await parser.getEntry(18);
109 const entry = await parser.getEntry(0);
/development/tools/winscope/src/viewers/viewer_surface_flinger/
Dpresenter_test.ts80 const firstEntry = this.traceSf.getEntry(0);
83 this.traceSf.getEntry(1),
86 this.traceSf.getEntry(2),
306 const firstEntry = traceSf.getEntry(0);
/development/tools/winscope/src/viewers/viewer_view_capture/
Dpresenter_test.ts78 const firstEntry = traceTaskbar.getEntry(0);
84 const firstEntryLauncherActivity = traceLauncherActivity.getEntry(0);
101 traceTaskbar.getEntry(21),

123