Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 25 of 48) sorted by relevance

12

/development/tools/winscope/src/trace/tree_node/
Dproperty_tree_builder_from_proto_test.ts46 const tree = builder.setData(proto).build(); constant
47 expect(tree).toEqual(expectedRoot);
68 const tree = builder.setData(proto).build(); constant
69 expect(tree).toEqual(expectedRoot);
90 const tree = builder.setData(proto).build(); constant
91 expect(tree).toEqual(expectedRoot);
119 const tree = builder.setData(proto).build(); constant
120 expect(tree).toEqual(expectedRoot);
149 const tree = builder.setData(proto).build(); constant
150 expect(tree).toEqual(expectedRoot);
[all …]
/development/tools/winscope/src/parsers/surface_flinger/
Dentry_hierarchy_tree_factory_test.ts37 const tree = factory.makeEntryHierarchyTree( constant
42 expect(tree.getAllChildren().length).toEqual(1);
43 expect(tree.getChildByName(testLayer.name)).toBeDefined();
44 expect(tree.getWarnings()).toEqual([new MissingLayerIds()]);
50 const tree = factory.makeEntryHierarchyTree( constant
55 expect(tree.getAllChildren().length).toEqual(2);
56 expect(tree.getChildByName(testLayer.name)).toBeDefined();
57 expect(tree.getChildByName(testLayer.name + ' duplicate(1)')).toBeDefined();
58 expect(tree.getWarnings()).toEqual([new DuplicateLayerIds([0])]);
68 const tree = factory.makeEntryHierarchyTree( constant
[all …]
Dentry_hierarchy_tree_factory.ts111 const tree = new HierarchyTreeBuilderSf() constant
122 tree.addWarning(new MissingLayerIds());
128 tree.addWarning(new DuplicateLayerIds(duplicateIds));
131 return tree;
/development/tools/winscope/src/viewers/viewer_view_capture/
Dpresenter.ts101 (tree: HierarchyTreeNode, trace: Trace<HierarchyTreeNode>) =>
103 tree,
291 private getCuratedProperties(tree: PropertyTreeNode): VcCuratedProperties {
293 className: tree.name,
294 hashcode: assertDefined(tree.getChildByName('hashcode')).formattedValue(),
295 left: assertDefined(tree.getChildByName('left')).formattedValue(),
296 top: assertDefined(tree.getChildByName('top')).formattedValue(),
298 tree.getChildByName('elevation'),
300 height: assertDefined(tree.getChildByName('height')).formattedValue(),
301 width: assertDefined(tree.getChildByName('width')).formattedValue(),
[all …]
/development/tools/winscope/src/parsers/transitions/
Dentry_properties_tree_factory.ts106 const tree = new PropertyTreeBuilderFromProto() constant
115 EntryPropertiesTreeFactory.SET_FORMATTERS_OPERATION.apply(tree);
116 return tree;
121 (operation) => operation.apply(tree),
134 const wmDataNode = assertDefined(tree.getChildByName('wmData'));
160 new SetFormatters(undefined, customFormatters).apply(tree);
162 EntryPropertiesTreeFactory.WM_INTDEF_OPERATION.apply(tree);
163 return tree;
170 const tree = new PropertyTreeBuilderFromProto() constant
179 EntryPropertiesTreeFactory.SET_FORMATTERS_OPERATION.apply(tree);
[all …]
/development/tools/winscope/src/viewers/common/
Dhierarchy_presenter.ts46 tree: HierarchyTreeNode,
53 tree: HierarchyTreeNode; property
138 const tree = trees[i]; constant
141 tree,
197 if (this.selectedTree.tree instanceof UiHierarchyTreeNode) {
198 selectedTree = this.selectedTree.tree;
201 (this.findSelectedTreeById(this.selectedTree.tree.id, true)
202 ?.tree as UiHierarchyTreeNode) ?? undefined;
243 const tree = await entry.getValue(); constant
244 currTrees.push({trace, trees: [tree], entry});
[all …]
Dproperties_presenter_test.ts107 const tree = await getFormattedTree(undefined, undefined, true); constant
108 expect(tree.getAllChildren().length).toEqual(3);
112 const tree = await getFormattedTree(undefined, 'Override Name'); constant
113 expect(tree.getDisplayName()).toEqual('Override Name');
124 const tree = await getFormattedTree(); constant
125 expect(tree.getChildByName('setProp')).toBeUndefined();
136 function getDiff(tree: UiPropertyTreeNode, propertyName: string): DiffType {
137 return assertDefined(tree.getChildByName(propertyName)).getDiff();
Dhierarchy_presenter_test.ts164 const selectedTree = {trace, tree: tree1, index: 0}; constant
191 tree: tree3,
266 const tree = getFormattedTree(); constant
267 expect(tree.findDfs((node) => node.name === 'Parent1')?.getDiff()).toEqual(
270 expect(tree.findDfs((node) => node.name === 'Parent2')?.getDiff()).toEqual(
298 trees.forEach((tree) => {
299 expect(tree.getAllChildren().length > 0).toBeTrue();
300 tree.forEachNodeDfs((node) =>
365 tree: assertDefined(tree1.getChildByName('Parent1')),
462 const tree = getFormattedTree(); constant
[all …]
Drects_presenter.ts36 tree: HierarchyTreeNode,
66 trees.forEach((tree) => {
67 this.allCurrentRects.push(...this.makeUiRectsStrategy(tree, trace));
Dabstract_presenter_input_method.ts52 tree: HierarchyTreeNode,
54 const where = tree.getEagerPropertyByName('where')?.formattedValue();
136 if (!selectedHierarchyTree || selectedHierarchyTree.tree.id !== newId) {
152 tree: selectedItem.treeNode,
196 protected override keepCalculated(tree: HierarchyTreeNode): boolean {
245 tree: selectedTree,
336 tree: wmHierarchyTree,
/development/tools/winscope/src/viewers/components/
Dtree_component_test.ts161 assertDefined(component.tree.getChildByName('Child78')),
162 assertDefined(component.tree.getChildByName('Child79')),
174 const child = component.tree.getAllChildren()[0] as UiHierarchyTreeNode;
183 component.tree = child;
199 component.tree = makeTree();
210 [component.tree.id, RectShowState.HIDE],
219 component.rectIdToShowState.set(component.tree.id, RectShowState.SHOW);
229 [component.tree.id, RectShowState.HIDE],
257 [component.tree.id, RectShowState.SHOW],
262 component.tree = TreeNodeUtils.makeUiPropertyNode(
[all …]
Dproperties_component_test.ts116 const tree = new PropertyTreeBuilder() constant
121 tree.setIsRoot(true);
122 component.propertiesTree = UiPropertyTreeNode.from(tree);
138 const tree = new PropertyTreeBuilder() constant
143 tree.setIsRoot(true);
144 component.propertiesTree = UiPropertyTreeNode.from(tree);
160 expect(highlightedItem).toEqual(tree.id);
/development/tools/winscope/src/parsers/protolog/
Dparser_protolog_utils.ts32 const tree = new PropertyTreeBuilderFromProto() constant
48 new TransformToTimestamp(['timestamp'], strategy).apply(tree);
49 new SetFormatters(undefined, customFormatters).apply(tree);
50 return tree;
/development/tools/winscope/src/viewers/viewer_surface_flinger/
Dpresenter.ts123 (tree: HierarchyTreeNode) => {
125 return UI_RECT_FACTORY.makeUiRects(tree, this.viewCapturePackageNames);
127 return UI_RECT_FACTORY.makeInputRects(tree, (id) => false);
229 return selected.tree.isRoot()
236 protected override keepCalculated(tree: HierarchyTreeNode): boolean {
237 return tree.isRoot();
280 if (selectedHierarchyTree.tree.isRoot()) {
284 selectedHierarchyTree.tree,
400 private getSummaryOfVisibility(tree: PropertyTreeNode): SfSummaryProperty[] {
402 const visibilityReason = tree.getChildByName('visibilityReason');
[all …]
/development/tools/winscope/src/parsers/input/perfetto/
Dparser_key_event.ts92 const tree = new PropertyTreeBuilderFromProto() constant
99 operation.apply(assertDefined(tree.getChildByName('keyEvent')));
102 assertDefined(tree.getChildByName('windowDispatchEvents')),
104 return tree;
Dparser_motion_event.ts92 const tree = new PropertyTreeBuilderFromProto() constant
99 operation.apply(assertDefined(tree.getChildByName('motionEvent')));
103 assertDefined(tree.getChildByName('windowDispatchEvents')),
106 return tree;
Dabstract_input_event_parser.ts110 protected processDispatchEventsTree(tree: PropertyTreeNode) {
112 operation.apply(tree);
/development/vndk/tools/header-checker/Documentation/
DDevelopment.md3 ## Checkout source tree
5 To checkout the source tree, run the following commands:
28 If you have a full source tree, you may build the tools with:
/development/tools/winscope/src/viewers/viewer_window_manager/operations/
Dpropagate_hash_codes.ts28 apply(tree: UiPropertyTreeNode): void {
29 tree.forEachNodeDfs((node) => {
/development/tools/winscope/src/parsers/transactions/perfetto/
Dparser_transactions.ts108 const tree = new PropertyTreeBuilderFromProto() constant
115 operation.apply(tree);
117 return tree;
/development/tools/winscope/src/viewers/viewer_input/
Dviewer_input_component_test.ts66 let tree: PropertyTreeNode; variable
71 tree = new PropertyTreeBuilder()
78 .setEntries([tree])
246 tree,
247 tree,
/development/tools/winscope/src/parsers/transactions/legacy/
Dparser_transactions.ts120 const tree = new PropertyTreeBuilderFromProto() constant
127 operation.apply(tree);
129 return tree;
/development/tools/winscope/src/viewers/viewer_window_manager/
Dpresenter.ts108 (tree: HierarchyTreeNode) => UI_RECT_FACTORY.makeUiRects(tree),
188 if (!selected.tree.isRoot()) {
196 protected override keepCalculated(tree: HierarchyTreeNode): boolean {
/development/tools/repo_diff/
DREADME.md60 1. Match projects in source tree A with projects in source tree B.
62 3. Find commits in source tree B that are not in source tree A.
69 After matching up projects in both source tree
95 2. Then we "git blame" the entire project's source tree and compile
96 a list of changes that actually have lines of code in the tree.
98 that have lines of code in the final source tree.
/development/tools/ops/
Dandroid_test_parser.py42 tree = ET.parse(fname)
43 result = tree.getroot()

12