Home
last modified time | relevance | path

Searched refs:assertSuccess (Results 1 – 22 of 22) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/captiveportal/
DCaptivePortalProbeSpecTest.java46 assertSuccess(statusRegexSpec.getResult(200, null)); in testGetResult_Regex()
47 assertSuccess(statusRegexSpec.getResult(299, "qwer")); in testGetResult_Regex()
48 assertSuccess(statusRegexSpec.getResult(404, null)); in testGetResult_Regex()
49 assertSuccess(statusRegexSpec.getResult(404, "")); in testGetResult_Regex()
55 assertSuccess(redirectSpec.getResult(404, null)); in testGetResult_Regex()
56 assertSuccess(redirectSpec.getResult(404, "")); in testGetResult_Regex()
57 assertSuccess(redirectSpec.getResult(301, "https://www.google.com")); in testGetResult_Regex()
58 assertSuccess(redirectSpec.getResult(301, "https://www.google.com/test?q=3")); in testGetResult_Regex()
59 assertSuccess(redirectSpec.getResult(302, "https://google.com/test?q=3")); in testGetResult_Regex()
122 assertSuccess(spec.getResult(302, redirectUrl)); in testParseSpecOrNull_UsesSpec()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DReportAndRegisterEventImplTest.java270 callback.assertSuccess(); in testImplSuccessfullyReportsRegisteredEvents()
314 callback.assertSuccess(); in testImplDoesNotCrashAfterSellerReportingThrowsAnException()
354 callback.assertSuccess(); in testImplDoesNotCrashAfterBuyerReportingThrowsAnException()
379 callback.assertSuccess(); in testImplOnlyReportsBuyersRegisteredEvents()
404 callback.assertSuccess(); in testImplOnlyReportsSellerRegisteredEvents()
443 callback.assertSuccess(); in testImplReturnsOnlyReportsUriThatPassesEnrollmentCheck()
490 callback.assertSuccess(); in testImplReturnsSuccessButDoesNotDoReportingWhenBothFailEnrollmentCheck()
622 callbackFirstCall.assertSuccess(); in testImplFailsWhenThrottled()
707 callback.assertSuccess(); in testImplFailsSilentlyWithoutConsent()
751 callback.assertSuccess(); in testImplSucceedsWhenNotFindingRegisteredAdEvents()
[all …]
DReportAndRegisterEventFallbackImplTest.java285 callback.assertSuccess(); in testImplSuccessfullyReportsRegisteredEvents()
350 callback.assertSuccess(); in testImplDoesNotCrashAfterSellerReportingThrowsAnException()
406 callback.assertSuccess(); in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException()
471 callback.assertSuccess(); in testImplDoesNotCrashAfterBuyerReportingThrowsAnException()
527 callback.assertSuccess(); in testImplDoesNotCrashAfterBuyerReportingAndRegisteringThrowsAnException()
576 callback.assertSuccess(); in testImplOnlyReportsBuyersRegisteredEvents()
621 callback.assertSuccess(); in testImplOnlyReportsSellerRegisteredEvents()
681 callback.assertSuccess(); in testImplReturnsOnlyReportsUriThatPassesEnrollmentCheck()
741 callback.assertSuccess(); in testImplReturnsSuccessButDoesNotDoReportingWhenBothFailEnrollmentCheck()
911 callbackFirstCall.assertSuccess(); in testImplFailsWhenThrottled()
[all …]
DReportEventTestCallback.java44 void assertSuccess() throws InterruptedException { in assertSuccess() method in ReportEventTestCallback
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DOutcomeReceiverForTestsTest.java74 assertSuccess(receiver, RESULT); in testOnResult()
179 private void assertSuccess(OutcomeReceiverForTests<String> receiver, String expectedResult) in assertSuccess() method in OutcomeReceiverForTestsTest
181 String actualResult = receiver.assertSuccess(); in assertSuccess()
/packages/modules/AdServices/sdksandbox/tests/cts/hostside/src/com/android/sdksandbox/cts/host/
DSdkSandboxDataIsolationHostTest.java153 assertSuccess( in testSdkSandboxDataIsolation_CannotVerifyAcrossVolumes()
166 private static void assertSuccess(String str) { in assertSuccess() method in SdkSandboxDataIsolationHostTest
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/src/com/android/tests/sdksandbox/host/
DSdkSandboxStorageHostTest.java217 assertSuccess( in testSdkSandboxDataMirrorDirectory_IsVolumeSpecific()
393 assertSuccess( in testSdkDataPackageDirectory_IsReconciled_IncludesDifferentVolumes()
448 assertSuccess( in testSdkDataPackageDirectory_IsReconciled_ChecksForPackageOnWrongVolume()
533 assertSuccess( in testSdkDataPackageDirectory_IsReconciled_DeleteKeepNewVolumeData()
975 assertSuccess( in testSdkDataSubDirectory_PerSdkStorageIsUsable_DifferentVolume()
1022 assertSuccess(getDevice().executeShellCommand( in testSdkData_CanBeMovedToDifferentVolume()
1056 assertSuccess(getDevice().executeShellCommand( in testSdkSharedStorage_DifferentVolumeIsUsable()
1093 assertSuccess( in testSdkData_ReconcileSdkDataSubDirsIncludesDifferentVolumes()
1314 private static void assertSuccess(String str) { in assertSuccess() method in SdkSandboxStorageHostTest
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/backgroundread/
DBackgroundReadTest.java219 assertSuccess(); in testAggregate_inBackgroundWithPermission_canAggregateBothOwnAndOtherAppsData()
247 assertSuccess(); in testGetChangeLogs_inBackgroundWithPermission_success()
285 private Bundle assertSuccess() { in assertSuccess() method in BackgroundReadTest
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesCommonServiceImplTest.java608 assertThat(callback.assertSuccess().isApiEnabled()).isFalse(); in enableAdServicesTest_apiDisabled()
624 EnableAdServicesResponse response = callback.assertSuccess(); in enableAdServicesTest_engineStarted()
651 EnableAdServicesResponse response = callback.assertSuccess(); in enableAdServicesTest_extServicesPackage_initializesComponents()
676 EnableAdServicesResponse response = callback.assertSuccess(); in enableAdServicesTest_tPlus_adServicesPackage_skipBackCompatInit()
726 EnableAdServicesResponse response = callback.assertSuccess(); in enableAdServicesTest_activitiesEnabled_startUxEngine()
895 AdServicesCommonStatesResponse response = callback.assertSuccess(); in testGetAdservicesCommonStates_getCommonStatus()
935 AdServicesCommonStatesResponse response = callback.assertSuccess(); in testGetAdservicesCommonStates_getCommonStatus_reset()
973 AdServicesCommonStatesResponse response = callback.assertSuccess(); in testGetAdservicesCommonStates_NotEnabled()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceDebugProxyTest.java120 AdServicesExtDataParams adServicesExtDataParams = receiver.assertSuccess(); in testGetAdServicesExtData_onResultSet()
152 expect.that(receiver.assertSuccess()).isEqualTo(TEST_PARAMS); in testSetAdServicesExtData_onResultSet()
DAdServicesExtDataStorageServiceWorkerTest.java122 AdServicesExtDataParams result = receiver.assertSuccess(); in testGetAdServicesExtData_onResultSet()
161 AdServicesExtDataParams result = receiver.assertSuccess(); in testSetAdServicesExtData_onResultSet()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DOutcomeReceiverForTests.java58 public T assertSuccess() throws InterruptedException { in assertSuccess() method in OutcomeReceiverForTests
DIntFailureSyncCallback.java70 public final T assertSuccess() throws InterruptedException { in assertSuccess() method in IntFailureSyncCallback
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DAdServicesOutcomeReceiverForTests.java47 public T assertSuccess() throws InterruptedException { in assertSuccess() method in AdServicesOutcomeReceiverForTests
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/
DIntFailureSyncCallbackTest.java47 String success = mCallback.assertSuccess(); in testAssertSuccess()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/iapc/
DGetAdIdApiCallBase.java70 AdId resultAdId = callback.assertSuccess(); in callGetAdId()
/packages/modules/AdServices/adservices/tests/cts/adid/src/com/android/adservices/tests/adid/
DAdIdCompatibleManagerTest.java88 callback.assertSuccess(); in testAdIdCompatibleManager_verifyRateLimitReached()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsetid/src/com/android/adservices/service/appsetid/
DAppSetIdServiceImplTest.java367 return callback.assertSuccess(); in getAppSetIdResults()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DAdSelectionTest.java465 AdId result = callback.assertSuccess(); in isAdIdSupported()
/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/
DAdIdServiceImplTest.java396 return callback.assertSuccess(); in getAdIdResults()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicsServiceImplTest.java854 GetTopicsResult getTopicsResult = callback.assertSuccess(); in testGetTopics_LatencyCalculateVerify()
1121 return callback.assertSuccess(); in getTopicsResults()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java5749 boolean assertSuccess, in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() argument
5753 assertSuccess, networkId); in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
5763 boolean assertSuccess, in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() argument
5785 assertEquals(assertSuccess, result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()