Home
last modified time | relevance | path

Searched refs:getDouble (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/database/src/android/database/cts/
DMatrixCursorTest.java195 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()
DCursorWindowTest.java85 assertEquals(0.0, window.getDouble(0, 0)); in testNull()
96 assertEquals(0.0, window.getDouble(0, 0)); in testEmptyString()
207 assertEquals(NUMBER_DOUBLE_SCIENCE_STRING, Double.toString(cursorWindow.getDouble(0, 0))); in testAccessDataValues()
217 assertEquals(0.0, cursorWindow.getDouble(0, 0)); in testAccessDataValues()
229 assertEquals(0.0, cursorWindow.getDouble(0, 1)); in testAccessDataValues()
243 assertEquals(NUMBER_DOUBLE_SCIENCE, cursorWindow.getDouble(0, 2), 0.00000001); in testAccessDataValues()
263 assertEquals(NUMBER_DOUBLE_SCIENCE, cursorWindow.getDouble(0, 3), 0.00000001); in testAccessDataValues()
DDatabaseUtils_InsertHelperTest.java132 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()
DAbstractCursor_SelfContentObserverTest.java69 public double getDouble(int column) { in getDouble() method in AbstractCursor_SelfContentObserverTest.MockAbstractCursor
DAbstractWindowedCursorTest.java155 double db2 = mWindow.getDouble(ROW_INDEX0, COLUMN_INDEX0); in testGetDouble()
159 double cd = mCursor.getDouble(COLUMN_INDEX0); in testGetDouble()
DDatabaseCursorTest.java142 assertEquals((double) d, testCursor.getDouble(dCol)); in testBlob()
156 assertEquals(42.11, testCursor.getDouble(0)); in testRealColumns()
DMergeCursorTest.java171 assertEquals(NUMBER_DOUBLE - i, mergeCursor.getDouble(columnDouble), 0.000000000001); in testGetValues()
DCursorWrapperTest.java336 assertEquals(NUMBER_DOUBLE, cursorWrapper.getDouble(columnDouble), 0.000000000001); in testGettingValues()
DAbstractCursorTest.java554 public double getDouble(int columnIndex) { in getDouble() method in AbstractCursorTest.TestAbstractCursor
/cts/tests/jank/src/android/jank/cts/
DCtsJankTestBase.java38 metrics.getDouble(WindowContentFrameStatsMonitor.KEY_AVG_FPS), in afterTest()
41 metrics.getDouble(WindowContentFrameStatsMonitor.KEY_AVG_LONGEST_FRAME), in afterTest()
47 metrics.getDouble(WindowContentFrameStatsMonitor.KEY_AVG_NUM_JANKY), in afterTest()
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DDeviceReportTest.java138 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/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java563 Array.set(val, i, (float)ja.getDouble(i)); in deserialize()
567 Array.set(val, i, ja.getDouble(i)); in deserialize()
589 (float)arr.getDouble(0), in deserialize()
590 (float)arr.getDouble(1), in deserialize()
591 (float)arr.getDouble(2), in deserialize()
592 (float)arr.getDouble(3))); in deserialize()
627 val = jsonReq.getDouble(keyName); in deserialize()
631 val = (float)jsonReq.getDouble(keyName); in deserialize()
654 (float)arr.getDouble(0), in deserialize()
655 (float)arr.getDouble(1), in deserialize()
[all …]
DItsUtils.java61 x = (int)Math.floor(a.getDouble(i+0) * width + 0.5f); in getJsonWeightedRectsFromArray()
62 y = (int)Math.floor(a.getDouble(i+1) * height + 0.5f); in getJsonWeightedRectsFromArray()
63 w = (int)Math.floor(a.getDouble(i+2) * width + 0.5f); in getJsonWeightedRectsFromArray()
64 h = (int)Math.floor(a.getDouble(i+3) * height + 0.5f); in getJsonWeightedRectsFromArray()
/cts/hostsidetests/services/windowmanager/dndsourceapp/src/android/wm/cts/dndsourceapp/
DDragSourceCursor.java72 public double getDouble(int column) { in getDouble() method in DragSourceCursor
/cts/tests/leanbackjank/src/android/leanbackjank/cts/
DCtsJankTestBase.java49 mLog.addValue(source, key, metrics.getDouble(key), resultType, resultUnit); in printDoubleValueWithKey()
63 metrics.getDouble(WindowContentFrameStatsMonitor.KEY_AVG_NUM_JANKY), in afterTest()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Video_MediaTest.java125 assertEquals(40.689060d, c.getDouble(c.getColumnIndex(Media.LATITUDE)), 0d); in testStoreVideoMediaExternal()
126 assertEquals(-74.044636d, c.getDouble(c.getColumnIndex(Media.LONGITUDE)), 0d); in testStoreVideoMediaExternal()
178 assertEquals(41.689060d, c.getDouble(c.getColumnIndex(Media.LATITUDE)), 0d); in testStoreVideoMediaExternal()
179 assertEquals(-75.044636d, c.getDouble(c.getColumnIndex(Media.LONGITUDE)), 0d); in testStoreVideoMediaExternal()
DMediaStore_Images_MediaTest.java264 assertEquals(40.689060d, c.getDouble(c.getColumnIndex(Media.LATITUDE)), 0d); in testStoreImagesMediaExternal()
265 assertEquals(-74.044636d, c.getDouble(c.getColumnIndex(Media.LONGITUDE)), 0d); in testStoreImagesMediaExternal()
309 assertEquals(41.689060d, c.getDouble(c.getColumnIndex(Media.LATITUDE)), 0d); in testStoreImagesMediaExternal()
310 assertEquals(-75.044636d, c.getDouble(c.getColumnIndex(Media.LONGITUDE)), 0d); in testStoreImagesMediaExternal()
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java310 assertEquals(0.0, mBundle.getDouble(KEY)); in testGetDouble1()
312 assertEquals(d, mBundle.getDouble(KEY)); in testGetDouble1()
314 assertEquals(d, mBundle.getDouble(KEY)); in testGetDouble1()
321 assertEquals(d1, mBundle.getDouble(KEY, d1)); in testGetDouble2()
323 assertEquals(d2, mBundle.getDouble(KEY, d1)); in testGetDouble2()
325 assertEquals(d2, mBundle.getDouble(KEY, d1)); in testGetDouble2()
/cts/suite/audio_quality/lib/include/task/
DTaskCase.h79 inline double getDouble() { in getDouble() function
/cts/suite/audio_quality/lib/src/task/
DTaskSave.cpp128 details.appendFormat(" %s: %f\n", it->first.string(), it->second.getDouble()); in handleReport()
DTaskProcess.cpp132 LOGD(" %f", list[i].getValue().getDouble()); in prepareParams()
/cts/suite/audio_quality/lib/src/
DSignalProcessingImpl.cpp149 mBuffer.write<double>(val->getDouble()); in run()
/cts/suite/audio_quality/test/
DTaskCaseTest.cpp79 ASSERT_TRUE(val1.getDouble() == 1.0f); in TEST_F()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java492 fps = json.getDouble("frameRate"); in VideoMetaInfo()
493 fovWidth = json.getDouble("fovW")*Math.PI/180.0; in VideoMetaInfo()
494 fovHeight = json.getDouble("fovH")*Math.PI/180.0; in VideoMetaInfo()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DVulkanDeviceInfo.java642 store.addResult(convertName(name), parent.getDouble(name)); in emitDouble()
665 array[i] = jsonArray.getDouble(i); in emitDoubleArray()

12