/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 | 81 private int getCategory() { in getCategory() method in SendTestBroadcastActivity 407 getSerialNumber(), getCategory()); in onCreate() 421 getSerialNumber(), getCategory()); in onCreate() 435 getSerialNumber(), getCategory()); in onCreate() 450 SendTestBroadcastActivity.this, getSerialNumber(), getCategory()); in onCreate() 465 getSerialNumber(), getCategory()); in onCreate() 480 SendTestBroadcastActivity.this, getSerialNumber(), getCategory()); in onCreate() 495 getSerialNumber(), getCategory()); in onCreate() 510 SendTestBroadcastActivity.this, getSerialNumber(), getCategory()); in onCreate() 525 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()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CdmaSmsMessageTest.java | 499 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in doTestCmasBroadcast() 561 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_ENV, cmasInfo.getCategory()); in testCmasExtremeAlertType1Elements() 623 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in testCmasNoRecordType0() 758 programData.getCategory()); in testServiceCategoryProgramDataAddCategory() 817 programData.getCategory()); in testServiceCategoryProgramDataDeleteTwoCategories() 826 programData.getCategory()); in testServiceCategoryProgramDataDeleteTwoCategories() 870 assertEquals("category", cmasInfo.getCategory(), SmsCbCmasInfo.CMAS_CATEGORY_OTHER); in testDecodeRawBearerData()
|
/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/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | TestCategoryProvider.java | 74 public Category getCategory(int index) { in getCategory() method in TestCategoryProvider 79 public Category getCategory(String collectionId) { in getCategory() method in TestCategoryProvider
|
/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/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertServiceTest.java | 81 assertEquals(info1.getCategory(), info2.getCategory()); in compareCmasWarningInfo()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardManager.java | 325 if (current.getCategory() == SUGGESTION_VALUE in getCardsWithSuggestionViewType() 326 && previous.getCategory() == SUGGESTION_VALUE) { in getCardsWithSuggestionViewType() 344 if (card.getCategory() == DEFERRED_SETUP_VALUE) { in getCardsWithDeferredSetupViewType()
|
/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/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/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/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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 356 tryCdmaSetCategory(mContext, programData.getCategory(), true); in handleCdmaSmsCbProgramData() 360 tryCdmaSetCategory(mContext, programData.getCategory(), false); in handleCdmaSmsCbProgramData()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerActivity.java | 95 mCategory = categoryProvider.getCategory(mCategoryCollectionId); in onCreate()
|