Home
last modified time | relevance | path

Searched refs:topicIds (Results 1 – 10 of 10) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DPrecomputedClassifier.java100 List<Integer> topicIds = mAppTopics.getOrDefault(app, ImmutableList.of()); in classify() local
104 for (int topicId : topicIds) { in classify()
123 topicIds.isEmpty() in classify()
DOnDeviceClassifier.java140 ImmutableList.Builder<Integer> topicIds = ImmutableList.builder(); in logEpochComputationClassifierStats() local
142 topicIds.add(topic.getTopic()); in logEpochComputationClassifierStats()
146 .setTopicIds(topicIds.build()) in logEpochComputationClassifierStats()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/
DPrecomputedClassifierTest.java291 private static List<Topic> createDummyTopics(List<Integer> topicIds) { in createDummyTopics() argument
292 return topicIds.stream() in createDummyTopics()
304 private List<Topic> createRealTopics(List<Integer> topicIds) { in createRealTopics() argument
305 return topicIds.stream().map(this::createRealTopic).collect(Collectors.toList()); in createRealTopics()
DCommonClassifierHelperTest.java592 private List<Topic> getTestTopics(List<Integer> topicIds) { in getTestTopics() argument
593 return topicIds.stream().map(this::getTestTopic).collect(Collectors.toList()); in getTestTopics()
600 private List<Topic> getProductionTopics(List<Integer> topicIds) { in getProductionTopics() argument
601 return topicIds.stream().map(this::getProductionTopic).collect(Collectors.toList()); in getProductionTopics()
DOnDeviceClassifierTest.java592 private static List<Topic> createDummyTopics(List<Integer> topicIds) { in createDummyTopics() argument
593 return topicIds.stream() in createDummyTopics()
605 private List<Topic> createRealTopics(List<Integer> topicIds) { in createRealTopics() argument
606 return topicIds.stream().map(this::createRealTopic).collect(Collectors.toList()); in createRealTopics()
DClassifierManagerTest.java465 private List<Topic> createTopics(/* TopicIds */ Integer... topicIds) { in createTopics() argument
466 return Arrays.stream(topicIds) in createTopics()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/appupdate/testapps/testapp1/java/com/android/adservices/tests/cts/topics/testapp1/
DMainActivity.java85 int[] topicIds = topics.stream().mapToInt(Topic::getTopicId).toArray(); in sendGetTopicsResponseBroadcast() local
86 sendGetTopicsResponseBroadcast.putExtra(TOPIC_RESPONSE_BROADCAST_KEY, topicIds); in sendGetTopicsResponseBroadcast()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DTopicsWorker.java213 List<Integer> topicIds = new ArrayList<>(combinedTopics.size()); in getTopics() local
223 topicIds.add(combinedTopic.getTopic().getTopic()); in getTopics()
240 .setTopics(topicIds) in getTopics()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DStatsdAdServicesLogger.java325 int[] topicIds = new int[] {}; in logGetTopicsReportedStats() local
327 topicIds = stats.getTopicIds().stream().mapToInt(Integer::intValue).toArray(); in logGetTopicsReportedStats()
345 toBytes(modeBytesFieldId, topicIds)); in logGetTopicsReportedStats()
353 topicIds, in logGetTopicsReportedStats()
372 int[] topicIds = stats.getTopicIds().stream().mapToInt(Integer::intValue).toArray(); in logEpochComputationClassifierStats() local
385 toBytes(modeBytesFieldId, topicIds), in logEpochComputationClassifierStats()
398 topicIds, in logEpochComputationClassifierStats()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java1450 private List<Topic> createTopics(List<Integer> topicIds) { in createTopics() argument
1451 return topicIds.stream().map(this::createTopic).collect(Collectors.toList()); in createTopics()