Home
last modified time | relevance | path

Searched refs:Long (Results 1 – 25 of 131) sorted by relevance

123456

/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long/
DTest_add_long.java54 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); in testB1()
62 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE)); in testB2()
78 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); in testB4()
86 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5()
94 assertEquals(0l, t.run(Long.MIN_VALUE, Long.MIN_VALUE)); in testB6()
102 assertEquals(-9223372036854775807l, t.run(Long.MIN_VALUE, 1l)); in testB7()
110 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)); in testB8()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long_2addr/
DTest_add_long_2addr.java54 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); in testB1()
62 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE)); in testB2()
78 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); in testB4()
86 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5()
94 assertEquals(0l, t.run(Long.MIN_VALUE, Long.MIN_VALUE)); in testB6()
102 assertEquals(-9223372036854775807l, t.run(Long.MIN_VALUE, 1l)); in testB7()
110 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)); in testB8()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_long_2addr/
DTest_mul_long_2addr.java55 assertEquals(0, t.run(0, Long.MAX_VALUE)); in testB1()
63 assertEquals(9223372036854775807L, t.run(Long.MAX_VALUE, 1)); in testB2()
71 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, 1)); in testB3()
79 assertEquals(-9223372036854775808L, t.run(Long.MAX_VALUE, in testB4()
80 Long.MIN_VALUE)); in testB4()
96 assertEquals(-9223372036854775807L, t.run(Long.MAX_VALUE, -1)); in testB6()
104 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, -1)); in testB7()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_long/
DTest_mul_long.java55 assertEquals(0, t.run(0, Long.MAX_VALUE)); in testB1()
63 assertEquals(9223372036854775807L, t.run(Long.MAX_VALUE, 1)); in testB2()
71 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, 1)); in testB3()
79 assertEquals(-9223372036854775808L, t.run(Long.MAX_VALUE, in testB4()
80 Long.MIN_VALUE)); in testB4()
96 assertEquals(-9223372036854775807L, t.run(Long.MAX_VALUE, -1)); in testB6()
104 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, -1)); in testB7()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long_2addr/
DTest_div_long_2addr.java78 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, -1)); in testB1()
86 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, 1)); in testB2()
94 assertEquals(9223372036854775807L, t.run(Long.MAX_VALUE, 1)); in testB3()
102 assertEquals(-1, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB4()
110 assertEquals(0, t.run(1, Long.MAX_VALUE)); in testB5()
118 assertEquals(0, t.run(1, Long.MIN_VALUE)); in testB6()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long/
DTest_rem_long.java79 assertEquals(0l, t.run(Long.MIN_VALUE, -1l)); in testB1()
87 assertEquals(0l, t.run(Long.MIN_VALUE, 1l)); in testB2()
95 assertEquals(0l, t.run(Long.MAX_VALUE, 1l)); in testB3()
103 assertEquals(-1l, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB4()
111 assertEquals(1l, t.run(1l, Long.MAX_VALUE)); in testB5()
119 assertEquals(1l, t.run(1l, Long.MIN_VALUE)); in testB6()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long_2addr/
DTest_rem_long_2addr.java79 assertEquals(0l, t.run(Long.MIN_VALUE, -1l)); in testB1()
87 assertEquals(0l, t.run(Long.MIN_VALUE, 1l)); in testB2()
95 assertEquals(0l, t.run(Long.MAX_VALUE, 1l)); in testB3()
103 assertEquals(-1l, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB4()
111 assertEquals(1l, t.run(1l, Long.MAX_VALUE)); in testB5()
119 assertEquals(1l, t.run(1l, Long.MIN_VALUE)); in testB6()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long/
DTest_div_long.java79 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, -1)); in testB1()
87 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, 1)); in testB2()
95 assertEquals(9223372036854775807L, t.run(Long.MAX_VALUE, 1)); in testB3()
103 assertEquals(-1, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB4()
111 assertEquals(0, t.run(1, Long.MAX_VALUE)); in testB5()
119 assertEquals(0, t.run(1, Long.MIN_VALUE)); in testB6()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_long_2addr/
DTest_sub_long_2addr.java55 assertEquals(-9223372036854775807L, t.run(0l, Long.MAX_VALUE)); in testB1()
63 assertEquals(0l, t.run(9223372036854775807L, Long.MAX_VALUE)); in testB2()
71 assertEquals(-9223372036854775808L, t.run(Long.MAX_VALUE, -1l)); in testB3()
79 assertEquals(9223372036854775807L, t.run(Long.MIN_VALUE, 1l)); in testB4()
95 assertEquals(-9223372036854775808L, t.run(0l, -Long.MIN_VALUE)); in testB6()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_long/
DTest_sub_long.java55 assertEquals(-9223372036854775807L, t.run(0l, Long.MAX_VALUE)); in testB1()
63 assertEquals(0l, t.run(9223372036854775807L, Long.MAX_VALUE)); in testB2()
71 assertEquals(-9223372036854775808L, t.run(Long.MAX_VALUE, -1l)); in testB3()
79 assertEquals(9223372036854775807L, t.run(Long.MIN_VALUE, 1l)); in testB4()
95 assertEquals(-9223372036854775808L, t.run(0l, -Long.MIN_VALUE)); in testB6()
/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_DeletedContacts.java70 if (Long.parseLong(record[0]) == ids.mContactId) { in testQuery_returnsProperColumns()
72 assertTrue(Long.parseLong(record[1]) > start); in testQuery_returnsProperColumns()
104 HashSet<Long> beforeIds = new HashSet<Long>(); in testQuerySinceTimestamp()
111 HashSet<Long> afterIds = new HashSet<Long>(); in testQuerySinceTimestamp()
124 long contactId = Long.parseLong(record[0]); in testQuerySinceTimestamp()
129 assertTrue(Long.parseLong(record[1]) > start); in testQuerySinceTimestamp()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long/
DTest_xor_long.java62 assertEquals(0xffffffff, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB2()
70 assertEquals(0l, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); in testB3()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long_2addr/
DTest_xor_long_2addr.java63 assertEquals(0xffffffff, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB2()
71 assertEquals(0l, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); in testB3()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java217 Pair<Long, Long> frameDurationStats = in preparePerformanceTestByCamera()
237 Pair<Long, Long> whilePreparingFrameDurationStats = in preparePerformanceTestByCamera()
275 Pair<Long, Long> preparedFrameDurationStats = in preparePerformanceTestByCamera()
308 Pair<Long, Long> measureMeanFrameInterval(SimpleCaptureCallback resultListener, int frameCount, in measureMeanFrameInterval()
324 return new Pair<Long, Long>(summedIntervals / measurementCount, maxInterval); in measureMeanFrameInterval()
387 Long minFrameDuration = mMinPreviewFrameDurationMap.get(previewSz); in verifyPreviewTargetFpsRange()
457 Long timeStamp = result.get(CaptureResult.SENSOR_TIMESTAMP); in matches()
471 ArgumentCaptor<Long> timestamps = ArgumentCaptor.forClass(Long.class); in verifyCaptureResults()
472 ArgumentCaptor<Long> frameNumbers = ArgumentCaptor.forClass(Long.class); in verifyCaptureResults()
483 for (Long nextTimestamp : timestamps.getAllValues()) { in verifyCaptureResults()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmp_long/
DTest_cmp_long.java54 assertEquals(1, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB1()
62 assertEquals(-1, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB2()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/not_long/
DTest_not_long.java56 assertEquals(Long.MIN_VALUE, t.run(Long.MAX_VALUE)); in testB1()
64 assertEquals(Long.MAX_VALUE, t.run(Long.MIN_VALUE)); in testB2()
/cts/tests/tests/util/src/android/util/cts/
DLongSparseArrayTest.java164 LongSparseArray<Long> sparseArray = new LongSparseArray<Long>(); in testIterationOrder()
166 sparseArray.put(1L, Long.valueOf(2L)); in testIterationOrder()
167 sparseArray.put(10L, Long.valueOf(20L)); in testIterationOrder()
168 sparseArray.put(5L, Long.valueOf(40L)); in testIterationOrder()
169 sparseArray.put(Long.MAX_VALUE, Long.valueOf(Long.MIN_VALUE)); in testIterationOrder()
174 assertEquals(Long.MAX_VALUE, sparseArray.keyAt(3)); in testIterationOrder()
179 assertEquals(Long.MIN_VALUE, sparseArray.valueAt(3).longValue()); in testIterationOrder()
DSparseArrayTest.java160 SparseArray<Long> sparseArray = new SparseArray<Long>(); in testIterationOrder()
162 sparseArray.put(1, Long.valueOf(2L)); in testIterationOrder()
163 sparseArray.put(10, Long.valueOf(20L)); in testIterationOrder()
164 sparseArray.put(5, Long.valueOf(40L)); in testIterationOrder()
165 sparseArray.put(Integer.MAX_VALUE, Long.valueOf(Long.MIN_VALUE)); in testIterationOrder()
175 assertEquals(Long.MIN_VALUE, sparseArray.valueAt(3).longValue()); in testIterationOrder()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DSampleDeviceInfo.java37 long[] longs = {Long.MAX_VALUE, Long.MIN_VALUE}; in collectDeviceInfo()
58 addResult("foo_long", Long.MAX_VALUE); in collectDeviceInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DThroughputEmulatorActivity.java54 mTextView.setText("PASS. Total duration: " + Long.toString(duration) + " ms " + in onApduSequenceComplete()
55 "( " + Long.toString(timePerApdu) + " ms per APDU roundtrip)."); in onApduSequenceComplete()
58 mTextView.setText("FAIL. Total duration: " + Long.toString(duration) + " ms " + in onApduSequenceComplete()
59 "(" + Long.toString(timePerApdu) + " ms per APDU roundtrip)." + in onApduSequenceComplete()
/cts/libs/vogar-expect/src/vogar/
DAnnotatedOutcome.java41 private final SortedMap<Long, Outcome> previousOutcomes;
48 SortedMap<Long, Outcome> previousOutcomes, String tagName, Outcome tagOutcome, in AnnotatedOutcome() argument
140 public Long lastRun(Long defaultValue) { in lastRun()
144 List<Long> runTimes = Lists.newArrayList(previousOutcomes.keySet()); in lastRun()
/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/
DSampleDeviceInfo.java37 long[] longs = {Long.MAX_VALUE, Long.MIN_VALUE}; in collectDeviceInfo()
58 addResult("foo_long", Long.MAX_VALUE); in collectDeviceInfo()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_long/
DTest_double_to_long.java54 assertEquals(Long.MAX_VALUE, t.run(Double.MAX_VALUE)); in testB1()
86 assertEquals(Long.MAX_VALUE, t.run(Double.POSITIVE_INFINITY)); in testB5()
94 assertEquals(Long.MIN_VALUE, t.run(Double.NEGATIVE_INFINITY)); in testB6()
/cts/tests/tests/os/src/android/os/cts/
DCountDownTimerTestStub.java27 public ArrayList<Long> tickTimes;
36 tickTimes = new ArrayList<Long>(); in onCreate()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_long/
DTest_float_to_long.java54 assertEquals(Long.MAX_VALUE, t.run(Float.MAX_VALUE)); in testB1()
86 assertEquals(Long.MAX_VALUE, t.run(Float.POSITIVE_INFINITY)); in testB5()
94 assertEquals(Long.MIN_VALUE, t.run(Float.NEGATIVE_INFINITY)); in testB6()

123456