Searched refs:AdServicesPermissions (Results 1 – 25 of 30) sorted by relevance
12
20 import android.adservices.common.AdServicesPermissions;52 context, appPackageName, AdServicesPermissions.ACCESS_ADSERVICES_TOPICS); in hasTopicsPermission()59 context, AdServicesPermissions.ACCESS_ADSERVICES_TOPICS, callingUid); in hasTopicsPermission()71 context, appPackageName, AdServicesPermissions.ACCESS_ADSERVICES_AD_ID); in hasAdIdPermission()78 context, AdServicesPermissions.ACCESS_ADSERVICES_AD_ID, callingUid); in hasAdIdPermission()90 context, appPackageName, AdServicesPermissions.ACCESS_ADSERVICES_ATTRIBUTION); in hasAttributionPermission()100 AdServicesPermissions.MODIFY_ADSERVICES_STATE) in hasModifyAdServicesStatePermission()103 AdServicesPermissions.MODIFY_ADSERVICES_STATE_COMPAT); in hasModifyAdServicesStatePermission()112 AdServicesPermissions.ACCESS_ADSERVICES_STATE) in hasAccessAdServicesStatePermission()115 AdServicesPermissions.ACCESS_ADSERVICES_STATE_COMPAT); in hasAccessAdServicesStatePermission()[all …]
19 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_STATE;20 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_STATE_COMPAT;21 import static android.adservices.common.AdServicesPermissions.MODIFY_ADSERVICES_STATE;22 import static android.adservices.common.AdServicesPermissions.MODIFY_ADSERVICES_STATE_COMPAT;23 import static android.adservices.common.AdServicesPermissions.UPDATE_PRIVILEGED_AD_ID;24 import static android.adservices.common.AdServicesPermissions.UPDATE_PRIVILEGED_AD_ID_COMPAT;
18 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_MANAGER;21 import android.adservices.common.AdServicesPermissions;233 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_MANAGER)248 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_MANAGER)266 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_MANAGER)343 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_MANAGER)352 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_MANAGER)368 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_MANAGER)384 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_MANAGER)400 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_MANAGER)[all …]
19 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_ID;20 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_ATTRIBUTION;21 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE;22 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_PROTECTED_SIGNALS;23 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_TOPICS;32 import android.adservices.common.AdServicesPermissions;104 AdServicesPermissions.ACCESS_ADSERVICES_STATE, mMockPackageManagerGrant);108 AdServicesPermissions.ACCESS_ADSERVICES_STATE_COMPAT,117 AdServicesPermissions.MODIFY_ADSERVICES_STATE, mMockPackageManagerGrant);121 AdServicesPermissions.MODIFY_ADSERVICES_STATE_COMPAT,[all …]
19 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE;20 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_PROTECTED_SIGNALS;44 import android.adservices.common.AdServicesPermissions;198 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE)) in testAssertAppHasCaPermission_appHasPermission()205 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testAssertAppHasCaPermission_appHasPermission()223 AdServicesPermissions.ACCESS_ADSERVICES_PROTECTED_SIGNALS)) in testAssertAppHasPasPermission_appHasPermission()230 AdServicesPermissions.ACCESS_ADSERVICES_PROTECTED_SIGNALS); in testAssertAppHasPasPermission_appHasPermission()253 AdServicesPermissions.ACCESS_ADSERVICES_AD_SELECTION)) in testAssertAppHasAnyPermission_appHasAllPermissions()262 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE, in testAssertAppHasAnyPermission_appHasAllPermissions()263 AdServicesPermissions.ACCESS_ADSERVICES_AD_SELECTION, in testAssertAppHasAnyPermission_appHasAllPermissions()[all …]
50 …f={android.adservices.common.AdServicesPermissions.MODIFY_ADSERVICES_STATE, android.adservices.com…51 …f={android.adservices.common.AdServicesPermissions.MODIFY_ADSERVICES_STATE, android.adservices.com…53 …f={android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_STATE, android.adservices.com…54 …f={android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_STATE, android.adservices.com…55 …f={android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_STATE, android.adservices.com…56 …f={android.adservices.common.AdServicesPermissions.MODIFY_ADSERVICES_STATE, android.adservices.com…57 …f={android.adservices.common.AdServicesPermissions.UPDATE_PRIVILEGED_AD_ID, android.adservices.com…58 …f={android.adservices.common.AdServicesPermissions.UPDATE_PRIVILEGED_AD_ID, android.adservices.com…76 public class AdServicesPermissions {
21 …method @NonNull @RequiresPermission(android.adservices.common.AdServicesPermissions.ACCESS_ADSERVI…22 …_enabled") @NonNull @RequiresPermission(android.adservices.common.AdServicesPermissions.ACCESS_ADS…77 …AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE, android.adservices.common.AdServicesPermi…79 …AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE, android.adservices.common.AdServicesPermi…80 …AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE, android.adservices.common.AdServicesPermi…81 …AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE, android.adservices.common.AdServicesPermi…82 …AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE, android.adservices.common.AdServicesPermi…83 …AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE, android.adservices.common.AdServicesPermi…84 …AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE, android.adservices.common.AdServicesPermi…85 …AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE, android.adservices.common.AdServicesPermi…[all …]
55 import android.adservices.common.AdServicesPermissions;215 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testJoinCustomAudience_runNormally()266 eq(AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE)); in testJoinCustomAudienceWithRevokedUserConsentSuccess()336 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testJoinCustomAudience_notInBinderThread()362 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testJoinCustomAudience_ownerAssertFailed()436 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testJoinCustomAudience_errorCreateCustomAudience()491 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testJoinCustomAudience_errorReturnCallback()545 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testJoinCustomAudience_devOptionsEnabled()655 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testFetchAndJoinCustomAudience_notInBinderThread()675 eq(AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE)); in testLeaveCustomAudience_runNormally()[all …]
68 import android.adservices.common.AdServicesPermissions;435 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testJoinCustomAudience_callerPackageNameMismatch_fail()458 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testJoinCustomAudience_callerPackageNameMismatch_fail()1157 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testLeaveCustomAudience_callerPackageNameMismatch_fail()1172 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testLeaveCustomAudience_callerPackageNameMismatch_fail()2491 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testOverrideCustomAudienceRemoteInfoDoesNotAddOverrideWithPackageNameNotMatchOwner()2516 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testOverrideCustomAudienceRemoteInfoDoesNotAddOverrideWithPackageNameNotMatchOwner()2629 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testRemoveCustomAudienceRemoteInfoOverrideDoesNotDeleteWithIncorrectPackageName()2658 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testRemoveCustomAudienceRemoteInfoOverrideDoesNotDeleteWithIncorrectPackageName()2813 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in testResetAllCustomAudienceRemoteOverridesDoesNotDeleteWithIncorrectPackageName()[all …]
25 public class AdServicesPermissions { class26 private AdServicesPermissions() {} in AdServicesPermissions() method in AdServicesPermissions
34 import android.adservices.common.AdServicesPermissions;220 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in joinCustomAudience()323 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in fetchAndJoinCustomAudience()406 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in scheduleCustomAudienceUpdate()459 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in leaveCustomAudience()586 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in overrideCustomAudienceRemoteInfo()653 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in removeCustomAudienceRemoteInfoOverride()708 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE); in resetAllCustomAudienceOverrides()
19 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_SELECTION;20 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE;21 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_PROTECTED_SIGNALS;
19 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE;20 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_SELECTION;21 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_PROTECTED_SIGNALS;
34 import android.adservices.common.AdServicesPermissions;152 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_ATTRIBUTION)212 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_ATTRIBUTION)279 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_ATTRIBUTION)338 @RequiresPermission(AdServicesPermissions.ACCESS_ADSERVICES_ATTRIBUTION)
18 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_ID;
19 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_PROTECTED_SIGNALS;
27 import android.adservices.common.AdServicesPermissions;243 AdServicesPermissions.ACCESS_ADSERVICES_PROTECTED_SIGNALS); in updateSignals()
19 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE;
40 import android.adservices.common.AdServicesPermissions;201 eq(AdServicesPermissions.ACCESS_ADSERVICES_PROTECTED_SIGNALS)); in testUpdateSignalsSuccess()
56 import android.adservices.common.AdServicesPermissions;150 AdServicesPermissions.ACCESS_ADSERVICES_CUSTOM_AUDIENCE,151 AdServicesPermissions.ACCESS_ADSERVICES_PROTECTED_SIGNALS,152 AdServicesPermissions.ACCESS_ADSERVICES_AD_SELECTION));
18 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_TOPICS;
18 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_ATTRIBUTION;