1/* 2 * Copyright (C) 2022 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17export interface TraceTreeNode { 18 children: TraceTreeNode[]; 19 name: string; 20 kind: string; 21 stableId: string; 22 parent?: TraceTreeNode; 23 displays?: TraceTreeNode[]; 24 windowStates?: TraceTreeNode[]; 25 client?: any; 26 inputMethodService?: any; 27 inputMethodManagerService?: any; 28 where?: string; 29 elapsedRealtimeNanos?: number | bigint; 30 clockTimeNanos?: number | bigint; 31 shortName?: string; 32 type?: string; 33 id?: string | number; 34 layerId?: number; 35 displayId?: number; 36 stackId?: number; 37 isVisible?: boolean; 38 isMissing?: boolean; 39 hwcCompositionType?: number; 40 zOrderRelativeOfId?: number; 41 isRootLayer?: boolean; 42 diffType?: string; 43 skip?: any; 44 obj?: any; 45 proto?: any; 46 equals?: any; 47} 48