Home
last modified time | relevance | path

Searched refs:API_PROTECTED_SIGNALS (Results 1 – 10 of 10) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DProtectedSignalsServiceFilterTest.java22 import static com.android.adservices.service.common.AppManifestConfigCall.API_PROTECTED_SIGNALS;
174 API_PROTECTED_SIGNALS); in testFilterRequestAndExtractIdentifier_enforceForegroundFalse_foregroundCheckFails()
201 API_PROTECTED_SIGNALS); in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws()
210 API_PROTECTED_SIGNALS); in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws()
252 API_PROTECTED_SIGNALS); in testFilterRequestAndExtractIdentifier_disableEnrollmentCheck_eTLDPlus1NotExtracted()
264 API_PROTECTED_SIGNALS); in testFilterRequestAndExtractIdentifier_appNotInAllowlist_throws()
268 .assertAppInAllowlist(CALLER_PACKAGE_NAME, API_NAME, API_PROTECTED_SIGNALS); in testFilterRequestAndExtractIdentifier_appNotInAllowlist_throws()
294 API_PROTECTED_SIGNALS); in testFilterRequestAndExtractIdentifier_enforceConsentTrue_hasUserConsentForApp()
317 API_PROTECTED_SIGNALS); in testFilterRequestAndExtractIdentifier_enforceConsentTrue_lacksUserConsentForApp()
347 API_PROTECTED_SIGNALS); in testFilterRequestAndExtractIdentifier_enforceConsentFalse_lacksUserConsentForApp()
DFledgeAllowListsFilterTest.java23 import static com.android.adservices.service.common.AppManifestConfigCall.API_PROTECTED_SIGNALS;
84 PACKAGE_ALLOWED_PAS_1, API_NAME_LOGGING_ID, API_PROTECTED_SIGNALS); in testIsAllowedSignals()
123 API_PROTECTED_SIGNALS)); in testIsNotAllowedAdSelection()
171 API_PROTECTED_SIGNALS)); in testNotAllowedSignals()
DAppManifestConfigHelperTest.java24 import static com.android.adservices.service.common.AppManifestConfigCall.API_PROTECTED_SIGNALS;
182 verifyLogUsage(API_PROTECTED_SIGNALS, RESULT_ALLOWED); in testIsAllowedProtectedSignalsAccess_sPlus()
232 verifyLogUsage(API_PROTECTED_SIGNALS, RESULT_ALLOWED); in testIsAllowedAdSelectionAccessProtectedSignalsTag()
616 verifyLogUsage(API_PROTECTED_SIGNALS, result); in verifyLogUsageForAllApis()
619 verifyLogUsage(API_PROTECTED_SIGNALS, result, times(2)); in verifyLogUsageForAllApis()
DAppManifestConfigCallTest.java22 import static com.android.adservices.service.common.AppManifestConfigCall.API_PROTECTED_SIGNALS;
204 expect.withMessage("apiToString(%s)", API_PROTECTED_SIGNALS) in testApiToString()
205 .that(apiToString(API_PROTECTED_SIGNALS)) in testApiToString()
DFledgeAuthorizationFilterTest.java29 import static com.android.adservices.service.common.AppManifestConfigCall.API_PROTECTED_SIGNALS;
565 API_PROTECTED_SIGNALS); in testAssertAdTechHasSignalsPermission_hasSignalsPermission()
1138 API_PROTECTED_SIGNALS); in testGetAndAssertAdTechFromUriAllowedSignals_enrolled_returnsAdTechIdentifier()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAppManifestConfigCall.java41 public static final int API_PROTECTED_SIGNALS = field in AppManifestConfigCall
57 API_PROTECTED_SIGNALS,
124 case API_PROTECTED_SIGNALS: in AppManifestConfigCall()
206 case API_PROTECTED_SIGNALS: in apiToString()
DProtectedSignalsServiceFilter.java19 import static com.android.adservices.service.common.AppManifestConfigCall.API_PROTECTED_SIGNALS;
127 callerPackageName, uriForAdTech, apiName, API_PROTECTED_SIGNALS); in filterRequestAndExtractIdentifier()
131 assertAppInAllowList(callerPackageName, apiName, API_PROTECTED_SIGNALS); in filterRequestAndExtractIdentifier()
DFledgeAllowListsFilter.java23 import static com.android.adservices.service.common.AppManifestConfigCall.API_PROTECTED_SIGNALS;
101 } else if (apiType == API_PROTECTED_SIGNALS) { in isInAllowList()
DFledgeAuthorizationFilter.java27 import static com.android.adservices.service.common.AppManifestConfigCall.API_PROTECTED_SIGNALS;
298 } else if (apiType == API_PROTECTED_SIGNALS) { in getEnrollmentData()
317 } else if (apiType == API_PROTECTED_SIGNALS) { in getAdTechIdentifierEnrollmentDataPair()
341 } else if (apiType == API_PROTECTED_SIGNALS) { in isAllowedAccess()
DAppManifestConfigHelper.java22 import static com.android.adservices.service.common.AppManifestConfigCall.API_PROTECTED_SIGNALS;
112 API_PROTECTED_SIGNALS, in isAllowedProtectedSignalsAccess()