/development/tools/winscope/src/trace/ |
D | trace_type.ts | 21 export enum TraceType { enum 48 | TraceType.INPUT_METHOD_CLIENTS 49 | TraceType.INPUT_METHOD_MANAGER_SERVICE 50 | TraceType.INPUT_METHOD_SERVICE; 53 [TraceType.PROTO_LOG]: PropertyTreeNode; 54 [TraceType.SURFACE_FLINGER]: HierarchyTreeNode; 55 [TraceType.SCREEN_RECORDING]: ScreenRecordingTraceEntry; 56 [TraceType.SCREENSHOT]: ScreenRecordingTraceEntry; 57 [TraceType.SYSTEM_UI]: object; 58 [TraceType.TRANSACTIONS]: PropertyTreeNode; [all …]
|
D | frame_mapper_test.ts | 26 import {TraceType} from './trace_type'; 56 .setType(TraceType.PROTO_LOG) 69 .setType(TraceType.WINDOW_MANAGER) 86 Map<TraceType, Array<{}>> 90 new Map<TraceType, Array<{}>>([ 91 [TraceType.PROTO_LOG, ['entry-0', 'entry-1', 'entry-2']], 92 [TraceType.WINDOW_MANAGER, ['entry-0']], 97 new Map<TraceType, Array<{}>>([ 98 [TraceType.PROTO_LOG, ['entry-3', 'entry-4']], 99 [TraceType.WINDOW_MANAGER, ['entry-1']], [all …]
|
D | traces_test.ts | 27 import {TraceType} from './trace_type'; 43 let extractedEntriesEmpty: Map<TraceType, Array<{}>>; 44 let extractedEntriesFull: Map<TraceType, Array<{}>>; 45 let extractedFramesEmpty: Map<AbsoluteFrameIndex, Map<TraceType, Array<{}>>>; 46 let extractedFramesFull: Map<AbsoluteFrameIndex, Map<TraceType, Array<{}>>>; 61 .setType(TraceType.TEST_TRACE_STRING) 74 .setType(TraceType.TEST_TRACE_NUMBER) 86 extractedEntriesEmpty = new Map<TraceType, Array<{}>>([ 87 [TraceType.TEST_TRACE_STRING, []], 88 [TraceType.TEST_TRACE_NUMBER, []], [all …]
|
D | trace_info.ts | 17 import {TraceType} from 'trace/trace_type'; 45 [TraceType.WINDOW_MANAGER]: { 52 [TraceType.SURFACE_FLINGER]: { 59 [TraceType.SCREEN_RECORDING]: { 66 [TraceType.SCREENSHOT]: { 73 [TraceType.TRANSACTIONS]: { 80 [TraceType.TRANSACTIONS_LEGACY]: { 87 [TraceType.WAYLAND]: { 94 [TraceType.WAYLAND_DUMP]: { 101 [TraceType.PROTO_LOG]: { [all …]
|
D | frame_mapper.ts | 22 import {TraceType} from './trace_type'; 37 TraceType.SCREEN_RECORDING, 38 TraceType.SURFACE_FLINGER, constant 39 TraceType.WINDOW_MANAGER, constant 65 TraceType.SCREEN_RECORDING, 66 TraceType.SURFACE_FLINGER, 70 TraceType.SURFACE_FLINGER, 71 TraceType.TRANSACTIONS, 75 TraceType.SURFACE_FLINGER, 76 TraceType.VIEW_CAPTURE, [all …]
|
D | traces.ts | 20 import {TraceEntryTypeMap, TraceType} from './trace_type'; 29 getTrace<T extends TraceType>( 54 getTraces<T extends TraceType>(type: T): Array<Trace<TraceEntryTypeMap[T]>> { 64 deleteTracesByType(type: TraceType) { 93 forEachTrace(callback: (trace: Trace<{}>, type: TraceType) => void): void { 99 mapTrace<T>(callback: (trace: Trace<{}>, type: TraceType) => T): T[] {
|
/development/tools/winscope/src/app/components/timeline/expanded-timeline/ |
D | expanded_timeline_component_test.ts | 34 import {TraceType} from 'trace/trace_type'; 80 .setEntries(TraceType.SURFACE_FLINGER, [{}]) 81 .setTimestamps(TraceType.SURFACE_FLINGER, [time10]) 82 .setEntries(TraceType.WINDOW_MANAGER, [{}]) 83 .setTimestamps(TraceType.WINDOW_MANAGER, [time11]) 84 .setEntries(TraceType.TRANSACTIONS, [{}]) 85 .setTimestamps(TraceType.TRANSACTIONS, [time12]) 86 .setEntries(TraceType.TRANSITION, [ 120 .setTimestamps(TraceType.TRANSITION, [time10, time60]) 121 .setTimestamps(TraceType.PROTO_LOG, []) [all …]
|
/development/tools/winscope/src/app/components/timeline/ |
D | timeline_component_test.ts | 50 import {TraceType} from 'trace/trace_type'; 127 .setTimestamps(TraceType.SURFACE_FLINGER, [time100, time110]) 171 .setEntries(TraceType.SURFACE_FLINGER, []) 215 .setTimestamps(TraceType.SURFACE_FLINGER, []) 216 .setTimestamps(TraceType.WINDOW_MANAGER, [time100]) 239 getLoadedTrace(TraceType.SURFACE_FLINGER), 245 await updateActiveTrace(TraceType.SURFACE_FLINGER); 246 expectSelectedTraceTypes([TraceType.SURFACE_FLINGER]); 249 await updateActiveTrace(TraceType.SCREEN_RECORDING); 251 TraceType.SURFACE_FLINGER, [all …]
|
/development/tools/winscope/src/test/unit/ |
D | traces_builder.ts | 20 import {TraceType} from 'trace/trace_type'; 24 private readonly traceBuilders = new Map<TraceType, TraceBuilder<{}>>(); 26 setEntries(type: TraceType, entries: Array<{}>): TracesBuilder { 32 setTimestamps(type: TraceType, timestamps: Timestamp[]): TracesBuilder { 38 setFrameMap(type: TraceType, frameMap: FrameMap | undefined): TracesBuilder { 52 private getOrCreateTraceBuilder(type: TraceType): TraceBuilder<{}> {
|
D | traces_utils.ts | 20 import {TraceType} from 'trace/trace_type'; 30 ): Promise<Map<TraceType, Array<{}>>> { 31 const entries = new Map<TraceType, Array<{}>>(); 43 ): Promise<Map<AbsoluteFrameIndex, Map<TraceType, Array<{}>>>> { 44 const frames = new Map<AbsoluteFrameIndex, Map<TraceType, Array<{}>>>(); 47 frames.set(index, new Map<TraceType, Array<{}>>());
|
D | utils.ts | 29 import {TraceEntryTypeMap, TraceType} from 'trace/trace_type'; 47 static async getTrace<T extends TraceType>( 133 static async getPerfettoParser<T extends TraceType>( 245 [Map<TraceType, HierarchyTreeNode>, Map<TraceType, HierarchyTreeNode>] 263 const entries = new Map<TraceType, HierarchyTreeNode>(); 265 TraceType.INPUT_METHOD_CLIENTS, 269 TraceType.INPUT_METHOD_MANAGER_SERVICE, 275 TraceType.INPUT_METHOD_SERVICE, 278 entries.set(TraceType.SURFACE_FLINGER, surfaceFlingerEntry); 279 entries.set(TraceType.WINDOW_MANAGER, windowManagerEntry); [all …]
|
/development/tools/winscope/src/app/ |
D | timeline_data_test.ts | 23 import {TraceType} from 'trace/trace_type'; 36 .setTimestamps(TraceType.PROTO_LOG, [timestamp9]) 37 .setTimestamps(TraceType.EVENT_LOG, [timestamp9]) 38 .setTimestamps(TraceType.SURFACE_FLINGER, [timestamp10]) 39 .setTimestamps(TraceType.WINDOW_MANAGER, [timestamp11]) 42 const traceSf = assertDefined(traces.getTrace(TraceType.SURFACE_FLINGER)); 43 const traceWm = assertDefined(traces.getTrace(TraceType.WINDOW_MANAGER)); 46 assertDefined(traces.getTrace(TraceType.SURFACE_FLINGER)).getEntry(0), 49 assertDefined(traces.getTrace(TraceType.WINDOW_MANAGER)).getEntry(0), 72 .setTimestamps(TraceType.SURFACE_FLINGER, [timestamp10, timestamp11]) [all …]
|
D | loaded_parsers_test.ts | 28 import {TraceType} from 'trace/trace_type'; 59 .setType(TraceType.SURFACE_FLINGER) 64 .setType(TraceType.SURFACE_FLINGER) 69 .setType(TraceType.SURFACE_FLINGER) 74 .setType(TraceType.SURFACE_FLINGER) 79 .setType(TraceType.SURFACE_FLINGER) 85 .setType(TraceType.WINDOW_MANAGER) 90 .setType(TraceType.WINDOW_MANAGER) 95 .setType(TraceType.WINDOW_MANAGER) 100 .setType(TraceType.WINDOW_MANAGER) [all …]
|
D | trace_pipeline_test.ts | 31 import {TraceType} from 'trace/trace_type'; 74 expect(traceEntries.get(TraceType.WINDOW_MANAGER)?.length).toBeGreaterThan( 77 expect(traceEntries.get(TraceType.SURFACE_FLINGER)?.length).toBeGreaterThan( 97 expect(traceEntries.get(TraceType.WINDOW_MANAGER)?.length).toBeGreaterThan( 170 expect(traces.getTrace(TraceType.SURFACE_FLINGER)).toBeDefined(); 171 expect(traces.getTrace(TraceType.WINDOW_MANAGER)).toBeUndefined(); // ignored 172 expect(traces.getTrace(TraceType.INPUT_METHOD_CLIENTS)).toBeDefined(); 280 tracePipeline.getTraces().getTrace(TraceType.SURFACE_FLINGER), 283 tracePipeline.getTraces().getTrace(TraceType.WINDOW_MANAGER), 301 TraceType.SURFACE_FLINGER, [all …]
|
D | loaded_parsers.ts | 28 import {TraceType} from 'trace/trace_type'; 38 TraceType.CUJS, 39 TraceType.EVENT_LOG, 207 const legacyParsersBeingLoaded = new Map<TraceType, Parser<object>>(); 253 parsersBeingLoaded: Map<TraceType, Parser<object>>, 344 if (parser.getTraceType() === TraceType.WM_TRANSITION) { 372 (entry) => entry.parser.getTraceType() === TraceType.SCREEN_RECORDING, 375 (entry) => entry.parser.getTraceType() === TraceType.SCREEN_RECORDING, 386 fileAndParser.parser.getTraceType() === TraceType.SCREENSHOT, 390 fileAndParser.parser.getTraceType() === TraceType.SCREENSHOT, [all …]
|
/development/tools/winscope/src/trace_collection/ |
D | trace_collection_utils.ts | 18 import {TraceType} from 'trace/trace_type'; 117 name: TRACE_INFO[TraceType.SURFACE_FLINGER].name, constant 125 name: TRACE_INFO[TraceType.WINDOW_MANAGER].name, constant 133 name: TRACE_INFO[TraceType.SCREEN_RECORDING].name, constant 143 name: TRACE_INFO[TraceType.TRANSACTIONS].name, constant 148 name: TRACE_INFO[TraceType.PROTO_LOG].name, constant 153 name: TRACE_INFO[TraceType.WAYLAND].name, constant 158 name: TRACE_INFO[TraceType.EVENT_LOG].name, constant 163 name: TRACE_INFO[TraceType.SHELL_TRANSITION].name, constant
|
/development/tools/winscope/src/viewers/viewer_window_manager/ |
D | viewer_window_manager_component.ts | 18 import {TraceType} from 'trace/trace_type'; 62 [traceType]="${TraceType.WINDOW_MANAGER}" 76 TraceType = TraceType; property in ViewerWindowManagerComponent
|
D | ui_data.ts | 16 import {TraceType} from 'trace/trace_type'; 26 readonly dependencies: TraceType[] = [TraceType.WINDOW_MANAGER];
|
/development/tools/winscope/src/viewers/viewer_transitions/ |
D | presenter_test.ts | 24 import {TraceType} from 'trace/trace_type'; 32 .setEntries(TraceType.TRANSITION, []) 34 const trace = assertDefined(traces.getTrace(TraceType.TRANSITION)); 50 TraceType.TRANSITION, 55 .setType(TraceType.TRANSITION)
|
/development/tools/winscope/src/viewers/common/ |
D | abstract_presenter_input_method_test.ts | 24 import {ImeTraceType, TraceType} from 'trace/trace_type'; 43 private entries: Map<TraceType, HierarchyTreeNode> | undefined; 54 let secondEntries: Map<TraceType, HierarchyTreeNode>; 70 const sfEntry = this.entries.get(TraceType.SURFACE_FLINGER); 74 .setType(TraceType.SURFACE_FLINGER) 81 const wmEntry = this.entries.get(TraceType.WINDOW_MANAGER); 85 .setType(TraceType.WINDOW_MANAGER) 190 let entries: Map<TraceType, HierarchyTreeNode>; 207 setUpPresenter([imeTraceType, TraceType.WINDOW_MANAGER]); 215 setUpPresenter([imeTraceType, TraceType.SURFACE_FLINGER]); [all …]
|
/development/tools/winscope/src/viewers/viewer_surface_flinger/ |
D | viewer_surface_flinger_component.ts | 19 import {TraceType} from 'trace/trace_type'; 77 [traceType]="${TraceType.SURFACE_FLINGER}" 102 TraceType = TraceType; property in ViewerSurfaceFlingerComponent
|
D | ui_data.ts | 17 import {TraceType} from 'trace/trace_type'; 28 readonly dependencies: TraceType[] = [TraceType.SURFACE_FLINGER];
|
/development/tools/winscope/src/viewers/viewer_view_capture/ |
D | ui_data.ts | 17 import {TraceType} from 'trace/trace_type'; 28 readonly dependencies: TraceType[] = [TraceType.VIEW_CAPTURE];
|
D | viewer_view_capture.ts | 23 import {TraceType} from 'trace/trace_type'; 32 static readonly DEPENDENCIES: TraceType[] = [TraceType.VIEW_CAPTURE]; 64 TRACE_INFO[TraceType.VIEW_CAPTURE].name,
|
/development/tools/winscope/src/parsers/screen_recording/ |
D | parser_screenshot.ts | 21 import {TraceType} from 'trace/trace_type'; 28 override getTraceType(): TraceType { 29 return TraceType.SCREENSHOT;
|