Home
last modified time | relevance | path

Searched refs:epochId2 (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/
DTopicsDaoTest.java97 long epochId2 = 2L; in testPersistAndGetAppClassificationTopics() local
117 mTopicsDao.persistAppClassificationTopics(epochId2, appClassificationTopicsMap2); in testPersistAndGetAppClassificationTopics()
130 mTopicsDao.retrieveAppClassificationTopics(epochId2); in testPersistAndGetAppClassificationTopics()
879 long epochId2 = 1L; in testDeleteAllTopicsTables() local
886 for (long epochId : new long[] {epochId1, epochId2}) { in testDeleteAllTopicsTables()
923 for (long epochId : new long[] {epochId1, epochId2}) { in testDeleteAllTopicsTables()
1035 long epochId2 = epochId + 1; in testDeleteFromTableByColumn() local
1038 epochId2, Map.of(topic1.getTopic(), Set.of(app1, app2))); in testDeleteFromTableByColumn()
1045 List.of(String.valueOf(epochId), String.valueOf(epochId2))); in testDeleteFromTableByColumn()
1048 assertThat(mTopicsDao.retrieveTopicToContributorsMap(epochId2)).isEmpty(); in testDeleteFromTableByColumn()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DAppUpdateManagerTest.java1063 final long epochId2 = 2; in testHandleTopTopicsWithoutContributors() local
1100 mTopicsDao.persistTopTopics(epochId2, mTopicsDao.retrieveTopTopics(epochId1)); in testHandleTopTopicsWithoutContributors()
1102 epochId2, mTopicsDao.retrieveAppClassificationTopics(epochId1)); in testHandleTopTopicsWithoutContributors()
1104 epochId2, mTopicsDao.retrieveTopicToContributorsMap(epochId1)); in testHandleTopTopicsWithoutContributors()
1106 epochId2, mTopicsDao.retrieveTopicToContributorsMap(epochId1)); in testHandleTopTopicsWithoutContributors()
1108 epochId2, in testHandleTopTopicsWithoutContributors()
1115 /* only handle past epochs */ epochId2, app1); in testHandleTopTopicsWithoutContributors()
1130 .retrieveReturnedTopics(epochId2, /* numberOfLookBackEpochs */ 1) in testHandleTopTopicsWithoutContributors()
1131 .get(epochId2)) in testHandleTopTopicsWithoutContributors()
DTopicsWorkerTest.java1329 final long epochId2 = 2; in testHandleAppUninstallation_handleTopTopicsWithoutContributors() local
1353 epochId2, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
1365 epochId2, // app1 and app3 have same setup in epoch2 in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
1381 epochId2, in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
1390 mTopicsDao.recordUsageHistory(epochId2, app1, sdk); in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
1391 mTopicsDao.recordUsageHistory(epochId2, app3, sdk); in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
1401 epochId2, in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
1466 assertThat(mTopicsDao.retrieveTopicToContributorsMap(epochId2)) in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
1479 final long epochId2 = 2; in testHandleAppUninstallation_contributorDeletionsToSameTopic() local
1521 when(mMockEpochManager.getCurrentEpochId()).thenReturn(epochId2); in testHandleAppUninstallation_contributorDeletionsToSameTopic()
DCacheManagerTest.java1799 final long epochId2 = 2L; in testClearAllTopicsData() local
1806 for (long epochId : new long[] {epochId1, epochId2}) { in testClearAllTopicsData()
1838 for (long epochId : new long[] {epochId1, epochId2}) { in testClearAllTopicsData()
1860 mCacheManager.loadCache(epochId2); in testClearAllTopicsData()
1866 (int) epochId2 + 1, in testClearAllTopicsData()
1867 epochId2, in testClearAllTopicsData()