/cts/tests/tests/database/src/android/database/cts/ |
D | MatrixCursorTest.java | 195 assertEquals(-32768d, mMatrixCursor.getDouble(COLUMN0_INDEX), 0.0d); in testGetters() 196 assertEquals(0d, mMatrixCursor.getDouble(COLUMN1_INDEX), 0.0d); in testGetters() 197 assertEquals(32767d, mMatrixCursor.getDouble(COLUMN2_INDEX), 0.0d); in testGetters() 226 assertEquals(Double.MIN_VALUE, mMatrixCursor.getDouble(COLUMN0_INDEX), 0.0d); in testGetters() 227 assertEquals(0d, mMatrixCursor.getDouble(COLUMN1_INDEX), 0.0d); in testGetters() 228 assertEquals(Double.MAX_VALUE, mMatrixCursor.getDouble(COLUMN2_INDEX), 0.0d); in testGetters() 256 assertEquals(-1d, mMatrixCursor.getDouble(COLUMN0_INDEX), 0.0d); in testGetters() 257 assertEquals(0f, mMatrixCursor.getDouble(COLUMN1_INDEX), 0.0d); in testGetters() 258 assertEquals(1d, mMatrixCursor.getDouble(COLUMN2_INDEX), 0.0d); in testGetters()
|
D | CursorWindowTest.java | 103 assertEquals(0.0, window.getDouble(0, 0), 0.0); in testNull() 115 assertEquals(0.0, window.getDouble(0, 0), 0.0); in testEmptyString() 231 assertEquals(NUMBER_DOUBLE_SCIENCE_STRING, Double.toString(cursorWindow.getDouble(0, 0))); in testAccessDataValues() 241 assertEquals(0.0, cursorWindow.getDouble(0, 0), 0.0); in testAccessDataValues() 253 assertEquals(0.0, cursorWindow.getDouble(0, 1), 0.0); in testAccessDataValues() 267 assertEquals(NUMBER_DOUBLE_SCIENCE, cursorWindow.getDouble(0, 2), 0.0); in testAccessDataValues() 287 assertEquals(NUMBER_DOUBLE_SCIENCE, cursorWindow.getDouble(0, 3), 0.0); in testAccessDataValues()
|
D | DatabaseUtils_InsertHelperTest.java | 132 assertEquals(123.456, cursor.getDouble(doubleValueIndex)); in testInsert() 164 assertEquals(654.321, cursor.getDouble(doubleValueIndex)); in testInsert() 228 assertEquals(123.456, cursor.getDouble(doubleValueIndex)); in testReplace() 274 assertEquals(654.321, cursor.getDouble(doubleValueIndex)); in testReplace()
|
D | AbstractCursor_SelfContentObserverTest.java | 69 public double getDouble(int column) { in getDouble() method in AbstractCursor_SelfContentObserverTest.MockAbstractCursor
|
D | AbstractWindowedCursorTest.java | 155 double db2 = mWindow.getDouble(ROW_INDEX0, COLUMN_INDEX0); in testGetDouble() 159 double cd = mCursor.getDouble(COLUMN_INDEX0); in testGetDouble()
|
D | DatabaseCursorTest.java | 142 assertEquals((double) d, testCursor.getDouble(dCol)); in testBlob() 156 assertEquals(42.11, testCursor.getDouble(0)); in testRealColumns()
|
D | MergeCursorTest.java | 171 assertEquals(NUMBER_DOUBLE - i, mergeCursor.getDouble(columnDouble), 0.000000000001); in testGetValues()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 605 Array.set(val, i, (float)ja.getDouble(i)); in deserialize() 609 Array.set(val, i, ja.getDouble(i)); in deserialize() 631 (float)arr.getDouble(0), in deserialize() 632 (float)arr.getDouble(1), in deserialize() 633 (float)arr.getDouble(2), in deserialize() 634 (float)arr.getDouble(3))); in deserialize() 669 val = jsonReq.getDouble(keyName); in deserialize() 673 val = (float)jsonReq.getDouble(keyName); in deserialize() 696 (float)arr.getDouble(0), in deserialize() 697 (float)arr.getDouble(1), in deserialize() [all …]
|
D | ItsUtils.java | 74 x = (int)Math.floor(a.getDouble(i+0) * width + 0.5f); in getJsonWeightedRectsFromArray() 75 y = (int)Math.floor(a.getDouble(i+1) * height + 0.5f); in getJsonWeightedRectsFromArray() 76 w = (int)Math.floor(a.getDouble(i+2) * width + 0.5f); in getJsonWeightedRectsFromArray() 77 h = (int)Math.floor(a.getDouble(i+3) * height + 0.5f); in getJsonWeightedRectsFromArray()
|
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | DeviceReportTest.java | 138 jsonObject.getJSONObject(STREAM_NAME_1).getDouble(TEST_MESSAGE_1) == TEST_VALUE_1); in testFile() 140 jsonObject.getJSONObject(STREAM_NAME_2).getDouble(TEST_MESSAGE_2) == TEST_VALUE_2); in testFile() 150 jsonObject.getJSONObject(STREAM_NAME_3).getDouble(TEST_MESSAGE_3) == TEST_VALUE_3); in testFile() 152 jsonObject.getJSONObject(STREAM_NAME_4).getDouble(TEST_MESSAGE_4) == TEST_VALUE_4); in testFile()
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | DragSourceCursor.java | 72 public double getDouble(int column) { in getDouble() method in DragSourceCursor
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HwBinderTest.java | 106 assertEquals(3.0, blob.getDouble(offset), 0.0); 144 assertEquals(3.0, blob.getDouble(offset), 0.0); 145 assertEquals(2.0, blob.getDouble(offset + 8), 0.0);
|
D | PersistableBundleTest.java | 56 assertEquals(1.23, restoredBundle.getDouble("double")); in testWriteToStreamAndReadFromStream()
|
D | BundleTest.java | 313 assertEquals(0.0, mBundle.getDouble(KEY)); in testGetDouble1() 315 assertEquals(d, mBundle.getDouble(KEY)); in testGetDouble1() 317 assertEquals(d, mBundle.getDouble(KEY)); in testGetDouble1() 324 assertEquals(d1, mBundle.getDouble(KEY, d1)); in testGetDouble2() 326 assertEquals(d2, mBundle.getDouble(KEY, d1)); in testGetDouble2() 328 assertEquals(d2, mBundle.getDouble(KEY, d1)); in testGetDouble2()
|
/cts/tests/leanbackjank/src/android/leanbackjank/cts/ |
D | CtsJankTestBase.java | 50 mLog.addValue(source, formatKeyForTestMetrics(key), metrics.getDouble(key), resultType, in printDoubleValueWithKey() 69 metrics.getDouble(WindowContentFrameStatsMonitor.KEY_AVG_NUM_JANKY), in afterTest()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaMetricsTest.java | 57 assertEquals(3.1, bundle.getDouble("double"), 1e-6 /* delta */); in testBasicItem() 96 assertEquals(3.1, bundle.getDouble("double"), 1e-6 /* delta */); in testBigItem()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | CallLogTest.java | 151 double storedLat = locationCursor.getDouble( in testLocationStorageAndRetrieval() 153 double storedLon = locationCursor.getDouble( in testLocationStorageAndRetrieval()
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | UtilsReceiver.java | 68 final double fraction = extras.getDouble(EXTRA_FRACTION, 0); in doAllocation()
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskCase.h | 79 inline double getDouble() { in getDouble() function
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskSave.cpp | 129 details.appendFormat(" %s: %f\n", it->first.string(), it->second.getDouble()); in handleReport()
|
/cts/suite/audio_quality/test/ |
D | TaskCaseTest.cpp | 79 ASSERT_TRUE(val1.getDouble() == 1.0f); in TEST_F()
|
/cts/suite/audio_quality/lib/src/ |
D | SignalProcessingImpl.cpp | 149 mBuffer.write<double>(val->getDouble()); in run()
|
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/ |
D | PlatformInspectableProcessorTest.java | 355 public double getDouble() { in getDouble() method in PlatformInspectableProcessorTest.PrimitivePropertiesTest 387 assertEquals(node.getDouble(), mPropertyReader.get("double")); in testPrimitiveProperties()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 510 fps = json.getDouble("frameRate"); in VideoMetaInfo() 511 fovWidth = json.getDouble("fovW")*Math.PI/180.0; in VideoMetaInfo() 512 fovHeight = json.getDouble("fovH")*Math.PI/180.0; in VideoMetaInfo()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | ApiComplianceChecker.java | 414 Double.toString(deviceField.getDouble(null))); in getFieldValueAsString()
|