Home
last modified time | relevance | path

Searched refs:TimestampConverterUtils (Results 1 – 25 of 63) sorted by relevance

123

/development/tools/winscope/src/common/
Dtime_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
23 const REAL_TIMESTAMP_10 = TimestampConverterUtils.makeRealTimestamp(10n);
24 const REAL_TIMESTAMP_20 = TimestampConverterUtils.makeRealTimestamp(20n);
26 TimestampConverterUtils.makeElapsedTimestamp(10n);
28 TimestampConverterUtils.makeElapsedTimestamp(20n);
47 let timestamp = TimestampConverterUtils.makeRealTimestamp(10n).div(2n);
63 expect(TimestampConverterUtils.makeElapsedTimestamp(0n).format()).toEqual(
67 TimestampConverterUtils.makeElapsedTimestamp(1000n).format(),
70 TimestampConverterUtils.makeElapsedTimestamp(
76 TimestampConverterUtils.makeElapsedTimestamp(SECOND - 1n).format(),
[all …]
Dtimestamp_utils_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
34 TimestampConverterUtils.makeRealTimestamp(100n),
35 TimestampConverterUtils.makeRealTimestamp(10n),
36 TimestampConverterUtils.makeRealTimestamp(12n),
37 TimestampConverterUtils.makeRealTimestamp(110n),
38 TimestampConverterUtils.makeRealTimestamp(11n),
43 TimestampConverterUtils.makeRealTimestamp(10n),
44 TimestampConverterUtils.makeRealTimestamp(11n),
45 TimestampConverterUtils.makeRealTimestamp(12n),
46 TimestampConverterUtils.makeRealTimestamp(100n),
[all …]
/development/tools/winscope/src/app/
Dtimeline_data_test.ts19 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
29 const timestamp0 = TimestampConverterUtils.makeRealTimestamp(0n);
30 const timestamp5 = TimestampConverterUtils.makeRealTimestamp(5n);
31 const timestamp9 = TimestampConverterUtils.makeRealTimestamp(9n);
32 const timestamp10 = TimestampConverterUtils.makeRealTimestamp(10n);
33 const timestamp11 = TimestampConverterUtils.makeRealTimestamp(11n);
52 TimestampConverterUtils.makeRealTimestamp(1000n),
65 TimestampConverterUtils.TIMESTAMP_CONVERTER,
82 TimestampConverterUtils.TIMESTAMP_CONVERTER,
95 TimestampConverterUtils.TIMESTAMP_CONVERTER,
[all …]
/development/tools/winscope/src/parsers/transitions/legacy/
Dparser_transitions_shell_test.ts18 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
46 TimestampConverterUtils.makeRealTimestamp(1683188477607285317n),
47 TimestampConverterUtils.makeRealTimestamp(1683130827957362976n),
48 TimestampConverterUtils.makeRealTimestamp(1683130827957362976n),
49 TimestampConverterUtils.makeRealTimestamp(1683188479256449868n),
50 TimestampConverterUtils.makeRealTimestamp(1683130827957362976n),
51 TimestampConverterUtils.makeRealTimestamp(1683130827957362976n),
Dtraces_parser_transitions_test.ts18 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
47 TimestampConverterUtils.makeRealTimestamp(1683130827957362976n),
48 TimestampConverterUtils.makeRealTimestamp(1683130827957362976n),
49 TimestampConverterUtils.makeRealTimestamp(1683188477606574664n),
50 TimestampConverterUtils.makeRealTimestamp(1683188479255739215n),
/development/tools/winscope/src/app/components/timeline/mini-timeline/
Dtransformer_test.ts18 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
24 TimestampConverterUtils.makeRealTimestamp(1689763211000000000n),
25 TimestampConverterUtils.makeRealTimestamp(1689763571000000000n),
34 TimestampConverterUtils.TIMESTAMP_CONVERTER,
46 TimestampConverterUtils.makeRealTimestamp(rangeStart + range / 2n),
51 TimestampConverterUtils.makeRealTimestamp(rangeStart + range / 4n),
56 TimestampConverterUtils.makeRealTimestamp(rangeStart + range / 20n),
62 TimestampConverterUtils.makeRealTimestamp(rangeStart - range / 2n),
67 TimestampConverterUtils.makeRealTimestamp(rangeEnd + range / 2n),
74 TimestampConverterUtils.makeRealTimestamp(1689763211000000000n),
[all …]
/development/tools/winscope/src/trace/
Dtrace_entry_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
29 TimestampConverterUtils.makeRealTimestamp(10n),
30 TimestampConverterUtils.makeRealTimestamp(11n),
31 TimestampConverterUtils.makeRealTimestamp(12n),
32 TimestampConverterUtils.makeRealTimestamp(13n),
33 TimestampConverterUtils.makeRealTimestamp(14n),
34 TimestampConverterUtils.makeRealTimestamp(15n),
66 TimestampConverterUtils.makeRealTimestamp(10n),
69 TimestampConverterUtils.makeRealTimestamp(11n),
/development/tools/winscope/src/parsers/protolog/legacy/
Dparser_protolog_test.ts19 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
118 TimestampConverterUtils.makeRealTimestamp(1655727125377266486n),
119 TimestampConverterUtils.makeRealTimestamp(1655727125377336718n),
120 TimestampConverterUtils.makeRealTimestamp(1655727125377350430n),
138 TimestampConverterUtils.makeRealTimestamp(1709196806399529939n),
139 TimestampConverterUtils.makeRealTimestamp(1709196806399763866n),
140 TimestampConverterUtils.makeRealTimestamp(1709196806400297151n),
157 TimestampConverterUtils.makeRealTimestamp(1669053909777144978n),
158 TimestampConverterUtils.makeRealTimestamp(1669053909778011697n),
159 TimestampConverterUtils.makeRealTimestamp(1669053909778800707n),
/development/tools/winscope/src/parsers/screen_recording/
Dparser_screen_recording_legacy_test.ts18 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
48 TimestampConverterUtils.makeElapsedTimestamp(19446131807000n),
49 TimestampConverterUtils.makeElapsedTimestamp(19446158500000n),
50 TimestampConverterUtils.makeElapsedTimestamp(19446167117000n),
55 TimestampConverterUtils.makeElapsedTimestamp(19448470076000n),
56 TimestampConverterUtils.makeElapsedTimestamp(19448487525000n),
57 TimestampConverterUtils.makeElapsedTimestamp(19448501007000n),
Dparser_screenshot_test.ts19 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
36 new TimestampConverter(TimestampConverterUtils.UTC_TIMEZONE_INFO, 0n),
53 const expected = TimestampConverterUtils.makeElapsedTimestamp(0n);
60 TimestampConverterUtils.TIMESTAMP_CONVERTER_WITH_UTC_OFFSET,
64 const expectedReal = TimestampConverterUtils.makeElapsedTimestamp(0n);
Dparser_screen_recording_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
48 TimestampConverterUtils.makeRealTimestamp(1666361048792787045n),
49 TimestampConverterUtils.makeRealTimestamp(1666361048807348045n),
50 TimestampConverterUtils.makeRealTimestamp(1666361048827119045n),
/development/tools/winscope/src/parsers/legacy/
Dparser_common_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
37 TimestampConverterUtils.TIMESTAMP_CONVERTER,
62 TimestampConverterUtils.makeRealTimestamp(1659107089075566202n),
63 TimestampConverterUtils.makeRealTimestamp(1659107089999048990n),
64 TimestampConverterUtils.makeRealTimestamp(1659107090010194213n),
95 TimestampConverterUtils.makeElapsedTimestamp(850254319343n),
96 TimestampConverterUtils.makeElapsedTimestamp(850763506110n),
97 TimestampConverterUtils.makeElapsedTimestamp(850782750048n),
/development/tools/winscope/src/parsers/window_manager/
Dparser_window_manager_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
53 TimestampConverterUtils.makeRealTimestamp(1659107089075566202n),
54 TimestampConverterUtils.makeRealTimestamp(1659107089999048990n),
55 TimestampConverterUtils.makeRealTimestamp(1659107090010194213n),
92 TimestampConverterUtils.makeElapsedTimestamp(850254319343n),
93 TimestampConverterUtils.makeElapsedTimestamp(850763506110n),
94 TimestampConverterUtils.makeElapsedTimestamp(850782750048n),
/development/tools/winscope/src/parsers/events/
Dparser_eventlog_test.ts19 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
52 TimestampConverterUtils.makeRealTimestamp(1681207047981157174n),
53 TimestampConverterUtils.makeRealTimestamp(1681207047991161039n),
54 TimestampConverterUtils.makeRealTimestamp(1681207047991310494n),
101 TimestampConverterUtils.makeRealTimestamp(1681207047981157174n),
102 TimestampConverterUtils.makeRealTimestamp(1681207047991161039n),
103 TimestampConverterUtils.makeRealTimestamp(1681207047991310494n),
Dtraces_parser_cujs_test.ts19 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
42 TimestampConverterUtils.makeRealTimestamp(1681207048025446000n),
43 TimestampConverterUtils.makeRealTimestamp(1681207048025551000n),
44 TimestampConverterUtils.makeRealTimestamp(1681207048025580000n),
/development/tools/winscope/src/parsers/operations/
Dtransform_to_timestamp_test.ts20 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
49 ).toEqual(TimestampConverterUtils.makeRealTimestamp(10n));
63 ).toEqual(TimestampConverterUtils.makeElapsedTimestamp(10n));
70 return TimestampConverterUtils.makeRealTimestamp(valueNs);
74 return TimestampConverterUtils.makeElapsedTimestamp(valueNs);
/development/tools/winscope/src/parsers/transactions/legacy/
Dparser_transactions_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
51 TimestampConverterUtils.makeRealTimestamp(1659507541051480997n),
52 TimestampConverterUtils.makeRealTimestamp(1659507541118452067n),
53 TimestampConverterUtils.makeRealTimestamp(1659507542621651001n),
139 TimestampConverterUtils.makeElapsedTimestamp(14862317023n),
140 TimestampConverterUtils.makeElapsedTimestamp(14873423549n),
141 TimestampConverterUtils.makeElapsedTimestamp(14884850511n),
/development/tools/winscope/src/parsers/input_method/perfetto/
Dparser_input_method_service_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
47 TimestampConverterUtils.makeRealTimestamp(1714659587709640744n),
48 TimestampConverterUtils.makeRealTimestamp(1714659588932531777n),
49 TimestampConverterUtils.makeRealTimestamp(1714659588933263019n),
Dparser_input_method_manager_service_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
49 TimestampConverterUtils.makeRealTimestamp(1714659587704398638n),
50 TimestampConverterUtils.makeRealTimestamp(1714659588929259723n),
51 TimestampConverterUtils.makeRealTimestamp(1714659588964769244n),
Dparser_input_method_clients_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
47 TimestampConverterUtils.makeRealTimestamp(1714659585862265133n),
48 TimestampConverterUtils.makeRealTimestamp(1714659585890068600n),
49 TimestampConverterUtils.makeRealTimestamp(1714659587314072751n),
/development/tools/winscope/src/parsers/input_method/legacy/
Dparser_input_method_clients_test.ts18 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
46 TimestampConverterUtils.makeRealTimestamp(1659107090215405395n),
47 TimestampConverterUtils.makeRealTimestamp(1659107090249283325n),
48 TimestampConverterUtils.makeRealTimestamp(1659107090279417928n),
78 TimestampConverterUtils.makeElapsedTimestamp(1149083651642n),
/development/tools/winscope/src/parsers/view_capture/legacy/
Dparser_view_capture_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
48 TimestampConverterUtils.makeRealTimestamp(1691692936292808460n),
49 TimestampConverterUtils.makeRealTimestamp(1691692936301385080n),
50 TimestampConverterUtils.makeRealTimestamp(1691692936309419870n),
/development/tools/winscope/src/parsers/surface_flinger/legacy/
Dparser_surface_flinger_dump_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
47 const expected = [TimestampConverterUtils.makeElapsedTimestamp(0n)];
57 const expected = [TimestampConverterUtils.makeElapsedTimestamp(0n)];
85 const expected = [TimestampConverterUtils.makeElapsedTimestamp(0n)];
/development/tools/winscope/src/app/components/timeline/expanded-timeline/
Dexpanded_timeline_component_test.ts31 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
44 const time10 = TimestampConverterUtils.makeRealTimestamp(10n);
45 const time11 = TimestampConverterUtils.makeRealTimestamp(11n);
46 const time12 = TimestampConverterUtils.makeRealTimestamp(12n);
47 const time30 = TimestampConverterUtils.makeRealTimestamp(30n);
48 const time60 = TimestampConverterUtils.makeRealTimestamp(60n);
49 const time110 = TimestampConverterUtils.makeRealTimestamp(110n);
126 TimestampConverterUtils.TIMESTAMP_CONVERTER,
/development/tools/winscope/src/parsers/protolog/perfetto/
Dparser_protolog_test.ts17 import {TimestampConverterUtils} from 'test/unit/timestamp_converter_utils';
44 TimestampConverterUtils.makeRealTimestamp(1713866817780323315n),
45 TimestampConverterUtils.makeRealTimestamp(1713866817780323415n),
46 TimestampConverterUtils.makeRealTimestamp(1713866817780323445n),

123