Home
last modified time | relevance | path

Searched refs:STATUS_CALLER_NOT_ALLOWED (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesStatusUtils.java115 public static final int STATUS_CALLER_NOT_ALLOWED = 10; field in AdServicesStatusUtils
345 case STATUS_CALLER_NOT_ALLOWED: in asException()
410 STATUS_CALLER_NOT_ALLOWED,
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/exception/
DFilterException.java52 return AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED; in getResultCode()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAppInstallAdvertisersSetterTest.java232 verifyLog(AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED, never()); in testSetAppInstallAdvertisersAppNotAllowed()
234 verifyLog(AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED); in testSetAppInstallAdvertisersAppNotAllowed()
DReportAndRegisterEventImplTest.java24 import static android.adservices.common.AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED;
672 callback.assertErrorReceived(STATUS_CALLER_NOT_ALLOWED); in testImplFailsWhenAppNotInAllowList()
680 eq(STATUS_CALLER_NOT_ALLOWED), in testImplFailsWhenAppNotInAllowList()
DReportEventImplTest.java22 import static android.adservices.common.AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED;
1093 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_CALLER_NOT_ALLOWED); in testImplFailsWhenAppNotInAllowList() local
1101 eq(STATUS_CALLER_NOT_ALLOWED), in testImplFailsWhenAppNotInAllowList()
DReportAndRegisterEventFallbackImplTest.java24 import static android.adservices.common.AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED;
979 callback.assertErrorReceived(STATUS_CALLER_NOT_ALLOWED); in testImplFailsWhenAppNotInAllowList()
987 eq(STATUS_CALLER_NOT_ALLOWED), in testImplFailsWhenAppNotInAllowList()
DAdSelectionE2ETest.java22 import static android.adservices.common.AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED;
7340 STATUS_CALLER_NOT_ALLOWED, in testRunAdSelectionFailsWhenAppCannotUsePPApi()
7359 eq(STATUS_CALLER_NOT_ALLOWED), in testRunAdSelectionFailsWhenAppCannotUsePPApi()
7465 STATUS_CALLER_NOT_ALLOWED, in testRunAdSelectionFailsWhenAdTechFailsEnrollmentCheck()
7484 eq(STATUS_CALLER_NOT_ALLOWED), in testRunAdSelectionFailsWhenAdTechFailsEnrollmentCheck()
DAdSelectionServiceImplTest.java25 import static android.adservices.common.AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED;
7686 assertEquals(STATUS_CALLER_NOT_ALLOWED, callback.mFledgeErrorResponse.getStatusCode()); in testReportImpressionFailsWhenAppCannotUsePPApi()
7697 eq(STATUS_CALLER_NOT_ALLOWED), in testReportImpressionFailsWhenAppCannotUsePPApi()
7810 assertEquals(STATUS_CALLER_NOT_ALLOWED, callback.mFledgeErrorResponse.getStatusCode()); in testReportImpressionFailsWhenSellerFailsEnrollmentCheck()
7821 eq(STATUS_CALLER_NOT_ALLOWED), in testReportImpressionFailsWhenSellerFailsEnrollmentCheck()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DFetchCustomAudienceImplTest.java25 import static android.adservices.common.AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED;
425 assertEquals(STATUS_CALLER_NOT_ALLOWED, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_failedEnrollmentCheck_throws()
436 eq(STATUS_CALLER_NOT_ALLOWED), in testImpl_failedEnrollmentCheck_throws()
458 assertEquals(STATUS_CALLER_NOT_ALLOWED, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_appCannotUsePPAPI_throws()
469 eq(STATUS_CALLER_NOT_ALLOWED), in testImpl_appCannotUsePPAPI_throws()
DCustomAudienceServiceImplTest.java24 import static android.adservices.common.AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED;
1691 STATUS_CALLER_NOT_ALLOWED, SECURITY_EXCEPTION_CALLER_NOT_ALLOWED_ERROR_MESSAGE); in testEnrollmentCheckEnabledWithNoEnrollment_joinCustomAudience_fails()
1801 STATUS_CALLER_NOT_ALLOWED, SECURITY_EXCEPTION_CALLER_NOT_ALLOWED_ERROR_MESSAGE); in testEnrollmentCheckEnabledWithNoEnrollment_leaveCustomAudience_fails()
1911 STATUS_CALLER_NOT_ALLOWED, SECURITY_EXCEPTION_CALLER_NOT_ALLOWED_ERROR_MESSAGE); in testNotInAllowList_joinCustomAudience_fail()
1955 STATUS_CALLER_NOT_ALLOWED, SECURITY_EXCEPTION_CALLER_NOT_ALLOWED_ERROR_MESSAGE); in testNotInAllowList_leaveCustomAudience_fail()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceServiceImpl.java365 resultCode = AdServicesStatusUtils.STATUS_CALLER_NOT_ALLOWED; in notifyFailure()