Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
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()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DCodePointUtils.java72 @Nonnull final Random random) { in generateCodePointSet()
98 public static String generateWord(@Nonnull final Random random, in generateWord()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DLatinImeStressTests.java32 final Random random = new Random(seed); in testSwitchLanguagesAndInputLatinRandomCodePoints() local
49 final Random random = new Random(seed); in testSwitchLanguagesAndInputRandomCodePoints() local
DBinaryDictionaryTests.java263 final Random random = new Random(seed); in testRandomlyAddUnigramWord() local
337 final Random random = new Random(seed); in testRandomlyAddBigramWords() local
477 final Random random = new Random(seed); in testAddBigramWordsAndFlashWithGC() local
540 final Random random = new Random(seed); in testRandomOperationsAndFlashWithGC() local
625 final Random random = new Random(seed); in testAddManyUnigramsAndFlushWithGC() local
668 final Random random = new Random(seed); in testUnigramAndBigramCount() local
715 final Random random = new Random(seed); in testGetWordProperties() local
801 final Random random = new Random(seed); in testIterateAllWords() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
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
DUserHistoryDictionaryTestsHelper.java78 final int numberOfWords, final Random random, final boolean checkContents, in addAndWriteRandomWords()
123 public static List<String> generateWords(final int numberOfWords, final Random random) { in generateWords()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeSpiGenerator.java34 SecureRandom random = randomnessFactory.getRandom(); in IkeSpiGenerator() local
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java235 final Random random = new Random(index); in createRandomId() local
245 final Random random = new Random(index); in createRandomSize() local
250 final Random random = new Random(index); in createRandomTime() local
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNoncePayload.java74 SecureRandom random = randomnessFactory.getRandom(); in IkeNoncePayload() local
DIkeKePayload.java197 SecureRandom random = randomnessFactory.getRandom(); in IkeKePayload() local
/packages/apps/Gallery2/src/com/android/photos/data/
DAlbumSetLoader.java39 double random = Math.random(); in createRandomRow() local
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DRttChatBot.java82 private final Random random = new Random(); field in RttChatBot.MessageHandler
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedConnectionService.java100 Random random = new Random(); in createSelfManagedConnection() local
DTestVideoProvider.java59 private Random random; field in TestVideoProvider
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommendationUtils.java86 public void resetRandom(Random random) { in resetRandom()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlideshowView.java128 public SlideshowAnimation(int width, int height, Random random) { in SlideshowAnimation()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapAuthenticator.java116 private static SecureRandom createNewRandomIfNull(SecureRandom random) { in createNewRandomIfNull()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DLocalPhotoSource.java108 Random random = new Random(); in getExponentialIndice() local
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java67 private static void generateWords(final int maxUnigrams, final Random random) { in generateWords()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaItemMetadata.java180 int random = Math.floorMod(getPlaceholderHash(), placeholders.size()); in getPlaceholder() local
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3Protocol.java322 SecureRandom random = new SecureRandom(); in generatePin() local
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java74 private final Random random; field in SpamCallListListener
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java110 private static void generateWords(final int number, final Random random) { in generateWords()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMessage.java73 private static final java.util.Random random = new java.util.Random(); field in MimeMessage
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportActivity.java644 Random random = new Random(); in generateRandomString() local

12