Home
last modified time | relevance | path

Searched refs:getCategory (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DNotificationCategorizerTest.java74 assertEquals(NotificationCategorizer.CATEGORY_PEOPLE, nc.getCategory(mEntry)); in testPeopleCategory()
85 assertEquals(NotificationCategorizer.CATEGORY_MIN, nc.getCategory(mEntry)); in testMin()
95 assertEquals(NotificationCategorizer.CATEGORY_HIGH, nc.getCategory(mEntry)); in testHigh()
106 assertEquals(NotificationCategorizer.CATEGORY_ONGOING, nc.getCategory(mEntry)); in testOngoingCategory()
110 assertEquals(NotificationCategorizer.CATEGORY_EVERYTHING_ELSE, nc.getCategory(mEntry)); in testOngoingCategory()
121 assertEquals(NotificationCategorizer.CATEGORY_ALARM, nc.getCategory(mEntry)); in testAlarmCategory()
125 assertEquals(NotificationCategorizer.CATEGORY_EVERYTHING_ELSE, nc.getCategory(mEntry)); in testAlarmCategory()
136 assertEquals(NotificationCategorizer.CATEGORY_CALL, nc.getCategory(mEntry)); in testCallCategory()
140 assertEquals(NotificationCategorizer.CATEGORY_EVERYTHING_ELSE, nc.getCategory(mEntry)); in testCallCategory()
151 assertEquals(NotificationCategorizer.CATEGORY_REMINDER, nc.getCategory(mEntry)); in testReminderCategory()
[all …]
DAgingHelperTest.java132 when(mCategorizer.getCategory(entry)).thenReturn(NotificationCategorizer.CATEGORY_PEOPLE); in testSnoozingOnSeen()
145 when(mCategorizer.getCategory(entry)).thenReturn(NotificationCategorizer.CATEGORY_PEOPLE); in testNoSnoozingOnSeenUserLocked()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java78 private int getCategory() { in getCategory() method in SendTestBroadcastActivity
366 getSerialNumber(), getCategory()); in onCreate()
380 getSerialNumber(), getCategory()); in onCreate()
394 getSerialNumber(), getCategory()); in onCreate()
409 SendTestBroadcastActivity.this, getSerialNumber(), getCategory()); in onCreate()
424 getSerialNumber(), getCategory()); in onCreate()
439 SendTestBroadcastActivity.this, getSerialNumber(), getCategory()); in onCreate()
454 getSerialNumber(), getCategory()); in onCreate()
469 SendTestBroadcastActivity.this, getSerialNumber(), getCategory()); in onCreate()
484 SendTestBroadcastActivity.this, getSerialNumber(), getCategory()); in onCreate()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DOverlayManagerCompat.java79 if (category.equals(overlayInfo.getCategory()) && overlayInfo.isEnabled()) { in getEnabledPackageName()
105 if (category.equals(info.getCategory())) { in getOverlayPackagesForCategory()
135 overlays.put(overlayInfo.getCategory(), overlayInfo.getPackageName()); in addAllEnabledOverlaysForTarget()
DOverlayThemeExtractor.java273 return info != null ? info.getCategory() : null; in getOverlayCategory()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/
DSuggestionParser.java99 probe.addCategory(category.getCategory()); in readSuggestions()
137 final String keySetupTime = category.getCategory() + SETUP_TIME; in isExclusiveCategoryExpired()
151 + category.getCategory()); in isExclusiveCategoryExpired()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPickerDelegate.java200 Category category = mCategoryProvider.getCategory(i); in findThirdPartyCategory()
212 Category oldLiveWallpapersCategory = mCategoryProvider.getCategory( in updateLiveWallpapersCategories()
230 mCategoryProvider.getCategory(liveWallpaperCollectionId); in updateLiveWallpapersCategories()
332 return mCategoryProvider.getCategory(collectionId); in findCategoryForCollectionId()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DCategoryProvider.java47 Category getCategory(int index); in getCategory() method
56 Category getCategory(String collectionId); in getCategory() method
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DCrossProfileIntentFilterTest.java69 assertEquals(CATEGORY_1, filter.filter.getCategory(0)); in testBuilder()
70 assertEquals(CATEGORY_2, filter.filter.getCategory(1)); in testBuilder()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/
DSettingsIntelligenceDumpService.java66 .append(category.getCategory()) in dumpSuggestions()
70 probe.addCategory(category.getCategory()); in dumpSuggestions()
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationCategorizer.java61 return shouldSilence(getCategory(entry)); in shouldSilence()
69 public int getCategory(NotificationEntry entry) { in getCategory() method in NotificationCategorizer
DAgingHelper.java73 @Category int category = mNotificationCategorizer.getCategory(entry); in onNotificationSeen()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardManager.java296 if (current.getCategory() == SUGGESTION_VALUE in getCardsWithSuggestionViewType()
297 && previous.getCategory() == SUGGESTION_VALUE) { in getCardsWithSuggestionViewType()
315 if (card.getCategory() == DEFERRED_SETUP_VALUE) { in getCardsWithDeferredSetupViewType()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardManager.java320 if (current.getCategory() == SUGGESTION_VALUE in getCardsWithSuggestionViewType()
321 && previous.getCategory() == SUGGESTION_VALUE) { in getCardsWithSuggestionViewType()
339 if (card.getCategory() == DEFERRED_SETUP_VALUE) { in getCardsWithDeferredSetupViewType()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DCategoryManager.java150 if (CategoryKey.KEY_COMPAT_MAP.containsKey(tile.getCategory())) { in backwardCompatCleanupForCategory()
161 CategoryKey.KEY_COMPAT_MAP.get(tile.getCategory()); in backwardCompatCleanupForCategory()
/packages/apps/Settings/src/com/android/settings/dashboard/
DCategoryManager.java150 if (CategoryKey.KEY_COMPAT_MAP.containsKey(tile.getCategory())) { in backwardCompatCleanupForCategory()
161 CategoryKey.KEY_COMPAT_MAP.get(tile.getCategory()); in backwardCompatCleanupForCategory()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultCategoryProvider.java87 public Category getCategory(int index) { in getCategory() method in DefaultCategoryProvider
95 public Category getCategory(String collectionId) { in getCategory() method in DefaultCategoryProvider
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java183 tryCdmaSetCategory(context, programData.getCategory(), true); in handleCdmaSmsCbProgramData()
187 tryCdmaSetCategory(context, programData.getCategory(), false); in handleCdmaSmsCbProgramData()
DCellBroadcastResources.java115 switch (cmasInfo.getCategory()) { in getCmasCategoryResId()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertServiceTest.java76 assertEquals(info1.getCategory(), info2.getCategory()); in compareCmasWarningInfo()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java388 dynSettings.aidGroups.put(group.getCategory(), group); in readDynamicSettingsLocked()
575 dynSettings.aidGroups.put(aidGroup.getCategory(), aidGroup); in registerAidGroupForService()
583 dynSettings.aidGroups.remove(aidGroup.getCategory()); in registerAidGroupForService()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeSettings.java244 enabledCategories.add(getCategory(category, policy, isFirst)); in getEnabledCategories()
254 private String getCategory(int category, Policy policy, boolean isFirst) { in getCategory() method in ZenModeSettings.SummaryBuilder
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeSettings.java244 enabledCategories.add(getCategory(category, policy, isFirst)); in getEnabledCategories()
254 private String getCategory(int category, Policy policy, boolean isFirst) { in getCategory() method in ZenModeSettings.SummaryBuilder
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/
DSuggestionCategory.java36 public String getCategory() { in getCategory() method in SuggestionCategory
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivity.java96 mCategory = injector.getCategoryProvider(this).getCategory(mCategoryCollectionId); in onCreate()

12