Home
last modified time | relevance | path

Searched refs:expectedValues (Results 1 – 9 of 9) sorted by relevance

/frameworks/minikin/tests/unittest/
DLayoutTest.cpp62 std::vector<float> expectedValues; in TEST_F() local
80 expectedValues.resize(text.size()); in TEST_F()
81 for (size_t i = 0; i < expectedValues.size(); ++i) { in TEST_F()
82 expectedValues[i] = 10.0f; in TEST_F()
84 expectAdvances(expectedValues, layout.getAdvances()); in TEST_F()
99 expectedValues.resize(text.size()); in TEST_F()
100 for (size_t i = 0; i < expectedValues.size(); ++i) { in TEST_F()
101 expectedValues[i] = 10.0f; in TEST_F()
103 expectAdvances(expectedValues, layout.getAdvances()); in TEST_F()
118 expectedValues.resize(text.size()); in TEST_F()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java548 int[] expectedValues) in callGsmLengthMethods() argument
552 assertEquals("msgCount", expectedValues[0], values[0]); in callGsmLengthMethods()
553 assertEquals("codeUnitCount", expectedValues[1], values[1]); in callGsmLengthMethods()
554 assertEquals("codeUnitsRemaining", expectedValues[2], values[2]); in callGsmLengthMethods()
555 assertEquals("codeUnitSize", expectedValues[3], values[3]); in callGsmLengthMethods()
560 assertEquals("msgCount", expectedValues[0], values[0]); in callGsmLengthMethods()
561 assertEquals("codeUnitCount", expectedValues[1], values[1]); in callGsmLengthMethods()
562 assertEquals("codeUnitsRemaining", expectedValues[2], values[2]); in callGsmLengthMethods()
563 assertEquals("codeUnitSize", expectedValues[3], values[3]); in callGsmLengthMethods()
568 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callGsmLengthMethods()
[all …]
/frameworks/opt/telephony/testing/src/com/android/internal/telephony/testing/
DCursorSubject.java78 ContentValues expectedValues = new ContentValues(); in hasRowValues() local
80 expectedValues.put(mActual.getColumnName(i), values[i].toString()); in hasRowValues()
86 check("Row: %s", mActual.getPosition()).that(actualValues).isEqualTo(expectedValues); in hasRowValues()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java233 ContentValues expectedValues = new ContentValues(values); in testValueBackRefs() local
234 expectedValues.put("a1", (long) 103); in testValueBackRefs()
235 expectedValues.put("a2", (long) 101); in testValueBackRefs()
236 expectedValues.put("a3", (long) 102); in testValueBackRefs()
245 assertEquals(expectedValues, v2); in testValueBackRefs()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java349 List<T> expectedValues = new ArrayList<T>(); in waitForResultValue() local
350 expectedValues.add(expectedValue); in waitForResultValue()
351 waitForAnyResultValue(listener, resultKey, expectedValues, numResultsWait); in waitForResultValue()
372 List<T> expectedValues, int numResultsWait) { in waitForAnyResultValue() argument
373 if (numResultsWait < 0 || listener == null || expectedValues == null) { in waitForAnyResultValue()
384 for ( T expectedValue : expectedValues) { in waitForAnyResultValue()
396 "Unable to get the expected result value " + expectedValues + " for key " + in waitForAnyResultValue()
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java408 SensorBooleanSupplier(@NonNull Sensor sensor, @NonNull List<NumericRange> expectedValues) { in SensorBooleanSupplier() argument
410 mExpectedValues = expectedValues; in SensorBooleanSupplier()
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp369 uint32_t expectedValues) { in DP_checkSizesInt() argument
375 if (valueSize < expectedValues * sizeof(int32_t)) { in DP_checkSizesInt()
377 (uint32_t)(expectedValues * sizeof(int32_t))); in DP_checkSizesInt()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java587 byte[] expectedValues = new byte[] { 0, 10, 20, 30 }; in testReadWriteEnumWithCustomValues()
588 assertArrayEquals(expectedValues, aeAntibandingModeValues); in testReadWriteEnumWithCustomValues()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java8677 List<ShareTargetInfo> expectedValues = new ArrayList<>(); in testParseShareTargetsFromManifest() local
8678 expectedValues.add(new ShareTargetInfo( in testParseShareTargetsFromManifest()
8683 expectedValues.add(new ShareTargetInfo(new ShareTargetInfo.TargetData[]{ in testParseShareTargetsFromManifest()
8699 assertEquals(expectedValues.size(), shareTargets.size()); in testParseShareTargetsFromManifest()
8701 for (int i = 0; i < expectedValues.size(); i++) { in testParseShareTargetsFromManifest()
8702 ShareTargetInfo expected = expectedValues.get(i); in testParseShareTargetsFromManifest()
8728 List<ShareTargetInfo> expectedValues = new ArrayList<>(); in testShareTargetInfo_saveToXml() local
8729 expectedValues.add(new ShareTargetInfo( in testShareTargetInfo_saveToXml()
8734 expectedValues.add(new ShareTargetInfo(new ShareTargetInfo.TargetData[]{ in testShareTargetInfo_saveToXml()
8745 for (int i = 0; i < expectedValues.size(); i++) { in testShareTargetInfo_saveToXml()
[all …]