Home
last modified time | relevance | path

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

/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/apps/Email/tests/src/com/android/emailcommon/utility/
DSSLUtilsTest.java76 Random random = new Random(314159 /* seed */); in testSchemeNamesAreMoreOrLessUnique() local
/packages/apps/Gallery2/src/com/android/photos/data/
DAlbumSetLoader.java39 double random = Math.random(); in createRandomRow() 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/apps/Dialer/java/com/android/dialer/simulator/impl/
DRttChatBot.java82 private final Random random = new Random(); field in RttChatBot.MessageHandler
/packages/services/Car/tests/CarTrustAgentClientApp/src/com/android/car/trust/client/
DPhoneEnrolmentController.java105 Random random = new Random(); in generateEscrowToken() local
/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.java87 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/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
DSimpleTempStorage.java45 private Random random = new Random(); field in SimpleTempStorage
/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/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLSocketFactory.java182 final SecureRandom random, in SSLSocketFactory()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportActivity.java423 Random random = new Random(); in generateRandomString() 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/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaItemMetadata.java236 int random = Math.floorMod(titleHash, placeholderImages.length()); in getPlaceholderDrawable() local
/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