Home
last modified time | relevance | path

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

/frameworks/libs/systemui/tracinglib/core/host/src-fake/
DTraceProxy.fake.kt41 private val allThreadStates = hashMapOf<Long, MutableList<String>>() constant
45 synchronized(allThreadStates) { in begin()
46 if (allThreadStates.containsKey(threadId)) { in begin()
47 allThreadStates[threadId]!!.add(sectionName) in begin()
49 allThreadStates[threadId] = mutableListOf(sectionName) in begin()
56 synchronized(allThreadStates) { in end()
60 allThreadStates[threadId].isNullOrEmpty() in end()
63 allThreadStates[threadId]!!.removeAt(allThreadStates[threadId]!!.lastIndex) in end()
69 synchronized(allThreadStates) { in getOpenTraceSectionsOnCurrentThread()
70 return allThreadStates[threadId]?.toTypedArray() ?: emptyArray() in getOpenTraceSectionsOnCurrentThread()
[all …]