Searched refs:getEntry (Results 1 – 25 of 103) sorted by relevance
12345
/development/tools/winscope/src/trace/ |
D | trace_entry_test.ts | 56 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 …]
|
D | trace_entry_finder_test.ts | 69 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 …]
|
D | trace.ts | 102 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 …]
|
D | frame_mapper_test.ts | 336 [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 …]
|
D | trace_entry_finder.ts | 33 return trace.getEntry(0); 36 if (position.entry?.getFullTrace() === trace.getEntry(0).getFullTrace()) { 44 return frame.getEntry(0);
|
/development/tools/winscope/src/test/unit/ |
D | mock_log_viewer_presenter.ts | 76 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/ |
D | log_presenter_test.ts | 123 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/ |
D | traces_parser_transitions_test.ts | 67 (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/ |
D | presenter_test.ts | 164 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/ |
D | parser_transactions_test.ts | 62 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/ |
D | parser_common_test.ts | 97 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/ |
D | parser_screen_recording_test.ts | 61 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);
|
D | parser_screen_recording_legacy_test.ts | 66 const entry = await parser.getEntry(0); 71 const entry = await parser.getEntry(parser.getLengthEntries() - 1);
|
/development/tools/winscope/src/parsers/input_method/legacy/ |
D | parser_input_method_clients_test.ts | 59 const entry = await parser.getEntry(1); 86 const entry = await parser.getEntry(0); 92 const entry = await parser.getEntry(8);
|
D | parser_input_method_service_test.ts | 54 const entry = await parser.getEntry(0); 80 const entry = await parser.getEntry(0);
|
D | parser_input_method_manager_service_test.ts | 54 const entry = await parser.getEntry(0); 82 const entry = await parser.getEntry(0);
|
/development/tools/winscope/src/app/ |
D | timeline_data.ts | 267 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/ |
D | parser_key_event_test.ts | 61 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/ |
D | parser_transactions_test.ts | 62 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/ |
D | parser_window_manager_test.ts | 66 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/ |
D | search_result_presenter_test.ts | 69 this.trace.getEntry(0), 104 await trace.getEntry(0).getValue(), 117 const firstEntry = assertDefined(this.trace).getEntry(0); 152 TracePositionUpdate.fromTraceEntry(trace.getEntry(0)),
|
D | search_result_presenter.ts | 72 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/ |
D | parser_surface_flinger_test.ts | 80 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/ |
D | parser_input_method_clients_test.ts | 58 const entry = await parser.getEntry(1); 64 const entry = await parser.getEntry(7);
|
/development/tools/winscope/src/viewers/viewer_surface_flinger/ |
D | presenter_test.ts | 197 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