Home
last modified time | relevance | path

Searched refs:ProtoLogConfig (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/protolog/
DProtoLogDataSource.java19 import static android.internal.perfetto.protos.ProtologConfig.ProtoLogConfig.DEFAULT;
20 import static android.internal.perfetto.protos.ProtologConfig.ProtoLogConfig.ENABLE_ALL;
21 import static android.internal.perfetto.protos.ProtologConfig.ProtoLogConfig.GROUP_OVERRIDES;
22 import static android.internal.perfetto.protos.ProtologConfig.ProtoLogConfig.TRACING_MODE;
51 private final Consumer<ProtoLogConfig> mOnStart;
53 private final Consumer<ProtoLogConfig> mOnStop;
55 public ProtoLogDataSource(Consumer<ProtoLogConfig> onStart, Runnable onFlush, in ProtoLogDataSource()
56 Consumer<ProtoLogConfig> onStop) { in ProtoLogDataSource()
65 ProtoLogConfig config = null; in createInstance()
86 config = ProtoLogConfig.DEFAULT; in createInstance()
[all …]
DPerfettoProtoLogImpl.java622 private synchronized void onTracingInstanceStart(ProtoLogDataSource.ProtoLogConfig config) { in onTracingInstanceStart()
645 private synchronized void onTracingInstanceStop(ProtoLogDataSource.ProtoLogConfig config) { in onTracingInstanceStop()
/frameworks/base/tests/Internal/src/com/android/internal/protolog/
DProtologDataSourceTest.java57 ProtologConfig.ProtoLogConfig.newBuilder() in defaultTraceMode()
59 ProtologConfig.ProtoLogConfig.TracingMode in defaultTraceMode()
74 ProtologConfig.ProtoLogConfig.newBuilder() in allEnabledTraceMode()
76 ProtologConfig.ProtoLogConfig.TracingMode.ENABLE_ALL) in allEnabledTraceMode()
90 ProtologConfig.ProtoLogConfig.newBuilder() in requireGroupTagInOverrides()
109 ProtologConfig.ProtoLogConfig.newBuilder() in stackTraceCollection()
125 ProtologConfig.ProtoLogConfig.newBuilder() in groupLogFromOverrides()