Searched refs:ROLE_NAME (Results 1 – 1 of 1) sorted by relevance
84 private static final String ROLE_NAME = RoleManager.ROLE_BROWSER; field in RoleManagerTest114 List<String> roleHolders = getRoleHolders(ROLE_NAME); in saveRoleHolder()118 removeRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in saveRoleHolder()125 removeRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in restoreRoleHolder()128 addRoleHolder(ROLE_NAME, mRoleHolder); in restoreRoleHolder()131 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in restoreRoleHolder()152 Intent intent = sRoleManager.createRequestRoleIntent(ROLE_NAME); in requestRoleIntentHasPermissionControllerPackage()160 Intent intent = sRoleManager.createRequestRoleIntent(ROLE_NAME); in requestRoleIntentHasExtraRoleName()162 assertThat(intent.getStringExtra(Intent.EXTRA_ROLE_NAME)).isEqualTo(ROLE_NAME); in requestRoleIntentHasExtraRoleName()168 requestRole(ROLE_NAME); in requestRoleAndDenyThenIsNotRoleHolder()[all …]