Home
last modified time | relevance | path

Searched refs:getTopTopics (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/
DCommonClassifierHelperTest.java22 import static com.android.adservices.service.topics.classifier.CommonClassifierHelper.getTopTopics;
181 getTopTopics( in testGetTopTopics_legalInput()
220 getTopTopics( in testGetTopTopics_largeTopTopicsInput()
250 getTopTopics( in testGetTopTopics_zeroTopTopics()
267 getTopTopics( in testGetTopTopics_zeroRandomTopics()
285 getTopTopics( in testGetTopTopics_negativeTopTopics()
304 getTopTopics( in testGetTopTopics_negativeRandomTopics()
319 getTopTopics( in testGetTopTopics_emptyAppTopicsMap()
344 getTopTopics( in testGetTopTopics_emptyTopicInEachApp()
383 getTopTopics( in testGetTopTopics_selectSingleRandomTopic()
[all …]
DClassifierManagerTest.java290 mClassifierManager.getTopTopics(appTopics, numberOfTopTopics, numberOfRandomTopics); in testGetTopTopics_onDeviceClassifier()
294 .getTopTopics(eq(appTopics), eq(numberOfTopTopics), eq(numberOfRandomTopics)); in testGetTopTopics_onDeviceClassifier()
313 mClassifierManager.getTopTopics(appTopics, numberOfTopTopics, numberOfRandomTopics); in testGetTopTopics_precomputedClassifier()
317 .getTopTopics(eq(appTopics), eq(numberOfTopTopics), eq(numberOfRandomTopics)); in testGetTopTopics_precomputedClassifier()
336 mClassifierManager.getTopTopics(appTopics, numberOfTopTopics, numberOfRandomTopics); in testGetTopTopics_defaultBehaviour()
340 .getTopTopics(eq(appTopics), eq(numberOfTopTopics), eq(numberOfRandomTopics)); in testGetTopTopics_defaultBehaviour()
359 mClassifierManager.getTopTopics(appTopics, numberOfTopTopics, numberOfRandomTopics); in testGetTopTopics_invalidFlagValue()
363 .getTopTopics(eq(appTopics), eq(numberOfTopTopics), eq(numberOfRandomTopics)); in testGetTopTopics_invalidFlagValue()
383 mClassifierManager.getTopTopics(appTopics, numberOfTopTopics, numberOfRandomTopics); in testGetTopTopics_onDeviceClassifierKillSwitch_fallbackToPrecomputedClassifier()
387 .getTopTopics(eq(appTopics), eq(numberOfTopTopics), eq(numberOfRandomTopics)); in testGetTopTopics_onDeviceClassifierKillSwitch_fallbackToPrecomputedClassifier()
DOnDeviceClassifierTest.java514 mOnDeviceClassifier.getTopTopics( in testGetTopTopics_fetchTopAndRandomTopics()
554 mOnDeviceClassifier.getTopTopics( in testGetTopTopics_verifyRandomTopics()
557 mOnDeviceClassifier.getTopTopics( in testGetTopTopics_verifyRandomTopics()
DPrecomputedClassifierTest.java271 sPrecomputedClassifier.getTopTopics( in testGetTopTopics_legalInput()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DClassifierManager.java155 public List<Topic> getTopTopics( in getTopTopics() method in ClassifierManager
165 .getTopTopics(appTopics, numberOfTopTopics, numberOfRandomTopics); in getTopTopics()
174 .getTopTopics(appTopics, numberOfTopTopics, numberOfRandomTopics); in getTopTopics()
179 .getTopTopics(appTopics, numberOfTopTopics, numberOfRandomTopics); in getTopTopics()
DPrecomputedClassifier.java138 public List<Topic> getTopTopics( in getTopTopics() method in PrecomputedClassifier
147 return CommonClassifierHelper.getTopTopics( in getTopTopics()
DClassifier.java58 List<Topic> getTopTopics( in getTopTopics() method
DOnDeviceClassifier.java164 public List<Topic> getTopTopics( in getTopTopics() method in OnDeviceClassifier
171 return CommonClassifierHelper.getTopTopics( in getTopTopics()
DCommonClassifierHelper.java130 static List<Topic> getTopTopics( in getTopTopics() method in CommonClassifierHelper
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java665 when(mMockClassifier.getTopTopics( in testProcessEpoch()
677 .getTopTopics( in testProcessEpoch()
839 when(mMockClassifier.getTopTopics( in testProcessEpoch_enableEncryptedTopics_encryptionSucceed()
946 when(mMockClassifier.getTopTopics( in testProcessEpoch_enableEncryptedTopics_encryptionFailed()
1047 when(mMockClassifier.getTopTopics( in testComputeEpoch_emptyTopTopics()
1059 .getTopTopics( in testComputeEpoch_emptyTopTopics()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochManager.java229 mClassifier.getTopTopics( in processEpoch()