/frameworks/base/test-runner/src/android/test/ |
D | MoreAsserts.java | 46 public static void assertAssignableFrom(Class<?> expected, Object actual) { in assertAssignableFrom() 55 public static void assertAssignableFrom(Class<?> expected, Class<?> actual) { in assertAssignableFrom() 67 String message, Object unexpected, Object actual) { in assertNotEqual() 77 public static void assertNotEqual(Object unexpected, Object actual) { in assertNotEqual() 87 String message, byte[] expected, byte[] actual) { in assertEquals() 103 public static void assertEquals(byte[] expected, byte[] actual) { in assertEquals() 113 String message, int[] expected, int[] actual) { in assertEquals() 129 public static void assertEquals(int[] expected, int[] actual) { in assertEquals() 139 String message, long[] expected, long[] actual) { in assertEquals() 155 public static void assertEquals(long[] expected, long[] actual) { in assertEquals() [all …]
|
/frameworks/base/test-base/src/junit/framework/ |
D | Assert.java | 62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() 73 static public void assertEquals(Object expected, Object actual) { in assertEquals() 79 static public void assertEquals(String message, String expected, String actual) { in assertEquals() 90 static public void assertEquals(String expected, String actual) { in assertEquals() 98 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() 108 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() 116 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() 126 static public void assertEquals(float expected, float actual, float delta) { in assertEquals() 133 static public void assertEquals(String message, long expected, long actual) { in assertEquals() 139 static public void assertEquals(long expected, long actual) { in assertEquals() [all …]
|
D | ComparisonCompactor.java | 19 public ComparisonCompactor(int contextLength, String expected, String actual) { in ComparisonCompactor() 34 String actual= compactString(fActual); in compact() local 81 private static String format(String message, Object expected, Object actual) { in format()
|
/frameworks/minikin/tests/unittest/ |
D | OptimalLineBreakerTest.cpp | 119 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 141 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 167 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 206 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 250 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 294 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 338 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 365 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 400 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 450 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local [all …]
|
D | GreedyLineBreakerTest.cpp | 109 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 120 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 134 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 150 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 166 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 183 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 200 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 219 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 240 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 263 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local [all …]
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/test/ |
D | test_macros.h | 16 const A& expected, const B& actual, const T& tolerance) { in CmpArrayLikeFloatEq() 34 const A& expected, const B& actual, const T& tolerance) { in CmpMatrixLikeFloatEq() 54 const A& expected, const B& actual, const T& tolerance) { in CmpArrayLikeFloatNe() 72 const A& expected, const B& actual, const T& tolerance) { in CmpMatrixLikeFloatNe() 92 #define EXPECT_VEC3_NEAR(expected, actual, tol) \ argument 96 #define EXPECT_VEC3_NOT_NEAR(expected, actual, tol) \ argument 100 #define EXPECT_QUAT_NEAR(expected, actual, tol) \ argument 104 #define EXPECT_QUAT_NOT_NEAR(expected, actual, tol) \ argument 108 #define EXPECT_MAT4_NEAR(expected, actual, tol) \ argument 112 #define EXPECT_MAT4_NOT_NEAR(expected, actual, tol) \ argument [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules_test.cpp | 58 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 91 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 107 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 125 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 145 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 161 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 180 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 211 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 233 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 273 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local [all …]
|
D | ManifestClassGenerator_test.cpp | 42 std::string actual; local 95 std::string actual; local 146 std::string actual; local 189 std::string actual; local 204 std::string actual; local
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTestUtil.java | 43 HistogramBucketInt32[] actual) { in assertHistogramBucketsEqual() 74 public static void assertKeyCountsEqual(Int32Count[] expected, Int32Count[] actual) { in assertKeyCountsEqual() 103 LinkProbeFailureReasonCount[] expected, LinkProbeFailureReasonCount[] actual) { in assertLinkProbeFailureReasonCountsEqual() 153 DeviceMobilityStatePnoScanStats[] expected, DeviceMobilityStatePnoScanStats[] actual) { in assertDeviceMobilityStatePnoScanStatsEqual() 206 public static void assertLinkProbeStaEventsEqual(StaEvent[] expected, StaEvent[] actual) { in assertLinkProbeStaEventsEqual() 248 ExperimentProbeCounts[] expected, ExperimentProbeCounts[] actual) { in assertExperimentProbeCountsEqual()
|
D | ScanTestUtil.java | 295 String prefix, ScanResult expected, ScanResult actual) { in assertScanResultEquals() 307 ScanResult[] actual) { in assertScanResultsEquals() 321 public static void assertScanResultEquals(ScanResult expected, ScanResult actual) { in assertScanResultEquals() 328 public static void assertScanResultsEquals(ScanResult[] expected, ScanResult[] actual) { in assertScanResultsEquals() 332 private static void assertScanDataEquals(String prefix, ScanData expected, ScanData actual) { in assertScanDataEquals() 342 public static void assertScanDataEquals(ScanData expected, ScanData actual) { in assertScanDataEquals() 346 … public static void assertScanDatasEquals(String prefix, ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals() 355 public static void assertScanDatasEquals(ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals() 368 WifiNative.ScanSettings actual) { in assertNativeScanSettingsEquals() 415 WifiNative.PnoSettings actual) { in assertNativePnoSettingsEquals()
|
D | WifiConfigurationTestUtil.java | 547 WifiConfiguration expected, WifiConfiguration actual) { in assertCommonConfigurationElementsEqual() 571 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqualForBackup() 581 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqualForConfigStore() 617 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqualForConfigManagerAddOrUpdate() 647 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqualForSupplicant() 673 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqual() 687 NetworkSelectionStatus expected, NetworkSelectionStatus actual) { in assertNetworkSelectionStatusEqualForConfigStore() 712 WifiEnterpriseConfig expected, WifiEnterpriseConfig actual) { in assertWifiEnterpriseConfigEqualForConfigStore() 750 List<WifiConfiguration> expected, List<WifiConfiguration> actual) { in assertConfigurationsEqualForBackup() 773 List<WifiConfiguration> expected, List<WifiConfiguration> actual) { in assertConfigurationsEqualForConfigManagerAddOrUpdate() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordMetricsTest.java | 193 PasswordMetrics actual = new PasswordMetrics(PASSWORD_QUALITY_COMPLEX); in testConstructQuality() local 372 int actual = getActualRequiredQuality( in testGetActualRequiredQuality_nonComplex() local 382 int actual = getActualRequiredQuality( in testGetActualRequiredQuality_complexRequiresNone() local 392 int actual = getActualRequiredQuality( in testGetActualRequiredQuality_complexRequiresNumeric() local 402 int actual = getActualRequiredQuality( in testGetActualRequiredQuality_complexRequiresLetters() local 412 int actual = getActualRequiredQuality( in testGetActualRequiredQuality_complexRequiresNumericAndLetters() local
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | RawByteElementTest.java | 44 RawByteElement actual = RawByteElement.parse(TEST_ELEMENT_ID, ByteBuffer.wrap(data)); in parseEmptyBuffer() local 58 RawByteElement actual = RawByteElement.parse(TEST_ELEMENT_ID, ByteBuffer.wrap(data)); in parseNonEmptyBuffer() local
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | AssertHelpers.java | 137 public static <T> void assertArrayContains(String message, T[] actual, T checkVals) { in assertArrayContains() 149 public static void assertArrayContains(String message, int[] actual, int checkVals) { in assertArrayContains() 161 public static <T> T assertArrayContainsAnyOf(String message, T[] actual, T[] checkVals) { in assertArrayContainsAnyOf() 173 public static int assertArrayContainsAnyOf(String message, int[] actual, int[] checkVals) { in assertArrayContainsAnyOf() 185 public static <T> T assertCollectionContainsAnyOf(String message, Collection<T> actual, in assertCollectionContainsAnyOf()
|
D | CameraErrorCollector.java | 147 public <T> boolean expectEquals(String msg, T expected, T actual) { in expectEquals() 169 public <T> boolean expectNotEquals(String msg, T expected, T actual) { in expectNotEquals() 189 public <T> boolean expectEquals(String msg, T[] expected, T[] actual) { in expectEquals() 214 public <T> boolean expectNotEquals(String msg, T[] expected, T[] actual) { in expectNotEquals() 237 T actual) { in expectGreater() 251 T actual) { in expectGreaterOrEqual() 265 T actual) { in expectLess() 279 T actual) { in expectLessOrEqual() 293 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals() 316 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | GlobalSortKeyComparatorTest.java | 76 List<NotificationRecord> actual = new ArrayList<>(); in testComparator() local 106 List<NotificationRecord> actual = new ArrayList<>(); in testNoCrash_leftNull() local 136 List<NotificationRecord> actual = new ArrayList<>(); in testNoCrash_rightNull() local
|
D | ScheduleCalendarTest.java | 84 GregorianCalendar actual = new GregorianCalendar(); in testGetNextChangeTime_startToday() local 111 GregorianCalendar actual = new GregorianCalendar(); in testGetNextChangeTime_endToday() local 139 GregorianCalendar actual = new GregorianCalendar(); in testGetNextChangeTime_startTomorrow() local 167 GregorianCalendar actual = new GregorianCalendar(); in testGetNextChangeTime_endTomorrow() local
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 45 ResourceNameRef actual; in TEST() local 63 ResourceNameRef actual; in TEST() local 73 ResourceNameRef actual; in TEST() local 83 ResourceNameRef actual; in TEST() local 93 ResourceNameRef actual; in TEST() local 103 ResourceNameRef actual; in TEST() local 115 ResourceNameRef actual; in TEST() local
|
D | Diagnostics.h | 76 DiagMessageActual actual = message.Build(); in Error() local 81 DiagMessageActual actual = message.Build(); in Warn() local 86 DiagMessageActual actual = message.Build(); in Note() local
|
/frameworks/base/cmds/statsd/tests/external/ |
D | puller_util_test.cpp | 86 vector<vector<int>> actual; in TEST() local 126 vector<vector<int>> actual; in TEST() local 162 vector<vector<int>> actual; in TEST() local 198 vector<vector<int>> actual; in TEST() local 237 vector<vector<int>> actual; in TEST() local
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ |
D | CredentialTypeTest.java | 77 CredentialType actual = CredentialType.parse( in parseBufferForNonTunneledEAPMethod() local 92 CredentialType actual = CredentialType.parse( in parseBufferForTunneledEAPMethod() local
|
D | ExpandedEAPMethodTest.java | 83 ExpandedEAPMethod actual = ExpandedEAPMethod.parse( in parseBufferForNonInnerEAPMethod() local 98 ExpandedEAPMethod actual = ExpandedEAPMethod.parse( in parseBufferForTunneledEAPMethod() local
|
/frameworks/base/tools/stringslint/ |
D | stringslint.py | 57 def warn(tag, msg, actual, expected, color=YELLOW): argument 74 def error(tag, msg, actual, expected): argument 77 def info(tag, msg, actual, expected): argument
|
/frameworks/ml/nn/runtime/test/ |
D | TestTrivialModel.cpp | 94 int CompareMatrices(const Matrix3x4& expected, const Matrix3x4& actual) { in CompareMatrices() 113 Matrix3x4 actual; in TEST_F() local 142 Matrix3x4 actual; in TEST_F() local 186 Matrix3x4 actual; in TEST_F() local 269 Matrix3x4 actual; in TEST_F() local 298 Matrix3x4 actual; in TEST_F() local
|
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | ParcelUtils.kt | 56 val actual = parcelingRoundTrip(source) constant
|