Home
last modified time | relevance | path

Searched refs:SOURCE_DEBUG_KEY (Results 1 – 20 of 20) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateReportTest.java43 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/
DDebugKeyAccessorTest.java63 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 …]
DAggregateReportBodyTest.java66 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()
DEventReportPayloadTest.java48 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()
DAggregateReportingJobHandlerTest.java103 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 …]
DEventReportingJobHandlerTest.java82 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/
DMeasurementDbMigratorV2.java31 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/
DMeasurementDbMigratorV2Test.java280 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()
DContentValueFixtures.java279 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/
DAggregateReportFixture.java50 .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/
DMeasurementTables.java215 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
DSqliteObjectMapper.java82 MeasurementTables.EventReportContract.SOURCE_DEBUG_KEY, in constructEventReportFromCursor()
362 MeasurementTables.AggregateReport.SOURCE_DEBUG_KEY, in constructAggregateReport()
DMeasurementDao.java1348 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/
DDebugReportApi.java100 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()
DAggregateReportBody.java60 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/
DEventReportTest.java76 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()
DE2EMockTest.java644 String sourceDebugKey = data.optString(AggregateReportPayloadKeys.SOURCE_DEBUG_KEY); in getActualAggregatablePayloadForTest()
666 aggregateJson.put(AggregateReportPayloadKeys.SOURCE_DEBUG_KEY, sourceDebugKey); in getActualAggregatablePayloadForTest()
DE2ETest.java137 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/
DMeasurementDbSchemaTrail.java1657 + 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/
DAttributionJobHandlerTest.java125 private static final UnsignedLong SOURCE_DEBUG_KEY = new UnsignedLong(111111L); field in AttributionJobHandlerTest
3387 .setDebugKey(SOURCE_DEBUG_KEY)
3452 .setDebugKey(SOURCE_DEBUG_KEY)