/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | NotificationCategorizerTest.java | 74 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 …]
|
D | AgingHelperTest.java | 132 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/ |
D | SendTestBroadcastActivity.java | 78 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/ |
D | OverlayManagerCompat.java | 79 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()
|
D | OverlayThemeExtractor.java | 273 return info != null ? info.getCategory() : null; in getOverlayCategory()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ |
D | SuggestionParser.java | 99 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/ |
D | WallpaperPickerDelegate.java | 200 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/ |
D | CategoryProvider.java | 47 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/ |
D | CrossProfileIntentFilterTest.java | 69 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/ |
D | SettingsIntelligenceDumpService.java | 66 .append(category.getCategory()) in dumpSuggestions() 70 probe.addCategory(category.getCategory()); in dumpSuggestions()
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | NotificationCategorizer.java | 61 return shouldSilence(getCategory(entry)); in shouldSilence() 69 public int getCategory(NotificationEntry entry) { in getCategory() method in NotificationCategorizer
|
D | AgingHelper.java | 73 @Category int category = mNotificationCategorizer.getCategory(entry); in onNotificationSeen()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/ |
D | ContextualCardManager.java | 296 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/ |
D | ContextualCardManager.java | 320 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/ |
D | CategoryManager.java | 150 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/ |
D | CategoryManager.java | 150 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/ |
D | DefaultCategoryProvider.java | 87 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/ |
D | CellBroadcastReceiver.java | 183 tryCdmaSetCategory(context, programData.getCategory(), true); in handleCdmaSmsCbProgramData() 187 tryCdmaSetCategory(context, programData.getCategory(), false); in handleCdmaSmsCbProgramData()
|
D | CellBroadcastResources.java | 115 switch (cmasInfo.getCategory()) { in getCmasCategoryResId()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertServiceTest.java | 76 assertEquals(info1.getCategory(), info2.getCategory()); in compareCmasWarningInfo()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 388 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/ |
D | ZenModeSettings.java | 244 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/ |
D | ZenModeSettings.java | 244 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/ |
D | SuggestionCategory.java | 36 public String getCategory() { in getCategory() method in SuggestionCategory
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerActivity.java | 96 mCategory = injector.getCategoryProvider(this).getCategory(mCategoryCollectionId); in onCreate()
|