Home
last modified time | relevance | path

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

12345678

/aosp12/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 …]
/aosp14/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 …]
/aosp12/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_alloc_copyPadded.java83 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_1D() local
114 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_2D() local
146 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_3D() local
179 Random random = new Random(0x172d8ab9); in testAllocation_Short3_1D() local
213 Random random = new Random(0x172d8ab9); in testAllocation_Short3_2D() local
248 Random random = new Random(0x172d8ab9); in testAllocation_Short3_3D() local
284 Random random = new Random(0x172d8ab9); in testAllocation_Int3_1D() local
318 Random random = new Random(0x172d8ab9); in testAllocation_Int3_2D() local
353 Random random = new Random(0x172d8ab9); in testAllocation_Int3_3D() local
389 Random random = new Random(0x172d8ab9); in testAllocation_Float3_1D() local
[all …]
H A DUT_alloc_copy.java58 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Byte() local
97 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Short() local
139 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Int() local
181 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Float() local
223 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Long() local
265 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Byte() local
300 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Short() local
338 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Int() local
376 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Float() local
414 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Long() local
[all …]
/aosp12/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 …]
/aosp12/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 …]
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/
H A DTranscodeHelperTest.java104 Random random = new Random(System.currentTimeMillis()); in testDoesNotTranscodeForMediaProvider() local
116 Random random = new Random(System.currentTimeMillis()); in testDoesNotTranscodeForSystemProcesses() local
125 Random random = new Random(System.currentTimeMillis()); in testDoesNotTranscodeIfAppAcceptsOriginalFormat() local
138 Random random = new Random(System.currentTimeMillis()); in testDoesNotTranscodeIfAppExtraMediaCapabilitiesHevc_supported() local
154 Random random = new Random(System.currentTimeMillis()); in testTranscodesIfAppExtraMediaCapabilitiesHevc_unsupported() local
/aosp12/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
/aosp14/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
/aosp12/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
H A DFusionDictionaryTest.java40 final Random random = new Random(seed); in prepare() local
48 private String generateWord(final Random random) { in generateWord()
64 private void generateWords(final int number, final Random random) { in generateWords()
/aosp12/packages/modules/StatsD/lib/libkll/include/
H A Dkll.h74 KllQuantile(int64_t inv_eps, int64_t inv_delta, int k, RandomGenerator* random) in KllQuantile()
126 void set_random(RandomGenerator* random) { in set_random()
138 RandomGenerator* random() const { in random() function
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
H A DLocationUtils.java36 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()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
H A DLocationUtils.java36 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()
/aosp12/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
H A DCodePointUtils.java72 @Nonnull final Random random) { in generateCodePointSet()
98 public static String generateWord(@Nonnull final Random random, in generateWord()
/aosp12/frameworks/base/keystore/java/android/security/keystore2/
H A DAndroidKeyStoreKeyGeneratorSpi.java61 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()
/aosp14/frameworks/base/keystore/java/android/security/keystore2/
H A DAndroidKeyStoreKeyGeneratorSpi.java61 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()
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
H A DUtils.java29 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
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
H A DUtils.java29 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
/aosp12/system/bt/gd/security/
H A Dpairing_handler_le_secure_connections.cc257 auto random = WaitPairingRandom(); in SecureConnectionsOutOfBand() local
268 auto random = WaitPairingRandom(); in SecureConnectionsOutOfBand() local
343 auto random = WaitPairingRandom(); in SecureConnectionsPasskeyEntry() local
372 auto random = WaitPairingRandom(); in SecureConnectionsPasskeyEntry() local
449 auto random = WaitPairingRandom(); in SecureConnectionsJustWorks() local
473 auto random = WaitPairingRandom(); in SecureConnectionsJustWorks() local
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DLatinImeStressTests.java32 final Random random = new Random(seed); in testSwitchLanguagesAndInputLatinRandomCodePoints() local
49 final Random random = new Random(seed); in testSwitchLanguagesAndInputRandomCodePoints() local
/aosp12/frameworks/base/core/tests/coretests/src/android/app/usage/
H A DEventListTest.java68 final Random random = new Random(128); in testInsertsSortedRandom() local
78 final Random random = new Random(256); in testInsertsSortedWithDuplicates() local
/aosp14/frameworks/base/core/tests/coretests/src/android/app/usage/
H A DEventListTest.java68 final Random random = new Random(128); in testInsertsSortedRandom() local
78 final Random random = new Random(256); in testInsertsSortedWithDuplicates() local
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
H A DUserHistoryDictionaryTests.java133 final Random random = new Random(123456); in doTestRandomWords() local
168 final Random random = new Random(123456); in doTestStressTestForSwitchingLanguagesAndAddingWords() local
224 final Random random = new Random(123456); in doTestAddManyWords() local

12345678