Searched refs:roleHolders (Results 1 – 5 of 5) sorted by relevance
172 List<String> roleHolders = sRoleManager.getRoleHolders(ROLE_FINANCED_DEVICE_KIOSK); in clearFinancedDeviceKioskRole() local173 if (roleHolders != null && roleHolders.size() > 0) { in clearFinancedDeviceKioskRole()174 mOriginalRoleHolderPackage = roleHolders.get(0); in clearFinancedDeviceKioskRole()
73 val roleHolders = withShellPermissionIdentity(Manifest.permission.MANAGE_ROLE_HOLDERS) { in getRoleHolders() constant76 return roleHolders in getRoleHolders()
363 val roleHolders = withShellPermissionIdentity(Manifest.permission.MANAGE_ROLE_HOLDERS) { in <lambda>() constant366 assertContains(roleHolders, targetPackageName, "Not a holder of $roleName") in <lambda>()
1093 final String[] roleHolders = getDevice().executeShellCommand( in testSystemGalleryExists() local1096 assertEquals("Expected 1 SYSTEM_GALLERY for user " + user, 1, roleHolders.length); in testSystemGalleryExists()
2250 final List<String> roleHolders = mRoleManager.getRoleHoldersAsUser( in isAssistantRoleHolder() local2252 return roleHolders.contains(pkgName); in isAssistantRoleHolder()