| /frameworks/base/core/tests/coretests/src/android/database/ | 
| D | NewDatabasePerformanceTests.java | 181             Random random = new Random(42);  in prepareForTest()  local209             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 …]
 
 | 
| D | DatabaseCursorTest.java | 239         Random random = new Random(System.currentTimeMillis());  in testLargeField()  local320         Random random = new Random(System.currentTimeMillis());  in testManyRowsTxt()  local
 353         Random random = new Random(System.currentTimeMillis());  in testManyRowsTxtLong()  local
 
 | 
| /frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ | 
| D | UT_alloc_copyPadded.java | 86         Random random = new Random(0x172d8ab9);  in testAllocation_Byte3_1D()  local117         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 …]
 
 | 
| D | UT_alloc_copy.java | 62         Random random = new Random(0x172d8ab9);  in allocation_copy1DRangeTo_Byte()  local101         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 …]
 
 | 
| /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ | 
| D | UT_alloc_copyPadded.java | 84         Random random = new Random(0x172d8ab9);  in testAllocation_Byte3_1D()  local115         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 …]
 
 | 
| D | UT_alloc_copy.java | 60         Random random = new Random(0x172d8ab9);  in allocation_copy1DRangeTo_Byte()  local99         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 …]
 
 | 
| /frameworks/base/tests/UiBench/src/com/android/test/uibench/ | 
| D | TextUtils.java | 40     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
 
 | 
| /frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/ | 
| D | LocationUtils.java | 36     public static Location createLocation(String provider, Random random) {  in createLocation()43     public static LocationResult createLocationResult(String provider, Random random) {  in createLocationResult()
 47     public static LocationResult createLocationResult(String provider, Random random,  in createLocationResult()
 
 | 
| /frameworks/base/packages/SystemUI/src/com/android/keyguard/ | 
| D | PinShapeAdapter.kt | 25     val random = Random(System.currentTimeMillis())  constant in com.android.keyguard.PinShapeAdapter
 | 
| /frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ | 
| D | Utils.java | 29     public static String getRandomWord(Random random, int length) {  in getRandomWord()40         Random random = new Random(0);  in buildStringList()  local
 71         Random random = new Random(0);  in buildParagraphListWithHitPercentage()  local
 
 | 
| /frameworks/base/keystore/java/android/security/keystore2/ | 
| D | AndroidKeyStoreKeyGeneratorSpi.java | 61         protected void engineInit(AlgorithmParameterSpec params, SecureRandom random)  in engineInit()154     protected void engineInit(SecureRandom random) {  in engineInit()
 160     protected void engineInit(int keySize, SecureRandom random) {  in engineInit()
 166     protected void engineInit(AlgorithmParameterSpec params, SecureRandom random)  in engineInit()
 
 | 
| D | AndroidKeyStoreKeyAgreementSpi.java | 93     protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException {  in engineInit()118     protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random)  in engineInit()
 
 | 
| D | AndroidKeyStoreCipherSpiBase.java | 132     protected final void engineInit(int opmode, Key key, SecureRandom random)  in engineInit()199             SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException {  in engineInit()
 229             SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException {  in engineInit()
 257     private void init(int opmode, Key key, SecureRandom random) throws InvalidKeyException {  in init()
 
 | 
| /frameworks/base/core/tests/coretests/src/android/app/usage/ | 
| D | EventListTest.java | 68         final Random random = new Random(128);  in testInsertsSortedRandom()  local78         final Random random = new Random(256);  in testInsertsSortedWithDuplicates()  local
 
 | 
| /frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/ | 
| D | TurbulenceNoiseController.kt | 40     private val random = Random()  constant in com.android.systemui.surfaceeffects.turbulencenoise.TurbulenceNoiseController
 | 
| /frameworks/base/apct-tests/perftests/core/src/android/text/ | 
| D | VariableFontPerfTest.java | 103         final Random random = new Random(0);  in testDraw_SetDifferentVariationEachDraw()  local123         final Random random = new Random(0);  in testSetFontVariationSettings()  local
 
 | 
| D | NonEditableTextGenerator.java | 25     public NonEditableTextGenerator(Random random) {  in NonEditableTextGenerator()105         public RandomCharSequenceGenerator(Random random) {  in RandomCharSequenceGenerator()
 
 | 
| /frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ | 
| D | AlarmTest.java | 98         final Random random = new Random(971);  in generatePolicyTestMatrix()  local218         final Random random = new Random(234);  in snapshotImmutable()  local
 
 | 
| /frameworks/base/services/tests/servicestests/src/com/android/server/job/ | 
| D | PendingJobQueueTest.java | 525         Random random = new Random(1); // Always use the same series of pseudo random values.  in testPendingJobSorting_Random()  local544         Random random = new Random(1); // Always use the same series of pseudo random values.  in testPendingJobSorting_Random_namespacing()  local
 562             Random random = new Random(seed);  in testPendingJobSortingTransitivity()  local
 588             Random random = new Random(seed);  in testPendingJobSortingTransitivity_Concentrated()  local
 
 | 
| /frameworks/base/core/tests/utiltests/src/com/android/internal/util/ | 
| D | BitwiseStreamsTest.java | 95         Random random = new Random();  in testFive()  local139         Random random = new Random();  in testExpandArray()  local
 
 | 
| /frameworks/base/core/java/android/net/sntp/ | 
| D | Timestamp64.java | 165     public Timestamp64 randomizeSubMillis(Random random) {  in randomizeSubMillis()176     public static int randomizeLowestBits(Random random, int value, int bitsToRandomize) {  in randomizeLowestBits()
 
 | 
| /frameworks/base/core/java/com/android/internal/ml/clustering/ | 
| D | KMeans.java | 44     public KMeans(Random random) {  in KMeans()47     public KMeans(Random random, int maxIterations, float convergenceEpsilon) {  in KMeans()
 
 | 
| /frameworks/base/apct-tests/perftests/core/src/android/libcore/ | 
| D | ZipFilePerfTest.java | 80         Random random = new Random();  in writeEntries()  local
 | 
| D | BufferedZipFilePerfTest.java | 52         Random random = new Random(0);  in setUp()  local
 | 
| D | ZipFileReadPerfTest.java | 69         Random random = new Random();  in writeEntries()  local
 |