Home
last modified time | relevance | path

Searched refs:topicId (Results 1 – 21 of 21) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/data/topics/
DTopicsDaoTest.java57 final int topicId = 1; in testRecordBlockedTopicAndRetrieveBlockedTopics() local
61 Topic topicToBlock = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId); in testRecordBlockedTopicAndRetrieveBlockedTopics()
79 final int topicId = 1; in testRecordBlockedTopicAndRetrieveBlockedTopics_duplicateTopics() local
81 Topic topicToBlock = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId); in testRecordBlockedTopicAndRetrieveBlockedTopics_duplicateTopics()
95 final int topicId = 1; in testRecordBlockedTopicAndRemoveBlockedTopic() local
98 Topic topicToBlock = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId); in testRecordBlockedTopicAndRemoveBlockedTopic()
121 final int topicId = 1; in testRecordBlockedTopicAndRemoveBlockedTopic_duplicateTopics() local
123 Topic topicToBlock = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId); in testRecordBlockedTopicAndRemoveBlockedTopic_duplicateTopics()
144 final int topicId = 1; in testRecordBlockedTopicAndRemoveBlockedTopic_notExistedTopic() local
146 Topic topicToBlock = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId); in testRecordBlockedTopicAndRemoveBlockedTopic_notExistedTopic()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DBlockedTopicsManagerTest.java68 final int topicId = 1; in testRecordAndRetrieveBlockedTopic() local
72 .setTopicId(topicId) in testRecordAndRetrieveBlockedTopic()
86 final int topicId = 1; in testRecordAndRemoveBlockedTopic() local
90 .setTopicId(topicId) in testRecordAndRemoveBlockedTopic()
147 int topicId = 1; in testDump_blockedTopics() local
150 .setTopicId(topicId) in testDump_blockedTopics()
168 + topicId in testDump_blockedTopics()
DAdServicesManagerServiceTest.java395 final int topicId = 1; in testClearAllBlockedTopics() local
399 .setTopicId(topicId) in testClearAllBlockedTopics()
804 final int topicId = 1; in testRecordAndRetrieveBlockedTopic() local
808 .setTopicId(topicId) in testRecordAndRetrieveBlockedTopic()
825 final int topicId = 1; in testRecordAndRemoveBlockedTopic() local
829 .setTopicId(topicId) in testRecordAndRemoveBlockedTopic()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DPrecomputedClassifier.java104 for (int topicId : topicIds) { in classify()
105 if (mBlockedTopicIds.contains(topicId)) { in classify()
108 topicIdsToReturn.add(topicId); in classify()
109 topicsToReturn.add(createTopic(topicId)); in classify()
178 private Topic createTopic(int topicId) { in createTopic() argument
179 return Topic.create(topicId, mLabelsVersion, mModelVersion); in createTopic()
DOnDeviceClassifier.java206 .filter(topicId -> !mBlockedTopicIds.contains(topicId)) in getAppClassificationTopics()
291 private Topic createTopic(int topicId) { in createTopic() argument
292 return Topic.create(topicId, mLabelsVersion, mModelVersion); in createTopic()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochManager.java608 int topicId = topic.getTopic(); in computeTopTopicsToContributorsMap() local
609 topicToContributorMap.putIfAbsent(topicId, new HashSet<>()); in computeTopTopicsToContributorsMap()
610 topicToContributorMap.get(topicId).add(app); in computeTopTopicsToContributorsMap()
647 int topicId = topic.getTopic(); in getTopicIdForLogging() local
652 return topicId; in getTopicIdForLogging()
657 int randomTopicId = topicId; in getTopicIdForLogging()
662 while (randomTopicId == topicId && maxAttempts-- > 0) { in getTopicIdForLogging()
668 return topicId; in getTopicIdForLogging()
DTopicIdNameUtil.java72 Integer topicId = Integer.parseInt(columns[0]); in retrieveTopicIdToName() local
77 topicIdToNameMap.put(topicId, topicName); in retrieveTopicIdToName()
DCacheManager.java412 private boolean isTopicIdBlocked(int topicId) { in isTopicIdBlocked() argument
413 return mCachedBlockedTopicIds.contains(topicId) in isTopicIdBlocked()
414 || mCachedGlobalBlockedTopicIds.contains(topicId); in isTopicIdBlocked()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopicsDao.java204 int topicId = in retrieveAppClassificationTopics() local
208 Topic topic = Topic.create(topicId, taxonomyVersion, modelVersion); in retrieveAppClassificationTopics()
656 int topicId = in retrieveCallerCanLearnTopicsMap() local
669 Topic topic = Topic.create(topicId, taxonomyVersion, modelVersion); in retrieveCallerCanLearnTopicsMap()
854 int topicId = in retrieveReturnedTopics() local
864 Topic topic = Topic.create(topicId, taxonomyVersion, modelVersion); in retrieveReturnedTopics()
872 topicId, taxonomyVersion, modelVersion, loggedTopicId); in retrieveReturnedTopics()
1370 Integer topicId = topicToContributors.getKey(); in persistTopicContributors() local
1375 values.put(TopicsTables.TopicContributorsContract.TOPIC, topicId); in persistTopicContributors()
1436 int topicId = in retrieveTopicToContributorsMap() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/
DPrecomputedClassifierTest.java287 private static Topic createDummyTopic(int topicId) { in createDummyTopic() argument
288 return Topic.create(topicId, 0, 0); in createDummyTopic()
297 private Topic createRealTopic(int topicId) { in createRealTopic() argument
299 topicId, in createRealTopic()
DCommonClassifierHelperTest.java588 private Topic getTestTopic(int topicId) { in getTestTopic() argument
589 return Topic.create(topicId, mTestTaxonomyVersion, mTestModelVersion); in getTestTopic()
596 private Topic getProductionTopic(int topicId) { in getProductionTopic() argument
597 return Topic.create(topicId, mProductionTaxonomyVersion, mProductionModelVersion); in getProductionTopic()
DOnDeviceClassifierTest.java588 private static Topic createDummyTopic(int topicId) { in createDummyTopic() argument
589 return Topic.create(topicId, 0, 0); in createDummyTopic()
598 private Topic createRealTopic(int topicId) { in createRealTopic() argument
600 topicId, in createRealTopic()
DClassifierManagerTest.java467 .map(topicId -> Topic.create(topicId, /*taxonomyVersion*/ 1, /*modelVersion*/ 1)) in createTopics()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/topics/
DTopicParcel.java112 public TopicParcel.Builder setTopicId(int topicId) { in setTopicId() argument
113 mTopicId = topicId; in setTopicId()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicMapperTest.java55 int topicId = 1; in getResourceIdByTopicTest() local
64 Topic.create(topicId, taxonomyId, modelVersion), mContext); in getResourceIdByTopicTest()
DEpochManagerTest.java551 final int topicId = 1; in testGarbageCollectOutdatedEpochData_encryptedTopicsTable() local
554 Topic topic1 = Topic.create(topicId, TAXONOMY_VERSION, MODEL_VERSION); in testGarbageCollectOutdatedEpochData_encryptedTopicsTable()
1446 private Topic createTopic(int topicId) { in createTopic() argument
1447 return Topic.create(topicId, TAXONOMY_VERSION, MODEL_VERSION); in createTopic()
DAppUpdateManagerTest.java548 final int topicId = 1; in testDeleteAppDataFromTableByApps_encryptedTopicsTable() local
551 Topic topic1 = Topic.create(topicId, TAXONOMY_VERSION, MODEL_VERSION); in testDeleteAppDataFromTableByApps_encryptedTopicsTable()
DTopicsWorkerTest.java1017 final int topicId = 1; in testClearAllTopicsData_topicContributorsTable() local
1019 Map<Integer, Set<String>> topicContributorsMap = Map.of(topicId, Set.of(app)); in testClearAllTopicsData_topicContributorsTable()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/
DTopicsDaoTest.java757 int topicId = 1; in testRecordBlockedTopicAndRetrieveBlockedTopics() local
760 Topic topicToBlock = Topic.create(topicId, taxonomyVersion, modelVersion); in testRecordBlockedTopicAndRetrieveBlockedTopics()
772 int topicId = 1; in testRecordBlockedTopicAndRemoveBlockedTopic() local
775 Topic topicToBlock = Topic.create(topicId, taxonomyVersion, modelVersion); in testRecordBlockedTopicAndRemoveBlockedTopic()
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-api-client-1.30.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-api-client-1.30.10.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...