Home
last modified time | relevance | path

Searched refs:getBadgeColor (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java109 assertEquals(26, type.getBadgeColor(0)); in testUserTypeBuilder_createUserType()
110 assertEquals(27, type.getBadgeColor(1)); in testUserTypeBuilder_createUserType()
111 assertEquals(27, type.getBadgeColor(2)); in testUserTypeBuilder_createUserType()
112 assertEquals(27, type.getBadgeColor(3)); in testUserTypeBuilder_createUserType()
113 assertEquals(Resources.ID_NULL, type.getBadgeColor(-100)); in testUserTypeBuilder_createUserType()
133 assertEquals(Resources.ID_NULL, type.getBadgeColor(0)); in testUserTypeBuilder_defaults()
254 aospType.getBadgeColor(0)); in testUserTypeFactoryCustomize_profile()
256 aospType.getBadgeColor(1)); in testUserTypeFactoryCustomize_profile()
258 aospType.getBadgeColor(2)); in testUserTypeFactoryCustomize_profile()
260 aospType.getBadgeColor(3)); in testUserTypeFactoryCustomize_profile()
[all …]
DUserManagerTest.java349 Resources.getSystem().getColor(userTypeDetails.getBadgeColor(badgeIndex), null)); in testProfileTypeInformation()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeDetails.java231 public @ColorRes int getBadgeColor(int badgeIndex) { in getBadgeColor() method in UserTypeDetails
246 return getBadgeColor(badgeIndex); in getDarkThemeBadgeColor()
DUserManagerService.java1373 return userTypeDetails.getBadgeColor(userInfo.profileBadge); in getUserBadgeColorResId()
/frameworks/base/services/
Dart-profile26730 HPLcom/android/server/pm/UserTypeDetails;->getBadgeColor(I)I