Home
last modified time | relevance | path

Searched refs:PropertyTreeNode (Results 1 – 25 of 122) sorted by relevance

12345

/development/tools/winscope/src/parsers/view_capture/legacy/
Dhierarchy_tree_builder_vc_test.ts22 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
52 OperationChain.emptyChain<PropertyTreeNode>(),
53 OperationChain.emptyChain<PropertyTreeNode>(),
54 OperationChain.emptyChain<PropertyTreeNode>(),
73 OperationChain.emptyChain<PropertyTreeNode>(),
74 OperationChain.emptyChain<PropertyTreeNode>(),
75 OperationChain.emptyChain<PropertyTreeNode>(),
86 OperationChain.emptyChain<PropertyTreeNode>(),
87 OperationChain.emptyChain<PropertyTreeNode>(),
88 OperationChain.emptyChain<PropertyTreeNode>(),
[all …]
/development/tools/winscope/src/parsers/window_manager/
Dhierarchy_tree_builder_wm_test.ts22 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
28 let entryPropertiesTree: PropertyTreeNode;
41 OperationChain.emptyChain<PropertyTreeNode>(),
42 OperationChain.emptyChain<PropertyTreeNode>(),
43 OperationChain.emptyChain<PropertyTreeNode>(),
66 OperationChain.emptyChain<PropertyTreeNode>(),
67 OperationChain.emptyChain<PropertyTreeNode>(),
68 OperationChain.emptyChain<PropertyTreeNode>(),
90 OperationChain.emptyChain<PropertyTreeNode>(),
91 OperationChain.emptyChain<PropertyTreeNode>(),
[all …]
/development/tools/winscope/src/trace/tree_node/
Dproperties_provider_builder.ts20 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
27 private eagerProperties: PropertyTreeNode | undefined;
29 private commonOperations = OperationChain.emptyChain<PropertyTreeNode>();
30 private eagerOperations = OperationChain.emptyChain<PropertyTreeNode>();
31 private lazyOperations = OperationChain.emptyChain<PropertyTreeNode>();
33 setEagerProperties(value: PropertyTreeNode): this {
43 setCommonOperations(operations: Array<Operation<PropertyTreeNode>>): this {
44 this.commonOperations = new OperationChain<PropertyTreeNode>(operations);
48 setEagerOperations(operations: Array<Operation<PropertyTreeNode>>): this {
49 this.eagerOperations = new OperationChain<PropertyTreeNode>(operations);
[all …]
Dproperties_provider.ts22 PropertyTreeNode,
26 export type LazyPropertiesStrategyType = () => Promise<PropertyTreeNode>;
29 private eagerPropertiesRoot: PropertyTreeNode;
30 private lazyPropertiesRoot: PropertyTreeNode | undefined;
31 private allPropertiesRoot: PropertyTreeNode | undefined;
34 eagerPropertiesRoot: PropertyTreeNode,
38 private readonly commonOperations: OperationChain<PropertyTreeNode>,
39 private readonly eagerOperations: OperationChain<PropertyTreeNode>,
40 private readonly lazyOperations: OperationChain<PropertyTreeNode>,
47 getEagerProperties(): PropertyTreeNode {
[all …]
Dproperty_tree_node_factory.ts21 PropertyTreeNode,
35 ): PropertyTreeNode {
36 return new PropertyTreeNode(rootId, rootName, source, value);
43 ): PropertyTreeNode {
51 ): PropertyTreeNode {
64 ): PropertyTreeNode {
78 ): PropertyTreeNode {
91 ): PropertyTreeNode {
110 ): PropertyTreeNode {
111 return new PropertyTreeNode(`${rootId}.${key}`, key, source, value);
[all …]
Dformatters.ts21 import {PropertyTreeNode} from './property_tree_node';
34 format(node: PropertyTreeNode): string;
38 format(node: PropertyTreeNode): string {
56 format(node: PropertyTreeNode): string {
79 format(node: PropertyTreeNode): string {
94 format(node: PropertyTreeNode): string {
105 format(node: PropertyTreeNode): string {
113 format(node: PropertyTreeNode): string {
145 format(node: PropertyTreeNode): string {
155 format(node: PropertyTreeNode): string {
[all …]
Dformatters_test.ts36 import {PropertySource, PropertyTreeNode} from './property_tree_node';
43 new PropertyTreeNode('', '', PropertySource.PROTO, 12345),
48 new PropertyTreeNode('', '', PropertySource.PROTO, 'test_string'),
53 new PropertyTreeNode('', '', PropertySource.PROTO, 0.1234),
58 new PropertyTreeNode('', '', PropertySource.PROTO, 1.5),
66 new PropertyTreeNode('', '', PropertySource.PROTO, BigInt(123)),
74 new PropertyTreeNode('', '', PropertySource.PROTO, []),
79 new PropertyTreeNode('', '', PropertySource.PROTO, false),
84 new PropertyTreeNode('', '', PropertySource.PROTO, null),
159 new PropertyTreeNode('', '', PropertySource.PROTO, -1),
[all …]
/development/tools/winscope/src/parsers/surface_flinger/
Dhierarchy_tree_builder_sf_test.ts22 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
41 OperationChain.emptyChain<PropertyTreeNode>(),
42 OperationChain.emptyChain<PropertyTreeNode>(),
43 OperationChain.emptyChain<PropertyTreeNode>(),
72 OperationChain.emptyChain<PropertyTreeNode>(),
73 OperationChain.emptyChain<PropertyTreeNode>(),
74 OperationChain.emptyChain<PropertyTreeNode>(),
98 OperationChain.emptyChain<PropertyTreeNode>(),
99 OperationChain.emptyChain<PropertyTreeNode>(),
100 OperationChain.emptyChain<PropertyTreeNode>(),
[all …]
/development/tools/winscope/src/parsers/input_method/
Dhierarchy_tree_builder_input_method_test.ts23 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
28 let entryPropertiesTree: PropertyTreeNode;
41 OperationChain.emptyChain<PropertyTreeNode>(),
42 OperationChain.emptyChain<PropertyTreeNode>(),
43 OperationChain.emptyChain<PropertyTreeNode>(),
66 OperationChain.emptyChain<PropertyTreeNode>(),
67 OperationChain.emptyChain<PropertyTreeNode>(),
68 OperationChain.emptyChain<PropertyTreeNode>(),
85 OperationChain.emptyChain<PropertyTreeNode>(),
86 OperationChain.emptyChain<PropertyTreeNode>(),
[all …]
/development/tools/winscope/src/parsers/events/
Dtraces_parser_cujs.ts25 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
30 export class TracesParserCujs extends AbstractTracesParser<PropertyTreeNode> {
32 private readonly eventLogTrace: Trace<PropertyTreeNode> | undefined;
34 private decodedEntries: PropertyTreeNode[] | undefined;
73 getEntry(index: number): Promise<PropertyTreeNode> {
86 protected override getTimestamp(cuj: PropertyTreeNode): Timestamp {
101 private makeCujTimestampObject(timestamp: PropertyTreeNode): CujTimestamp {
115 private makeCujsFromEvents(events: PropertyTreeNode[]): PropertyTreeNode[] {
128 const cujs: PropertyTreeNode[] = [];
178 events: PropertyTreeNode[],
[all …]
/development/tools/winscope/src/parsers/transitions/legacy/
Dtraces_parser_transitions.ts25 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
27 export class TracesParserTransitions extends AbstractTracesParser<PropertyTreeNode> {
28 private readonly wmTransitionTrace: Trace<PropertyTreeNode> | undefined;
29 private readonly shellTransitionTrace: Trace<PropertyTreeNode> | undefined;
31 private decodedEntries: PropertyTreeNode[] | undefined;
57 const wmTransitionEntries: PropertyTreeNode[] = await Promise.all(
61 const shellTransitionEntries: PropertyTreeNode[] = await Promise.all(
76 override getEntry(index: number): Promise<PropertyTreeNode> {
97 protected override getTimestamp(decodedEntry: PropertyTreeNode): Timestamp {
117 allTransitions: PropertyTreeNode[],
[all …]
/development/tools/winscope/src/parsers/
Draw_data_utils.ts18 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
21 static isEmptyObj(obj: PropertyTreeNode): boolean {
33 static isColor(obj: PropertyTreeNode): boolean {
42 static isRect(obj: PropertyTreeNode): boolean {
51 static isBuffer(obj: PropertyTreeNode): boolean {
58 static isSize(obj: PropertyTreeNode): boolean {
66 static isPosition(obj: PropertyTreeNode): boolean {
74 static isRegion(obj: PropertyTreeNode): boolean {
80 .every((innerRect: PropertyTreeNode) => RawDataUtils.isRect(innerRect))
84 static isMatrix(obj: PropertyTreeNode): boolean {
[all …]
/development/tools/winscope/src/parsers/view_capture/perfetto/
Dhierarchy_tree_builder_vc_test.ts22 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
40 OperationChain.emptyChain<PropertyTreeNode>(),
41 OperationChain.emptyChain<PropertyTreeNode>(),
42 OperationChain.emptyChain<PropertyTreeNode>(),
57 OperationChain.emptyChain<PropertyTreeNode>(),
58 OperationChain.emptyChain<PropertyTreeNode>(),
59 OperationChain.emptyChain<PropertyTreeNode>(),
74 OperationChain.emptyChain<PropertyTreeNode>(),
75 OperationChain.emptyChain<PropertyTreeNode>(),
76 OperationChain.emptyChain<PropertyTreeNode>(),
[all …]
/development/tools/winscope/src/trace/
Dframe_mapper_test.ts28 import {PropertyTreeNode} from './tree_node/property_tree_node';
45 let protoLog: Trace<PropertyTreeNode>;
55 protoLog = new TraceBuilder<PropertyTreeNode>()
58 'entry-0' as unknown as PropertyTreeNode,
59 'entry-1' as unknown as PropertyTreeNode,
60 'entry-2' as unknown as PropertyTreeNode,
61 'entry-3' as unknown as PropertyTreeNode,
62 'entry-4' as unknown as PropertyTreeNode,
63 'entry-5' as unknown as PropertyTreeNode,
177 let transactions: Trace<PropertyTreeNode>;
[all …]
Dtrace_type.ts19 import {PropertyTreeNode} from './tree_node/property_tree_node';
53 [TraceType.PROTO_LOG]: PropertyTreeNode;
58 [TraceType.TRANSACTIONS]: PropertyTreeNode;
66 [TraceType.EVENT_LOG]: PropertyTreeNode;
67 [TraceType.WM_TRANSITION]: PropertyTreeNode;
68 [TraceType.SHELL_TRANSITION]: PropertyTreeNode;
69 [TraceType.TRANSITION]: PropertyTreeNode;
70 [TraceType.CUJS]: PropertyTreeNode;
74 [TraceType.INPUT_MOTION_EVENT]: PropertyTreeNode;
75 [TraceType.INPUT_KEY_EVENT]: PropertyTreeNode;
Dtransition.ts17 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
23 sendTime?: PropertyTreeNode;
24 dispatchTime?: PropertyTreeNode;
29 propertiesTree: PropertyTreeNode;
/development/tools/winscope/src/parsers/surface_flinger/operations/
Dadd_excludes_composition_state.ts18 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
21 export class AddExcludesCompositionState extends AddOperation<PropertyTreeNode> {
27 value: PropertyTreeNode,
28 ): PropertyTreeNode[] {
Dadd_excludes_composition_state_test.ts20 PropertyTreeNode,
25 let propertyRoot: PropertyTreeNode;
26 let expectedRoot: PropertyTreeNode;
30 propertyRoot = new PropertyTreeNode(
36 expectedRoot = new PropertyTreeNode(
Dupdate_transforms.ts19 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
22 export class UpdateTransforms implements Operation<PropertyTreeNode> {
23 apply(value: PropertyTreeNode): void {
46 transformNode: PropertyTreeNode | undefined,
47 positionNode: PropertyTreeNode | undefined,
/development/tools/winscope/src/parsers/operations/
Dtransform_to_timestamp.ts19 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
24 export class TransformToTimestamp extends AddOperation<PropertyTreeNode> {
32 override makeProperties(value: PropertyTreeNode): PropertyTreeNode[] {
33 const timestampNodes: PropertyTreeNode[] = [];
/development/tools/winscope/src/parsers/transitions/operations/
Dadd_real_to_elapsed_time_offset_timestamp.ts19 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
22 export class AddRealToBootTimeOffsetTimestamp extends AddOperation<PropertyTreeNode> {
29 value: PropertyTreeNode,
30 ): PropertyTreeNode[] {
Dadd_root_properties.ts19 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
22 export class AddRootProperties extends AddOperation<PropertyTreeNode> {
24 value: PropertyTreeNode,
25 ): PropertyTreeNode[] {
/development/tools/winscope/src/viewers/components/
Dime_additional_properties_component.ts26 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
393 wmInsetsSourceProvider(): PropertyTreeNode | undefined {
398 wmControlTargetFrame(): PropertyTreeNode | undefined {
434 wmInsetsSourceProviderSourceFrame(): PropertyTreeNode | undefined {
449 wmInsetsSourceProviderSourceVisibleFrame(): PropertyTreeNode | undefined {
455 wmImeControlTarget(): PropertyTreeNode | undefined {
469 wmImeInputTarget(): PropertyTreeNode | undefined {
483 wmImeLayeringTarget(): PropertyTreeNode | undefined {
497 sfImeContainerScreenBounds(): PropertyTreeNode | undefined {
504 sfImeContainerRect(): PropertyTreeNode | undefined {
/development/tools/winscope/src/parsers/window_manager/operations/
Dadd_is_visible.ts18 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
21 export class AddIsVisible extends AddOperation<PropertyTreeNode> {
23 value: PropertyTreeNode,
24 ): PropertyTreeNode[] {
/development/tools/winscope/src/test/unit/
Dtree_node_utils.ts19 import {PropertyTreeNode} from 'trace/tree_node/property_tree_node';
35 ): PropertyTreeNode {
54 ): PropertyTreeNode {
68 static makeBufferNode(): PropertyTreeNode {
86 ): PropertyTreeNode {
99 static makeTransformNode(type: TransformType): PropertyTreeNode {
110 ): PropertyTreeNode {
124 ): PropertyTreeNode {
151 ): PropertyTreeNode {
163 ): PropertyTreeNode {

12345