/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AppManifestConfigHelper.java | 69 public static boolean isAllowedAttributionAccess(String appPackageName, String enrollmentId) { in isAllowedAttributionAccess() argument 74 enrollmentId, in isAllowedAttributionAccess() 75 config -> config.isAllowedAttributionAccess(enrollmentId)); in isAllowedAttributionAccess() 88 String appPackageName, String enrollmentId) { in isAllowedCustomAudiencesAccess() argument 93 enrollmentId, in isAllowedCustomAudiencesAccess() 94 config -> config.isAllowedCustomAudiencesAccess(enrollmentId)); in isAllowedCustomAudiencesAccess() 107 String appPackageName, String enrollmentId) { in isAllowedProtectedSignalsAccess() argument 112 enrollmentId, in isAllowedProtectedSignalsAccess() 113 config -> config.isAllowedProtectedSignalsAccess(enrollmentId)); in isAllowedProtectedSignalsAccess() 125 public static boolean isAllowedAdSelectionAccess(String appPackageName, String enrollmentId) { in isAllowedAdSelectionAccess() argument [all …]
|
D | AppManifestConfig.java | 110 public @Result int isAllowedAttributionAccess(@NonNull String enrollmentId) { in isAllowedAttributionAccess() argument 111 return isAllowedAccess(TAG_ATTRIBUTION, mAttributionConfig, enrollmentId); in isAllowedAttributionAccess() 133 public @Result int isAllowedCustomAudiencesAccess(@NonNull String enrollmentId) { in isAllowedCustomAudiencesAccess() argument 134 return isAllowedAccess(TAG_CUSTOM_AUDIENCES, mCustomAudiencesConfig, enrollmentId); in isAllowedCustomAudiencesAccess() 156 public @Result int isAllowedProtectedSignalsAccess(@NonNull String enrollmentId) { in isAllowedProtectedSignalsAccess() argument 157 return isAllowedAccess(TAG_PROTECTED_SIGNALS, mProtectedSignalsConfig, enrollmentId); in isAllowedProtectedSignalsAccess() 179 public @Result int isAllowedAdSelectionAccess(@NonNull String enrollmentId) { in isAllowedAdSelectionAccess() argument 180 return isAllowedAccess(TAG_AD_SELECTION, mAdSelectionConfig, enrollmentId); in isAllowedAdSelectionAccess() 201 public @Result int isAllowedTopicsAccess(@NonNull String enrollmentId) { in isAllowedTopicsAccess() argument 202 return isAllowedAccess(TAG_TOPICS, mTopicsConfig, enrollmentId); in isAllowedTopicsAccess()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | DebugReportingJobHandler.java | 132 String enrollmentId = null; in performReport() local 145 enrollmentId); in performReport() 150 enrollmentId = debugReport.getEnrollmentId(); in performReport() 170 enrollmentId, in performReport() 176 enrollmentId); in performReport() 183 debugReportId, enrollmentId, debugReport.getType()); in performReport() 195 enrollmentId, in performReport() 201 enrollmentId); in performReport() 208 debugReportId, enrollmentId, debugReport.getType()); in performReport() 210 reportingStatus, UploadStatus.SUCCESS, FailureStatus.UNKNOWN, enrollmentId); in performReport() [all …]
|
D | AggregateReportingJobHandler.java | 258 String enrollmentId = null; in performReport() local 268 enrollmentId); in performReport() 273 enrollmentId = aggregateReport.getEnrollmentId(); in performReport() 287 enrollmentId, in performReport() 293 enrollmentId); in performReport() 302 enrollmentId, in performReport() 308 enrollmentId); in performReport() 322 enrollmentId); in performReport() 354 enrollmentId, in performReport() 360 enrollmentId); in performReport() [all …]
|
D | EventReportingJobHandler.java | 219 String enrollmentId = null; in performReport() local 229 enrollmentId); in performReport() 233 enrollmentId = eventReport.getEnrollmentId(); in performReport() 243 enrollmentId, in performReport() 249 enrollmentId); in performReport() 258 enrollmentId, in performReport() 264 enrollmentId); in performReport() 279 enrollmentId); in performReport() 307 enrollmentId, in performReport() 313 enrollmentId); in performReport() [all …]
|
D | DebugReportApi.java | 403 String enrollmentId, in scheduleHeaderErrorReport() argument 414 enrollmentId, in scheduleHeaderErrorReport() 424 enrollmentId); in scheduleHeaderErrorReport() 444 String enrollmentId = source.getEnrollmentId(); in scheduleSourceReport() local 445 Objects.requireNonNull(enrollmentId, "source enrollmentId cannot be null"); in scheduleSourceReport() 471 if (enrollmentId.isEmpty()) { in scheduleSourceReport() 485 .setEnrollmentId(enrollmentId) in scheduleSourceReport() 499 enrollmentId); in scheduleSourceReport() 510 enrollmentId, in scheduleSourceReport() 529 String enrollmentId, in scheduleReport() argument [all …]
|
D | ReportUtil.java | 108 String enrollmentId, in logReportingFailure() argument 113 filename, failureMessage, reportId, enrollmentId, reportType); in logReportingFailure() 131 String enrollmentId, in logReportingFailure() argument 140 enrollmentId, in logReportingFailure()
|
D | DebugReport.java | 43 @NonNull String enrollmentId, in DebugReport() argument 51 mEnrollmentId = enrollmentId; in DebugReport() 175 public Builder setEnrollmentId(String enrollmentId) { in setEnrollmentId() argument 176 mEnrollmentId = enrollmentId; in setEnrollmentId()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | AsyncSourceFetcher.java | 126 String enrollmentId, in parseValidateSource() argument 137 enrollmentId, sourceId); in parseValidateSource() 150 SourceHeaderContract.SOURCE_EVENT_ID, enrollmentId, sourceId); in parseValidateSource() 161 enrollmentId, sourceId, eventId); in parseValidateSource() 226 SourceHeaderContract.PRIORITY, enrollmentId, sourceId, eventId); in parseValidateSource() 288 SourceHeaderContract.FILTER_DATA, enrollmentId, sourceId, eventId); in parseValidateSource() 297 SourceHeaderContract.FILTER_DATA, enrollmentId, sourceId, eventId); in parseValidateSource() 311 SourceHeaderContract.DESTINATION, enrollmentId, sourceId, eventId); in parseValidateSource() 321 enrollmentId, in parseValidateSource() 333 && !blockedEnrollmentsString.contains(enrollmentId) in parseValidateSource() [all …]
|
D | AsyncTriggerFetcher.java | 127 String enrollmentId, in parseTrigger() argument 136 builder.setEnrollmentId(enrollmentId); in parseTrigger() 151 enrollmentId, triggerId); in parseTrigger() 158 enrollmentId, in parseTrigger() 184 enrollmentId, in parseTrigger() 194 enrollmentId, in parseTrigger() 206 enrollmentId, in parseTrigger() 216 enrollmentId, in parseTrigger() 226 enrollmentId, in parseTrigger() 242 enrollmentId, in parseTrigger() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/ |
D | AdServicesLoggerImpl.java | 77 MeasurementReportsStats measurementReportsStats, @Nullable String enrollmentId) { in logMeasurementReports() argument 78 mStatsdAdServicesLogger.logMeasurementReports(measurementReportsStats, enrollmentId); in logMeasurementReports() 79 cobaltLogMsmtReportingStats(measurementReportsStats, enrollmentId); in logMeasurementReports() 122 MeasurementRegistrationResponseStats stats, @Nullable String enrollmentId) { in logMeasurementRegistrationsResponseSize() argument 123 mStatsdAdServicesLogger.logMeasurementRegistrationsResponseSize(stats, enrollmentId); in logMeasurementRegistrationsResponseSize() 126 cobaltLogMsmtRegistration(stats, enrollmentId); in logMeasurementRegistrationsResponseSize() 189 @Nullable String enrollmentId) { in logMeasurementAttributionStats() argument 191 measurementAttributionStats, enrollmentId); in logMeasurementAttributionStats() 192 cobaltLogMsmtAttribution(measurementAttributionStats, enrollmentId); in logMeasurementAttributionStats() 515 MeasurementRegistrationResponseStats stats, @Nullable String enrollmentId) { in cobaltLogMsmtRegistration() argument [all …]
|
D | SignatureVerificationLogger.java | 42 void setFailedSignatureBuyerEnrollmentId(String enrollmentId); in setFailedSignatureBuyerEnrollmentId() argument 45 void setFailedSignatureSellerEnrollmentId(String enrollmentId); in setFailedSignatureSellerEnrollmentId() argument
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/ |
D | MeasurementCobaltLogger.java | 166 @Nullable String enrollmentId) { in logRegistrationStatus() argument 181 hashEnrollmentIntoUint(enrollmentId))); in logRegistrationStatus() 191 @Nullable String enrollmentId) { in logAttributionStatusWithAppName() argument 206 hashEnrollmentIntoUint(enrollmentId))); in logAttributionStatusWithAppName() 216 @Nullable String enrollmentId) { in logReportingStatusWithAppName() argument 230 hashEnrollmentIntoUint(enrollmentId))); in logReportingStatusWithAppName() 314 private static int hashEnrollmentIntoUint(@Nullable String enrollmentId) { in hashEnrollmentIntoUint() argument 315 if (enrollmentId == null) { in hashEnrollmentIntoUint() 320 return Hashing.murmur3_32_fixed().hashString(enrollmentId, UTF_8).asInt() & 0x7FFFFFFF; in hashEnrollmentIntoUint()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorV15Test.java | 185 private void populateEnrollment(String enrollmentId, String attributionUrl) { in populateEnrollment() argument 189 values.put(EnrollmentTables.EnrollmentDataContract.ENROLLMENT_ID, enrollmentId); in populateEnrollment() 221 private ContentValues buildSourceV14(String sourceId, String enrollmentId) { in buildSourceV14() argument 226 if (enrollmentId != null) { in buildSourceV14() 227 source.put(MeasurementTables.SourceContract.ENROLLMENT_ID, enrollmentId); in buildSourceV14() 232 private ContentValues buildTriggerV14(String triggerId, String enrollmentId) { in buildTriggerV14() argument 237 if (enrollmentId != null) { in buildTriggerV14() 238 trigger.put(MeasurementTables.TriggerContract.ENROLLMENT_ID, enrollmentId); in buildTriggerV14() 243 private ContentValues buildDebugReportV14(String reportId, String enrollmentId) { in buildDebugReportV14() argument 248 if (enrollmentId != null) { in buildDebugReportV14() [all …]
|
D | MeasurementDbMigratorV14Test.java | 518 private void populateEnrollment(String enrollmentId, String attributionUrl) { in populateEnrollment() argument 522 values.put(EnrollmentTables.EnrollmentDataContract.ENROLLMENT_ID, enrollmentId); in populateEnrollment() 573 private ContentValues buildSourceV13(String sourceId, String enrollmentId) { in buildSourceV13() argument 578 if (enrollmentId != null) { in buildSourceV13() 579 source.put(MeasurementTables.SourceContract.ENROLLMENT_ID, enrollmentId); in buildSourceV13() 584 private ContentValues buildTriggerV13(String triggerId, String enrollmentId) { in buildTriggerV13() argument 589 if (enrollmentId != null) { in buildTriggerV13() 590 trigger.put(MeasurementTables.TriggerContract.ENROLLMENT_ID, enrollmentId); in buildTriggerV13() 595 private ContentValues buildEventReportV13(String reportId, String enrollmentId) { in buildEventReportV13() argument 600 if (enrollmentId != null) { in buildEventReportV13() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/encryptionkey/ |
D | EncryptionKeyDao.java | 76 public List<EncryptionKey> getEncryptionKeyFromEnrollmentId(String enrollmentId) in getEncryptionKeyFromEnrollmentId() argument 86 new String[] {enrollmentId}, // The values for the WHERE clause in getEncryptionKeyFromEnrollmentId() argument 92 sLogger.i("No EncryptionKey in DB with enrollment id: %s.", enrollmentId); in getEncryptionKeyFromEnrollmentId() 96 sLogger.i("Found %s keys for enrollment id %s.", cursor.getCount(), enrollmentId); in getEncryptionKeyFromEnrollmentId() 106 sLogger.e(e, "Failed to find EncryptionKey in DB with enrollment id: " + enrollmentId); in getEncryptionKeyFromEnrollmentId() 117 String enrollmentId, EncryptionKey.KeyType keyType) throws SQLException { in getEncryptionKeyFromEnrollmentIdAndKeyType() argument 129 new String[] {enrollmentId, keyType.toString()}, in getEncryptionKeyFromEnrollmentIdAndKeyType() argument 135 sLogger.i("No EncryptionKey in DB with enrollment id: %s.", enrollmentId); in getEncryptionKeyFromEnrollmentIdAndKeyType() 141 cursor.getCount(), keyType, enrollmentId); in getEncryptionKeyFromEnrollmentIdAndKeyType() 151 sLogger.e(e, "Failed to find EncryptionKey in DB with enrollment id:" + enrollmentId); in getEncryptionKeyFromEnrollmentIdAndKeyType() [all …]
|
D | IEncryptionKeyDao.java | 35 List<EncryptionKey> getEncryptionKeyFromEnrollmentId(String enrollmentId); in getEncryptionKeyFromEnrollmentId() argument 46 String enrollmentId, EncryptionKey.KeyType keyType); in getEncryptionKeyFromEnrollmentIdAndKeyType() argument 57 String enrollmentId, int keyCommitmentId); in getEncryptionKeyFromEnrollmentIdAndKeyCommitmentId() argument
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorV15.java | 97 String enrollmentId = in getEnrollmentToReportingOrigin() local 114 uri -> enrollmentIdToReportingUrl.putIfAbsent(enrollmentId, uri)); in getEnrollmentToReportingOrigin() 140 String enrollmentId = cursor.getString(cursor.getColumnIndex(ENROLLMENT_ID_COLUMN)); in insertRegistrationOriginOrDelete() local 141 Uri reportingUri = enrollmentIdToReportingUrl.get(enrollmentId); in insertRegistrationOriginOrDelete() 145 .d("Reporting origin not found for enrollment id - " + enrollmentId); in insertRegistrationOriginOrDelete()
|
D | MeasurementDbMigratorV14.java | 120 String enrollmentId = in getEnrollmentToReportingOrigin() local 137 uri -> enrollmentIdToReportingUrl.putIfAbsent(enrollmentId, uri)); in getEnrollmentToReportingOrigin() 164 String enrollmentId = cursor.getString(cursor.getColumnIndex(ENROLLMENT_ID_COLUMN)); in insertRegistrationOriginOrDelete() local 165 Uri reportingUri = enrollmentIdToReportingUrl.get(enrollmentId); in insertRegistrationOriginOrDelete() 169 .d("Reporting origin not found for enrollment id - " + enrollmentId); in insertRegistrationOriginOrDelete()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/common/ |
D | IsAllowedProtectedSignalsAccessCommand.java | 53 String enrollmentId = args[2]; in run() local 56 AppManifestConfigHelper.isAllowedProtectedSignalsAccess(pkgName, enrollmentId); in run() 61 pkgName, enrollmentId, isValid)); in run()
|
D | IsAllowedCustomAudiencesAccessCommand.java | 52 String enrollmentId = args[2]; in run() local 55 AppManifestConfigHelper.isAllowedCustomAudiencesAccess(pkgName, enrollmentId); in run() 60 pkgName, enrollmentId, isValid)); in run()
|
D | IsAllowedAttributionAccessCommand.java | 52 String enrollmentId = args[2]; in run() local 54 boolean isValid = AppManifestConfigHelper.isAllowedAttributionAccess(pkgName, enrollmentId); in run() 58 "isAllowedAttributionAccess(%s, %s: %b)", pkgName, enrollmentId, isValid)); in run()
|
D | IsAllowedAdSelectionAccessCommand.java | 53 String enrollmentId = args[2]; in run() local 55 boolean isValid = AppManifestConfigHelper.isAllowedAdSelectionAccess(pkgName, enrollmentId); in run() 59 "isAllowedAdSelectionAccess(%s, %s: %b)", pkgName, enrollmentId, isValid)); in run()
|
D | IsAllowedTopicsAccessCommand.java | 51 String enrollmentId = args[2]; in run() local 61 usesSdkSandbox, pkgName, enrollmentId); in run() 66 pkgName, usesSdkSandbox, enrollmentId, isValid)); in run()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/ |
D | IMeasurementDao.java | 222 String enrollmentId, in countDistinctDestPerPubXEnrollmentInUnexpiredSourceInWindow() argument 236 String enrollmentId, in countDistinctDestinationsPerPubXEnrollmentInUnexpiredSource() argument 263 String enrollmentId, in countDistinctRegOriginPerPublisherXEnrollmentExclRegOrigin() argument 831 void insertIgnoredSourceForEnrollment(@NonNull String sourceId, @NonNull String enrollmentId) in insertIgnoredSourceForEnrollment() argument 858 long countDistinctDebugAdIdsUsedByEnrollment(@NonNull String enrollmentId) in countDistinctDebugAdIdsUsedByEnrollment() argument 875 String enrollmentId, long startTime, long endTime, String excludedDebugAdId) in countDistinctDebugAdIdsUsedByEnrollmentInWindow() argument 970 String enrollmentId, in fetchSourceIdsForLowestPriorityDestinationXEnrollmentXPublisher() argument
|