Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkStatsHistory.java611 final long curStart = randomLong(r, start, end); in generateRandom()
612 final long curEnd = curStart + randomLong(r, 0, (end - curStart) / 2); in generateRandom()
614 entry.rxBytes = randomLong(r, 0, rxBytes); in generateRandom()
615 entry.rxPackets = randomLong(r, 0, rxPackets); in generateRandom()
616 entry.txBytes = randomLong(r, 0, txBytes); in generateRandom()
617 entry.txPackets = randomLong(r, 0, txPackets); in generateRandom()
618 entry.operations = randomLong(r, 0, operations); in generateRandom()
630 public static long randomLong(Random r, long start, long end) { in randomLong() method in NetworkStatsHistory
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerService.java235 final long randomLong = mRandom.nextLong(); in generateNextSessionIdLocked() local
236 sessionId = (randomLong == Long.MIN_VALUE) ? INVALID_BLOB_ID : Math.abs(randomLong); in generateNextSessionIdLocked()