/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | CustomAudienceServiceFilter.java | 84 @NonNull String callerPackageName, in filterRequest() argument 91 Objects.requireNonNull(callerPackageName); in filterRequest() 96 assertCallerPackageName(callerPackageName, callerUid, apiName); in filterRequest() 99 assertCallerNotThrottled(callerPackageName, apiKey, apiName); in filterRequest() 108 adTech, callerPackageName, apiName, devContext, API_CUSTOM_AUDIENCES); in filterRequest() 112 assertAppInAllowList(callerPackageName, apiName, API_CUSTOM_AUDIENCES); in filterRequest() 116 assertAndPersistCallerHasUserConsentForApp(callerPackageName, apiName); in filterRequest() 142 @NonNull String callerPackageName, in filterRequestAndExtractIdentifier() argument 151 Objects.requireNonNull(callerPackageName); in filterRequestAndExtractIdentifier() 155 assertCallerPackageName(callerPackageName, callerUid, apiName); in filterRequestAndExtractIdentifier() [all …]
|
D | AbstractFledgeServiceFilter.java | 78 protected void assertCallerHasUserConsent(String callerPackageName, int apiName) in assertCallerHasUserConsent() argument 80 mFledgeConsentFilter.assertCallerHasApiUserConsent(callerPackageName, apiName); in assertCallerHasUserConsent() 90 protected void assertAndPersistCallerHasUserConsentForApp(String callerPackageName, int apiName) in assertAndPersistCallerHasUserConsentForApp() argument 92 mFledgeConsentFilter.assertAndPersistCallerHasUserConsentForApp(callerPackageName, apiName); in assertAndPersistCallerHasUserConsentForApp() 114 protected void assertCallerPackageName(String callerPackageName, int callerUid, int apiName) in assertCallerPackageName() argument 116 mFledgeAuthorizationFilter.assertCallingPackageName(callerPackageName, callerUid, apiName); in assertCallerPackageName() 130 String callerPackageName, in getAndAssertAdTechFromUriAllowed() argument 136 mContext, callerPackageName, uriForAdTech, apiName, apiType); in getAndAssertAdTechFromUriAllowed() 150 String callerPackageName, in assertFledgeEnrollment() argument 166 mContext, callerPackageName, adTech, apiName, apiType); in assertFledgeEnrollment() [all …]
|
D | FledgeConsentFilter.java | 53 public void assertCallerHasApiUserConsent(String callerPackageName, int apiName) { in assertCallerHasApiUserConsent() argument 61 callerPackageName, in assertCallerHasApiUserConsent() 77 public void assertAndPersistCallerHasUserConsentForApp(String callerPackageName, int apiName) in assertAndPersistCallerHasUserConsentForApp() argument 81 callerPackageName, apiName); in assertAndPersistCallerHasUserConsentForApp() 82 if (mConsentManager.isFledgeConsentRevokedForAppAfterSettingFledgeUse(callerPackageName)) { in assertAndPersistCallerHasUserConsentForApp() 85 callerPackageName, apiName); in assertAndPersistCallerHasUserConsentForApp() 88 callerPackageName, in assertAndPersistCallerHasUserConsentForApp()
|
D | ProtectedSignalsServiceFilter.java | 64 @NonNull String callerPackageName, in filterRequest() argument 96 @NonNull String callerPackageName, in filterRequestAndExtractIdentifier() argument 105 Objects.requireNonNull(callerPackageName); in filterRequestAndExtractIdentifier() 109 assertCallerPackageName(callerPackageName, callerUid, apiName); in filterRequestAndExtractIdentifier() 112 assertCallerNotThrottled(callerPackageName, apiKey, apiName); in filterRequestAndExtractIdentifier() 127 callerPackageName, uriForAdTech, apiName, API_PROTECTED_SIGNALS); in filterRequestAndExtractIdentifier() 131 assertAppInAllowList(callerPackageName, apiName, API_PROTECTED_SIGNALS); in filterRequestAndExtractIdentifier() 135 assertAndPersistCallerHasUserConsentForApp(callerPackageName, apiName); in filterRequestAndExtractIdentifier()
|
D | AdSelectionServiceFilter.java | 72 @NonNull String callerPackageName, in filterRequest() argument 80 Objects.requireNonNull(callerPackageName); in filterRequest() 83 assertCallerPackageName(callerPackageName, callerUid, apiName); in filterRequest() 84 assertCallerNotThrottled(callerPackageName, apiKey, apiName); in filterRequest() 90 adTech, callerPackageName, apiName, devContext, API_AD_SELECTION); in filterRequest() 92 assertAppInAllowList(callerPackageName, apiName, API_AD_SELECTION); in filterRequest() 94 assertCallerHasUserConsent(callerPackageName, apiName); in filterRequest()
|
D | FledgeApiThrottleFilter.java | 49 final String callerPackageName, Throttler.ApiKey apiKey, int apiName) in assertCallerNotThrottled() argument 51 sLogger.v("Checking if API %s is throttled for package %s ", apiKey, callerPackageName); in assertCallerNotThrottled() 52 boolean isThrottled = !mThrottler.tryAcquire(apiKey, callerPackageName); in assertCallerNotThrottled() 57 apiKey, callerPackageName); in assertCallerNotThrottled() 59 apiName, callerPackageName, AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED, 0); in assertCallerNotThrottled()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/signals/ |
D | UpdateSignalsInput.java | 53 private UpdateSignalsInput(@NonNull Uri updateUri, @NonNull String callerPackageName) { in UpdateSignalsInput() argument 55 Objects.requireNonNull(callerPackageName); in UpdateSignalsInput() 58 mCallerPackageName = callerPackageName; in UpdateSignalsInput() 67 String callerPackageName = in.readString(); in UpdateSignalsInput() local 68 Objects.requireNonNull(callerPackageName); in UpdateSignalsInput() 69 mCallerPackageName = callerPackageName; in UpdateSignalsInput() 147 public Builder(@NonNull Uri updateUri, @NonNull String callerPackageName) { in Builder() argument 149 Objects.requireNonNull(callerPackageName); in Builder() 152 this.mCallerPackageName = callerPackageName; in Builder() 173 public Builder setCallerPackageName(@NonNull String callerPackageName) { in setCallerPackageName() argument [all …]
|
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/ |
D | E2eeContactKeysProvider.java | 133 String callerPackageName = getCallingPackage(); in updateOrInsertE2eeContactKey() local 137 deviceId, accountId, callerPackageName, timeUpdated, displayName, number, in updateOrInsertE2eeContactKey() 158 String callerPackageName = getCallingPackage(); in getE2eeContactKey() local 161 callerPackageName, deviceId, accountId); in getE2eeContactKey() 216 String callerPackageName = getCallingPackage(); in getOwnerE2eeContactKeys() local 218 mDbHelper.getContactKeysForOwnerPackageName(lookupKey, callerPackageName); in getOwnerE2eeContactKeys() 242 final String callerPackageName = getCallingPackage(); in updateE2eeContactKeyLocalVerificationState() local 248 callerPackageName, ownerPackageName); in updateE2eeContactKeyLocalVerificationState() local 255 callerPackageName, deviceId, accountId, localVerificationState, timeUpdated); in updateE2eeContactKeyLocalVerificationState() 280 final String callerPackageName = getCallingPackage(); in updateE2eeContactKeyRemoteVerificationState() local [all …]
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/ |
D | AdSelectionFromOutcomesInput.java | 52 @NonNull String callerPackageName) { in AdSelectionFromOutcomesInput() argument 54 Objects.requireNonNull(callerPackageName); in AdSelectionFromOutcomesInput() 57 this.mCallerPackageName = callerPackageName; in AdSelectionFromOutcomesInput() 146 @NonNull String callerPackageName) { in setCallerPackageName() 147 Objects.requireNonNull(callerPackageName); in setCallerPackageName() 149 this.mCallerPackageName = callerPackageName; in setCallerPackageName()
|
D | SetAppInstallAdvertisersInput.java | 57 @NonNull Set<AdTechIdentifier> advertisers, @NonNull String callerPackageName) { in SetAppInstallAdvertisersInput() argument 59 Objects.requireNonNull(callerPackageName); in SetAppInstallAdvertisersInput() 62 this.mCallerPackageName = callerPackageName; in SetAppInstallAdvertisersInput() 124 @NonNull String callerPackageName) { in setCallerPackageName() 125 Objects.requireNonNull(callerPackageName); in setCallerPackageName() 127 this.mCallerPackageName = callerPackageName; in setCallerPackageName()
|
D | AdSelectionInput.java | 48 @NonNull AdSelectionConfig adSelectionConfig, @NonNull String callerPackageName) { in AdSelectionInput() argument 52 this.mCallerPackageName = callerPackageName; in AdSelectionInput() 113 public AdSelectionInput.Builder setCallerPackageName(@NonNull String callerPackageName) { in setCallerPackageName() argument 114 Objects.requireNonNull(callerPackageName); in setCallerPackageName() 116 this.mCallerPackageName = callerPackageName; in setCallerPackageName()
|
D | PersistAdSelectionResultInput.java | 61 @NonNull String callerPackageName) { in PersistAdSelectionResultInput() argument 62 Objects.requireNonNull(callerPackageName); in PersistAdSelectionResultInput() 67 this.mCallerPackageName = callerPackageName; in PersistAdSelectionResultInput() 195 @NonNull String callerPackageName) { in setCallerPackageName() 196 Objects.requireNonNull(callerPackageName); in setCallerPackageName() 198 this.mCallerPackageName = callerPackageName; in setCallerPackageName()
|
D | GetAdSelectionDataInput.java | 56 @NonNull String callerPackageName, in GetAdSelectionDataInput() argument 59 Objects.requireNonNull(callerPackageName); in GetAdSelectionDataInput() 62 this.mCallerPackageName = callerPackageName; in GetAdSelectionDataInput() 180 @NonNull String callerPackageName) { in setCallerPackageName() 181 Objects.requireNonNull(callerPackageName); in setCallerPackageName() 183 this.mCallerPackageName = callerPackageName; in setCallerPackageName()
|
D | ReportImpressionInput.java | 56 @NonNull String callerPackageName) { in ReportImpressionInput() argument 61 this.mCallerPackageName = callerPackageName; in ReportImpressionInput() 141 @NonNull String callerPackageName) { in setCallerPackageName() 142 Objects.requireNonNull(callerPackageName); in setCallerPackageName() 144 this.mCallerPackageName = callerPackageName; in setCallerPackageName()
|
D | UpdateAdCounterHistogramInput.java | 199 @NonNull String callerPackageName) { in Builder() argument 209 Objects.requireNonNull(callerPackageName, UNSET_CALLER_PACKAGE_NAME_MESSAGE); in Builder() 214 mCallerPackageName = callerPackageName; in Builder() 266 public Builder setCallerPackageName(@NonNull String callerPackageName) { in setCallerPackageName() argument 267 Objects.requireNonNull(callerPackageName, UNSET_CALLER_PACKAGE_NAME_MESSAGE); in setCallerPackageName() 268 mCallerPackageName = callerPackageName; in setCallerPackageName()
|
D | ReportInteractionInput.java | 73 @NonNull String callerPackageName, in ReportInteractionInput() argument 80 Objects.requireNonNull(callerPackageName); in ReportInteractionInput() 85 this.mCallerPackageName = callerPackageName; in ReportInteractionInput() 242 @NonNull String callerPackageName) { in setCallerPackageName() 243 Objects.requireNonNull(callerPackageName); in setCallerPackageName() 245 mCallerPackageName = callerPackageName; in setCallerPackageName()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdCounterHistogramUpdaterImpl.java | 158 @NonNull String callerPackageName, in updateNonWinHistogram() argument 161 Objects.requireNonNull(callerPackageName); in updateNonWinHistogram() 172 adSelectionId, callerPackageName); in updateNonWinHistogram() 177 adSelectionId, callerPackageName); in updateNonWinHistogram() 182 adSelectionId, callerPackageName); in updateNonWinHistogram() 188 adSelectionId, callerPackageName); in updateNonWinHistogram() 197 adSelectionId, callerPackageName); in updateNonWinHistogram() 206 .setSourceApp(callerPackageName); in updateNonWinHistogram()
|
D | AppInstallAdvertisersSetter.java | 233 Set<AdTechIdentifier> advertisers, String callerPackageName) { in doSetAppInstallAdvertisers() argument 239 validateRequest(advertisers, callerPackageName); in doSetAppInstallAdvertisers() 248 .setPackageName(callerPackageName) in doSetAppInstallAdvertisers() 252 mAppInstallDao.setAdTechsForPackage(callerPackageName, permissions); in doSetAppInstallAdvertisers() 259 private void validateRequest(Set<AdTechIdentifier> advertisers, String callerPackageName) { in validateRequest() argument 263 callerPackageName, in validateRequest() 275 if (mConsentManager.isFledgeConsentRevokedForAppAfterSettingFledgeUse(callerPackageName)) { in validateRequest()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | AdSelectionEntryDao.java | 290 List<Long> adSelectionIds, String callerPackageName); in getAdSelectionEntities() argument 362 long adSelectionId, @NonNull String callerPackageName); in getAdSelectionHistogramInfoInOnDeviceTable() argument 386 long adSelectionId, @NonNull String callerPackageName); in getAdSelectionHistogramInfo() argument 406 long adSelectionId, @NonNull String callerPackageName); in getAdSelectionHistogramInfoFromUnifiedTable() argument 497 long adSelectionId, String callerPackageName); in doesAdSelectionMatchingCallerPackageNameExistInOnDeviceTable() argument 512 long adSelectionId, String callerPackageName); in doesAdSelectionMatchingCallerPackageNameExistInServerAuctionTable() argument 520 long adSelectionId, String callerPackageName) { in doesAdSelectionIdAndCallerPackageNameExists() argument 522 adSelectionId, callerPackageName) in doesAdSelectionIdAndCallerPackageNameExists() 524 adSelectionId, callerPackageName); in doesAdSelectionIdAndCallerPackageNameExists() 730 List<Long> adSelectionIds, String callerPackageName); in getAdSelectionIdsWithCallerPackageNameInOnDeviceTable() argument [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/ |
D | ProtectedAudienceSignatureManager.java | 106 @NonNull String callerPackageName, in isVerified() argument 110 Objects.requireNonNull(callerPackageName); in isVerified() 137 endFailedSigningProcess(buyer, seller, callerPackageName); in isVerified() 142 endFailedSigningProcess(buyer, seller, callerPackageName, isUnknownError); in isVerified() 236 AdTechIdentifier buyer, AdTechIdentifier seller, String callerPackageName) { in endFailedSigningProcess() argument 238 endFailedSigningProcess(buyer, seller, callerPackageName, isKnownError); in endFailedSigningProcess() 244 String callerPackageName, in endFailedSigningProcess() argument 251 mSignatureVerificationLogger.setFailedSignatureCallerPackageName(callerPackageName); in endFailedSigningProcess()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/ |
D | ScheduleCustomAudienceUpdateInput.java | 176 @NonNull String callerPackageName, in Builder() argument 180 Objects.requireNonNull(callerPackageName); in Builder() 185 mCallerPackageName = callerPackageName; in Builder() 208 public Builder setCallerPackageName(@NonNull String callerPackageName) { in setCallerPackageName() argument 209 Objects.requireNonNull(callerPackageName); in setCallerPackageName() 210 this.mCallerPackageName = callerPackageName; in setCallerPackageName()
|
D | FetchAndJoinCustomAudienceInput.java | 251 public Builder(@NonNull Uri fetchUri, @NonNull String callerPackageName) { in Builder() argument 253 Objects.requireNonNull(callerPackageName); in Builder() 256 this.mCallerPackageName = callerPackageName; in Builder() 322 public Builder setCallerPackageName(@NonNull String callerPackageName) { in setCallerPackageName() argument 323 Objects.requireNonNull(callerPackageName); in setCallerPackageName() 324 this.mCallerPackageName = callerPackageName; in setCallerPackageName()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/datahandlers/ |
D | AdSelectionInitialization.java | 59 @NonNull String callerPackageName, in create() argument 63 .setCallerPackageName(callerPackageName) in create() 75 public abstract Builder setCallerPackageName(@NonNull String callerPackageName); in setCallerPackageName() argument
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerServiceImpl.java | 283 boolean doDryRun, int reason, @NonNull String callerPackageName, in onRevokeRuntimePermissions() argument 286 reason, callerPackageName))); in onRevokeRuntimePermissions() 291 int reason, @NonNull String callerPackageName) { in onRevokeRuntimePermissions() argument 301 PackageInfo callerPkgInfo = getPkgInfo(callerPackageName); in onRevokeRuntimePermissions() 335 && !callerPackageName.equals(pm.getInstallerPackageName(pkgName))) { in onRevokeRuntimePermissions() 337 + callerPackageName); in onRevokeRuntimePermissions() 508 public void onSetRuntimePermissionGrantStateByDeviceAdmin(@NonNull String callerPackageName, in onSetRuntimePermissionGrantStateByDeviceAdmin() argument 512 callerPackageName, packageName, unexpandedPermission, grantState, true))); in onSetRuntimePermissionGrantStateByDeviceAdmin() 520 @NonNull String callerPackageName, @NonNull AdminPermissionControlParams params, in onSetRuntimePermissionGrantStateByDeviceAdmin() 523 callerPackageName, params.getGranteePackageName(), params.getPermission(), in onSetRuntimePermissionGrantStateByDeviceAdmin() [all …]
|
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/util/ |
D | E2eeContactKeysPermissions.java | 60 public static void enforceVisibility(Context context, String callerPackageName, in enforceVisibility() argument 65 visible = packageManager.canPackageQuery(callerPackageName, targetPackageName); in enforceVisibility() 71 + "package %s", callerPackageName, targetPackageName)); in enforceVisibility()
|