Home
last modified time | relevance | path

Searched refs:appSdksUsageMap (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java159 Map<String, List<String>> appSdksUsageMap = new HashMap<>(); in testComputeCallersCanLearnMap() local
163 appSdksUsageMap.put("app1", Arrays.asList("", "sdk1", "sdk2")); in testComputeCallersCanLearnMap()
165 appSdksUsageMap.put("app2", Arrays.asList("sdk1", "sdk3", "sdk4")); in testComputeCallersCanLearnMap()
166 appSdksUsageMap.put("app3", Arrays.asList("sdk1", "sdk5")); in testComputeCallersCanLearnMap()
169 appSdksUsageMap.put("app4", Collections.singletonList("")); in testComputeCallersCanLearnMap()
171 appSdksUsageMap.put("app5", Arrays.asList("sdk1", "sdk5")); in testComputeCallersCanLearnMap()
214 EpochManager.computeCallersCanLearnMap(appSdksUsageMap, appClassificationTopicsMap); in testComputeCallersCanLearnMap()
331 Map<String, List<String>> appSdksUsageMap = new LinkedHashMap<>(); in testComputeReturnedAppTopics() local
334 appSdksUsageMap.put("app1", Arrays.asList("", "sdk1", "sdk2")); in testComputeReturnedAppTopics()
336 appSdksUsageMap.put("app2", Arrays.asList("sdk1", "sdk3", "sdk4")); in testComputeReturnedAppTopics()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochManager.java192 Map<String, List<String>> appSdksUsageMap = in processEpoch() local
194 sLogger.v("appSdksUsageMap size is %d", appSdksUsageMap.size()); in processEpoch()
200 mClassifier.classify(appSdksUsageMap.keySet()); in processEpoch()
209 computeCallersCanLearnMap(appSdksUsageMap, appClassificationTopicsMap); in processEpoch()
260 computeReturnedAppSdkTopics(callersCanLearnMap, appSdksUsageMap, topTopics); in processEpoch()
404 @NonNull Map<String, List<String>> appSdksUsageMap, in computeCallersCanLearnMap() argument
406 Objects.requireNonNull(appSdksUsageMap); in computeCallersCanLearnMap()
428 for (String sdk : appSdksUsageMap.get(app)) { in computeCallersCanLearnMap()
481 @NonNull Map<String, List<String>> appSdksUsageMap, in computeReturnedAppSdkTopics() argument
485 for (Map.Entry<String, List<String>> appSdks : appSdksUsageMap.entrySet()) { in computeReturnedAppSdkTopics()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopicsDao.java418 Map<String, List<String>> appSdksUsageMap = new HashMap<>(); in retrieveAppSdksUsageMap() local
421 return appSdksUsageMap; in retrieveAppSdksUsageMap()
451 if (!appSdksUsageMap.containsKey(app)) { in retrieveAppSdksUsageMap()
452 appSdksUsageMap.put(app, new ArrayList<>()); in retrieveAppSdksUsageMap()
454 appSdksUsageMap.get(app).add(sdk); in retrieveAppSdksUsageMap()
458 return appSdksUsageMap; in retrieveAppSdksUsageMap()