Searched refs:API_CUSTOM_AUDIENCES (Results 1 – 12 of 12) sorted by relevance
22 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;207 API_CUSTOM_AUDIENCES); in testFilterRequest_adTechNotAuthorized_throws()314 .assertAppInAllowlist(CALLER_PACKAGE_NAME, API_NAME, API_CUSTOM_AUDIENCES); in testFilterRequest_appNotInAllowlist_throws()449 API_CUSTOM_AUDIENCES); in testFilterRequestAndExtractIdentifier_enforceForegroundFalse_foregroundCheckFails()476 API_CUSTOM_AUDIENCES); in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws()485 API_CUSTOM_AUDIENCES); in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws()527 API_CUSTOM_AUDIENCES); in testFilterRequestAndExtractIdentifier_disableEnrollmentCheck_eTLDPlus1NotExtracted()539 API_CUSTOM_AUDIENCES); in testFilterRequestAndExtractIdentifier_appNotInAllowlist_throws()543 .assertAppInAllowlist(CALLER_PACKAGE_NAME, API_NAME, API_CUSTOM_AUDIENCES); in testFilterRequestAndExtractIdentifier_appNotInAllowlist_throws()569 API_CUSTOM_AUDIENCES); in testFilterRequestAndExtractIdentifier_enforceConsentTrue_hasUserConsentForApp()[all …]
22 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;76 PACKAGE_ALLOWED_PPAPI_1, API_NAME_LOGGING_ID, API_CUSTOM_AUDIENCES); in testIsAllowedPpapi()147 API_CUSTOM_AUDIENCES)); in testNotAllowedPpapi()192 null, API_NAME_LOGGING_ID, API_CUSTOM_AUDIENCES)); in nullAppPackageName()
28 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;540 API_CUSTOM_AUDIENCES); in testAssertAdTechHasPermission_hasPermission()668 API_CUSTOM_AUDIENCES)); in testAssertAdTechHasPermission_noEnrollmentForAdTech_throwSecurityException()718 API_CUSTOM_AUDIENCES)); in testAssertAdTechHasPermission_appManifestNoPermission_throwSecurityException()767 API_CUSTOM_AUDIENCES)); in testAdTechInBlocklist_throwSecurityException()804 API_CUSTOM_AUDIENCES)); in testAssertAdTechHasPermission_nullContext_throwNpe()819 API_CUSTOM_AUDIENCES)); in testAssertAdTechHasPermission_nullPackageName_throwNpe()834 API_CUSTOM_AUDIENCES)); in testAssertAdTechHasPermission_nullAdTechIdentifier_throwNpe()895 API_CUSTOM_AUDIENCES)); in testGetAndAssertAdTechFromUriAllowed_nullContext_throwsNullPointerException()911 API_CUSTOM_AUDIENCES)); in testGetAndAssertAdTechFromUriAllowed_nullAppPackageName_throwsNullPointerException()[all …]
21 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;84 new AppManifestConfigCall(PKG_NAME, API_CUSTOM_AUDIENCES); in testValidConstructors()90 .isEqualTo(API_CUSTOM_AUDIENCES); in testValidConstructors()198 expect.withMessage("apiToString(%s)", API_CUSTOM_AUDIENCES) in testApiToString()199 .that(apiToString(API_CUSTOM_AUDIENCES)) in testApiToString()
23 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;165 verifyLogUsage(API_CUSTOM_AUDIENCES, RESULT_ALLOWED); in testIsAllowedCustomAudiencesAccess_sPlus()215 verifyLogUsage(API_CUSTOM_AUDIENCES, RESULT_ALLOWED); in testIsAllowedAdSelectionAccessCustomAudienceTag()249 verifyLogUsage(API_CUSTOM_AUDIENCES, RESULT_ALLOWED); in testIsAllowedCustomAudiencesAccess_rMinus()615 verifyLogUsage(API_CUSTOM_AUDIENCES, result); in verifyLogUsageForAllApis()618 verifyLogUsage(API_CUSTOM_AUDIENCES, result, times(2)); in verifyLogUsageForAllApis()
22 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;232 API_CUSTOM_AUDIENCES); in testFilterRequestThrowsAdTechNotAllowedExceptionWhenAdTechNotAuthorized()
33 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;237 API_CUSTOM_AUDIENCES); in testJoinCustomAudience_runNormally()243 API_CUSTOM_AUDIENCES); in testJoinCustomAudience_runNormally()279 API_CUSTOM_AUDIENCES); in testJoinCustomAudienceWithRevokedUserConsentSuccess()285 API_CUSTOM_AUDIENCES); in testJoinCustomAudienceWithRevokedUserConsentSuccess()458 API_CUSTOM_AUDIENCES); in testJoinCustomAudience_errorCreateCustomAudience()469 API_CUSTOM_AUDIENCES); in testJoinCustomAudience_errorCreateCustomAudience()510 API_CUSTOM_AUDIENCES); in testJoinCustomAudience_errorReturnCallback()518 API_CUSTOM_AUDIENCES); in testJoinCustomAudience_errorReturnCallback()567 API_CUSTOM_AUDIENCES); in testJoinCustomAudience_devOptionsEnabled()[all …]
19 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;108 adTech, callerPackageName, apiName, devContext, API_CUSTOM_AUDIENCES); in filterRequest()112 assertAppInAllowList(callerPackageName, apiName, API_CUSTOM_AUDIENCES); in filterRequest()173 callerPackageName, uriForAdTech, apiName, API_CUSTOM_AUDIENCES); in filterRequestAndExtractIdentifier()177 assertAppInAllowList(callerPackageName, apiName, API_CUSTOM_AUDIENCES); in filterRequestAndExtractIdentifier()
37 public static final int API_CUSTOM_AUDIENCES = field in AppManifestConfigCall55 API_CUSTOM_AUDIENCES,122 case API_CUSTOM_AUDIENCES: in AppManifestConfigCall()202 case API_CUSTOM_AUDIENCES: in apiToString()
22 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;99 if (apiType == API_CUSTOM_AUDIENCES) { in isInAllowList()
26 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;296 if (apiType == API_CUSTOM_AUDIENCES) { in getEnrollmentData()314 if (apiType == API_CUSTOM_AUDIENCES) { in getAdTechIdentifierEnrollmentDataPair()338 if (apiType == API_CUSTOM_AUDIENCES) { in isAllowedAccess()
21 import static com.android.adservices.service.common.AppManifestConfigCall.API_CUSTOM_AUDIENCES;93 API_CUSTOM_AUDIENCES, in isAllowedCustomAudiencesAccess()