/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 62 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/ |
D | SmsMessageBodyTest.java | 548 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/ |
D | CursorSubject.java | 78 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/ |
D | ContentProviderOperationTest.java | 233 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/ |
D | Camera2SurfaceViewTestCase.java | 349 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/ |
D | DeviceStateProviderImpl.java | 408 SensorBooleanSupplier(@NonNull Sensor sensor, @NonNull List<NumericRange> expectedValues) { in SensorBooleanSupplier() argument 410 mExpectedValues = expectedValues; in SensorBooleanSupplier()
|
/frameworks/av/media/libeffects/dynamicsproc/ |
D | EffectDynamicsProcessing.cpp | 369 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/ |
D | CameraMetadataTest.java | 587 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/ |
D | ShortcutManagerTest1.java | 8677 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 …]
|