Home
last modified time | relevance | path

Searched refs:Trace (Results 1 – 25 of 75) sorted by relevance

123

/development/tools/winscope/src/trace/
Dtraces.ts19 import {Trace} from './trace';
23 private traces = new Set<Trace<{}>>();
25 addTrace(trace: Trace<{}>) {
31 ): Trace<TraceEntryTypeMap[T]> | undefined {
32 let longestTraceWithMatchingType: Trace<{}> | undefined;
50 | Trace<TraceEntryTypeMap[T]>
54 getTraces<T extends TraceType>(type: T): Array<Trace<TraceEntryTypeMap[T]>> {
57 ) as Array<Trace<TraceEntryTypeMap[T]>>;
60 deleteTrace(trace: Trace<{}>) {
73 hasTrace(trace: Trace<{}>) {
[all …]
Dframe_mapper.ts20 import {FramesRange, Trace, TraceEntry} from './trace';
107 screenRecording: Trace<object>,
108 surfaceFlinger: Trace<object>,
128 surfaceFlinger: Trace<object>,
129 transactions: Trace<object>,
168 surfaceFlinger: Trace<object>,
169 viewCapture: Trace<object>,
182 transactions: Trace<object>,
183 windowManager: Trace<object>,
216 windowManager: Trace<object>,
[all …]
Dtrace.ts47 protected readonly fullTrace: Trace<T>,
54 getFullTrace(): Trace<T> {
80 fullTrace: Trace<T>,
98 fullTrace: Trace<T>,
114 export class Trace<T> {
120 private readonly fullTrace: Trace<T>;
125 static fromParser<T>(parser: Parser<T>): Trace<T> {
126 return new Trace(
139 fullTrace: Trace<T> | undefined,
221 getFrame(frame: AbsoluteFrameIndex): Trace<T> {
[all …]
Dframe_mapper_test.ts24 import {Trace} from './trace';
45 let protoLog: Trace<PropertyTreeNode>;
46 let windowManager: Trace<HierarchyTreeNode>;
108 let ime: Trace<HierarchyTreeNode>;
109 let windowManager: Trace<HierarchyTreeNode>;
176 let windowManager: Trace<HierarchyTreeNode>;
177 let transactions: Trace<PropertyTreeNode>;
286 let viewCapture: Trace<PropertyTreeNode>;
287 let surfaceFlinger: Trace<HierarchyTreeNode>;
379 let transactions: Trace<PropertyTreeNode>;
[all …]
/development/tools/winscope/src/viewers/common/
Dhierarchy_presenter.ts18 import {Trace, TraceEntry} from 'trace/trace';
51 | Map<Trace<HierarchyTreeNode>, TraceEntry<HierarchyTreeNode>>
54 Trace<HierarchyTreeNode>,
59 | Map<Trace<HierarchyTreeNode>, TraceEntry<HierarchyTreeNode>>
62 Trace<HierarchyTreeNode>,
66 | Map<Trace<HierarchyTreeNode>, string[]>
69 | Map<Trace<HierarchyTreeNode>, UiHierarchyTreeNode[]>
72 | [Trace<HierarchyTreeNode>, HierarchyTreeNode]
89 trace: Trace<HierarchyTreeNode>,
95 trace: Trace<HierarchyTreeNode>,
[all …]
Dabstract_viewer_input_method.ts18 import {Trace} from 'trace/trace';
28 private readonly trace: Trace<HierarchyTreeNode>;
38 trace: Trace<HierarchyTreeNode>,
60 getTraces(): Array<Trace<HierarchyTreeNode>> {
76 trace: Trace<HierarchyTreeNode>,
/development/samples/VoiceInteractionService/src/com/example/android/voiceinteractor/
DSampleHotwordDetectionService.java26 import android.os.Trace;
89 Trace.beginAsyncSection("HDS.onDetected", 0); in onDetect()
106 Trace.beginAsyncSection("HDS.createAudioRecord", 1); in onDetect()
108 Trace.endAsyncSection("HDS.createAudioRecord", 1); in onDetect()
118 Trace.beginAsyncSection("HDS.startRecording", 1); in onDetect()
120 Trace.endAsyncSection("HDS.startRecording", 1); in onDetect()
121 Trace.beginAsyncSection("AudioUtils.read", 1); in onDetect()
123 Trace.endAsyncSection("AudioUtils.read", 1); in onDetect()
136 Trace.endAsyncSection("HDS.onDetected", 0); in onDetect()
DSampleVoiceInteractionService.java32 import android.os.Trace;
205 Trace.beginAsyncSection("VIS.onDetected", 0); in onDetected()
207 Trace.endAsyncSection("VIS.onDetected", 0); in onDetected()
222 Trace.beginAsyncSection("VIS.createAudioRecord", 1); in onDetected()
237 Trace.endAsyncSection("VIS.createAudioRecord", 1); in onDetected()
239 Trace.setCounter("VIS AudioRecord.getState", in onDetected()
247 Trace.beginAsyncSection("VIS.startRecording", 1); in onDetected()
249 Trace.endAsyncSection("VIS.startRecording", 1); in onDetected()
250 Trace.beginAsyncSection("AudioUtils.read", 1); in onDetected()
253 Trace.endAsyncSection("AudioUtils.read", 1); in onDetected()
/development/tools/winscope/src/test/unit/
Dtrace_utils.ts18 import {AbsoluteFrameIndex, Trace} from 'trace/trace';
21 static async extractEntries<T>(trace: Trace<T>): Promise<T[]> {
28 static extractTimestamps<T>(trace: Trace<T>): Timestamp[] {
37 trace: Trace<T>,
/development/tools/winscope/src/app/components/timeline/mini-timeline/drawer/
Dmini_timeline_drawer_input.ts23 import {Trace, TraceEntry} from 'trace/trace';
38 public traces: Array<Trace<object>>,
68 const transformedTraceSegments = new Map<Trace<object>, TimelineTrace>();
80 trace as Trace<PropertyTreeNode>,
106 trace: Trace<PropertyTreeNode>,
144 trace: Trace<{}>,
/development/tools/winscope/src/viewers/viewer_window_manager/
Dviewer_window_manager.ts18 import {Trace} from 'trace/trace';
30 private readonly trace: Trace<HierarchyTreeNode>;
36 trace: Trace<HierarchyTreeNode>,
74 getTraces(): Array<Trace<HierarchyTreeNode>> {
/development/tools/winscope/src/viewers/
Dviewer_stub.ts21 import {Trace} from 'trace/trace';
26 private readonly trace: Trace<object>;
35 trace?: Trace<object>,
75 getTraces(): Array<Trace<object>> {
Dviewer.ts22 import {Trace} from 'trace/trace';
32 public traces: Array<Trace<object>>,
42 getTraces(): Array<Trace<object>>;
/development/tools/winscope/src/viewers/viewer_screen_recording/
Dviewer_screen_recording.ts19 import {Trace} from 'trace/trace';
29 private readonly trace: Trace<ScreenRecordingTraceEntry>;
33 constructor(trace: Trace<ScreenRecordingTraceEntry>, traces: Traces) {
75 getTraces(): Array<Trace<ScreenRecordingTraceEntry>> {
Dviewer_screenshot.ts19 import {Trace} from 'trace/trace';
29 private readonly trace: Trace<ScreenRecordingTraceEntry>;
33 constructor(trace: Trace<ScreenRecordingTraceEntry>, traces: Traces) {
77 getTraces(): Array<Trace<ScreenRecordingTraceEntry>> {
/development/tools/winscope/src/app/components/timeline/expanded-timeline/
Dexpanded_timeline_component.ts28 import {Trace} from 'trace/trace';
145 @Output() readonly onTraceClicked = new EventEmitter<Trace<object>>();
164 trackTraceByType = (index: number, trace: Trace<{}>): TraceType => {
168 getTracesSortedByDisplayOrder(): Array<Trace<{}>> {
181 isActiveTrace(trace: Trace<object>) {
/development/tools/winscope/src/viewers/viewer_surface_flinger/
Dviewer_surface_flinger.ts19 import {Trace} from 'trace/trace';
32 private readonly trace: Trace<HierarchyTreeNode>;
38 trace: Trace<HierarchyTreeNode>,
84 getTraces(): Array<Trace<HierarchyTreeNode>> {
/development/tools/winscope/src/viewers/viewer_transitions/
Dviewer_transitions.ts18 import {Trace} from 'trace/trace';
30 private readonly trace: Trace<PropertyTreeNode>;
35 constructor(trace: Trace<PropertyTreeNode>, traces: Traces) {
82 getTraces(): Array<Trace<PropertyTreeNode>> {
/development/tools/winscope/src/app/components/
Dupload_traces_component.ts27 import {Trace} from 'trace/trace';
278 onRemoveTrace(event: MouseEvent, trace: Trace<object>) {
298 traceUploadInfo(trace: Trace<object>): string | undefined {
302 canVisualizeTrace(trace: Trace<object>): boolean {
306 cannotVisualizeTraceTooltip(trace: Trace<object>): string {
/development/tools/winscope/src/viewers/viewer_input_method_manager_service/
Dviewer_input_method_manager_service.ts17 import {Trace} from 'trace/trace';
34 trace: Trace<HierarchyTreeNode>,
48 trace: Trace<HierarchyTreeNode>,
/development/tools/winscope/src/viewers/viewer_input_method_clients/
Dviewer_input_method_clients.ts17 import {Trace} from 'trace/trace';
34 trace: Trace<HierarchyTreeNode>,
48 trace: Trace<HierarchyTreeNode>,
/development/tools/winscope/src/viewers/viewer_input_method_service/
Dviewer_input_method_service.ts17 import {Trace} from 'trace/trace';
34 trace: Trace<HierarchyTreeNode>,
48 trace: Trace<HierarchyTreeNode>,
/development/tools/winscope/src/app/
Dtimeline_data.ts20 import {Trace, TraceEntry} from 'trace/trace';
38 Trace<object>,
41 private activeTrace: Trace<object> | undefined;
148 trySetActiveTrace(trace: Trace<object>): boolean {
248 getPreviousEntryFor(trace: Trace<object>): TraceEntry<object> | undefined {
261 getNextEntryFor(trace: Trace<object>): TraceEntry<object> | undefined {
278 findCurrentEntryFor(trace: Trace<object>): TraceEntry<object> | undefined {
296 moveToPreviousEntryFor(trace: Trace<object>) {
303 moveToNextEntryFor(trace: Trace<object>) {
/development/tools/winscope/src/viewers/viewer_protolog/
Dviewer_protolog.ts20 import {Trace} from 'trace/trace';
32 private readonly trace: Trace<PropertyTreeNode>;
37 constructor(trace: Trace<PropertyTreeNode>, traces: Traces) {
104 getTraces(): Array<Trace<PropertyTreeNode>> {
/development/tools/winscope/src/parsers/view_capture/legacy/
Dparser_view_capture_test.ts22 import {Trace} from 'trace/trace';
28 let trace: Trace<HierarchyTreeNode>;
35 trace = Trace.fromParser(parser);

123