Home
last modified time | relevance | path

Searched refs:sRandom (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DAttributesUtil.java32 private static final Random sRandom = new Random(0); field in AttributesUtil
182 sRandom.nextBytes(array); in getRandomName()
183 return sRandom.toString(); in getRandomName()
188 sRandom.nextBytes(array); in getRandomAddress()
189 return Uri.parse("tel:" + sRandom); in getRandomAddress()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DDataSharingActivity.java38 private static final Random sRandom = new Random(); field in DataSharingActivity
63 sRandom.nextBytes(mDataWritten); in onStart()
DDataSharingService.java42 private static final Random sRandom = new Random(); field in DataSharingService
82 sRandom.nextBytes(mDataWritten); in shareData()
DOutOfProcessDataSharingService.java43 private static final Random sRandom = new Random(); field in OutOfProcessDataSharingService
113 sRandom.nextBytes(mDataWritten); in shareData()
/cts/tests/credentials/src/android/credentials/cts/unittests/
DTestUtils.java39 private static final Random sRandom = new Random(SystemClock.uptimeMillis()); field in TestUtils
126 bundle.putInt("key" + sRandom.nextInt(), sRandom.nextInt()); in createTestBundle()
/cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/
DConstants.java51 public static final SecureRandom sRandom = new SecureRandom(); field in Constants
DReplyUtil.java76 final String replyAction = Constants.ACTION_REPLY + Constants.sRandom.nextLong(); in invokeAndWaitForReply()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java71 private static Random sRandom = null; field in GestureUtils
497 sRandom = new Random(sRandomSeed);
501 sRandom = new Random(sRandomSeed);
505 sRandom.nextLong(STROKE_TIME_GAP_MS_MAX - STROKE_TIME_GAP_MS_MIN)
508 sRandom.nextLong(TAP_DURATION_MS_MAX - TAP_DURATION_MS_MIN) + TAP_DURATION_MS_MIN;
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerUsageTest.java71 + Constants.sRandom.nextLong(); in generateRandomId()