/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/ |
D | AggregateReportTest.java | 43 private static final UnsignedLong SOURCE_DEBUG_KEY = new UnsignedLong(237865L); field in AggregateReportTest 73 .setSourceDebugKey(SOURCE_DEBUG_KEY) in createAttributionReport() 116 .setSourceDebugKey(SOURCE_DEBUG_KEY) in createAttributionReportSingleSourceDebugKey() 141 assertEquals(SOURCE_DEBUG_KEY, attributionReport.getSourceDebugKey()); in testCreation() 169 assertEquals(SOURCE_DEBUG_KEY, attributionReport.getSourceDebugKey()); in testCreationSingleSourceDebugKey() 310 .setSourceDebugKey(SOURCE_DEBUG_KEY) in extractAggregateHistogramContributions_withInvalidDebugPayload_returnsEmptyList()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | DebugKeyAccessorTest.java | 63 private static final UnsignedLong SOURCE_DEBUG_KEY = new UnsignedLong(111111L); field in DebugKeyAccessorTest 118 assertEquals(SOURCE_DEBUG_KEY, debugKeyPair.first); in getDebugKeys_appToAppWithAdIdPermission_debugKeysPresent() 201 assertEquals(SOURCE_DEBUG_KEY, debugKeyPair.first); in getDebugKeys_appToAppWithSourceAdId_sourceDebugKeyPresent() 257 assertEquals(SOURCE_DEBUG_KEY, debugKeyPair.first); in getDebugKeys_webToWebWithSameRegistrant_debugKeysPresent() 341 assertEquals(SOURCE_DEBUG_KEY, debugKeyPair.first); in getDebugKeys_webToWebSameJoinKeysAndDifferentRegistrants_debugKeysPresent() 445 assertEquals(SOURCE_DEBUG_KEY, debugKeyPair.first); in getDebugKeys_webToWebSameRegistrantWithArDebugOnSource_sourceDebugKeysPresent() 499 assertEquals(SOURCE_DEBUG_KEY, debugKeyPair.first); in getDebugKeys_appToWebJoinKeysMatch_debugKeysPresent() 628 assertEquals(SOURCE_DEBUG_KEY, debugKeyPair.first); in getDebugKeys_webToAppJoinKeysMatch_debugKeysPresent() 896 assertEquals(SOURCE_DEBUG_KEY, debugKeyPair.first); in getDebugKeysForVerbose_appToAppWithAdIdPermission_debugKeysPresent() 1036 assertEquals(SOURCE_DEBUG_KEY, debugKeyPair.first); in getDebugKeysForVerbose_webToWebWithSameRegistrant_debugKeysPresent() [all …]
|
D | AggregateReportBodyTest.java | 66 private static final UnsignedLong SOURCE_DEBUG_KEY = new UnsignedLong(27628792L); field in AggregateReportBodyTest 92 .setSourceDebugKey(SOURCE_DEBUG_KEY) in createAggregateReportBodyExample1() 139 .setSourceDebugKey(SOURCE_DEBUG_KEY) in createAggregateReportBodyExampleWithSingleSourceDebugKey() 165 assertEquals(SOURCE_DEBUG_KEY.toString(), aggregateJson.get("source_debug_key")); in testSharedInfoJsonSerialization() 184 assertEquals(SOURCE_DEBUG_KEY.toString(), aggregateJson.get("source_debug_key")); in testSharedInfoJsonSerialization_originFlagDisabled() 221 assertEquals(SOURCE_DEBUG_KEY.toString(), aggregateJson.get("source_debug_key")); in testJsonSerializationWithSingleSourceDebugKeys()
|
D | EventReportPayloadTest.java | 48 private static final UnsignedLong SOURCE_DEBUG_KEY = new UnsignedLong(3894783L); field in EventReportPayloadTest 129 SOURCE_DEBUG_KEY, in toJson_success() 148 assertEquals(SOURCE_DEBUG_KEY.toString(), eventPayloadReportJson.get("source_debug_key")); in toJson_success() 303 createEventReportPayload(TRIGGER_DATA, SOURCE_DEBUG_KEY, null); in testEventPayloadJsonSerializationWithSingleSourceDebugKey() 316 assertEquals(SOURCE_DEBUG_KEY.toString(), eventPayloadReportJson.get("source_debug_key")); in testEventPayloadJsonSerializationWithSingleSourceDebugKey()
|
D | AggregateReportingJobHandlerTest.java | 103 private static final UnsignedLong SOURCE_DEBUG_KEY = new UnsignedLong(237865L); field in AggregateReportingJobHandlerTest 205 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportForPendingReportSuccess() 249 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() 308 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportSuccess_reinstallAttributionEnabled_skipNullAggregateReport() 368 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() 426 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportForPendingReportSuccess_originFlagDisabled() 470 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportForPendingDebugReportSuccess() 548 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportForPendingReportSuccessSingleSourceDebugKey() 1183 AggregateReportFixture.ValidAggregateReportParams.SOURCE_DEBUG_KEY) in performReport_normalReportWithDebugKeys_hasDebugModeEnabled() 1200 AggregateReportFixture.ValidAggregateReportParams.SOURCE_DEBUG_KEY) in performReport_normalReportWithOnlySourceDebugKey_hasDebugModeNull() [all …]
|
D | EventReportingJobHandlerTest.java | 82 private static final UnsignedLong SOURCE_DEBUG_KEY = new UnsignedLong(237865L); field in EventReportingJobHandlerTest 184 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportForPendingReportSuccess() 230 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportForPendingDebugReportSuccess() 275 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() 346 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() 415 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportForPendingReportSuccess_coarseSource_doesNotPersistAppReportHistory() 527 .setSourceDebugKey(SOURCE_DEBUG_KEY) in testSendReportForPendingReportSuccessSingleSourceDebugKey()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorV2.java | 31 MeasurementTables.EventReportContract.SOURCE_DEBUG_KEY), 39 MeasurementTables.AggregateReport.SOURCE_DEBUG_KEY),
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorV2Test.java | 280 cursor.getColumnIndex(MeasurementTables.EventReportContract.SOURCE_DEBUG_KEY)); in verifyEventReportAllFieldsV1() 284 MeasurementTables.EventReportContract.SOURCE_DEBUG_KEY))); in verifyEventReportAllFieldsV1() 323 -1, cursor.getColumnIndex(MeasurementTables.AggregateReport.SOURCE_DEBUG_KEY)); in verifyAggregateReportAllFieldsV1() 327 MeasurementTables.AggregateReport.SOURCE_DEBUG_KEY))); in verifyAggregateReportAllFieldsV1()
|
D | ContentValueFixtures.java | 279 public static final long SOURCE_DEBUG_KEY = 12345L; field in ContentValueFixtures.EventReportValues 309 public static final long SOURCE_DEBUG_KEY = 12345L; field in ContentValueFixtures.AggregateReportValues 1233 MeasurementTables.EventReportContract.SOURCE_DEBUG_KEY, in generateEventReportContentValuesV2() 1234 EventReportValues.SOURCE_DEBUG_KEY); in generateEventReportContentValuesV2() 1394 MeasurementTables.AggregateReport.SOURCE_DEBUG_KEY, in generateAggregateReportContentValuesV2() 1395 AggregateReportValues.SOURCE_DEBUG_KEY); in generateAggregateReportContentValuesV2()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/aggregation/ |
D | AggregateReportFixture.java | 50 .setSourceDebugKey(ValidAggregateReportParams.SOURCE_DEBUG_KEY) in getValidAggregateReportBuilder() 73 public static final UnsignedLong SOURCE_DEBUG_KEY = new UnsignedLong(43254545L); field in AggregateReportFixture.ValidAggregateReportParams
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/ |
D | MeasurementTables.java | 215 String SOURCE_DEBUG_KEY = "source_debug_key"; field 256 String SOURCE_DEBUG_KEY = "source_debug_key"; field 730 + EventReportContract.SOURCE_DEBUG_KEY 784 + EventReportContract.SOURCE_DEBUG_KEY 924 + AggregateReport.SOURCE_DEBUG_KEY 972 + AggregateReport.SOURCE_DEBUG_KEY
|
D | SqliteObjectMapper.java | 82 MeasurementTables.EventReportContract.SOURCE_DEBUG_KEY, in constructEventReportFromCursor() 362 MeasurementTables.AggregateReport.SOURCE_DEBUG_KEY, in constructAggregateReport()
|
D | MeasurementDao.java | 1348 MeasurementTables.EventReportContract.SOURCE_DEBUG_KEY, in insertEventReport() 2649 MeasurementTables.AggregateReport.SOURCE_DEBUG_KEY,
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | DebugReportApi.java | 100 String SOURCE_DEBUG_KEY = "source_debug_key"; field 398 body.put(Body.SOURCE_DEBUG_KEY, source.getDebugKey()); in scheduleSourceDestinationLimitDebugReport() 574 body.put(Body.SOURCE_DEBUG_KEY, source.getDebugKey()); in generateSourceDebugReportBody() 624 body.put(Body.SOURCE_DEBUG_KEY, debugKeyPair.first); in generateTriggerDebugReportBody() 663 body.put(Body.SOURCE_DEBUG_KEY, debugKeyPair.first); in generateTriggerDebugReportBodyWithAllFields()
|
D | AggregateReportBody.java | 60 String SOURCE_DEBUG_KEY = "source_debug_key"; field 112 aggregateBodyJson.put(PayloadBodyKeys.SOURCE_DEBUG_KEY, mSourceDebugKey.toString()); in toJson()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | EventReportTest.java | 76 private static final UnsignedLong SOURCE_DEBUG_KEY = new UnsignedLong(237865L); field in EventReportTest 108 new Pair<>(SOURCE_DEBUG_KEY, TRIGGER_DEBUG_KEY); 150 assertEquals(SOURCE_DEBUG_KEY, eventReport.getSourceDebugKey()); in creation_success() 175 assertEquals(SOURCE_DEBUG_KEY, eventReport.getSourceDebugKey()); in creationSuccessSingleSourceDebugKey() 881 .setSourceDebugKey(SOURCE_DEBUG_KEY) in createExample() 950 .setSourceDebugKey(SOURCE_DEBUG_KEY) in createExampleSingleSourceDebugKey() 985 .setDebugKey(SOURCE_DEBUG_KEY) in createSourceForDebugJoinKeyTests() 1003 .setDebugKey(SOURCE_DEBUG_KEY) in createSourceForAdIdDebugKeyTests()
|
D | E2EMockTest.java | 644 String sourceDebugKey = data.optString(AggregateReportPayloadKeys.SOURCE_DEBUG_KEY); in getActualAggregatablePayloadForTest() 666 aggregateJson.put(AggregateReportPayloadKeys.SOURCE_DEBUG_KEY, sourceDebugKey); in getActualAggregatablePayloadForTest()
|
D | E2ETest.java | 137 String SOURCE_DEBUG_KEY = "source_debug_key"; field 679 if (!payload1.optString(AggregateReportPayloadKeys.SOURCE_DEBUG_KEY, "") in areEqualAggregateReportJsons() 680 .equals(payload2.optString(AggregateReportPayloadKeys.SOURCE_DEBUG_KEY, ""))) { in areEqualAggregateReportJsons()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | MeasurementDbSchemaTrail.java | 1657 + EventReportContract.SOURCE_DEBUG_KEY 1711 + EventReportContract.SOURCE_DEBUG_KEY 1767 + EventReportContract.SOURCE_DEBUG_KEY 1825 + EventReportContract.SOURCE_DEBUG_KEY 2051 + AggregateReport.SOURCE_DEBUG_KEY 2099 + AggregateReport.SOURCE_DEBUG_KEY 2149 + AggregateReport.SOURCE_DEBUG_KEY 2201 + AggregateReport.SOURCE_DEBUG_KEY 2255 + AggregateReport.SOURCE_DEBUG_KEY 2311 + AggregateReport.SOURCE_DEBUG_KEY
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobHandlerTest.java | 125 private static final UnsignedLong SOURCE_DEBUG_KEY = new UnsignedLong(111111L); field in AttributionJobHandlerTest 3387 .setDebugKey(SOURCE_DEBUG_KEY) 3452 .setDebugKey(SOURCE_DEBUG_KEY)
|