Searched refs:traceConfigProto (Results 1 – 5 of 5) sorted by relevance
94 const traceConfigProto = extractTraceConfig(enableTracingRequest); constant95 if (!traceConfigProto) {100 this.handleStartTracing(traceConfigProto);240 handleStartTracing(traceConfigProto: Uint8Array) {257 const configEncoded = base64Encode(traceConfigProto);265 const traceConfig = TraceConfig.decode(traceConfigProto);
97 const traceConfigProto = extractTraceConfig(enableTracingProto); constant98 if (!traceConfigProto) return;99 const duration = extractDurationFromTraceConfig(traceConfigProto);
70 const traceConfigProto = extractTraceConfig(enableTracingProto); constant71 if (!traceConfigProto) {76 await this.startRecording(traceConfigProto);
34 export function extractDurationFromTraceConfig(traceConfigProto: Uint8Array) {36 return perfetto.protos.TraceConfig.decode(traceConfigProto).durationMs;
357 TraceConfig traceConfigProto, TraceParams currentTraceParams) { in fromTraceConfigProto() argument359 if (traceConfigProto.hasConstantSampler()) { in fromTraceConfigProto()360 ConstantSampler constantSampler = traceConfigProto.getConstantSampler(); in fromTraceConfigProto()366 } else if (traceConfigProto.hasProbabilitySampler()) { in fromTraceConfigProto()369 traceConfigProto.getProbabilitySampler().getSamplingProbability())); in fromTraceConfigProto()385 TraceConfig traceConfigProto = config.getConfig(); in getUpdatedTraceParams() local386 return fromTraceConfigProto(traceConfigProto, currentParams); in getUpdatedTraceParams()