Home
last modified time | relevance | path

Searched refs:classify (Results 1 – 19 of 19) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/
DClassifierManagerTest.java102 when(mOnDeviceClassifier.classify(eq(appPackages))) in testClassify_onDeviceClassifier()
105 Map<String, List<Topic>> classifications = mClassifierManager.classify(appPackages); in testClassify_onDeviceClassifier()
112 verify(mOnDeviceClassifier, times(1)).classify(eq(appPackages)); in testClassify_onDeviceClassifier()
123 when(mPrecomputedClassifier.classify(eq(appPackages))) in testClassify_preComputedClassifier()
126 Map<String, List<Topic>> classifications = mClassifierManager.classify(appPackages); in testClassify_preComputedClassifier()
131 verify(mPrecomputedClassifier, times(1)).classify(eq(appPackages)); in testClassify_preComputedClassifier()
144 when(mPrecomputedClassifier.classify(eq(appPackages))) in testClassify_precomputedThenOnDevice_verifyPriorityToPrecomputedClassifier()
147 when(mOnDeviceClassifier.classify(eq(ImmutableSet.of()))).thenReturn(ImmutableMap.of()); in testClassify_precomputedThenOnDevice_verifyPriorityToPrecomputedClassifier()
149 Map<String, List<Topic>> classifications = mClassifierManager.classify(appPackages); in testClassify_precomputedThenOnDevice_verifyPriorityToPrecomputedClassifier()
154 verify(mPrecomputedClassifier, times(1)).classify(eq(appPackages)); in testClassify_precomputedThenOnDevice_verifyPriorityToPrecomputedClassifier()
[all …]
DOnDeviceClassifierTest.java158 mOnDeviceClassifier.classify(appPackages); in testClassify_earlyReturnIfNoModelAvailable()
176 mOnDeviceClassifier.classify(appPackages); in testClassify_emptyClassifierInput_returnsDefaultClassifications()
228 mOnDeviceClassifier.classify(appPackages); in testClassify_successfulClassifications()
308 mOnDeviceClassifier.classify(appPackages).get(appPackage).stream() in testClassify_appWithBlockedTopic()
328 mOnDeviceClassifier.classify(appPackages).get(appPackage).stream() in testClassify_appWithBlockedTopic()
349 mOnDeviceClassifier.classify(appPackages).get(appPackage).stream() in testClassify_appWithAllTopicsBlocked()
369 mOnDeviceClassifier.classify(appPackages).get(appPackage); in testClassify_appWithAllTopicsBlocked()
389 mOnDeviceClassifier.classify(appPackages); in testClassify_successfulClassifications_overrideNumberOfTopLabels()
430 mOnDeviceClassifier.classify(appPackages); in testClassify_successfulClassifications_overrideClassifierThreshold()
455 mOnDeviceClassifier.classify(appPackages); in testClassify_successfulClassificationsForUpdatedClassifierInput()
[all …]
DPrecomputedClassifierTest.java130 sPrecomputedClassifier.classify( in testClassify_existingApp()
162 sPrecomputedClassifier.classify(new HashSet<>(Arrays.asList("random_app"))); in testClassify_nonExistingApp()
208 sPrecomputedClassifier.classify(ImmutableSet.of(sampleAppPackageName)); in testClassify_appWithBlockedTopic()
230 sPrecomputedClassifier.classify(ImmutableSet.of(sampleAppPackageName)); in testClassify_appWithAllTopicsBlocked()
240 sPrecomputedClassifier.classify(new HashSet<>(Arrays.asList("", null))); in testClassify_emptyStringApp()
250 sPrecomputedClassifier.classify(new HashSet<>(new ArrayList<>())); in testClassify_emptyAppList()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DClassifierManager.java99 public Map<String, List<Topic>> classify(Set<String> apps) { in classify() method in ClassifierManager
106 return mPrecomputedClassifier.get().classify(apps); in classify()
112 return mPrecomputedClassifier.get().classify(apps); in classify()
115 return mOnDeviceClassifier.get().classify(apps); in classify()
123 mPrecomputedClassifier.get().classify(apps); in classify()
132 mOnDeviceClassifier.get().classify(remainingApps); in classify()
DClassifier.java41 Map<String, List<Topic>> classify(@NonNull Set<String> apps); in classify() method
DOnDeviceClassifier.java104 public ImmutableMap<String, List<Topic>> classify(@NonNull Set<String> appPackageNames) { in classify() method in OnDeviceClassifier
181 classifications = mBertNLClassifier.classify(classifierInput); in getAppClassificationTopics()
DPrecomputedClassifier.java91 public Map<String, List<Topic>> classify(@NonNull Set<String> apps) { in classify() method in PrecomputedClassifier
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java661 when(mMockClassifier.classify(eq(appSdksUsageMap.keySet()))) in testProcessEpoch()
675 verify(mMockClassifier).classify(eq(appSdksUsageMap.keySet())); in testProcessEpoch()
838 when(mMockClassifier.classify(any())).thenReturn(appClassificationTopicsMap); in testProcessEpoch_enableEncryptedTopics_encryptionSucceed()
945 when(mMockClassifier.classify(any())).thenReturn(appClassificationTopicsMap); in testProcessEpoch_enableEncryptedTopics_encryptionFailed()
1043 when(mMockClassifier.classify(eq(appSdksUsageMap.keySet()))) in testComputeEpoch_emptyTopTopics()
1057 verify(mMockClassifier).classify(eq(appSdksUsageMap.keySet())); in testComputeEpoch_emptyTopTopics()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochManager.java200 mClassifier.classify(appSdksUsageMap.keySet()); in processEpoch()
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt2020 Landroid/icu/text/BidiClassifier;->classify(I)I
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz