Home
last modified time | relevance | path

Searched refs:retrieveTopTopics (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/
DTopicsDaoTest.java159 List<Topic> topicsFromDb = mTopicsDao.retrieveTopTopics(/* epochId = */ 1L); in testGetTopTopicsAndPersistTopics()
181 List<Topic> topicsFromDb = mTopicsDao.retrieveTopTopics(/* epochId = */ 2L); in testGetTopTopicsAndPersistTopics_notFoundEpochId()
227 assertThat(mTopicsDao.retrieveTopTopics(epochId)).isEqualTo(expectedTopTopics); in testGetTopTopicsAndPersistTopics_multiPersistWithSameEpoch()
229 assertThat(mTopicsDao.retrieveTopTopics(epochId + 1)).isEmpty(); in testGetTopTopicsAndPersistTopics_multiPersistWithSameEpoch()
824 assertThat(mTopicsDao.retrieveTopTopics(currentEpoch)).isEqualTo(topTopics_epoch_4); in testEraseDataOfOldEpochs()
825 assertThat(mTopicsDao.retrieveTopTopics(currentEpoch - 1)).isEqualTo(topTopics_epoch_3); in testEraseDataOfOldEpochs()
826 assertThat(mTopicsDao.retrieveTopTopics(currentEpoch - 2)).isEqualTo(topTopics_epoch_2); in testEraseDataOfOldEpochs()
827 assertThat(mTopicsDao.retrieveTopTopics(currentEpoch - 3)).isEmpty(); in testEraseDataOfOldEpochs()
927 assertThat(mTopicsDao.retrieveTopTopics(epochId)).isEmpty(); in testDeleteAllTopicsTables()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DAppUpdateManager.java356 List<Topic> pastTopTopic = mTopicsDao.retrieveTopTopics(epochId); in assignTopicsToSdkForAppInstallation()
462 List<Topic> topTopics = mTopicsDao.retrieveTopTopics(epochId);
522 List<Topic> topTopics = mTopicsDao.retrieveTopTopics(epochId); in handleTopTopicsWithoutContributors()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java492 assertThat(mTopicsDao.retrieveTopTopics(epoch)).isEqualTo(topTopics); in testGarbageCollectOutdatedEpochData()
506 assertThat(mTopicsDao.retrieveTopTopics(epoch)).isEmpty(); in testGarbageCollectOutdatedEpochData()
725 List<Topic> topTopicsFromDB = topicsDao.retrieveTopTopics(epochId); in testProcessEpoch()
1090 assertThat(topicsDao.retrieveTopTopics(epochId)).isEmpty(); in testComputeEpoch_emptyTopTopics()
DAppUpdateManagerTest.java1100 mTopicsDao.persistTopTopics(epochId2, mTopicsDao.retrieveTopTopics(epochId1)); in testHandleTopTopicsWithoutContributors()
DCacheManagerTest.java1842 assertThat(mTopicsDao.retrieveTopTopics(epochId)).isEmpty(); in testClearAllTopicsData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopicsDao.java270 public List<Topic> retrieveTopTopics(long epochId) { in retrieveTopTopics() method in TopicsDao