Home
last modified time | relevance | path

Searched refs:nextLong (Results 1 – 19 of 19) 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/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/tests/telephony/current/src/android/telephony/cts/
DMmsTest.java200 final String fileName = "send." + String.valueOf(Math.abs(mRandom.nextLong())) + ".dat"; in sendMmsMessage()
369 final String fileName = "download." + String.valueOf(Math.abs(mRandom.nextLong())) + ".dat"; in downloadMultimediaMessage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DShortcutThrottlingResetActivity.java77 mReplyAction = "reply_" + new SecureRandom().nextLong(); in onCreate()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerUsageTest.java67 + Constants.sRandom.nextLong(); in generateRandomId()
/cts/libs/vogar-expect/src/vogar/expect/
DExpectationStore.java224 buganizerBug = reader.nextLong(); in readExpectation()
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiEchoTest.java103 timestamps[buffIndex] = 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/
DPackageManagerShellCommandTest.java206 String command = "pm " + mInstall + " -t -g " + file.getPath() + (new Random()).nextLong(); in testAppInstallErr()