Home
last modified time | relevance | path

Searched refs:TraceContextElement (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/systemui/tracinglib/core/common/src/coroutines/
DTraceContextElement.kt51 return if (coroutineTracing()) TraceContextElement(TraceData()) else EmptyCoroutineContext in createCoroutineTracingContext()
62 internal class TraceContextElement(internal val traceData: TraceData? = TraceData()) : class
65 internal companion object Key : CoroutineContext.Key<TraceContextElement>
144 return TraceContextElement(traceData?.clone()) in copyForChild()
151 return TraceContextElement(traceData?.clone()) in mergeForChild()
/frameworks/libs/systemui/tracinglib/core/host/test/
DCoroutineTracingTest.kt284 thread1Context = TraceContextElement(TraceData()), in <lambda>()
295 thread1Context = TraceContextElement(TraceData()), in <lambda>()
296 thread2Context = TraceContextElement(TraceData()) in <lambda>()
305 thread1Context = TraceContextElement(TraceData()), in <lambda>()
306 thread2Context = TraceContextElement(TraceData()) in <lambda>()
338 val thread2 = newSingleThreadContext("thread-#2") + TraceContextElement(TraceData()) in <lambda>()
387 val traceContext = TraceContextElement() in <lambda>()
515 val traceContext = TraceContextElement() in <lambda>()
602 runTest(context = TraceContextElement(TraceData()), testBody = testBody)