/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/packages/SystemUI/tests/src/com/android/systemui/bubbles/storage/ |
D | BubbleXmlHelperTest.kt | 48 val actual = it.toString() in testWriteXml() constant 64 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) in testReadXml() constant 79 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) in testUpgradeDropsPreviousData() constant
|
/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 156 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 178 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 218 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 244 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 271 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local 291 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local [all …]
|
D | ManifestClassGenerator_test.cpp | 41 std::string actual; local 93 std::string actual; local 137 std::string actual; local 151 std::string actual; local
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ArchiveTest.java | 78 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(SIZE, true)); in testRecordAndRead() local 96 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray((SIZE * 2), true)); in testRecordAndRead_overLimit() local 116 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(SIZE, true)); in testDoesNotRecordIfHistoryDisabled() local 137 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(SIZE, true)); in testRemovesEntriesWhenHistoryDisabled() local
|
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/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 | 283 String prefix, ScanResult expected, ScanResult actual) { in assertScanResultEquals() 295 ScanResult[] actual) { in assertScanResultsEquals() 309 public static void assertScanResultEquals(ScanResult expected, ScanResult actual) { in assertScanResultEquals() 316 public static void assertScanResultsEquals(ScanResult[] expected, ScanResult[] actual) { in assertScanResultsEquals() 320 private static void assertScanDataEquals(String prefix, ScanData expected, ScanData actual) { in assertScanDataEquals() 330 public static void assertScanDataEquals(ScanData expected, ScanData actual) { in assertScanDataEquals() 334 … public static void assertScanDatasEquals(String prefix, ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals() 343 public static void assertScanDatasEquals(ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals() 356 WifiNative.ScanSettings actual) { in assertNativeScanSettingsEquals() 403 WifiNative.PnoSettings actual) { in assertNativePnoSettingsEquals()
|
D | WifiConfigurationTestUtil.java | 601 WifiConfiguration expected, WifiConfiguration actual) { in assertCommonConfigurationElementsEqual() 626 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqualForSoftAp() 641 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqualForBackup() 651 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqualForConfigStore() 684 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqualForConfigManagerAddOrUpdate() 712 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqualForSupplicant() 738 WifiConfiguration expected, WifiConfiguration actual) { in assertConfigurationEqual() 752 NetworkSelectionStatus expected, NetworkSelectionStatus actual) { in assertNetworkSelectionStatusEqualForConfigStore() 776 WifiEnterpriseConfig expected, WifiEnterpriseConfig actual) { in assertWifiEnterpriseConfigEqualForConfigStore() 814 List<WifiConfiguration> expected, List<WifiConfiguration> actual) { in assertConfigurationsEqualForBackup() [all …]
|
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | RawByteElementTest.java | 46 RawByteElement actual = RawByteElement.parse(TEST_ELEMENT_ID, ByteBuffer.wrap(data)); in parseEmptyBuffer() local 60 RawByteElement actual = RawByteElement.parse(TEST_ELEMENT_ID, ByteBuffer.wrap(data)); in parseNonEmptyBuffer() 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 129 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ |
D | CredentialTypeTest.java | 79 CredentialType actual = CredentialType.parse( in parseBufferForNonTunneledEAPMethod() local 94 CredentialType actual = CredentialType.parse( in parseBufferForTunneledEAPMethod() local
|
D | ExpandedEAPMethodTest.java | 85 ExpandedEAPMethod actual = ExpandedEAPMethod.parse( in parseBufferForNonInnerEAPMethod() local 100 ExpandedEAPMethod actual = ExpandedEAPMethod.parse( in parseBufferForTunneledEAPMethod() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.java | 262 PackageInstaller.SessionParams actual) { in assertSessionParamsEquivalent() 282 List<PackageInstallerSession> actual) { in assertSessionsEquivalent() 299 PackageInstallerSession actual) { in assertSessionsEquivalent() 326 private void assertInstallSourcesEquivalent(InstallSource expected, InstallSource actual) { in assertInstallSourcesEquivalent()
|
/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
|