Home
last modified time | relevance | path

Searched refs:TraceType (Results 1 – 25 of 142) sorted by relevance

123456

/development/tools/winscope/src/trace/
Dtrace_type.ts21 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 …]
Dframe_mapper_test.ts26 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 …]
Dtraces_test.ts27 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 …]
Dtrace_info.ts17 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 …]
Dframe_mapper.ts22 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 …]
Dtraces.ts20 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/
Dexpanded_timeline_component_test.ts34 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/
Dtimeline_component_test.ts50 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/
Dtraces_builder.ts20 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<{}> {
Dtraces_utils.ts20 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<{}>>());
Dutils.ts29 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/
Dtimeline_data_test.ts23 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 …]
Dloaded_parsers_test.ts28 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 …]
Dtrace_pipeline_test.ts31 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 …]
Dloaded_parsers.ts28 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/
Dtrace_collection_utils.ts18 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/
Dviewer_window_manager_component.ts18 import {TraceType} from 'trace/trace_type';
62 [traceType]="${TraceType.WINDOW_MANAGER}"
76 TraceType = TraceType; property in ViewerWindowManagerComponent
Dui_data.ts16 import {TraceType} from 'trace/trace_type';
26 readonly dependencies: TraceType[] = [TraceType.WINDOW_MANAGER];
/development/tools/winscope/src/viewers/viewer_transitions/
Dpresenter_test.ts24 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/
Dabstract_presenter_input_method_test.ts24 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/
Dviewer_surface_flinger_component.ts19 import {TraceType} from 'trace/trace_type';
77 [traceType]="${TraceType.SURFACE_FLINGER}"
102 TraceType = TraceType; property in ViewerSurfaceFlingerComponent
Dui_data.ts17 import {TraceType} from 'trace/trace_type';
28 readonly dependencies: TraceType[] = [TraceType.SURFACE_FLINGER];
/development/tools/winscope/src/viewers/viewer_view_capture/
Dui_data.ts17 import {TraceType} from 'trace/trace_type';
28 readonly dependencies: TraceType[] = [TraceType.VIEW_CAPTURE];
Dviewer_view_capture.ts23 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/
Dparser_screenshot.ts21 import {TraceType} from 'trace/trace_type';
28 override getTraceType(): TraceType {
29 return TraceType.SCREENSHOT;

123456