Searched refs:TraceContextElement (Results 1 – 2 of 2) sorted by relevance
51 return if (coroutineTracing()) TraceContextElement(TraceData()) else EmptyCoroutineContext in createCoroutineTracingContext()62 internal class TraceContextElement(internal val traceData: TraceData? = TraceData()) : class65 internal companion object Key : CoroutineContext.Key<TraceContextElement>144 return TraceContextElement(traceData?.clone()) in copyForChild()151 return TraceContextElement(traceData?.clone()) in mergeForChild()
284 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)