Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsTlsTransport.cpp54 const auto c = [](uint8_t rnd) -> uint8_t { in makeDnsQuery() argument
55 return kDnsSafeChars[(rnd % std::size(kDnsSafeChars))]; in makeDnsQuery()
57 uint8_t rnd[8]; in makeDnsQuery() local
58 arc4random_buf(rnd, std::size(rnd)); in makeDnsQuery()
61 rnd[6], rnd[7], // [0-1] query ID in makeDnsQuery()
67 17, c(rnd[0]), c(rnd[1]), c(rnd[2]), c(rnd[3]), c(rnd[4]), c(rnd[5]), '-', 'd', 'n', in makeDnsQuery()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java646 byte[] rnd = sixRandomDigits.getBytes(StandardCharsets.US_ASCII); in getDnsQueryPacket()
654 17, rnd[0], rnd[1], rnd[2], rnd[3], rnd[4], rnd[5], in getDnsQueryPacket()
/packages/apps/Car/Radio/src/com/android/car/radio/bands/
DAMFMProgramType.java60 Random rnd = new Random(); in tuneToDefault() local
61 BandDescriptor band = bands.get(rnd.nextInt(bands.size())); in tuneToDefault()
62 int freq = rnd.nextInt(band.getUpperLimit() - band.getLowerLimit()) + band.getLowerLimit(); in tuneToDefault()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
DRedirectListener.java75 Random rnd = new Random(System.currentTimeMillis()); in RedirectListener() local
77 mPath = "rnd" + Integer.toString(Math.abs(rnd.nextInt()), Character.MAX_RADIX); in RedirectListener()
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz