Home
last modified time | relevance | path

Searched refs:isNsFormat (Results 1 – 3 of 3) sorted by relevance

/development/tools/winscope/src/common/
Dtimestamp_utils_test.ts55 expect(TimestampUtils.isNsFormat('123')).toBeTrue();
56 expect(TimestampUtils.isNsFormat('123ns')).toBeTrue();
57 expect(TimestampUtils.isNsFormat('123 ns')).toBeTrue();
58 expect(TimestampUtils.isNsFormat(' 123 ns ')).toBeTrue();
59 expect(TimestampUtils.isNsFormat(' 123 ')).toBeTrue();
63 expect(TimestampUtils.isNsFormat('1a23')).toBeFalse();
64 expect(TimestampUtils.isNsFormat('a123 ns')).toBeFalse();
65 expect(TimestampUtils.isNsFormat('')).toBeFalse();
Dtimestamp_utils.ts32 static isNsFormat(timestampHuman: string): boolean { method in TimestampUtils
/development/tools/winscope/src/app/components/timeline/
Dtimeline_component.ts960 const valid = TimestampUtils.isNsFormat(control.value ?? '');