Home
last modified time | relevance | path

Searched refs:longValue (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/text/src/android/text/format/cts/
DFormatterTest.java61 assertEquals("1.00 kB", Formatter.formatFileSize(context, bd.pow(1).longValue())); in testFormatFileSize()
62 assertEquals("1.50 kB", Formatter.formatFileSize(context, bd.pow(1).longValue() * 3 / 2)); in testFormatFileSize()
63 assertEquals("12.50 kB", Formatter.formatFileSize(context, bd.pow(1).longValue() * 25 / 2)); in testFormatFileSize()
65 assertEquals("1.00 MB", Formatter.formatFileSize(context, bd.pow(2).longValue())); in testFormatFileSize()
67 assertEquals("1.00 GB", Formatter.formatFileSize(context, bd.pow(3).longValue())); in testFormatFileSize()
69 assertEquals("1.00 TB", Formatter.formatFileSize(context, bd.pow(4).longValue())); in testFormatFileSize()
71 assertEquals("1.00 PB", Formatter.formatFileSize(context, bd.pow(5).longValue())); in testFormatFileSize()
73 assertEquals("1000 PB", Formatter.formatFileSize(context, bd.pow(6).longValue())); in testFormatFileSize()
101 assertEquals("1.0 kB", Formatter.formatShortFileSize(context, bd.pow(1).longValue())); in testFormatShortFileSize()
103 bd.pow(1).longValue() * 3 / 2)); in testFormatShortFileSize()
[all …]
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DJitterVerificationTest.java78 assertEquals(1, deltaValues.get(0).longValue()); in testCalculateDelta()
79 assertEquals(1, deltaValues.get(1).longValue()); in testCalculateDelta()
80 assertEquals(1, deltaValues.get(2).longValue()); in testCalculateDelta()
81 assertEquals(1, deltaValues.get(3).longValue()); in testCalculateDelta()
87 assertEquals(0, deltaValues.get(0).longValue()); in testCalculateDelta()
88 assertEquals(2, deltaValues.get(1).longValue()); in testCalculateDelta()
89 assertEquals(2, deltaValues.get(2).longValue()); in testCalculateDelta()
90 assertEquals(0, deltaValues.get(3).longValue()); in testCalculateDelta()
96 assertEquals(1, deltaValues.get(0).longValue()); in testCalculateDelta()
97 assertEquals(3, deltaValues.get(1).longValue()); in testCalculateDelta()
[all …]
/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamSwitchedWriteTest.java75 po.writeInt64(fieldId, val.longValue());
89 po.writeUInt64(fieldId, val.longValue());
103 po.writeSInt64(fieldId, val.longValue());
117 po.writeFixed64(fieldId, val.longValue());
131 po.writeSFixed64(fieldId, val.longValue());
138 po.writeBool(fieldId, val.longValue() != 0);
170 po.write(fieldId, val.longValue()); in SWITCHED.add()
/cts/tests/tests/util/src/android/util/cts/
DLongSparseArrayTest.java189 assertEquals(2L, sparseArray.valueAt(0).longValue()); in testIterationOrder()
190 assertEquals(40L, sparseArray.valueAt(1).longValue()); in testIterationOrder()
191 assertEquals(20L, sparseArray.valueAt(2).longValue()); in testIterationOrder()
192 assertEquals(Long.MIN_VALUE, sparseArray.valueAt(3).longValue()); in testIterationOrder()
DSparseArrayTest.java186 assertEquals(2L, sparseArray.valueAt(0).longValue()); in testIterationOrder()
187 assertEquals(40L, sparseArray.valueAt(1).longValue()); in testIterationOrder()
188 assertEquals(20L, sparseArray.valueAt(2).longValue()); in testIterationOrder()
189 assertEquals(Long.MIN_VALUE, sparseArray.valueAt(3).longValue()); in testIterationOrder()
DHalfTest.java471 assertEquals(12, Half.valueOf(12.57f).longValue()); in numberInterface()
478 assertEquals(-12, Half.valueOf(-12.57f).longValue()); in numberInterface()
485 assertEquals(0, Half.valueOf(POSITIVE_ZERO).longValue()); in numberInterface()
492 assertEquals(0, Half.valueOf(NEGATIVE_ZERO).longValue()); in numberInterface()
499 assertEquals(Long.MAX_VALUE, Half.valueOf(POSITIVE_INFINITY).longValue()); in numberInterface()
506 assertEquals(Long.MIN_VALUE, Half.valueOf(NEGATIVE_INFINITY).longValue()); in numberInterface()
513 assertEquals(0, Half.valueOf(NaN).longValue()); in numberInterface()
DRationalTest.java424 expected, object.longValue()); in verifyValueEquals()
/cts/tests/tests/os/src/android/os/cts/
DAsyncTaskTest.java50 assertEquals(RESULT, mMyAsyncTask.get(DURATION, TimeUnit.MILLISECONDS).longValue()); in doTestAsyncTask()
52 assertEquals(RESULT, mMyAsyncTask.get().longValue()); in doTestAsyncTask()
72 assertEquals(RESULT, mMyAsyncTask.postResult.longValue()); in doTestAsyncTask()
/cts/tests/tests/os/src/android/os/health/cts/
DHealthStatsTest.java139 Assert.assertEquals(800L, measurements.get("Z").longValue()); in checkHealthStats()
145 Assert.assertEquals(900L, measurements.get("Y").longValue()); in checkHealthStats()
146 Assert.assertEquals(901L, measurements.get("X").longValue()); in checkHealthStats()
/cts/tests/core/runner/src/com/android/cts/core/runner/
DCoreTestRunner.java347 long longValue = Long.parseLong(value.toString()); in parseUnsignedLong() local
348 if (longValue < 0) { in parseUnsignedLong()
351 return longValue; in parseUnsignedLong()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAsn1Utils.java160 return bigInt.longValue(); in bigIntegerToLong()
DKeyAttestationTest.java794 assertEquals(65537, keyDetailsList.getRsaPublicExponent().longValue()); in checkRsaKeyDetails()
/cts/tests/tests/database/src/android/database/cts/
DAbstractCursorTest.java543 return num.longValue(); in getLong()
/cts/tools/dasm/src/dasm/
DDAsm.java921 constant = CstLong.make(v2.longValue()); in addOpcode()
1305 constant = CstLong.make(num.longValue()); in endFillArrayData()
/cts/tests/camera/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java879 if (timeStamp != null && timeStamp.longValue() > 0L) { in matchesObject()
DCameraDeviceTest.java1163 if (timeStamp != null && timeStamp.longValue() > 0L) { in matchesObject()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java671 return completedSequence.second.longValue(); in getCaptureSequenceLastFrameNumber()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java288 assertEquals(expectedValues.getAsLong(columnName).longValue(), in verifyLongColumn()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex5475 public abstract long longValue()
5495 public long longValue()
14526 public long longValue()
15882 public long longValue()
16080 public long longValue()
16433 public long longValue()
16684 public long longValue()
17851 public long longValue()
21597 public long longValue()
22101 public long longValue()
[all …]