Home
last modified time | relevance | path

Searched refs:appPackages (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/
DClassifierManagerTest.java100 ImmutableSet<String> appPackages = ImmutableSet.of(appPackage1); in testClassify_onDeviceClassifier() local
102 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()
121 ImmutableSet<String> appPackages = ImmutableSet.of(appPackage1); in testClassify_preComputedClassifier() local
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()
142 ImmutableSet<String> appPackages = ImmutableSet.of(appPackage1); in testClassify_precomputedThenOnDevice_verifyPriorityToPrecomputedClassifier() local
144 when(mPrecomputedClassifier.classify(eq(appPackages))) in testClassify_precomputedThenOnDevice_verifyPriorityToPrecomputedClassifier()
[all …]
DOnDeviceClassifierTest.java155 ImmutableSet<String> appPackages = ImmutableSet.of(appPackage1); in testClassify_earlyReturnIfNoModelAvailable() local
158 mOnDeviceClassifier.classify(appPackages); in testClassify_earlyReturnIfNoModelAvailable()
174 ImmutableSet<String> appPackages = ImmutableSet.of(appPackage1); in testClassify_emptyClassifierInput_returnsDefaultClassifications() local
176 mOnDeviceClassifier.classify(appPackages); in testClassify_emptyClassifierInput_returnsDefaultClassifications()
226 ImmutableSet<String> appPackages = ImmutableSet.of(appPackage1, appPackage2); in testClassify_successfulClassifications() local
228 mOnDeviceClassifier.classify(appPackages); in testClassify_successfulClassifications()
305 ImmutableSet<String> appPackages = ImmutableSet.of(appPackage); in testClassify_appWithBlockedTopic() local
308 mOnDeviceClassifier.classify(appPackages).get(appPackage).stream() in testClassify_appWithBlockedTopic()
328 mOnDeviceClassifier.classify(appPackages).get(appPackage).stream() in testClassify_appWithBlockedTopic()
346 ImmutableSet<String> appPackages = ImmutableSet.of(appPackage); in testClassify_appWithAllTopicsBlocked() local
[all …]
/packages/services/Car/tools/ioanalyze/
Danalyzer.py16 self.appPackages = activity['appPackages']
20 if self.appPackages is None: self.appPackages = []
102 self.appPackages = wellKnownUids.get(uid, [])
119 self.appPackages = merge(self.appPackages, snapshot.appPackages)
255 ','.join(entry.appPackages),
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DApplicationsState.java393 HashSet<String> appPackages = packageMap.get(userId); in anyAppIsRemoved() local
394 if (appPackages == null) { in anyAppIsRemoved()
395 appPackages = new HashSet<>(); in anyAppIsRemoved()
396 packageMap.put(userId, appPackages); in anyAppIsRemoved()
399 appPackages.add(application.packageName); in anyAppIsRemoved()