Home
last modified time | relevance | path

Searched refs:currentPackageNames (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/service/
DRoleControllerServiceImpl.java126 List<String> currentPackageNames = mUserRoleManager.getRoleHolders(roleName); in onGrantDefaultRoles() local
127 int currentPackageNamesSize = currentPackageNames.size(); in onGrantDefaultRoles()
131 String packageName = currentPackageNames.get(currentPackageNamesIndex); in onGrantDefaultRoles()
149 currentPackageNames = mUserRoleManager.getRoleHolders(roleName); in onGrantDefaultRoles()
150 currentPackageNamesSize = currentPackageNames.size(); in onGrantDefaultRoles()
167 if (currentPackageNames.contains(packageName)) { in onGrantDefaultRoles()
188 currentPackageNames = mUserRoleManager.getRoleHolders(roleName); in onGrantDefaultRoles()
189 currentPackageNamesSize = currentPackageNames.size(); in onGrantDefaultRoles()
197 String packageName = currentPackageNames.get(currentPackageNamesIndex); in onGrantDefaultRoles()
235 List<String> currentPackageNames = mUserRoleManager.getRoleHolders(roleName); in onAddRoleHolder() local
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRequestRoleActivity.java151 List<String> currentPackageNames = roleManager.getRoleHolders(mRoleName); in onCreate() local
152 if (currentPackageNames.contains(mPackageName)) { in onCreate()
DRequestRoleFragment.java126 List<String> currentPackageNames = roleManager.getRoleHolders(mRoleName); in onCreateDialog() local
127 if (currentPackageNames.contains(mPackageName)) { in onCreateDialog()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/
DWearRequestRoleFragment.kt72 val currentPackageNames = in <lambda>() constant
74 if (currentPackageNames.contains(packageName)) { in <lambda>()