Home
last modified time | relevance | path

Searched refs:roles (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java67 List<String> roles = new ArrayList<>(); in testMarkAppRow_defaultPackage() local
68 roles.add(RoleManager.ROLE_DIALER); in testMarkAppRow_defaultPackage()
70 when(rm.getHeldRolesFromController(anyString())).thenReturn(roles); in testMarkAppRow_defaultPackage()
84 List<String> roles = new ArrayList<>(); in testMarkAppRow_notDefaultPackage() local
85 roles.add(RoleManager.ROLE_HOME); in testMarkAppRow_notDefaultPackage()
87 when(rm.getHeldRolesFromController(anyString())).thenReturn(roles); in testMarkAppRow_notDefaultPackage()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoles.java131 try (XmlResourceParser parser = context.getResources().getXml(R.xml.roles)) { in load()
137 ArrayMap<String, Role> roles = xml.second; in load() local
138 validateParseResult(permissionSets, roles, context); in load()
139 return roles; in load()
184 ArrayMap<String, Role> roles = new ArrayMap<>(); in parseRoles() local
212 checkDuplicateElement(role.getName(), roles.keySet(), "role"); in parseRoles()
213 roles.put(role.getName(), role); in parseRoles()
222 return new Pair<>(permissionSets, roles); in parseRoles()
915 @NonNull ArrayMap<String, Role> roles, @NonNull Context context) { in validateParseResult() argument
934 int rolesSize = roles.size(); in validateParseResult()
[all …]
DRole.java624 ArrayMap<String, Role> roles = Roles.get(context); in revoke() local
628 Role role = roles.get(roleName); in revoke()
637 Role role = roles.get(roleName); in revoke()
/packages/apps/PermissionController/src/com/android/packageinstaller/
DPackageInstallerApplication.java40 ArrayMap<String, Role> roles = Roles.get(this); in updateSpecialAppAccessListActivityEnabledState() local
42 int rolesSize = roles.size(); in updateSpecialAppAccessListActivityEnabledState()
44 Role role = roles.valueAt(i); in updateSpecialAppAccessListActivityEnabledState()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/service/
DRoleSearchIndexablesProvider.java49 ArrayMap<String, Role> roles = Roles.get(context); in queryRawData() local
50 int rolesSize = roles.size(); in queryRawData()
52 Role role = roles.valueAt(i); in queryRawData()
DRoleControllerServiceImpl.java69 List<Role> roles = new ArrayList<>(); in onGrantDefaultRoles() local
79 roles.add(role); in onGrantDefaultRoles()
101 int rolesSize = roles.size(); in onGrantDefaultRoles()
103 Role role = roles.get(rolesIndex); in onGrantDefaultRoles()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRoleListLiveData.java83 ArrayMap<String, Role> roles = Roles.get(mContext); in loadValueInBackground() local
87 int rolesSize = roles.size(); in loadValueInBackground()
89 Role role = roles.valueAt(rolesIndex); in loadValueInBackground()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java100 List<String> roles = rm.getHeldRolesFromController(app.packageName); in recordCanBeBlocked() local
101 if (roles.contains(RoleManager.ROLE_DIALER) in recordCanBeBlocked()
102 || roles.contains(RoleManager.ROLE_EMERGENCY)) { in recordCanBeBlocked()
/packages/apps/PermissionController/
DTEST_MAPPING18 "file_patterns": ["res/xml/roles\\.xml"]
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...