Home
last modified time | relevance | path

Searched refs:nextBytes (Results 1 – 25 of 49) 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.java199 random.nextBytes(keyMaterial); in testKeyStore_ImportIncorrectWrappedKey()
483 random.nextBytes(iv); in wrapKey()
487 random.nextBytes(aesKeyBytes); in wrapKey()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DAttributesUtil.java182 sRandom.nextBytes(array); in getRandomName()
188 sRandom.nextBytes(array); in getRandomAddress()
/cts/tests/tests/security/src/android/security/cts/activity/
DSecureRandomService.java52 sr.nextBytes(randomBytes);
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallInfoTest.kt92 this.writeBytes(Random.nextBytes(ByteArray(10))) in <lambda>()
115 this.writeBytes(Random.nextBytes(ByteArray(10))) in <lambda>()
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontFileUpdateRequestTest.java45 new Random(0).nextBytes(signature); in construct()
/cts/tests/backup/app/src/android/backup/app/
DMainActivity.java68 new Random().nextBytes(bytes); in createFile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
DMifareUltralightTagTester.java57 random.nextBytes(onePage); in writeTag()
DNdefTagTester.java102 random.nextBytes(id);
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DDataSharingActivity.java63 sRandom.nextBytes(mDataWritten); in onStart()
DDataSharingService.java82 sRandom.nextBytes(mDataWritten); in shareData()
DOutOfProcessDataSharingService.java113 sRandom.nextBytes(mDataWritten); in shareData()
/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()
DAllocationCreateAllocationsTest.java115 r.nextBytes(dataIn); in testMultipleIoReceive_USAGE_IO_INPUT()
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()
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()
/cts/tests/security/src/android/keystore/cts/
DCertificateUtils.java45 new SecureRandom().nextBytes(serialBytes); in createCertificate()
/cts/hostsidetests/backup/BackupEligibility/src/
DBackupEligibilityTest.java120 new Random().nextBytes(bytes); in addData()
/cts/tests/tests/identity/src/android/security/identity/cts/
DAttestationTest.java65 random.nextBytes(challenge); in attestationTest()
/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/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/
DUsbAccessoryTestActivity.java164 (new Random()).nextBytes(origBuffer32); in onAttached()
167 (new Random()).nextBytes(origBufferMax); in onAttached()
/cts/tests/tests/nfc/src/android/nfc/tech/cts/interactive/
DNdefTagTester.java102 random.nextBytes(id);
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/
DSoundTriggerTest.java71 new Random().nextBytes(TEST_MODEL_DATA); in setUpClass()

12