Searched refs:randomizeLowestBits (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/sntp/ |
D | Timestamp64Test.java | 273 () -> Timestamp64.randomizeLowestBits(random, fractionBits, -1)); in testRandomizeLowestBits() 275 () -> Timestamp64.randomizeLowestBits(random, fractionBits, 0)); in testRandomizeLowestBits() 277 () -> Timestamp64.randomizeLowestBits(random, fractionBits, Integer.SIZE)); in testRandomizeLowestBits() 279 () -> Timestamp64.randomizeLowestBits(random, fractionBits, Integer.SIZE + 1)); in testRandomizeLowestBits() 294 Timestamp64.randomizeLowestBits(random, input, bitCount); in testRandomizeLowestBits()
|
/frameworks/base/core/java/android/net/sntp/ |
D | Timestamp64.java | 167 randomizeLowestBits(random, this.mFractionBits, SUB_MILLIS_BITS_TO_RANDOMIZE); in randomizeSubMillis() 176 public static int randomizeLowestBits(Random random, int value, int bitsToRandomize) { in randomizeLowestBits() method in Timestamp64
|