/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyStoreCryptoOperationUtils.java | 98 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { in getRandomBytesToMixIntoKeystoreRng() argument 102 if (rng == null) { in getRandomBytesToMixIntoKeystoreRng() 103 rng = getRng(); in getRandomBytesToMixIntoKeystoreRng() 106 rng.nextBytes(result); in getRandomBytesToMixIntoKeystoreRng()
|
/frameworks/ml/nn/runtime/test/specs/ |
D | relu_quant8_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])() 35 output_values = (lambda r = rng: [x % 256 if x % 256 > 128 else 128 for x in range(r)])()
|
D | relu_float_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 for x in range(r)])() 35 output_values = (lambda r = rng: [x * (x % 2) for x in range(r)])()
|
D | relu6_quant8_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])()
|
D | relu1_quant8_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])()
|
D | logistic_float_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 % 512 for x in range(r)])()
|
D | relu6_float_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])()
|
D | relu1_float_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])()
|
D | logistic_quant8_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoService.java | 92 final Random rng = new Random(); in onStartJob() local 93 if (rng.nextFloat() <= CAT_CAPTURE_PROB) { in onStartJob() 99 if (cats.size() == 0 || rng.nextFloat() <= new_cat_prob) { in onStartJob() 105 cat = cats.get(rng.nextInt(cats.size())); in onStartJob()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 311 protected byte[] generateData(int size, DataType type, Random rng) { in generateData() argument 323 if (rng == null) { in generateData() 324 rng = new LoggingRng(); in generateData() 328 result[i] = (byte) (min + rng.nextInt(max - min + 1)); in generateData() 615 Random rng = new LoggingRng(); in createFileOnSD() local 616 byte[] chunkSizeData = generateData(nextChunkSize, type, rng); in createFileOnSD() 623 randomData = generateData(nextChunkSize, type, rng); in createFileOnSD()
|
/frameworks/base/core/java/android/content/pm/ |
D | VerifierDeviceIdentity.java | 89 static VerifierDeviceIdentity generate(Random rng) { in generate() argument 90 long identity = rng.nextLong(); in generate()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 315 Random rng = new Random(32176L); in testInputStream() local 355 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testInputStream() 394 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testInputStream() 430 Random rng = new Random(32176L); in testOutputStream() local 470 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testOutputStream() 513 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testOutputStream()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 1067 SecureRandom rng = new SecureRandom(); in generateHandle() local 1070 result = rng.nextLong(); in generateHandle()
|