Home
last modified time | relevance | path

Searched refs:callersCanLearnMap (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochManager.java220 Map<Topic, Set<String>> callersCanLearnMap = in processEpoch() local
223 sLogger.v("callersCanLearnMap size is %d", callersCanLearnMap.size()); in processEpoch()
260 computeReturnedAppSdkTopics(callersCanLearnMap, appSdksUsageMap, topTopics); in processEpoch()
355 @NonNull Map<Topic, Set<String>> callersCanLearnMap, in isTopicLearnableByCaller() argument
365 return callersCanLearnMap.containsKey(topic) in isTopicLearnableByCaller()
366 && callersCanLearnMap.get(topic).contains(caller); in isTopicLearnableByCaller()
412 Map<Topic, Set<String>> callersCanLearnMap = new HashMap<>(); in computeCallersCanLearnMap() local
423 if (!callersCanLearnMap.containsKey(topic)) { in computeCallersCanLearnMap()
424 callersCanLearnMap.put(topic, new HashSet<>()); in computeCallersCanLearnMap()
433 callersCanLearnMap.get(topic).add(app); in computeCallersCanLearnMap()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java352 Map<Topic, Set<String>> callersCanLearnMap = new HashMap<>(); in testComputeReturnedAppTopics() local
355 callersCanLearnMap.put(topic1, new HashSet<>(Arrays.asList("app1", "sdk1", "sdk2"))); in testComputeReturnedAppTopics()
359 callersCanLearnMap.put( in testComputeReturnedAppTopics()
363 callersCanLearnMap.put(topic3, new HashSet<>(Arrays.asList("sdk1", "sdk3", "sdk4"))); in testComputeReturnedAppTopics()
366 callersCanLearnMap.put(topic4, new HashSet<>(Arrays.asList("sdk1", "sdk5"))); in testComputeReturnedAppTopics()
371 callersCanLearnMap.put(topic5, new HashSet<>(Arrays.asList("sdk1", "sdk5", "app4"))); in testComputeReturnedAppTopics()
374 callersCanLearnMap.put(topic6, new HashSet<>(Collections.singletonList("app4"))); in testComputeReturnedAppTopics()
384 callersCanLearnMap, appSdksUsageMap, topTopics); in testComputeReturnedAppTopics()
1112 Map<Topic, Set<String>> callersCanLearnMap = Map.of(topic1, Set.of(app)); in testIsTopicLearnableByCaller() local
1119 callersCanLearnMap, in testIsTopicLearnableByCaller()
[all …]