/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 55 std::vector<float> expectedValues; in TEST_F() local 72 expectedValues.resize(text.size()); in TEST_F() 73 for (size_t i = 0; i < expectedValues.size(); ++i) { in TEST_F() 74 expectedValues[i] = 10.0f; in TEST_F() 76 expectAdvances(expectedValues, layout.getAdvances()); in TEST_F() 90 expectedValues.resize(text.size()); in TEST_F() 91 for (size_t i = 0; i < expectedValues.size(); ++i) { in TEST_F() 92 expectedValues[i] = 10.0f; in TEST_F() 94 expectAdvances(expectedValues, layout.getAdvances()); in TEST_F() 108 expectedValues.resize(text.size()); in TEST_F() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsMessageBodyTest.java | 555 int[] expectedValues) in callGsmLengthMethods() argument 559 assertEquals("msgCount", expectedValues[0], values[0]); in callGsmLengthMethods() 560 assertEquals("codeUnitCount", expectedValues[1], values[1]); in callGsmLengthMethods() 561 assertEquals("codeUnitsRemaining", expectedValues[2], values[2]); in callGsmLengthMethods() 562 assertEquals("codeUnitSize", expectedValues[3], values[3]); in callGsmLengthMethods() 567 assertEquals("msgCount", expectedValues[0], values[0]); in callGsmLengthMethods() 568 assertEquals("codeUnitCount", expectedValues[1], values[1]); in callGsmLengthMethods() 569 assertEquals("codeUnitsRemaining", expectedValues[2], values[2]); in callGsmLengthMethods() 570 assertEquals("codeUnitSize", expectedValues[3], values[3]); in callGsmLengthMethods() 575 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callGsmLengthMethods() [all …]
|
/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/tests/servicestests/src/com/android/server/ |
D | NetworkManagementInternalTest.java | 134 final ArrayMap<Integer, Boolean> expectedValues = expected.get(chain); in testIsNetworkRestrictedForUid() local 139 expectedValues.get(state), mNmi.isNetworkRestrictedForUid(TEST_UID)); in testIsNetworkRestrictedForUid()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 243 ContentValues expectedValues = new ContentValues(values); in testValueBackRefs() local 244 expectedValues.put("a1", (long) 103); in testValueBackRefs() 245 expectedValues.put("a2", (long) 101); in testValueBackRefs() 246 expectedValues.put("a3", (long) 102); in testValueBackRefs() 255 assertEquals(expectedValues, v2); in testValueBackRefs()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBUtilitiesTests.m | 193 id expectedValues = repeatedFieldValues[fieldName]; 194 GPBSetMessageRepeatedField(message, field, expectedValues); 195 XCTAssertEqualObjects(expectedValues,
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/ |
D | JsonFormatTest.java | 290 int[] expectedValues = new int[] {1, 100000, 1, 100000}; in testParserAcceptFloatingPointValueForIntegerField() local 296 assertEquals(expectedValues[i], builder.getRepeatedInt32(i)); in testParserAcceptFloatingPointValueForIntegerField() 297 assertEquals(expectedValues[i], builder.getRepeatedUint32(i)); in testParserAcceptFloatingPointValueForIntegerField() 298 assertEquals(expectedValues[i], builder.getRepeatedInt64(i)); in testParserAcceptFloatingPointValueForIntegerField() 299 assertEquals(expectedValues[i], builder.getRepeatedUint64(i)); in testParserAcceptFloatingPointValueForIntegerField()
|
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 2468 int[] expectedValues = mTestUnusableEvents[index]; in verifyUnusableEvent() local 2469 assertEquals(expectedValues[0], event.type); in verifyUnusableEvent() 2470 assertEquals(expectedValues[1], event.lastScore); in verifyUnusableEvent() 2471 assertEquals(expectedValues[2], event.txSuccessDelta); in verifyUnusableEvent() 2472 assertEquals(expectedValues[3], event.txRetriesDelta); in verifyUnusableEvent() 2473 assertEquals(expectedValues[4], event.txBadDelta); in verifyUnusableEvent() 2474 assertEquals(expectedValues[5], event.rxSuccessDelta); in verifyUnusableEvent() 2475 assertEquals(expectedValues[6], event.packetUpdateTimeDelta); in verifyUnusableEvent() 2476 assertEquals(expectedValues[7], event.firmwareAlertCode); in verifyUnusableEvent() 2477 assertEquals(expectedValues[8], event.lastWifiUsabilityScore); in verifyUnusableEvent()
|
/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 | 8052 List<ShareTargetInfo> expectedValues = new ArrayList<>(); in testParseShareTargetsFromManifest() local 8053 expectedValues.add(new ShareTargetInfo( in testParseShareTargetsFromManifest() 8058 expectedValues.add(new ShareTargetInfo(new ShareTargetInfo.TargetData[]{ in testParseShareTargetsFromManifest() 8074 assertEquals(expectedValues.size(), shareTargets.size()); in testParseShareTargetsFromManifest() 8076 for (int i = 0; i < expectedValues.size(); i++) { in testParseShareTargetsFromManifest() 8077 ShareTargetInfo expected = expectedValues.get(i); in testParseShareTargetsFromManifest() 8103 List<ShareTargetInfo> expectedValues = new ArrayList<>(); in testShareTargetInfo_saveToXml() local 8104 expectedValues.add(new ShareTargetInfo( in testShareTargetInfo_saveToXml() 8109 expectedValues.add(new ShareTargetInfo(new ShareTargetInfo.TargetData[]{ in testShareTargetInfo_saveToXml() 8120 for (int i = 0; i < expectedValues.size(); i++) { in testShareTargetInfo_saveToXml() [all …]
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | ValueMetricProducer_test.cpp | 60 std::vector<int> expectedValues(expectedValuesList); in assertPastBucketValuesSingleKey() local 62 ASSERT_EQ(expectedValues.size(), expectedDurationNs.size()); in assertPastBucketValuesSingleKey() 63 if (expectedValues.size() == 0) { in assertPastBucketValuesSingleKey() 69 ASSERT_EQ(expectedValues.size(), mPastBuckets.begin()->second.size()); in assertPastBucketValuesSingleKey() 72 for (int i = 0; i < expectedValues.size(); i++) { in assertPastBucketValuesSingleKey() 73 EXPECT_EQ(expectedValues[i], buckets[i].values[0].long_value) in assertPastBucketValuesSingleKey()
|