Home
last modified time | relevance | path

Searched refs:nextLong (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DJsonReaderTest.java218 assertEquals(1L, reader.nextLong()); in testIntegersWithFractionalPartSpecified()
363 assertEquals(0L, reader.nextLong()); in testLongs()
366 assertEquals(1L, reader.nextLong()); in testLongs()
369 assertEquals(-1L, reader.nextLong()); in testLongs()
377 assertEquals(Long.MIN_VALUE, reader.nextLong()); in testLongs()
383 assertEquals(Long.MAX_VALUE, reader.nextLong()); in testLongs()
384 assertEquals(5, reader.nextLong()); in testLongs()
385 assertEquals(100, reader.nextLong()); in testLongs()
386 assertEquals(11, reader.nextLong()); in testLongs()
387 assertEquals(5, reader.nextLong()); in testLongs()
[all …]
/cts/tests/tests/keystore/src/android/keystore/cts/
DCountingSecureRandom.java102 public long nextLong() { in nextLong() method in CountingSecureRandom
/cts/hostsidetests/art/device/tlr_app/src/com/android/art/cts/tlr_app/fixture/
DThreadLocalRandomProvider.java73 bundle.putLong(CALL_RESULT_NEXT_RANDOM, ThreadLocalRandom.current().nextLong()); in call()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBlockingIntentSenderService.java61 String id = Long.toString(new Random().nextLong()); in register()
/cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/
DReplyUtil.java76 final String replyAction = Constants.ACTION_REPLY + Constants.sRandom.nextLong(); in invokeAndWaitForReply()
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java154 array[i] = (int) (min + r.nextLong() % range); in genRandomInts()
169 long l = r.nextLong(); in genRandomLongs()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DStructFieldTest.java52 outer.l = r.nextLong(); in testStructField()
DRSUtils.java259 array[i] = (int) (min + r.nextLong() % range); in genRandomInts()
274 long l = r.nextLong(); in genRandomLongs()
DAllocationCopyPaddedTest.java516 inArray[i] = random.nextLong(); in test_AllocationPadded_Long3_1D()
548 inArray[i] = random.nextLong(); in test_AllocationPadded_Long3_2D()
581 inArray[i] = random.nextLong(); in test_AllocationPadded_Long3_3D()
771 inArray[i] = random.nextLong(); in test_AllocationPadded_copy1DRangeTo_Long3()
961 inArray[i] = random.nextLong(); in test_AllocationPadded_copy2DRangeTo_Long3()
1151 inArray[i] = random.nextLong(); in test_AllocationPadded_copy1DRangeToUnchecked_Long3()
DAllocationCopyToTest.java200 inArray[i] = random.nextLong(); in test_Allocationcopy1DRangeTo_Long()
386 inArray[i] = random.nextLong(); in test_Allocationcopy2DRangeTo_Long()
587 inArray[i] = random.nextLong(); in test_Allocationcopy3DRangeTo_Long()
627 inArray[i] = random.nextLong(); in test_AllocationCopy3DRangeFrom_Alloc()
810 inArray[i] = random.nextLong(); in test_Allocationcopy1DRangeToUnchecked_Long()
DRsAllocationCopyTest.java224 inArray[i] = random.nextLong(); in test_RsAllocationCopy1D_Long()
497 inArray[i] = random.nextLong(); in test_RsAllocationCopy2D_Long()
DVLoadTest.java204 t[i] = random.nextLong(); in randomLongArray()
DGetSetTest.java262 t[i] = random.nextLong(); in randomLongArray()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java500 sRandomSeed = new Random().nextLong();
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/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DShortcutThrottlingResetActivity.java81 mReplyAction = "reply_" + new SecureRandom().nextLong(); in onCreate()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerUsageTest.java71 + Constants.sRandom.nextLong(); in generateRandomId()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DMmsTest.java379 final String fileName = "send." + String.valueOf(Math.abs(mRandom.nextLong())) + ".dat"; in sendMmsMessage()
554 final String fileName = "download." + String.valueOf(Math.abs(mRandom.nextLong())) + ".dat"; in downloadMultimediaMessage()
/cts/libs/vogar-expect/src/vogar/expect/
DExpectationStore.java224 buganizerBug = reader.nextLong(); in readExpectation()
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiEchoTest.java102 timestamps[buffIndex] = Math.abs(mRandom.nextLong()); in generateRandomBufers()
/cts/libs/json/src/com/android/json/stream/
DJsonReader.java449 public long nextLong() throws IOException { in nextLong() method in JsonReader
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java335 mLong = seed.nextLong(); in PrimitivePropertiesTest()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandInstallTest.java400 String command = "pm " + mInstall + " -t -g " + file.getPath() + (new Random()).nextLong(); in testAppInstallErr()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java432 Long seed = rnd.nextLong(); in setupConfigurationTargets()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt49979 method public long nextLong() throws java.io.IOException;