/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelperTest.java | 233 OffsetResult expectedResult = in testLookupByNitzCountry_dstKnownAndUnknown() local 235 assertEquals(expectedResult, adSummerWithDstResult); in testLookupByNitzCountry_dstKnownAndUnknown() 261 OffsetResult expectedResult = in testLookupByNitzCountry_dstKnownAndUnknown() local 263 assertEquals(expectedResult, adWinterWithDstResult); in testLookupByNitzCountry_dstKnownAndUnknown() 288 OffsetResult expectedResult = in testLookupByNitzCountry_dstKnownAndUnknown() local 290 assertEquals(expectedResult, adSummerUnknownDstResult); in testLookupByNitzCountry_dstKnownAndUnknown() 305 OffsetResult expectedResult = in testLookupByNitzCountry_dstKnownAndUnknown() local 307 assertEquals(expectedResult, adWinterUnknownDstResult); in testLookupByNitzCountry_dstKnownAndUnknown() 316 CountryResult expectedResult = in testLookupByCountry_oneZone() local 318 assertEquals(expectedResult, in testLookupByCountry_oneZone() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | TestOnlyInsecureCertificateHelperTest.java | 69 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList() local 73 assertThat(filteredKeys.entrySet()).containsExactlyElementsIn(expectedResult.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList() 80 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey() local 87 assertThat(filteredKeys.entrySet()).containsExactlyElementsIn(expectedResult.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey() 94 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey() local 98 expectedResult.put(alias, rawKeys.get(alias)); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey() 102 assertThat(filteredKeys.entrySet()).containsExactlyElementsIn(expectedResult.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey() 109 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys() local 116 expectedResult.put(alias, rawKeys.get(alias)); in testKeepOnlyWhitelistedInsecureKeys() 120 expectedResult.put(alias, rawKeys.get(alias)); in testKeepOnlyWhitelistedInsecureKeys() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | MoreAsserts.java | 476 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/hotspot2/soap/ |
D | PostDevDataResponseTest.java | 64 SppCommand expectedResult = SppCommand.createInstance(propertyInfo); in verifyValidPostDevDataResponse() local 75 assertEquals(expectedResult, mPostDevDataResponse.getSppCommand()); in verifyValidPostDevDataResponse()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_various.cpp | 54 aaudio_result_t expectedResult, in checkStateTransition() argument 116 EXPECT_EQ(expectedResult, AAudioStream_requestStart(aaudioStream)); in checkStateTransition() 120 EXPECT_EQ(expectedResult, AAudioStream_requestStop(aaudioStream)); in checkStateTransition() 124 EXPECT_EQ(expectedResult, AAudioStream_requestPause(aaudioStream)); in checkStateTransition() 128 EXPECT_EQ(expectedResult, AAudioStream_requestFlush(aaudioStream)); in checkStateTransition() 138 if (expectedResult != AAUDIO_OK) { in checkStateTransition()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | ConnOnActivityStartTest.java | 368 private void assertDelayedCommandResult(String cmd, String expectedResult, in assertDelayedCommandResult() argument 373 if (expectedResult.equals(result)) { in assertDelayedCommandResult() 377 + expectedResult + "' on attempt #" + i in assertDelayedCommandResult() 381 fail("Command '" + cmd + "' did not return '" + expectedResult + "' after " in assertDelayedCommandResult()
|
D | NetworkPolicyManagerServiceTest.java | 1792 final boolean expectedResult = pair.first; in verifyNetworkBlockedState() 1795 expectedResult, in verifyNetworkBlockedState() local
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStarterTests.java | 185 private void verifyStartActivityPreconditions(int preconditions, int expectedResult) { in verifyStartActivityPreconditions() argument 186 verifyStartActivityPreconditions(preconditions, 0 /*launchFlags*/, expectedResult); in verifyStartActivityPreconditions() 201 int expectedResult) { in verifyStartActivityPreconditions() argument 291 assertEquals(ActivityStarter.getExternalResult(expectedResult), result); in verifyStartActivityPreconditions() 294 if (expectedResult != START_SUCCESS) { in verifyStartActivityPreconditions()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | VectorDrawableTests.cpp | 350 float expectedResult = in TEST() local 352 EXPECT_TRUE(MathUtils::areEqual(expectedResult, outData.points[i])); in TEST()
|
/frameworks/base/core/tests/privacytests/src/android/privacy/ |
D | LongitudinalReportingEncoderTest.java | 394 final boolean[] expectedResult = in testLongTermRandomizedResult() 404 assertEquals(expectedResult[i * 5 + j], result); in testLongTermRandomizedResult()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanTestUtil.java | 312 ScanResult expectedResult = expected[j]; in assertScanResultsEquals() local 314 assertScanResultEquals(prefix + "results[" + j + "]", actualResult, expectedResult); in assertScanResultsEquals()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/ |
D | RulesManagerServiceTest.java | 1078 public void assertResultReceived(int expectedResult) { in assertResultReceived() argument 1080 assertEquals(expectedResult, mLastError); in assertResultReceived()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 719 private void checkProvisionVpnProfile(Vpn vpn, boolean expectedResult, int... checkedOps) { in checkProvisionVpnProfile() argument 720 assertEquals(expectedResult, vpn.provisionVpnProfile(TEST_VPN_PKG, mVpnProfile, mKeyStore)); in checkProvisionVpnProfile()
|
/frameworks/ml/nn/runtime/test/ |
D | TestValidation.cpp | 349 ANeuralNetworksMemory* memory, int expectedResult) { in executeWithMemoryAsInput() argument 358 ASSERT_EQ(ANeuralNetworksExecution_compute(execution), expectedResult); in executeWithMemoryAsInput() 363 ANeuralNetworksMemory* memory, int expectedResult) { in executeWithMemoryAsOutput() argument 372 ASSERT_EQ(ANeuralNetworksExecution_compute(execution), expectedResult); in executeWithMemoryAsOutput()
|
D | TestValidateOperations.cpp | 406 void testFailure(int32_t expectedResult) { in testFailure() argument 408 EXPECT_TRUE(expectedResult == result); in testFailure()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 109 public PasspointProviderTest(X509Certificate remediationCaCertificate, String expectedResult) { in PasspointProviderTest() argument 111 mExpectedResult = expectedResult; in PasspointProviderTest()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 3403 static void waitForCallback(CallbackHelper& helper, const ExpectedResult& expectedResult, in waitForCallback() argument 3407 EXPECT_NO_FATAL_FAILURE(expectedResult.verifyCallbackData(callbackData)); in waitForCallback() 3417 for (const auto& expectedResult : expectedResults) { in waitForCallbacks() local 3418 waitForCallback(helper, expectedResult); in waitForCallbacks() 4057 ExpectedResult expectedResult; in TEST_F() local 4058 expectedResult.addSurface(ExpectedResult::Transaction::PRESENTED, layer); in TEST_F() 4059 EXPECT_NO_FATAL_FAILURE(waitForCallback(callback, expectedResult, true)); in TEST_F()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 1670 ResultListener(final int expectedResult) { in ResultListener() argument 1671 mExpectedResult = expectedResult; in ResultListener()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 288 private void invokeInstallPackageFail(Uri packageUri, int flags, int expectedResult) { in invokeInstallPackageFail() argument 303 assertEquals(expectedResult, status); in invokeInstallPackageFail()
|