Home
last modified time | relevance | path

Searched refs:expectedResult (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java476 String message, Object lhs, Object rhs, boolean expectedResult) { in checkEqualsAndHashCodeMethods() argument
481 expectedResult); in checkEqualsAndHashCodeMethods()
488 + "to be equal to null?", expectedResult); in checkEqualsAndHashCodeMethods()
492 Assert.assertEquals(message, expectedResult, lhs.equals(rhs)); in checkEqualsAndHashCodeMethods()
495 Assert.assertEquals(message, expectedResult, rhs.equals(lhs)); in checkEqualsAndHashCodeMethods()
498 if (expectedResult) { in checkEqualsAndHashCodeMethods()
514 boolean expectedResult) { in checkEqualsAndHashCodeMethods() argument
515 checkEqualsAndHashCodeMethods((String) null, lhs, rhs, expectedResult); in checkEqualsAndHashCodeMethods() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java242 ScanResult expectedResult = expected[j]; in assertScanResultsEquals() local
245 expectedResult.SSID, actualResult.SSID); in assertScanResultsEquals()
247 expectedResult.wifiSsid.toString(), actualResult.wifiSsid.toString()); in assertScanResultsEquals()
249 expectedResult.BSSID, actualResult.BSSID); in assertScanResultsEquals()
251 expectedResult.capabilities, actualResult.capabilities); in assertScanResultsEquals()
253 expectedResult.level, actualResult.level); in assertScanResultsEquals()
255 expectedResult.frequency, actualResult.frequency); in assertScanResultsEquals()
257 expectedResult.timestamp, actualResult.timestamp); in assertScanResultsEquals()
259 expectedResult.seen, actualResult.seen); in assertScanResultsEquals()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp342 float expectedResult = fromPathData.points[i] * (1.0 - fraction) + in TEST() local
344 EXPECT_TRUE(MathUtils::areEqual(expectedResult, outData.points[i])); in TEST()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java274 public void invokeInstallPackageFail(Uri packageURI, int flags, int expectedResult) { in invokeInstallPackageFail() argument
292 assertEquals(expectedResult, observer.returnCode); in invokeInstallPackageFail()