/development/tools/winscope/src/trace/tree_node/ |
D | property_tree_builder_from_proto_test.ts | 46 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/ |
D | entry_hierarchy_tree_factory_test.ts | 37 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 …]
|
D | entry_hierarchy_tree_factory.ts | 111 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/ |
D | presenter.ts | 101 (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/ |
D | entry_properties_tree_factory.ts | 106 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/ |
D | hierarchy_presenter.ts | 46 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 …]
|
D | properties_presenter_test.ts | 107 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();
|
D | hierarchy_presenter_test.ts | 164 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 …]
|
D | rects_presenter.ts | 36 tree: HierarchyTreeNode, 66 trees.forEach((tree) => { 67 this.allCurrentRects.push(...this.makeUiRectsStrategy(tree, trace));
|
D | abstract_presenter_input_method.ts | 52 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/ |
D | tree_component_test.ts | 161 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 …]
|
D | properties_component_test.ts | 116 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/ |
D | parser_protolog_utils.ts | 32 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/ |
D | presenter.ts | 123 (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/ |
D | parser_key_event.ts | 92 const tree = new PropertyTreeBuilderFromProto() constant 99 operation.apply(assertDefined(tree.getChildByName('keyEvent'))); 102 assertDefined(tree.getChildByName('windowDispatchEvents')), 104 return tree;
|
D | parser_motion_event.ts | 92 const tree = new PropertyTreeBuilderFromProto() constant 99 operation.apply(assertDefined(tree.getChildByName('motionEvent'))); 103 assertDefined(tree.getChildByName('windowDispatchEvents')), 106 return tree;
|
D | abstract_input_event_parser.ts | 110 protected processDispatchEventsTree(tree: PropertyTreeNode) { 112 operation.apply(tree);
|
/development/vndk/tools/header-checker/Documentation/ |
D | Development.md | 3 ## 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/ |
D | propagate_hash_codes.ts | 28 apply(tree: UiPropertyTreeNode): void { 29 tree.forEachNodeDfs((node) => {
|
/development/tools/winscope/src/parsers/transactions/perfetto/ |
D | parser_transactions.ts | 108 const tree = new PropertyTreeBuilderFromProto() constant 115 operation.apply(tree); 117 return tree;
|
/development/tools/winscope/src/viewers/viewer_input/ |
D | viewer_input_component_test.ts | 66 let tree: PropertyTreeNode; variable 71 tree = new PropertyTreeBuilder() 78 .setEntries([tree]) 246 tree, 247 tree,
|
/development/tools/winscope/src/parsers/transactions/legacy/ |
D | parser_transactions.ts | 120 const tree = new PropertyTreeBuilderFromProto() constant 127 operation.apply(tree); 129 return tree;
|
/development/tools/winscope/src/viewers/viewer_window_manager/ |
D | presenter.ts | 108 (tree: HierarchyTreeNode) => UI_RECT_FACTORY.makeUiRects(tree), 188 if (!selected.tree.isRoot()) { 196 protected override keepCalculated(tree: HierarchyTreeNode): boolean {
|
/development/tools/repo_diff/ |
D | README.md | 60 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/ |
D | android_test_parser.py | 42 tree = ET.parse(fname) 43 result = tree.getroot()
|