Home
last modified time | relevance | path

Searched defs:actual (Results 1 – 25 of 199) sorted by relevance

12345678

/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java46 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/
DAssert.java62 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 …]
DComparisonCompactor.java19 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/
DOptimalLineBreakerTest.cpp119 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 …]
DGreedyLineBreakerTest.cpp109 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/
Dtest_macros.h16 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/
DBubbleXmlHelperTest.kt48 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/
DProguardRules_test.cpp58 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 …]
DManifestClassGenerator_test.cpp41 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/
DArchiveTest.java78 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
DGlobalSortKeyComparatorTest.java76 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
DScheduleCalendarTest.java84 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/
DWifiMetricsTestUtil.java43 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()
DScanTestUtil.java283 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()
DWifiConfigurationTestUtil.java601 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/
DAssertHelpers.java137 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()
DCameraErrorCollector.java147 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/
DRawByteElementTest.java46 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/
DResourceUtils_test.cpp45 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
DDiagnostics.h76 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/
DCredentialTypeTest.java79 CredentialType actual = CredentialType.parse( in parseBufferForNonTunneledEAPMethod() local
94 CredentialType actual = CredentialType.parse( in parseBufferForTunneledEAPMethod() local
DExpandedEAPMethodTest.java85 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/
DPackageInstallerSessionTest.java262 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/
Dstringslint.py57 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/
DTestTrivialModel.cpp94 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

12345678