/development/tools/winscope/src/trace/ |
D | trace_type.ts | 22 export enum TraceType { enum 50 [TraceType.ACCESSIBILITY]: object; 51 [TraceType.LAUNCHER]: object; 52 [TraceType.PROTO_LOG]: LogMessage; 53 [TraceType.SURFACE_FLINGER]: LayerTraceEntry; 54 [TraceType.SCREEN_RECORDING]: ScreenRecordingTraceEntry; 55 [TraceType.SYSTEM_UI]: object; 56 [TraceType.TRANSACTIONS]: object; 57 [TraceType.TRANSACTIONS_LEGACY]: object; 58 [TraceType.WAYLAND]: object; [all …]
|
D | frame_mapper_test.ts | 28 import {TraceType} from './trace_type'; 76 traces.setTrace(TraceType.PROTO_LOG, protoLog); 77 traces.setTrace(TraceType.WINDOW_MANAGER, windowManager); 82 const expectedFrames = new Map<AbsoluteFrameIndex, Map<TraceType, Array<{}>>>(); 85 new Map<TraceType, Array<{}>>([ 86 [TraceType.PROTO_LOG, ['entry-0', 'entry-1', 'entry-2']], 87 [TraceType.WINDOW_MANAGER, ['entry-0']], 92 new Map<TraceType, Array<{}>>([ 93 [TraceType.PROTO_LOG, ['entry-3', 'entry-4']], 94 [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<{}>>>; 60 TraceType.TEST_TRACE_STRING, 62 .setType(TraceType.TEST_TRACE_STRING) 74 TraceType.TEST_TRACE_NUMBER, 76 .setType(TraceType.TEST_TRACE_NUMBER) 88 extractedEntriesEmpty = new Map<TraceType, Array<{}>>([ [all …]
|
D | trace_entry_finder.ts | 19 import {TraceType} from './trace_type'; 23 TraceType.INPUT_METHOD_CLIENTS, 24 TraceType.INPUT_METHOD_SERVICE, 25 TraceType.INPUT_METHOD_MANAGER_SERVICE, 26 TraceType.PROTO_LOG, 27 TraceType.WINDOW_MANAGER, 28 TraceType.TRANSACTIONS, 29 TraceType.SURFACE_FLINGER, 30 TraceType.SCREEN_RECORDING,
|
D | frame_mapper.ts | 21 import {TraceType} from './trace_type'; 36 TraceType.SCREEN_RECORDING, 37 TraceType.SURFACE_FLINGER, constant 38 TraceType.WINDOW_MANAGER, constant 69 TraceType.SCREEN_RECORDING, 70 TraceType.SURFACE_FLINGER 76 const screenRecording = assertDefined(this.traces.getTrace(TraceType.SCREEN_RECORDING)); 77 const surfaceFlinger = assertDefined(this.traces.getTrace(TraceType.SURFACE_FLINGER)); 95 TraceType.SURFACE_FLINGER, 96 TraceType.TRANSACTIONS [all …]
|
D | traces.ts | 20 import {TraceEntryTypeMap, TraceType} from './trace_type'; 23 private traces = new Map<TraceType, Trace<{}>>(); 25 setTrace<T extends TraceType>(type: T, trace: Trace<TraceEntryTypeMap[T]>) { 29 getTrace<T extends TraceType>(type: T): Trace<TraceEntryTypeMap[T]> | undefined { 33 deleteTrace<T extends TraceType>(type: T) { 53 forEachTrace(callback: (trace: Trace<{}>, type: TraceType) => void): void { 59 mapTrace<T>(callback: (trace: Trace<{}>, type: TraceType) => T): T[] {
|
/development/tools/winscope/src/app/ |
D | trace_icons.ts | 1 import {TraceType} from 'trace/trace_type'; 21 [TraceType.ACCESSIBILITY]: ACCESSIBILITY_ICON, 22 [TraceType.WINDOW_MANAGER]: WINDOW_MANAGER_ICON, constant 23 [TraceType.SURFACE_FLINGER]: SURFACE_FLINGER_ICON, constant 24 [TraceType.SCREEN_RECORDING]: SCREEN_RECORDING_ICON, constant 25 [TraceType.TRANSACTIONS]: TRANSACTION_ICON, constant 26 [TraceType.TRANSACTIONS_LEGACY]: TRANSACTION_ICON, constant 27 [TraceType.WAYLAND]: WAYLAND_ICON, constant 28 [TraceType.WAYLAND_DUMP]: WAYLAND_ICON, constant 29 [TraceType.PROTO_LOG]: PROTO_LOG_ICON, constant [all …]
|
D | trace_info.ts | 17 import {TraceType} from 'trace/trace_type'; 45 [TraceType.ACCESSIBILITY]: { 51 [TraceType.WINDOW_MANAGER]: { 57 [TraceType.SURFACE_FLINGER]: { 63 [TraceType.SCREEN_RECORDING]: { 69 [TraceType.TRANSACTIONS]: { 75 [TraceType.TRANSACTIONS_LEGACY]: { 81 [TraceType.WAYLAND]: { 87 [TraceType.WAYLAND_DUMP]: { 93 [TraceType.PROTO_LOG]: { [all …]
|
D | timeline_data_test.ts | 20 import {TraceType} from 'trace/trace_type'; 29 .setTimestamps(TraceType.SURFACE_FLINGER, [timestamp10]) 30 .setTimestamps(TraceType.WINDOW_MANAGER, [timestamp11]) 34 traces.getTrace(TraceType.SURFACE_FLINGER)!.getEntry(0) 37 traces.getTrace(TraceType.WINDOW_MANAGER)!.getEntry(0) 55 .setTimestamps(TraceType.SURFACE_FLINGER, [timestamp10, timestamp11]) 56 .setTimestamps(TraceType.WINDOW_MANAGER, [new Timestamp(TimestampType.REAL, 0n)]) 60 expect(timelineData.getTraces().getTrace(TraceType.WINDOW_MANAGER)).toBeUndefined(); 78 timelineData.setActiveViewTraceTypes([TraceType.SURFACE_FLINGER]); 81 timelineData.setActiveViewTraceTypes([TraceType.WINDOW_MANAGER]); [all …]
|
D | trace_pipeline_test.ts | 21 import {TraceType} from 'trace/trace_type'; 47 expect(traceEntries.get(TraceType.WINDOW_MANAGER)?.length).toBeGreaterThan(0); 48 expect(traceEntries.get(TraceType.SURFACE_FLINGER)?.length).toBeGreaterThan(0); 133 expect(traces.getTrace(TraceType.SURFACE_FLINGER)).toBeDefined(); 134 expect(traces.getTrace(TraceType.TRANSACTIONS)).toBeDefined(); 135 expect(traces.getTrace(TraceType.WM_TRANSITION)).toBeUndefined(); // ignored 136 expect(traces.getTrace(TraceType.INPUT_METHOD_CLIENTS)).toBeDefined(); 137 expect(traces.getTrace(TraceType.WINDOW_MANAGER)).toBeDefined(); 180 const sfTrace = assertDefined(tracePipeline.getTraces().getTrace(TraceType.SURFACE_FLINGER)); 181 const wmTrace = assertDefined(tracePipeline.getTraces().getTrace(TraceType.WINDOW_MANAGER)); [all …]
|
/development/tools/winscope/src/app/components/timeline/ |
D | timeline_component_test.ts | 37 import {TraceType} from 'trace/trace_type'; 101 .setTimestamps(TraceType.SURFACE_FLINGER, [time100, time110]) 125 const traces = new TracesBuilder().setEntries(TraceType.SURFACE_FLINGER, []).build(); 145 .setTimestamps(TraceType.SURFACE_FLINGER, []) 146 .setTimestamps(TraceType.WINDOW_MANAGER, [time100]) 153 component.activeViewTraceTypes = [TraceType.SURFACE_FLINGER]; 154 expect(component.internalActiveTrace).toEqual(TraceType.SURFACE_FLINGER); 155 expect(component.selectedTraces).toEqual([TraceType.SURFACE_FLINGER]); 157 component.activeViewTraceTypes = [TraceType.SURFACE_FLINGER]; 158 expect(component.internalActiveTrace).toEqual(TraceType.SURFACE_FLINGER); [all …]
|
/development/tools/winscope/src/viewers/viewer_screen_recording/ |
D | viewer_screen_recording.ts | 23 import {TraceType} from 'trace/trace_type'; 28 static readonly DEPENDENCIES: TraceType[] = [TraceType.SCREEN_RECORDING]; 33 this.trace = assertDefined(traces.getTrace(TraceType.SCREEN_RECORDING)); 50 TraceType.SCREEN_RECORDING 55 getDependencies(): TraceType[] {
|
/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'; 24 static async extractEntries(traces: Traces): Promise<Map<TraceType, Array<{}>>> { 25 const entries = new Map<TraceType, Array<{}>>(); 37 ): Promise<Map<AbsoluteFrameIndex, Map<TraceType, Array<{}>>>> { 38 const frames = new Map<AbsoluteFrameIndex, Map<TraceType, Array<{}>>>(); 41 frames.set(index, new Map<TraceType, Array<{}>>());
|
D | utils.ts | 25 import {TraceType} from 'trace/trace_type'; 70 static async getImeTraceEntries(): Promise<Map<TraceType, any>> { 83 const entries = new Map<TraceType, any>(); 85 TraceType.INPUT_METHOD_CLIENTS, 89 TraceType.INPUT_METHOD_MANAGER_SERVICE, 93 TraceType.INPUT_METHOD_SERVICE, 96 entries.set(TraceType.SURFACE_FLINGER, surfaceFlingerEntry); 97 entries.set(TraceType.WINDOW_MANAGER, windowManagerEntry);
|
/development/tools/winscope/src/viewers/viewer_input_method_clients/ |
D | viewer_input_method_clients.ts | 18 import {TraceType} from 'trace/trace_type'; 31 TraceType.INPUT_METHOD_CLIENTS 36 override getDependencies(): TraceType[] { 49 static readonly DEPENDENCIES: TraceType[] = [TraceType.INPUT_METHOD_CLIENTS];
|
/development/tools/winscope/src/viewers/viewer_input_method_manager_service/ |
D | viewer_input_method_manager_service.ts | 18 import {TraceType} from 'trace/trace_type'; 31 TraceType.INPUT_METHOD_MANAGER_SERVICE 36 override getDependencies(): TraceType[] { 49 static readonly DEPENDENCIES: TraceType[] = [TraceType.INPUT_METHOD_MANAGER_SERVICE];
|
/development/tools/winscope/src/viewers/viewer_input_method_service/ |
D | viewer_input_method_service.ts | 18 import {TraceType} from 'trace/trace_type'; 31 TraceType.INPUT_METHOD_SERVICE 36 override getDependencies(): TraceType[] { 49 static readonly DEPENDENCIES: TraceType[] = [TraceType.INPUT_METHOD_SERVICE];
|
/development/tools/winscope/src/viewers/ |
D | viewer.ts | 18 import {TraceType} from 'trace/trace_type'; 28 public dependencies: TraceType[], 31 public traceType: TraceType 38 getDependencies(): TraceType[];
|
/development/tools/winscope/src/viewers/viewer_transitions/ |
D | viewer_transitions.ts | 18 import {TraceType} from 'trace/trace_type'; 48 TraceType.TRANSITION 53 getDependencies(): TraceType[] { 57 static readonly DEPENDENCIES: TraceType[] = [TraceType.TRANSITION];
|
/development/tools/winscope/src/viewers/viewer_protolog/ |
D | viewer_protolog.ts | 19 import {TraceType} from 'trace/trace_type'; 58 TraceType.PROTO_LOG 63 getDependencies(): TraceType[] { 67 static readonly DEPENDENCIES: TraceType[] = [TraceType.PROTO_LOG];
|
/development/tools/winscope/src/viewers/components/ |
D | viewer_input_method_component.ts | 19 import {TraceType} from 'trace/trace_type'; 79 TraceType = TraceType; property in ViewerInputMethodComponent
|
/development/tools/winscope/src/viewers/viewer_window_manager/ |
D | viewer_window_manager_component.ts | 19 import {TraceType} from 'trace/trace_type'; 68 TraceType = TraceType;
|
D | ui_data.ts | 16 import {TraceType} from 'trace/trace_type'; 22 dependencies: TraceType[]; 32 constructor(dependencies?: TraceType[]) {
|
/development/tools/winscope/src/viewers/viewer_view_capture/ |
D | ui_data.ts | 17 import {TraceType} from 'trace/trace_type'; 23 readonly dependencies: TraceType[] = [TraceType.VIEW_CAPTURE];
|