Home
last modified time | relevance | path

Searched refs:ArrayUtils (Results 1 – 9 of 9) sorted by relevance

/development/tools/winscope/src/common/
Darray_utils_test.ts17 import {ArrayUtils} from './array_utils';
21 expect(ArrayUtils.equal([], [1])).toBeFalse();
22 expect(ArrayUtils.equal([1], [])).toBeFalse();
24 expect(ArrayUtils.equal([], [])).toBeTrue();
25 expect(ArrayUtils.equal([undefined], [undefined])).toBeTrue();
26 expect(ArrayUtils.equal([1, 2, 3], [1, 2, 3])).toBeTrue();
28 expect(ArrayUtils.equal([], new Uint8Array(1))).toBeFalse();
29 expect(ArrayUtils.equal([1], new Uint8Array(1))).toBeFalse();
31 expect(ArrayUtils.equal([], new Uint8Array())).toBeTrue();
32 expect(ArrayUtils.equal([], new Uint8Array())).toBeTrue();
[all …]
Darray_utils.ts27 class ArrayUtils { class
139 let result = ArrayUtils.toUintLittleEndian(buffer, start, end);
150 export {ArrayUtils};
/development/tools/winscope/src/parsers/
Dparser_screen_recording.ts17 import {ArrayUtils} from 'common/array_utils';
107 let pos = ArrayUtils.searchSubarray(
122 const version = Number(ArrayUtils.toUintLittleEndian(videoData, pos, pos + 4));
133 const offset = ArrayUtils.toIntLittleEndian(videoData, pos, pos + 8);
142 const count = Number(ArrayUtils.toUintLittleEndian(videoData, pos, pos + 4));
157 const timestamp = ArrayUtils.toUintLittleEndian(videoData, pos, pos + 8);
Dparser_screen_recording_legacy.ts17 import {ArrayUtils} from 'common/array_utils';
65 let pos = ArrayUtils.searchSubarray(
80 const framesCount = Number(ArrayUtils.toUintLittleEndian(videoData, pos, pos + 4));
91 const value = ArrayUtils.toUintLittleEndian(videoData, pos, pos + 8) * 1000n;
Dabstract_parser.ts17 import {ArrayUtils} from 'common/array_utils';
37 const bufferContainsMagicNumber = ArrayUtils.equal(
/development/tools/winscope/src/trace/
Dtrace.ts17 import {ArrayUtils} from 'common/array_utils';
182 ArrayUtils.binarySearchFirstGreaterOrEqual(this.getFullTraceTimestamps(), time)
211 ArrayUtils.binarySearchFirstGreaterOrEqual(this.getFullTraceTimestamps(), time)
232 ArrayUtils.binarySearchFirstGreater(this.getFullTraceTimestamps(), time)
295 ArrayUtils.binarySearchFirstGreaterOrEqual(this.getFullTraceTimestamps(), start)
301 ArrayUtils.binarySearchFirstGreaterOrEqual(this.getFullTraceTimestamps(), end)
/development/tools/winscope/src/viewers/viewer_protolog/
Dpresenter.ts17 import {ArrayUtils} from 'common/array_utils';
168 ArrayUtils.binarySearchFirstGreaterOrEqual(
/development/tools/winscope/src/trace/flickerlib/
DObjectFormatter.ts17 import {ArrayUtils} from 'common/array_utils';
203 if (ArrayUtils.equal(Object.keys(obj).sort(), ['high_', 'low_'])) {
/development/tools/winscope/src/viewers/viewer_transactions/
Dpresenter.ts17 import {ArrayUtils} from 'common/array_utils';
254 ArrayUtils.binarySearchFirstGreaterOrEqual(