Searched refs:InvalidId (Results 1 – 13 of 13) sorted by relevance
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | ThreadModelFragment.kt | 19 import trebuchet.model.InvalidId 28 …fun hint(pid: Int = InvalidId, name: String? = null, tgid: Int = InvalidId, processName: String? =… in hint() 29 if (this.id == InvalidId) this.id = pid in hint() 31 if (this.process.id == InvalidId) this.process.id = tgid in hint()
|
D | ProcessModelFragment.kt | 19 import trebuchet.model.InvalidId in <lambda>() 29 if (_id != InvalidId) { in <lambda>() 83 fun hint(id: Int = InvalidId, name: String? = null) { in <lambda>() 84 if (this.id == InvalidId) this.id = id in <lambda>()
|
D | AsyncSlicesBuilder.kt | 19 import trebuchet.model.InvalidId 42 true, pid, InvalidId) in openAsyncSlice() 57 slice.endThreadId = InvalidId in autoCloseOpenSlices()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/ |
D | FtraceEvent.kt | 21 import trebuchet.model.InvalidId in <lambda>() 23 val CpuBufferStarted = FtraceEvent(null, InvalidId, InvalidId, -1, -1.0, in <lambda>() 54 tgid = intOr(3, InvalidId), in <lambda>()
|
D | EventParserState.kt | 22 import trebuchet.model.InvalidId in <lambda>()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/ |
D | FtraceEventTest.kt | 21 import trebuchet.model.InvalidId 47 assertEquals(InvalidId, event.tgid) in testParseLineUnknownTgid() 59 assertEquals(InvalidId, event.tgid) in testParseLineNoTgid() 78 assertEquals(InvalidId, event.tgid) in testParseLineLegacy()
|
D | FtraceLineTest.kt | 22 import trebuchet.model.InvalidId in <lambda>() 51 assertEquals(InvalidId, line.tgid) in <lambda>() 68 assertEquals(InvalidId, line.tgid) in <lambda>() 84 assertEquals(InvalidId, line.tgid) in <lambda>() 128 assertEquals(InvalidId, line.tgid) in <lambda>()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/ |
D | FtraceLine.kt | 21 import trebuchet.model.InvalidId 40 val hasTgid: Boolean get() = _tgid != InvalidId 86 if (matcher!!.start(3) == -1) InvalidId else int(3), in create() 114 if (matcher!!.start(3) == -1) InvalidId else int(3), in parseLine_new() 126 var tgid: Int = InvalidId in parseLine()
|
D | FtraceImporterState.kt | 21 import trebuchet.model.InvalidId in <lambda>() 62 return ProcessModelFragment(InvalidId, hasIdCb = { process -> in <lambda>() 76 fun threadFor(pid: Int, tgid: Int = InvalidId, task: String? = null): ThreadModelFragment { in <lambda>() 84 if (tgid != InvalidId) processFor(tgid) in <lambda>()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/ |
D | Constants.kt | 19 const val InvalidId = -1 constant
|
D | CpuModel.kt | 26 if (id == InvalidId) throw IllegalArgumentException("Cpu has invalid id")
|
D | ThreadModel.kt | 29 if (id == InvalidId) throw IllegalArgumentException("Thread has invalid id")
|
D | Model.kt | 44 if (it.id != InvalidId) { in <lambda>()
|