Home
last modified time | relevance | path

Searched refs:nextBytes (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/keystore/src/android/keystore/cts/
DCountingSecureRandom.java52 public synchronized void nextBytes(byte[] bytes) { in nextBytes() method in CountingSecureRandom
56 mDelegate.nextBytes(bytes); in nextBytes()
DImportWrappedKeyTest.java90 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey()
153 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey_3DES()
201 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
241 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey_AES_StrongBox()
273 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey_AES_StrongBox()
315 random.nextBytes(iv); in wrapKey()
319 random.nextBytes(aesKeyBytes); in wrapKey()
/cts/tests/tests/security/src/android/security/cts/activity/
DSecureRandomService.java52 sr.nextBytes(randomBytes);
/cts/tests/backup/app/src/android/backup/app/
DMainActivity.java68 new Random().nextBytes(bytes); in createFile()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsicHistogram.java73 r.nextBytes(i); in testNorm()
195 r.nextBytes(i); in testDot()
DRsUnpackColor8888Test.java50 r.nextBytes(inArray); in testRsUnpackColor8888RGB()
DAllocationCopyPaddedTest.java32 random.nextBytes(inArray); in test_AllocationPadded_Byte3_1D()
61 random.nextBytes(inArray); in test_AllocationPadded_Byte3_2D()
91 random.nextBytes(inArray); in test_AllocationPadded_Byte3_3D()
611 random.nextBytes(inArray); in test_AllocationPadded_copy1DRangeTo_Byte3()
813 random.nextBytes(inArray); in test_AllocationPadded_copy2DRangeTo_Byte3()
991 random.nextBytes(inArray); in test_AllocationPadded_copy1DRangeToUnchecked_Byte3()
DAllocationCreateAllocationsTest.java115 r.nextBytes(dataIn); in testMultipleIoReceive_USAGE_IO_INPUT()
DAllocationCopyToTest.java42 random.nextBytes(inArray); in test_Allocationcopy1DRangeTo_Byte()
240 random.nextBytes(inArray); in test_Allocationcopy2DRangeTo_Byte()
423 random.nextBytes(inArray); in test_Allocationcopy3DRangeTo_Byte()
658 random.nextBytes(inArray); in test_Allocationcopy1DRangeToUnchecked_Byte()
DRsAllocationCopyTest.java36 random.nextBytes(inArray); in test_RsAllocationCopy1D_Byte()
274 random.nextBytes(inArray); in test_RsAllocationCopy2D_Byte()
DDebugContext.java142 RN.nextBytes(inArray); in SetupAllocationCopyTests()
DVLoadTest.java178 random.nextBytes(t); in randomByteArray()
DReduceTest.java137 (new Random(seed)).nextBytes(array); in createInputArrayByte()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
DMifareUltralightTagTester.java57 random.nextBytes(onePage); in writeTag()
DNdefTagTester.java102 random.nextBytes(id);
/cts/tests/security/src/android/keystore/cts/
DCertificateUtils.java45 new SecureRandom().nextBytes(serialBytes); in createCertificate()
/cts/hostsidetests/backup/AllowBackup/src/
DAllowBackupTest.java115 new Random().nextBytes(bytes); in addData()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/
DUsbAccessoryTestActivity.java116 (new Random()).nextBytes(origBuffer32); in onAttached()
119 (new Random()).nextBytes(origBufferMax); in onAttached()
/cts/hostsidetests/backup/FullBackupOnly/src/
DFullBackupOnlyTest.java141 new Random().nextBytes(bytes); in addData()
/cts/hostsidetests/backup/fullbackupapp/src/android/cts/backup/fullbackupapp/
DFullbackupTest.java139 new Random().nextBytes(bytes); in addData()
/cts/tests/tests/net/src/android/net/ipv6/cts/
DPingTest.java72 new Random().nextBytes(packet); in pingPacket()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java308 random.nextBytes(packet); in checkPing()
421 new Random().nextBytes(data); in checkTcpReflection()
468 random.nextBytes(data); in checkUdpEcho()
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/
DIncludeExcludeTest.java212 new Random().nextBytes(bytes); in addData()
/cts/tests/tests/net/src/android/net/cts/
DPacketUtils.java388 new SecureRandom().nextBytes(iv); in getCiphertext()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java295 r.nextBytes(sentBuffer); in echoBulkTransfer()
324 r.nextBytes(sentBuffer); in echoBulkTransferOffset()
358 r.nextBytes(sentBuffer); in echoLargeBulkTransfer()
771 random.nextBytes(sentBytes); in echoLargeUsbRequestLegacy()

12