/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | DebugKeyAccessor.java | 148 trigger.getEnrollmentId()) in getDebugKeys() 149 && isEnrollmentIdWithinUniqueAdIdLimit(trigger.getEnrollmentId())) { in getDebugKeys() 170 trigger.getEnrollmentId()) in getDebugKeys() 171 && isEnrollmentIdWithinUniqueAdIdLimit(source.getEnrollmentId())) { in getDebugKeys() 198 trigger.getEnrollmentId(), in getDebugKeys() 291 trigger.getEnrollmentId()) in getDebugKeysForVerboseTriggerDebugReport() 292 && isEnrollmentIdWithinUniqueAdIdLimit(trigger.getEnrollmentId())) { in getDebugKeysForVerboseTriggerDebugReport() 325 trigger.getEnrollmentId()) in getDebugKeysForVerboseTriggerDebugReport() 326 && isEnrollmentIdWithinUniqueAdIdLimit(source.getEnrollmentId())) { in getDebugKeysForVerboseTriggerDebugReport() 349 trigger.getEnrollmentId(), in getDebugKeysForVerboseTriggerDebugReport() [all …]
|
D | DebugReportApi.java | 179 source.getEnrollmentId(), in scheduleSourceSuccessDebugReport() 217 source.getEnrollmentId(), in scheduleSourceNoisedDebugReport() 240 source.getEnrollmentId(), in scheduleSourceStorageLimitDebugReport() 264 source.getEnrollmentId(), in scheduleSourceFlexibleEventReportApiDebugReport() 286 source.getEnrollmentId(), in scheduleSourceUnknownErrorDebugReport() 313 trigger.getEnrollmentId(), in scheduleTriggerNoMatchingSourceDebugReport() 342 source.getEnrollmentId(), in scheduleTriggerDebugReport() 375 source.getEnrollmentId(), in scheduleTriggerDebugReportWithAllFields() 403 source.getEnrollmentId(), in scheduleSourceDestinationLimitDebugReport()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/ |
D | Enrollment.java | 73 if (flags.isEnrollmentBlocklisted(enrollmentData.getEnrollmentId())) { in getValidEnrollmentId() 78 registrationUri, enrollmentData.getEnrollmentId()); in getValidEnrollmentId() 82 packageName, enrollmentData.getEnrollmentId())) { in getValidEnrollmentId() 88 registrationUri, enrollmentData.getEnrollmentId()); in getValidEnrollmentId() 91 return Optional.of(enrollmentData.getEnrollmentId()); in getValidEnrollmentId()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | EventReportTest.java | 139 assertEquals("enrollment-id", eventReport.getEnrollmentId()); in creation_success() 163 assertEquals("enrollment-id", eventReport.getEnrollmentId()); in creationSuccessSingleSourceDebugKey() 187 assertEquals("enrollment-id", eventReport.getEnrollmentId()); in creationSuccessSingleTriggerDebugKey() 211 assertEquals("enrollment-id", eventReport.getEnrollmentId()); in creationSuccessMultipleTriggerDebugKeys() 236 assertNull(eventReport.getEnrollmentId()); in defaults_success() 285 assertEquals(source.getEnrollmentId(), report.getEnrollmentId()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() 336 assertEquals(source.getEnrollmentId(), report.getEnrollmentId()); in populate_eventSourceAppDestWithoutInstallConfigured() 381 assertEquals(source.getEnrollmentId(), report.getEnrollmentId()); in testpopulate_shouldTruncateTriggerDataWith64thBit() 423 assertEquals(source.getEnrollmentId(), report.getEnrollmentId()); in populate_eventSourceWebDestWithoutInstallAttribution() 459 assertEquals(source.getEnrollmentId(), report.getEnrollmentId()); in populate_eventSourceAppDestWithInstallAttribution() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/ |
D | ProtectedAudienceSignatureManager.java | 164 if (enrollmentData == null || enrollmentData.getEnrollmentId() == null) { in fetchPublicKeyForAdTech() 171 sLogger.v("Fetching signature keys for %s", enrollmentData.getEnrollmentId()); in fetchPublicKeyForAdTech() 174 enrollmentData.getEnrollmentId(), EncryptionKey.KeyType.SIGNING); in fetchPublicKeyForAdTech() 268 if (Objects.isNull(enrollmentData) || Objects.isNull(enrollmentData.getEnrollmentId())) { in resolveEnrollmentIdFromAdTechIdentifier() 271 return enrollmentData.getEnrollmentId(); in resolveEnrollmentIdFromAdTechIdentifier()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationQueueRunner.java | 413 source.getEnrollmentId(), in isSourceAllowedToInsert() 427 source.getEnrollmentId(), in isSourceAllowedToInsert() 452 source.getEnrollmentId(), in isSourceAllowedToInsert() 467 source.getEnrollmentId(), in isSourceAllowedToInsert() 480 source.getEnrollmentId(), in isSourceAllowedToInsert() 490 publisher, source.getEnrollmentId()); in isSourceAllowedToInsert() 559 source.getEnrollmentId(), in maybeDeleteSourcesForLruDestination() 579 source.getEnrollmentId(), in maybeDeleteSourcesForLruDestination() 610 source.getEnrollmentId(), in maybeDeleteSourcesForLruDestination() 810 .setEnrollmentId(source.getEnrollmentId()) in generateFakeEventReports() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | FledgeAuthorizationFilter.java | 274 if (FlagsFactory.getFlags().isEnrollmentBlocklisted(enrollmentData.getEnrollmentId())) { in assertAdTechAllowed() 340 appPackageName, enrollmentData.getEnrollmentId()); in isAllowedAccess() 343 appPackageName, enrollmentData.getEnrollmentId()); in isAllowedAccess() 346 appPackageName, enrollmentData.getEnrollmentId()); in isAllowedAccess() 411 FlagsFactory.getFlags().isEnrollmentBlocklisted(enrollmentData.getEnrollmentId()); in getAndAssertAdTechFromUriAllowed()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | EncryptionManager.java | 123 if (enrollmentData != null && enrollmentData.getEnrollmentId() != null) { in fetchPublicKeyFor() 124 sLogger.v("Fetching EncryptionKeys for %s", enrollmentData.getEnrollmentId()); in fetchPublicKeyFor() 127 enrollmentData.getEnrollmentId(), EncryptionKey.KeyType.ENCRYPTION); in fetchPublicKeyFor()
|
D | TopicsServiceImpl.java | 371 } else if (enrollmentData.getEnrollmentId() == null) { in canCallerInvokeTopicsService() 379 enrollmentData.getEnrollmentId())) { in canCallerInvokeTopicsService() 383 } else if (mFlags.isEnrollmentBlocklisted(enrollmentData.getEnrollmentId())) { in canCallerInvokeTopicsService()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyJobHandler.java | 55 enrollmentData.getEnrollmentId()); in fetchAndUpdateEncryptionKeys() 95 mEnrollmentDao.getEnrollmentData(encryptionKey.getEnrollmentId()); in fetchAndUpdateEncryptionKeys()
|
D | EncryptionKeyFetcher.java | 294 builder.setEnrollmentId(enrollmentData.getEnrollmentId()); in buildEncryptionKeys() 355 .setAdtechEnrollmentId(enrollmentData.getEnrollmentId()) in logEncryptionKeyFetchedStats()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/enrollment/ |
D | EnrollmentDataTest.java | 78 assertEquals(ENROLLMENT_ID, enrollmentData.getEnrollmentId()); in testCreation() 112 assertEquals(ENROLLMENT_ID, enrollmentData.getEnrollmentId()); in testCreationFromStrings() 149 assertNull(enrollmentData.getEnrollmentId()); in testDefaults()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/ |
D | AggregateReportTest.java | 133 assertEquals("enrollment-id", attributionReport.getEnrollmentId()); in testCreation() 161 assertEquals("enrollment-id", attributionReport.getEnrollmentId()); in testCreationSingleSourceDebugKey() 188 assertEquals("enrollment-id", attributionReport.getEnrollmentId()); in testCreationSingleTriggerDebugKey() 215 assertNull(attributionReport.getEnrollmentId()); in testDefaults()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | AbstractDbIntegrationTest.java | 171 && Objects.equals(debugReport.getEnrollmentId(), debugReport1.getEnrollmentId()) in areDebugReportContentsSimilar() 197 aggregateReport.getEnrollmentId(), aggregateReport1.getEnrollmentId()) in fuzzyCompareAggregateReport() 383 values.put(MeasurementTables.SourceContract.ENROLLMENT_ID, source.getEnrollmentId()); in insertToDb() 465 values.put(MeasurementTables.TriggerContract.ENROLLMENT_ID, trigger.getEnrollmentId()); in insertToDb() 498 values.put(MeasurementTables.EventReportContract.ENROLLMENT_ID, report.getEnrollmentId()); in insertToDb() 542 attribution.getEnrollmentId()); in insertToDb() 575 aggregateReport.getEnrollmentId()); in insertToDb()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncSourceFetcherTest.java | 301 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testBasicSourceRequest() 433 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in fetchSource_multipleWebDestinations_success() 472 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in fetchSource_emptyWebDestinations_success() 519 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in fetchSource_duplicateWebDestinationsInList_removesDuplicates() 700 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testSourceRequestWithPostInstallAttributes() 742 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testSourceRequestWithPostInstallAttributesReceivedAsNull() 791 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testSourceRequestWithInstallAttributesOutofBounds() 1093 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testBasicSourceRequestMinimumFields() 1164 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in sourceRequest_expiry_tooEarly_setToMin() 1204 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in sourceRequest_expiry_tooLate_setToMax() [all …]
|
D | AsyncTriggerFetcherTest.java | 324 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testBasicTriggerRequest() 405 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testBasicTriggerRequest_withAggregateDeduplicationKey() 1027 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in fetchTrigger_eventTriggerDataNull_eventTriggerDataEqualsEmptyArray() 1108 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in fetchTrigger_eventTriggerDataMissing_eventTriggerDataEqualsEmptyArray() 1138 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in fetchTrigger_eventTriggerDataEmptyObjects_emptyObjectsPopulated() 1327 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testTriggerRequest_eventTriggerData_triggerData_uses64thBit() 1356 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testTriggerRequest_eventTriggerDataWithValue_success() 1466 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testTriggerRequest_eventTriggerData_priority_negative() 1692 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testTriggerRequest_eventTriggerData_deduplicationKey_uses64thBit() 1722 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testTriggerRequest_eventTriggerData_wrapsFilters() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyTest.java | 64 assertEquals(ENROLLMENT_ID1, result.getEnrollmentId()); in testCreation() 81 assertNull(result.getEnrollmentId()); in testDefaults()
|
D | EncryptionKeyJobHandlerTest.java | 264 when(mEnrollmentDao.getEnrollmentData(ENROLLMENT_DATA.getEnrollmentId())) in testHasEncryptionKey_insertEncryptionKeyForPreviouslyNotFetchedEnrollment() 267 ENCRYPTION_KEY_NO_ENROLLMENT_WITH_IT.getEnrollmentId())) in testHasEncryptionKey_insertEncryptionKeyForPreviouslyNotFetchedEnrollment() 269 when(mEncryptionKeyDao.getEncryptionKeyFromEnrollmentId(ENROLLMENT_DATA.getEnrollmentId())) in testHasEncryptionKey_insertEncryptionKeyForPreviouslyNotFetchedEnrollment()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/encryptionkey/ |
D | EncryptionKeyDao.java | 304 encryptionKey.getEnrollmentId(), encryptionKey.getKeyCommitmentId()); in insert() 342 encryptionKey.getEnrollmentId(), encryptionKey.getKeyCommitmentId()); in insert() 367 return encryptionKey.getEnrollmentId() != null in isEncryptionKeyValid() 384 encryptionKey.getEnrollmentId()); in insertToDb()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/ |
D | EncryptionKeyConverterUtilTest.java | 74 expect.that(encryptionKey.getEnrollmentId()).isEqualTo("TEST0"); in createEncryptionKeyFromJson_signing_successVersion3() 96 expect.that(encryptionKey.getEnrollmentId()).isEqualTo("TEST0"); in createEncryptionKeyFromJson_encryption_successVersion3()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | EventReport.java | 188 public String getEnrollmentId() { in getEnrollmentId() method in EventReport 468 mBuilding.mEnrollmentId = source.getEnrollmentId(); in populateFromSourceAndTrigger() 506 mBuilding.mEnrollmentId = source.getEnrollmentId(); in getForFlex()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/ |
D | EncryptionDataDownloadManager.java | 225 expiredKey.getEnrollmentId(), in deleteExpiredKeys() 234 expiredKey.getBody(), expiredKey.getEnrollmentId()); in deleteExpiredKeys()
|
D | EncryptionKeyConverterUtil.java | 116 encryptionKey.getBody(), encryptionKey.getEnrollmentId()); in convertVersion3Key()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/pas/ |
D | EncodingExecutionLogHelperImpl.java | 76 mStatsBuilder.setAdTechId(data.getEnrollmentId()); in setAdtech()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | DebugReportTest.java | 58 assertEquals("2", debugReport.getEnrollmentId()); in creation_success()
|