Home
last modified time | relevance | path

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

/frameworks/libs/net/common/hostdevice/com/android/net/module/util/
DTrackRecord.kt103 elements.getOrNull(pollForIndexReadLocked(timeoutMs, pos, predicate)) in <lambda>()
107 fun getOrNull(pos: Int, predicate: (E) -> Boolean) = lock.withLock { in <lambda>() method
232 return getOrNull(index) in newReadHead()
242 fun peek(): E? = getOrNull(readHead).also { checkThread() } in newReadHead()