/packages/modules/NetworkStack/tests/unit/src/android/net/captiveportal/ |
D | CaptivePortalProbeSpecTest.java | 46 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/ |
D | ReportAndRegisterEventImplTest.java | 270 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 …]
|
D | ReportAndRegisterEventFallbackImplTest.java | 285 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 …]
|
D | ReportEventTestCallback.java | 44 void assertSuccess() throws InterruptedException { in assertSuccess() method in ReportEventTestCallback
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/ |
D | OutcomeReceiverForTestsTest.java | 74 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/ |
D | SdkSandboxDataIsolationHostTest.java | 153 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/ |
D | SdkSandboxStorageHostTest.java | 217 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/ |
D | BackgroundReadTest.java | 219 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/ |
D | AdServicesCommonServiceImplTest.java | 608 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/ |
D | AdServicesExtDataStorageServiceDebugProxyTest.java | 120 AdServicesExtDataParams adServicesExtDataParams = receiver.assertSuccess(); in testGetAdServicesExtData_onResultSet() 152 expect.that(receiver.assertSuccess()).isEqualTo(TEST_PARAMS); in testSetAdServicesExtData_onResultSet()
|
D | AdServicesExtDataStorageServiceWorkerTest.java | 122 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/ |
D | OutcomeReceiverForTests.java | 58 public T assertSuccess() throws InterruptedException { in assertSuccess() method in OutcomeReceiverForTests
|
D | IntFailureSyncCallback.java | 70 public final T assertSuccess() throws InterruptedException { in assertSuccess() method in IntFailureSyncCallback
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/ |
D | AdServicesOutcomeReceiverForTests.java | 47 public T assertSuccess() throws InterruptedException { in assertSuccess() method in AdServicesOutcomeReceiverForTests
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | IntFailureSyncCallbackTest.java | 47 String success = mCallback.assertSuccess(); in testAssertSuccess()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/iapc/ |
D | GetAdIdApiCallBase.java | 70 AdId resultAdId = callback.assertSuccess(); in callGetAdId()
|
/packages/modules/AdServices/adservices/tests/cts/adid/src/com/android/adservices/tests/adid/ |
D | AdIdCompatibleManagerTest.java | 88 callback.assertSuccess(); in testAdIdCompatibleManager_verifyRateLimitReached()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsetid/src/com/android/adservices/service/appsetid/ |
D | AppSetIdServiceImplTest.java | 367 return callback.assertSuccess(); in getAppSetIdResults()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | AdSelectionTest.java | 465 AdId result = callback.assertSuccess(); in isAdIdSupported()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/ |
D | AdIdServiceImplTest.java | 396 return callback.assertSuccess(); in getAdIdResults()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | TopicsServiceImplTest.java | 854 GetTopicsResult getTopicsResult = callback.assertSuccess(); in testGetTopics_LatencyCalculateVerify() 1121 return callback.assertSuccess(); in getTopicsResults()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 5749 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()
|