Home
last modified time | relevance | path

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

123456

/cts/tests/vm/src/android/vm/cts/opcodes/add_long/
DAddLongTest.java51 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); in testB1()
59 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE)); in testB2()
75 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); in testB4()
83 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5()
91 assertEquals(0l, t.run(Long.MIN_VALUE, Long.MIN_VALUE)); in testB6()
99 assertEquals(-9223372036854775807l, t.run(Long.MIN_VALUE, 1l)); in testB7()
107 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)); in testB8()
/cts/tests/vm/src/android/vm/cts/opcodes/add_long_2addr/
DAddLong2AddrTest.java50 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); in testB1()
58 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE)); in testB2()
74 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); in testB4()
82 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5()
90 assertEquals(0l, t.run(Long.MIN_VALUE, Long.MIN_VALUE)); in testB6()
98 assertEquals(-9223372036854775807l, t.run(Long.MIN_VALUE, 1l)); in testB7()
106 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)); in testB8()
/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/
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/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/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/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/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/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/tests/tests/os/src/android/os/health/cts/
DTimerStatTest.java46 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testSetCount()
53 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); in testSetCount()
61 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testSetTime()
76 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testParceling()
79 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); in testParceling()
90 Assert.assertEquals(Long.MAX_VALUE, readback.getTime()); in testParceling()
/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/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/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/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/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/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/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/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/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DJitterVerification.java59 private final List<Long> mTimestamps = new LinkedList<Long>();
112 List<Long> deltas = getDeltaValues(); in verify()
117 List<Long> percentileValues = SensorCtsHelper.getPercentileValue(deltas, percentiles); in verify()
162 List<Long> getDeltaValues() { in getDeltaValues()
163 List<Long> deltas = new ArrayList<Long>(mTimestamps.size() - 1); in getDeltaValues()
/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/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/tools/cts-device-info/src/com/android/cts/deviceinfo/
DSampleDeviceInfo.java35 long[] longs = {Long.MAX_VALUE, Long.MIN_VALUE}; in collectDeviceInfo()
56 store.addResult("foo_long", Long.MAX_VALUE); in collectDeviceInfo()
/cts/tests/camera/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java247 Pair<Long, Long> frameDurationStats = in preparePerformanceTestByCamera()
267 Pair<Long, Long> whilePreparingFrameDurationStats = in preparePerformanceTestByCamera()
305 Pair<Long, Long> preparedFrameDurationStats = in preparePerformanceTestByCamera()
429 Pair<Long, Long> measureMeanFrameInterval(SimpleCaptureCallback resultListener, int frameCount, in measureMeanFrameInterval()
445 return new Pair<Long, Long>(summedIntervals / measurementCount, maxInterval); in measureMeanFrameInterval()
507 Long minFrameDuration = mMinPreviewFrameDurationMap.get(previewSz); in verifyPreviewTargetFpsRange()
649 Long timeStamp = result.get(CaptureResult.SENSOR_TIMESTAMP); in matches()
663 ArgumentCaptor<Long> timestamps = ArgumentCaptor.forClass(Long.class); in verifyCaptureResults()
664 ArgumentCaptor<Long> frameNumbers = ArgumentCaptor.forClass(Long.class); in verifyCaptureResults()
675 for (Long nextTimestamp : timestamps.getAllValues()) { in verifyCaptureResults()
[all …]

123456