Searched refs:appClassificationTopicsMap (Results 1 – 4 of 4) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | EpochManagerTest.java | 180 Map<String, List<Topic>> appClassificationTopicsMap = new HashMap<>(); in testComputeCallersCanLearnMap() local 181 appClassificationTopicsMap.put("app1", Arrays.asList(topic1, topic2)); in testComputeCallersCanLearnMap() 182 appClassificationTopicsMap.put("app2", Arrays.asList(topic2, topic3)); in testComputeCallersCanLearnMap() 183 appClassificationTopicsMap.put("app3", Arrays.asList(topic4, topic5)); in testComputeCallersCanLearnMap() 184 appClassificationTopicsMap.put("app4", Arrays.asList(topic5, topic6)); in testComputeCallersCanLearnMap() 187 appClassificationTopicsMap.put("app5", Collections.emptyList()); in testComputeCallersCanLearnMap() 214 EpochManager.computeCallersCanLearnMap(appSdksUsageMap, appClassificationTopicsMap); in testComputeCallersCanLearnMap() 656 Map<String, List<Topic>> appClassificationTopicsMap = new HashMap<>(); in testProcessEpoch() local 657 appClassificationTopicsMap.put("app1", createTopics(Arrays.asList(1, 2))); in testProcessEpoch() 658 appClassificationTopicsMap.put("app2", createTopics(Arrays.asList(2, 3))); in testProcessEpoch() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | EpochManager.java | 199 Map<String, List<Topic>> appClassificationTopicsMap = in processEpoch() local 201 sLogger.v("appClassificationTopicsMap size is %d", appClassificationTopicsMap.size()); in processEpoch() 204 mTopicsDao.persistAppClassificationTopics(currentEpochId, appClassificationTopicsMap); in processEpoch() 209 computeCallersCanLearnMap(appSdksUsageMap, appClassificationTopicsMap); in processEpoch() 230 appClassificationTopicsMap, in processEpoch() 252 computeTopTopicsToContributorsMap(appClassificationTopicsMap, topTopics); in processEpoch() 405 @NonNull Map<String, List<Topic>> appClassificationTopicsMap) { in computeCallersCanLearnMap() argument 407 Objects.requireNonNull(appClassificationTopicsMap); in computeCallersCanLearnMap() 414 for (Map.Entry<String, List<Topic>> entry : appClassificationTopicsMap.entrySet()) { in computeCallersCanLearnMap() 598 @NonNull Map<String, List<Topic>> appClassificationTopicsMap, in computeTopTopicsToContributorsMap() argument [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/ |
D | TopicsDaoTest.java | 964 Map<String, List<Topic>> appClassificationTopicsMap = new HashMap<>(); in testDeleteFromTableByColumn() local 970 appClassificationTopicsMap.put(app1, List.of(topic1, topic2)); in testDeleteFromTableByColumn() 971 appClassificationTopicsMap.put(app2, List.of(topic1)); in testDeleteFromTableByColumn() 972 appClassificationTopicsMap.put(app3, List.of(topic1)); in testDeleteFromTableByColumn() 973 mTopicsDao.persistAppClassificationTopics(epochId, appClassificationTopicsMap); in testDeleteFromTableByColumn()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/ |
D | TopicsDao.java | 116 long epochId, Map<String, List<Topic>> appClassificationTopicsMap) { in persistAppClassificationTopics() argument 117 Objects.requireNonNull(appClassificationTopicsMap); in persistAppClassificationTopics() 124 for (Map.Entry<String, List<Topic>> entry : appClassificationTopicsMap.entrySet()) { in persistAppClassificationTopics()
|