Home
last modified time | relevance | path

Searched refs:it (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/development/tools/winscope/src/parsers/transitions/perfetto/
Dparser_transitions.ts37 (it) => (assertDefined(this.handlerIdToName)[it.id] = it.name),
67 for (const it = result.iter({}); it.valid(); it.next()) { constant
69 it.get('key') as string,
70 it.get('value_type') as string,
71 it.get('int_value') as bigint | undefined,
72 it.get('real_value') as number | undefined,
73 it.get('string_value') as string | undefined,
131 for (const it = result.iter({}); it.valid(); it.next()) { constant
133 id: it.get('handler_id') as number,
134 name: it.get('handler_name') as string,
/development/tools/winscope/src/parsers/perfetto/
Dutils.ts45 for (const it = result.iter({}); it.valid(); it.next()) { constant
47 it.get('key') as string,
48 it.get('value_type') as string,
49 it.get('int_value') as bigint | undefined,
50 it.get('real_value') as number | undefined,
51 it.get('string_value') as string | undefined,
92 for (const it = result.iter({}); it.valid(); it.next()) { constant
93 const value = it.get('int_value') as bigint | undefined;
94 const valueType = it.get('value_type') as string;
/development/tools/winscope/src/parsers/input/perfetto/
Dabstract_input_event_parser.ts81 for (const it = result.iter({}); it.valid(); ) { constant
83 const prevId = it.get('id');
84 while (it.valid() && it.get('id') === prevId) {
86 it.get('key') as string,
87 it.get('value_type') as string,
88 it.get('int_value') as bigint | undefined,
89 it.get('real_value') as number | undefined,
90 it.get('string_value') as string | undefined,
92 it.next();
/development/tools/winscope/src/viewers/viewer_surface_flinger/
Dviewer_surface_flinger_component_test.ts82 it('can be created', () => {
86 it('creates rects view', () => {
91 it('creates hierarchy view', () => {
96 it('creates property groups view', () => {
101 it('creates properties view', () => {
106 it('creates collapsed sections with no buttons', () => {
110 it('handles rects section collapse/expand', () => {
119 it('handles hierarchy section collapse/expand', () => {
128 it('handles property groups section collapse/expand', () => {
137 it('handles properties section collapse/expand', () => {
/development/tools/winscope/src/viewers/components/
Dviewer_input_method_component_test.ts67 it('can be created', () => {
71 it('creates hierarchy view', () => {
76 it('creates additional properties view', () => {
83 it('creates properties view', () => {
88 it('creates collapsed sections with no buttons', () => {
92 it('handles hierarchy section collapse/expand', () => {
101 it('handles ime additional properties section collapse/expand', () => {
110 it('handles properties section collapse/expand', () => {
Dsurface_flinger_property_groups_component_test.ts57 it('can be created', () => {
61 it('renders flags', () => {
66 it('renders simple summary property', () => {
73 it('renders interactive summary property', () => {
82 it('emits highlighted id event', () => {
94 it('displays calculated geometry', () => {
107 it('displays requested geometry', () => {
117 it('displays buffer info', () => {
132 it('displays hierarchy info', () => {
141 it('displays simple calculated effects', () => {
[all …]
/development/tools/winscope/src/parsers/surface_flinger/legacy/
Dparser_surface_flinger_dump_test.ts38 it('has expected trace type', () => {
42 it('has expected coarse version', () => {
46 it('provides timestamps (always zero)', () => {
51 it('does not apply timezone info', async () => {
61 it('retrieves trace entry', async () => {
76 it('has expected trace type', () => {
80 it('has expected coarse version', () => {
84 it('provides timestamp (always zero)', () => {
Dparser_surface_flinger_test.ts44 it('has expected trace type', () => {
48 it('has expected coarse version', () => {
52 it('provides timestamps', () => {
63 it('provides correct root entry node', async () => {
69 it('decodes layer state flags', async () => {
120 it('supports VSYNCID custom query', async () => {
128 it('supports SF_LAYERS_ID_AND_NAME custom query', async () => {
139 it('is robust to duplicated layer ids', async () => {
182 it('has expected trace type', () => {
186 it('has expected coarse version', () => {
[all …]
/development/tools/winscope/src/trace/tree_node/
Dformatters_test.ts40 it('translates simple values correctly', () => {
63 it('translates values with toString method correctly', () => {
71 it('translates default values correctly', () => {
91 it('translates empty color to string correctly', () => {
100 it('translates non-empty color to string correctly', () => {
109 it('translates rgb color without alpha to string correctly (transactions)', () => {
122 it('translates empty rect to string correctly', () => {
131 it('translates non-empty rect to string correctly', () => {
147 it('translates buffer to string correctly', () => {
156 it('translates -1 id correctly', () => {
[all …]
Dproperty_tree_node_factory_test.ts31 it('makes property node root', () => {
47 it('makes node with string value', () => {
60 it('makes node with integer value', () => {
73 it('makes node with boolean value', () => {
86 it('makes node with bigint value', () => {
103 it('makes simple properties nested in object', () => {
124 it('makes simple properties nested in array', () => {
146 it('makes object properties nested in array', () => {
173 it('makes array properties nested in array', () => {
200 it('makes simple calculated property', () => {
[all …]
/development/tools/winscope/src/app/
Dloaded_parsers_test.ts144 it('can load a single legacy parser', () => {
149 it('can load a single perfetto parser', () => {
154 it('loads multiple perfetto parsers with same trace type', async () => {
159it('loads legacy parser without dropping already-loaded legacy parser (different trace type)', asy…
167it('loads legacy parser without dropping already-loaded legacy parser (same trace type)', async ()…
175 it('drops elapsed-only parsers if parsers with real timestamps present', () => {
180 it('doesnt drop elapsed-only parsers if no parsers with real timestamps present', () => {
185 it('keeps real-time parsers without offset', () => {
197 it('taking into account other legacy parsers', () => {
202 it('taking into account perfetto parsers', () => {
[all …]
Dtrace_pipeline_test.ts60 it('can load valid trace files', async () => {
82 it('can load valid gzipped file', async () => {
102 it('can set download archive filename based on files source', async () => {
118it('can convert illegal uploaded archive filename to legal name for download archive', async () =>…
128 it('detects bugreports and filters out files based on their directory', async () => {
175 it('detects bugreports and extracts timezone info, then calculates utc offset', async () => {
211 it('is robust to corrupted archive', async () => {
224 it('is robust to invalid trace files', async () => {
236 it('is robust to invalid perfetto trace files', async () => {
261 it('is robust to mixed valid and invalid trace files', async () => {
[all …]
Dtrace_file_filter_test.ts46 it('ignores non-trace dirs', async () => {
92 it('picks perfetto systrace.pftrace', async () => {
116 it('ignores perfetto traces other than systrace.pftrace', async () => {
135 it('identifies timezone information from bugreport codename file', async () => {
155 it('unzips trace files within bugreport zip', async () => {
175 it('picks perfetto trace with .perfetto-trace extension', async () => {
180 it('picks perfetto trace with .pftrace extension', async () => {
185 it('picks perfetto trace with .perfetto extension', async () => {
190 it('picks perfetto trace with .perfetto-trace.gz extension', async () => {
195 it('picks perfetto trace with .pftrace.gz extension', async () => {
[all …]
/development/tools/winscope/src/common/
Dutc_offset_test.ts23 it('sets positive offset for whole single-digit number hours', () => {
28 it('sets positive offset for whole double-digit number hours', () => {
33 it('sets positive offset for fractional hours', () => {
38 it('sets negative offset for whole single-digit number hours', () => {
43 it('sets negative offset for whole double-digit number hours', () => {
48 it('sets negative offset for fractional hours', () => {
53 it('does not set offset for invalid value', () => {
Dfile_utils_test.ts20 it('extracts file extensions', () => {
26 it('removes directory from filename', () => {
35 it('removes extension from filename', () => {
44 it('creates zip archive', async () => {
51 it('unzips archive', async () => {
59 it('decompresses gzipped file', async () => {
68 it('has download filename regex that accepts all expected inputs', () => {
76 it('has download filename regex that rejects all expected inputs', () => {
/development/tools/winscope/src/viewers/viewer_window_manager/
Dviewer_window_manager_component_test.ts74 it('can be created', () => {
78 it('creates rects view', () => {
83 it('creates hierarchy view', () => {
88 it('creates properties view', () => {
93 it('creates collapsed sections with no buttons', () => {
97 it('handles rects section collapse/expand', () => {
106 it('handles hierarchy section collapse/expand', () => {
115 it('handles properties section collapse/expand', () => {
/development/tools/winscope/src/viewers/viewer_view_capture/
Dviewer_view_capture_component_test.ts75 it('can be created', () => {
79 it('creates rects view', () => {
84 it('creates hierarchy view', () => {
89 it('creates properties view', () => {
94 it('creates collapsed sections with no buttons', () => {
98 it('handles rects section collapse/expand', () => {
107 it('handles hierarchy section collapse/expand', () => {
116 it('handles properties section collapse/expand', () => {
/development/vndk/tools/header-checker/src/utils/
Dconfig_file.h45 auto &&it = map_.find(name); in GetProperty()
46 if (it == map_.end()) { in GetProperty()
49 return it->second; in GetProperty()
96 auto &&it = map_.find({section_name, version}); in GetSection()
97 assert(it != map_.end()); in GetSection()
98 return it->second; in GetSection()
107 auto &&it = map_.find({section_name, version}); in HasProperty()
108 if (it == map_.end()) { in HasProperty()
111 return it->second.HasProperty(property_name); in HasProperty()
116 auto &&it = map_.find({section_name, version}); in GetProperty()
[all …]
/development/tools/winscope/src/cross_tool/
Dorigin_allow_list_test.ts23 it('allows localhost', () => {
36 it('allows google.com', () => {
43 it('denies pseudo google.com', () => {
52 it('allows googleplex.com', () => {
61 it('denies pseudo googleplex.com', () => {
73 it('allows perfetto.dev', () => {
82 it('denies pseudo perfetto.dev', () => {
/development/tools/winscope/src/parsers/input_method/legacy/
Dparser_input_method_manager_service_test.ts35 it('has expected trace type', () => {
40 it('has expected coarse version', () => {
44 it('provides timestamps', () => {
50 it('retrieves trace entry', async () => {
66 it('has expected trace type', () => {
72 it('provides timestamps', () => {
78 it('retrieves trace entry from timestamp', async () => {
Dparser_input_method_service_test.ts35 it('has expected trace type', () => {
39 it('has expected coarse version', () => {
43 it('provides timestamps', () => {
50 it('retrieves trace entry', async () => {
66 it('has expected trace type', () => {
70 it('provides timestamps', () => {
76 it('retrieves trace entry', async () => {
Dparser_input_method_clients_test.ts36 it('has expected trace type', () => {
40 it('has expected coarse version', () => {
44 it('provides timestamps', () => {
55 it('retrieves trace entry', async () => {
72 it('has expected trace type', () => {
76 it('provides timestamps', () => {
82 it('retrieves trace entry from timestamp', async () => {
88 it('translates intdefs', async () => {
/development/tools/winscope/src/viewers/viewer_transactions/operations/
Dset_root_display_name_test.ts28 it('sets display name LayerState', () => {
37 it('sets display name DisplayState for change in display', () => {
49 it('sets display name DisplayState for added display', () => {
58 it('sets display name LayerCreationArgs', () => {
67 it('sets display name destroyedLayerId', () => {
79 it('sets display name removedDisplayId', () => {
91 it('sets display name destroyedLayerHandleId', () => {
/development/tools/winscope/src/parsers/window_manager/
Dparser_window_manager_test.ts43 it('has expected trace type', () => {
47 it('has expected coarse version', () => {
51 it('provides timestamps', () => {
62 it('retrieves trace entry', async () => {
68 it('supports WM_WINDOWS_TOKEN_AND_TITLE custom query', async () => {
86 it('has expected trace type', () => {
90 it('provides timestamps', () => {
99 it('retrieves trace entry', async () => {
/development/tools/winscope/src/parsers/transactions/legacy/
Dparser_transactions_test.ts37 it('has expected trace type', () => {
41 it('has expected coarse version', () => {
45 it('provides timestamps', () => {
58 it('retrieves trace entry from timestamp', async () => {
63 it("decodes 'what' field in proto", async () => {
107 it('supports VSYNCID custom query', async () => {
129 it('has expected trace type', () => {
133 it('provides timestamps', () => {

12345678910>>...12