Home
last modified time | relevance | path

Searched defs:random (Results 1 – 25 of 2555) sorted by relevance

12345678910>>...103

/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/hash/
H A DHashTestUtils.java103 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BOOLEAN()
112 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BYTE()
121 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_SHORT()
130 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_CHAR()
139 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_INT()
148 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_LONG()
157 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_FLOAT()
166 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_DOUBLE()
175 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BYTES()
185 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BYTES_INT_INT()
[all …]
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/hash/
H A DHashTestUtils.java103 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BOOLEAN()
112 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BYTE()
121 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_SHORT()
130 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_CHAR()
139 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_INT()
148 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_LONG()
157 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_FLOAT()
166 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_DOUBLE()
175 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BYTES()
185 void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BYTES_INT_INT()
[all …]
/aosp_15_r20/cts/tests/tests/renderscript/src/android/renderscript/cts/
H A DAllocationCopyPaddedTest.java26 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Byte3_1D() local
54 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Byte3_2D() local
83 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Byte3_3D() local
113 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Short3_1D_Helper() local
149 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Short3_2D_Helper() local
186 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Short3_3D_Helper() local
224 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Int3_1D() local
255 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Int3_2D() local
287 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Int3_3D() local
320 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Float3_1D() local
[all …]
H A DAllocationCopyToTest.java36 Random random = new Random(0x172d8ab9); in test_Allocationcopy1DRangeTo_Byte() local
70 Random random = new Random(0x172d8ab9); in test_Allocationcopy1DRangeTo_Short_Helper() local
118 Random random = new Random(0x172d8ab9); in test_Allocationcopy1DRangeTo_Int() local
155 Random random = new Random(0x172d8ab9); in test_Allocationcopy1DRangeTo_Float() local
192 Random random = new Random(0x172d8ab9); in test_Allocationcopy1DRangeTo_Long() local
229 Random random = new Random(0x172d8ab9); in test_Allocationcopy2DRangeTo_Byte() local
260 Random random = new Random(0x172d8ab9); in test_Allocationcopy2DRangeTo_Short_Helper() local
305 Random random = new Random(0x172d8ab9); in test_Allocationcopy2DRangeTo_Int() local
339 Random random = new Random(0x172d8ab9); in test_Allocationcopy2DRangeTo_Float() local
373 Random random = new Random(0x172d8ab9); in test_Allocationcopy2DRangeTo_Long() local
[all …]
H A DRsAllocationCopyTest.java28 Random random = new Random(0x172d8ab9); in test_RsAllocationCopy1D_Byte() local
73 Random random = new Random(0x172d8ab9); in test_RsAllocationCopy1D_Short() local
120 Random random = new Random(0x172d8ab9); in test_RsAllocationCopy1D_Int() local
167 Random random = new Random(0x172d8ab9); in test_RsAllocationCopy1D_Float() local
215 Random random = new Random(0x172d8ab9); in test_RsAllocationCopy1D_Long() local
263 Random random = new Random(0x172d8ab9); in test_RsAllocationCopy2D_Byte() local
317 Random random = new Random(0x172d8ab9); in test_RsAllocationCopy2D_Short() local
373 Random random = new Random(0x172d8ab9); in test_RsAllocationCopy2D_Int() local
429 Random random = new Random(0x172d8ab9); in test_RsAllocationCopy2D_Float() local
485 Random random = new Random(0x172d8ab9); in test_RsAllocationCopy2D_Long() local
/aosp_15_r20/external/skia/src/gpu/ganesh/
H A DGrTestUtils.cpp34 static const SkMatrix& test_matrix(SkRandom* random, in test_matrix()
67 const SkMatrix& TestMatrix(SkRandom* random) { return test_matrix(random, true, true); } in TestMatrix()
69 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom* random) { in TestMatrixPreservesRightAngles()
95 const SkMatrix& TestMatrixRectStaysRect(SkRandom* random) { in TestMatrixRectStaysRect()
121 const SkMatrix& TestMatrixInvertible(SkRandom* random) { return test_matrix(random, true, false); } in TestMatrixInvertible()
122 const SkMatrix& TestMatrixPerspective(SkRandom* random) { return test_matrix(random, false, true); } in TestMatrixPerspective()
124 void TestWrapModes(SkRandom* random, GrSamplerState::WrapMode wrapModes[2]) { in TestWrapModes()
133 const SkRect& TestRect(SkRandom* random) { in TestRect()
149 const SkRect& TestSquare(SkRandom* random) { in TestSquare()
160 const SkRRect& TestRRectSimple(SkRandom* random) { in TestRRectSimple()
[all …]
/aosp_15_r20/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A DUT_alloc_copyPadded.java84 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_1D() local
115 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_2D() local
147 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_3D() local
180 Random random = new Random(0x172d8ab9); in testAllocation_Short3_1D() local
214 Random random = new Random(0x172d8ab9); in testAllocation_Short3_2D() local
249 Random random = new Random(0x172d8ab9); in testAllocation_Short3_3D() local
285 Random random = new Random(0x172d8ab9); in testAllocation_Int3_1D() local
319 Random random = new Random(0x172d8ab9); in testAllocation_Int3_2D() local
354 Random random = new Random(0x172d8ab9); in testAllocation_Int3_3D() local
390 Random random = new Random(0x172d8ab9); in testAllocation_Float3_1D() local
[all …]
H A DUT_alloc_copy.java60 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Byte() local
99 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Short() local
141 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Int() local
183 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Float() local
225 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Long() local
267 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Byte() local
302 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Short() local
340 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Int() local
378 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Float() local
416 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Long() local
[all …]
/aosp_15_r20/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A DUT_alloc_copyPadded.java86 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_1D() local
117 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_2D() local
149 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_3D() local
182 Random random = new Random(0x172d8ab9); in testAllocation_Short3_1D() local
216 Random random = new Random(0x172d8ab9); in testAllocation_Short3_2D() local
251 Random random = new Random(0x172d8ab9); in testAllocation_Short3_3D() local
287 Random random = new Random(0x172d8ab9); in testAllocation_Int3_1D() local
321 Random random = new Random(0x172d8ab9); in testAllocation_Int3_2D() local
356 Random random = new Random(0x172d8ab9); in testAllocation_Int3_3D() local
392 Random random = new Random(0x172d8ab9); in testAllocation_Float3_1D() local
[all …]
H A DUT_alloc_copy.java62 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Byte() local
101 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Short() local
143 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Int() local
185 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Float() local
227 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Long() local
269 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Byte() local
304 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Short() local
342 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Int() local
380 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Float() local
418 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Long() local
[all …]
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/database/
H A DNewDatabasePerformanceTests.java181 Random random = new Random(42); in prepareForTest() local
209 Random random = new Random(42); in prepareForTest() local
238 Random random = new Random(42); in prepareForTest() local
274 Random random = new Random(42); in prepareForTest() local
309 Random random = new Random(42); in prepareForTest() local
343 Random random = new Random(42); in prepareForTest() local
378 Random random = new Random(42); in prepareForTest() local
414 Random random = new Random(42); in prepareForTest() local
453 Random random = new Random(42); in prepareForTest() local
499 Random random = new Random(42); in prepareForTest() local
[all …]
/aosp_15_r20/libcore/ojluni/src/test/java/util/Arrays/
H A DSorting.java168 private void testStability(int length, TestRandom random) { in testStability()
310 private void testSubArray(int length, TestRandom random) { in testSubArray()
331 private void testRange(int length, TestRandom random) { in testRange()
382 private Pair[] build(int length, Random random) { in build()
395 private void testWithInsertionSort(int length, TestRandom random) { in testWithInsertionSort()
401 builder.build((int[]) gold[0], m, random); in testWithInsertionSort() local
416 private void testMergingSort(int length, TestRandom random) { in testMergingSort()
438 private void testWithCheckSum(int length, TestRandom random) { in testWithCheckSum()
441 builder.build((int[]) gold[0], m, random); in testWithCheckSum() local
455 private void testWithScrambling(int length, TestRandom random) { in testWithScrambling()
[all …]
/aosp_15_r20/external/okio/okio/src/jvmTest/kotlin/okio/
H A DCipherSinkTest.kt34 val random = Random(8912860393601532863) in <lambda>() constant
49 val random = Random(3014415396541767201) in <lambda>() constant
64 val random = Random(4800508322764694019) in <lambda>() constant
79 val random = Random(4374178522096702290) in <lambda>() constant
100 val random = Random(7515202505362968404) in <lambda>() constant
117 val random = Random(488375923060579687) in <lambda>() constant
132 val random = Random(-9063010151894844496) in <lambda>() constant
147 val random = Random(993064087526004362) in <lambda>() constant
162 val random = Random(2621474675920878975) in <lambda>() constant
182 val random = Random(7689061926945836562) in <lambda>() constant
H A DCipherSourceTest.kt34 val random = Random(787679144228763091) in encrypt() constant
48 val random = Random(1057830944394705953) in encryptEmpty() constant
62 val random = Random(8185922876836480815) in encryptLarge() constant
76 val random = Random(6085265142433950622) in encryptSingleByteSource() constant
91 val random = Random(4190481737015278225) in encryptPaddingRequired() constant
107 val random = Random(8067587635762239433) in decrypt() constant
121 val random = Random(8722996896871347396) in decryptEmpty() constant
135 val random = Random(4007116131070653181) in decryptLarge() constant
149 val random = Random(1555017938547616655) in decryptSingleByteSource() constant
166 val random = Random(5717921427007554469) in decryptPaddingRequired() constant
/aosp_15_r20/libcore/luni/src/test/java/libcore/javax/crypto/
H A DMockCipherSpi.java104 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
111SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
117SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
124 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
131SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
137SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
144 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
151SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
157SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
164 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
[all …]
/aosp_15_r20/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
H A DRandomStringUtils.java52 private static ThreadLocalRandom random() { in random() method in RandomStringUtils
66 public static String random(final int count) { in random() method in RandomStringUtils
84 public static String random(final int count, final boolean letters, final boolean numbers) { in random() method in RandomStringUtils
100 public static String random(final int count, final char... chars) { in random() method in RandomStringUtils
123 …public static String random(final int count, final int start, final int end, final boolean letters… in random() method in RandomStringUtils
149 …public static String random(final int count, final int start, final int end, final boolean letters… in random() method in RandomStringUtils
188 …public static String random(int count, int start, int end, final boolean letters, final boolean nu… in random() method in RandomStringUtils
189 final char[] chars, final Random random) { in random()
278 public static String random(final int count, final String chars) { in random() method in RandomStringUtils
/aosp_15_r20/packages/modules/Uwb/service/fusion_lib/tests/com/android/uwb/fusion/math/
DMatrixTest.java80 RandomTestData random = new RandomTestData(); in transformPoint_isConsistentWithPoseTransformPoint() local
95 RandomTestData random = new RandomTestData(); in newRigidTransform_isEquivalentToTrsWithoutScale() local
120 RandomTestData random = new RandomTestData(); in newTrs_isEquivalentToMultiplyingTranslationRotationScale() local
145 RandomTestData random = new RandomTestData(); in newScale_uniformScaleMatricesAreEqual() local
166 RandomTestData random = new RandomTestData(); in invert_multiplyWithInverseIsIdentity() local
188 RandomTestData random = new RandomTestData(); in multiply_multiplyWithIdentityIsNoOp() local
203 RandomTestData random = new RandomTestData(); in invert_inverseMultiplyIsReversedMultiplyInverse() local
225 RandomTestData random = new RandomTestData(); in multiply_isAssociative() local
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/http2/test_tools/
H A Dhttp2_random_test.cc12 Http2Random random; in TEST() local
33 Http2Random random; in TEST() local
44 Http2Random random; in TEST() local
53 Http2Random random; in TEST() local
62 Http2Random random; in TEST() local
71 Http2Random random; in TEST() local
83 Http2Random random; in TEST() local
/aosp_15_r20/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyFactory2Test.java113 SecureRandom random = new SecureRandom(); // We don't use in test_generatePrivateLjava_security_spec_KeySpec() local
115 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_generatePrivateLjava_security_spec_KeySpec() local
144 SecureRandom random = new SecureRandom(); in test_generatePublicLjava_security_spec_KeySpec() local
145 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_generatePublicLjava_security_spec_KeySpec() local
236 SecureRandom random = new SecureRandom(); in test_getKeySpecLjava_security_KeyLjava_lang_Class() local
237 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_getKeySpecLjava_security_KeyLjava_lang_Class() local
293 SecureRandom random = new SecureRandom(); in test_translateKeyLjava_security_Key() local
294 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_translateKeyLjava_security_Key() local
/aosp_15_r20/external/jazzer-api/src/test/java/com/code_intelligence/jazzer/mutation/mutator/lang/
H A DStringMutatorTest.java49 SplittableRandom random = new SplittableRandom( in testFixAscii_randomInputFixed() local
66 SplittableRandom random = new SplittableRandom( in testFixAscii_validInputNotChanged() local
79 SplittableRandom random = new SplittableRandom( in testFixUtf8_randomInputFixed() local
96 SplittableRandom random = new SplittableRandom( in testFixUtf8_validInputNotChanged() local
202 private static byte[] generateRandomBytes(SplittableRandom random, int length) { in generateRandomBytes()
208 private static byte[] generateValidAsciiBytes(SplittableRandom random, int length) { in generateValidAsciiBytes()
216 private static byte[] generateValidUtf8Bytes(SplittableRandom random, long codePoints) { in generateValidUtf8Bytes()
/aosp_15_r20/cts/tests/tests/media/player/src/android/media/player/cts/
H A DMediaPlayerFlakyNetworkTest.java143 Random random = new Random(seed); in doPlayStreams() local
155 private String getRandomTestVideo(Random random, String[] videos) { in getRandomTestVideo()
176 Random random = new Random(1); in doAsyncPrepareAndRelease() local
186 Random random = new Random(1); in doRandomOperations() local
257 final Random random = new Random(seed); in createHttpServer() local
298 public FlakyHttpServerConnection(Random random, float probability) { in FlakyHttpServerConnection()
350 float random = mRandom.nextFloat(); in createSessionOutputBuffer() local
/aosp_15_r20/external/skia/tools/viewer/
H A DMotionMarkSlide.cpp172 CanvasLineSegment(SkRandom* random, const LineSegmentParams& params) { in CanvasLineSegment()
332 CanvasArc(SkRandom* random, SkSize size) { in CanvasArc()
434 void setEndPoint(SkRandom* random, SkSize size, SkPoint* prevCoord) { in setEndPoint()
460 CanvasLinePoint(SkRandom* random, SkSize size, SkPoint* prev) { in CanvasLinePoint()
499 CanvasQuadraticSegment(SkRandom* random, SkSize size, SkPoint* prev) in CanvasQuadraticSegment()
520 CanvasBezierSegment(SkRandom* random, SkSize size, SkPoint* prev) in CanvasBezierSegment()
545 std::unique_ptr<CanvasLinePoint> make_line_path(SkRandom* random, SkSize size, SkPoint* prev) { in make_line_path()
624 SkPoint random_position(SkRandom* random, SkSize maxPosition) { in random_position()
629 float random_angle(SkRandom* random) { in random_angle()
633 float random_velocity(SkRandom* random, float maxVelocity) { in random_velocity()
[all …]
/aosp_15_r20/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DTextUtils.java40 private static String randomWord(Random random, int length) { in randomWord()
53 private static String randomWordFromStringSet(Random random, int length, String[] stringSet) { in randomWordFromStringSet()
80 Random random = new Random(0); in buildSimpleStringList() local
89 final Random random = new Random(0); in buildStringListFromUnicodeSet() local
108 final Random random = new Random(0); in buildLongStringList() local
144 Random random = new Random(0); in buildParagraphListWithHitPercentage() local
/aosp_15_r20/development/cmds/monkey/src/com/android/commands/monkey/
H A DMonkeySourceRandom.java123 public MonkeySourceRandom(Random random, HashMap<ComponentName, String> MainApps, in MonkeySourceRandom()
268 private void generatePointerEvent(Random random, int gesture) { in generatePointerEvent()
330 private PointF randomPoint(Random random, Display display) { in randomPoint()
334 private PointF randomVector(Random random) { in randomVector()
338 private void randomWalk(Random random, Display display, PointF point, PointF vector) { in randomWalk()
359 private void generateTrackballEvent(Random random) { in generateTrackballEvent()
391 private void generateRotationEvent(Random random) { in generateRotationEvent()
/aosp_15_r20/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DKeyPairGeneratorSpi.java52 SecureRandom random = CryptoServicesRegistrar.getSecureRandom(); field in KeyPairGeneratorSpi.EC
89 SecureRandom random) in initialize()
118 SecureRandom random) in initialize()
149 initializeNamedCurve(((ECGenParameterSpec)params).getName(), random); in initialize() local
153 initializeNamedCurve(((ECNamedCurveGenParameterSpec)params).getName(), random); in initialize() local
270 protected void initializeNamedCurve(String curveName, SecureRandom random) in initializeNamedCurve()

12345678910>>...103