Searched refs:epochId1 (Results 1 – 4 of 4) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | AppUpdateManagerTest.java | 126 final long epochId1 = 1L; in testReconcileUninstalledApps() local 136 mTopicsDao.persistAppClassificationTopics(epochId1, appClassificationTopicsMap1); in testReconcileUninstalledApps() 138 assertThat(mTopicsDao.retrieveAppClassificationTopics(epochId1).keySet()) in testReconcileUninstalledApps() 144 mTopicsDao.recordUsageHistory(epochId1, app1, EMPTY_SDK); in testReconcileUninstalledApps() 145 mTopicsDao.recordUsageHistory(epochId1, app1, sdk1); in testReconcileUninstalledApps() 146 mTopicsDao.recordUsageHistory(epochId1, app2, EMPTY_SDK); in testReconcileUninstalledApps() 147 mTopicsDao.recordUsageHistory(epochId1, app2, sdk1); in testReconcileUninstalledApps() 150 assertThat(mTopicsDao.retrieveAppSdksUsageMap(epochId1).keySet()) in testReconcileUninstalledApps() 154 mTopicsDao.recordAppUsageHistory(epochId1, app1); in testReconcileUninstalledApps() 155 mTopicsDao.recordAppUsageHistory(epochId1, app2); in testReconcileUninstalledApps() [all …]
|
D | TopicsWorkerTest.java | 1328 final long epochId1 = 1; in testHandleAppUninstallation_handleTopTopicsWithoutContributors() local 1351 epochId1, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1359 epochId1, in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1375 epochId1, in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1388 mTopicsDao.recordUsageHistory(epochId1, app1, sdk); in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1389 mTopicsDao.recordUsageHistory(epochId1, app2, sdk); in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1396 epochId1, in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1459 assertThat(mTopicsDao.retrieveTopicToContributorsMap(epochId1)) in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1478 final long epochId1 = 1; in testHandleAppUninstallation_contributorDeletionsToSameTopic() local 1498 epochId1, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testHandleAppUninstallation_contributorDeletionsToSameTopic() [all …]
|
D | CacheManagerTest.java | 1798 final long epochId1 = 1L; in testClearAllTopicsData() local 1806 for (long epochId : new long[] {epochId1, epochId2}) { in testClearAllTopicsData() 1838 for (long epochId : new long[] {epochId1, epochId2}) { in testClearAllTopicsData()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/ |
D | TopicsDaoTest.java | 96 long epochId1 = 1L; in testPersistAndGetAppClassificationTopics() local 116 mTopicsDao.persistAppClassificationTopics(epochId1, appClassificationTopicsMap1); in testPersistAndGetAppClassificationTopics() 128 mTopicsDao.retrieveAppClassificationTopics(epochId1); in testPersistAndGetAppClassificationTopics() 878 long epochId1 = 1L; in testDeleteAllTopicsTables() local 886 for (long epochId : new long[] {epochId1, epochId2}) { in testDeleteAllTopicsTables() 923 for (long epochId : new long[] {epochId1, epochId2}) { in testDeleteAllTopicsTables() 948 mTopicsDao.persistTopicContributors(epochId1, Map.of(topic1.getTopic(), Set.of(app1))); in testDeleteAllTopicsTables() 950 assertThat(mTopicsDao.retrieveTopicToContributorsMap(epochId1)).isEmpty(); in testDeleteAllTopicsTables() 1071 long epochId1 = 1L; in testDeleteEntriesFromTableByColumnWithEqualCondition() local 1080 mTopicsDao.persistReturnedAppTopicsMap(epochId1, Map.of(Pair.create(app, sdk), topic1)); in testDeleteEntriesFromTableByColumnWithEqualCondition() [all …]
|