Home
last modified time | relevance | path

Searched refs:isEnrollmentBlocklisted (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/util/
DEnrollmentTest.java62 when(mFlags.isEnrollmentBlocklisted(any())).thenReturn(false); in testMaybeGetEnrollmentId_success()
76 when(mFlags.isEnrollmentBlocklisted(any())).thenReturn(false); in testMaybeGetEnrollmentId_enrollmentDataNull()
90 when(mFlags.isEnrollmentBlocklisted(any())).thenReturn(true); in testMaybeGetEnrollmentId_blockedByEnrollmentBlockList()
103 when(mFlags.isEnrollmentBlocklisted(any())).thenReturn(false); in testMaybeGetEnrollmentId_packageManifestCheckFailure()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DFledgeAuthorizationFilter.java274 if (FlagsFactory.getFlags().isEnrollmentBlocklisted(enrollmentData.getEnrollmentId())) { in assertAdTechAllowed()
410 boolean isEnrollmentBlocklisted = in getAndAssertAdTechFromUriAllowed()
411 FlagsFactory.getFlags().isEnrollmentBlocklisted(enrollmentData.getEnrollmentId()); in getAndAssertAdTechFromUriAllowed()
413 if (!isAllowedAccess || isEnrollmentBlocklisted) { in getAndAssertAdTechFromUriAllowed()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeAuthorizationFilterTest.java757 when(mFlags.isEnrollmentBlocklisted(ENROLLMENT_ID)).thenReturn(true); in testAdTechInBlocklist_throwSecurityException()
987 when(mFlags.isEnrollmentBlocklisted(ENROLLMENT_ID)).thenReturn(false); in testGetAndAssertAdTechFromUriAllowed_notAllowedByApp_throwsNotAllowedException()
1038 when(mFlags.isEnrollmentBlocklisted(ENROLLMENT_ID)).thenReturn(true); in testGetAndAssertAdTechFromUriAllowed_adTechBlocklisted_throwsNotAllowedException()
1059 verify(mFlags).isEnrollmentBlocklisted(ENROLLMENT_ID); in testGetAndAssertAdTechFromUriAllowed_adTechBlocklisted_throwsNotAllowedException()
1092 when(mFlags.isEnrollmentBlocklisted(ENROLLMENT_ID)).thenReturn(false); in testGetAndAssertAdTechFromUriAllowed_enrolled_returnsAdTechIdentifier()
1113 verify(mFlags).isEnrollmentBlocklisted(ENROLLMENT_ID); in testGetAndAssertAdTechFromUriAllowed_enrolled_returnsAdTechIdentifier()
1130 when(mFlags.isEnrollmentBlocklisted(ENROLLMENT_ID)).thenReturn(false); in testGetAndAssertAdTechFromUriAllowedSignals_enrolled_returnsAdTechIdentifier()
1151 verify(mFlags).isEnrollmentBlocklisted(ENROLLMENT_ID); in testGetAndAssertAdTechFromUriAllowedSignals_enrolled_returnsAdTechIdentifier()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/
DEnrollment.java73 if (flags.isEnrollmentBlocklisted(enrollmentData.getEnrollmentId())) { in getValidEnrollmentId()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DTopicsServiceImpl.java383 } else if (mFlags.isEnrollmentBlocklisted(enrollmentData.getEnrollmentId())) { in canCallerInvokeTopicsService()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicsServiceImplTest.java274 when(mMockFlags.isEnrollmentBlocklisted(Mockito.any())).thenReturn(false); in setup()
535 when(mMockFlags.isEnrollmentBlocklisted(ALLOWED_SDK_ID)).thenReturn(true); in checkSdkEnrollmentInBlocklist_blocked()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/
DFlags.java3564 default boolean isEnrollmentBlocklisted(String enrollmentId) { in isEnrollmentBlocklisted() method
DPhFlags.java3162 public boolean isEnrollmentBlocklisted(String enrollmentId) { in isEnrollmentBlocklisted() method in PhFlags