Home
last modified time | relevance | path

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

/cts/tests/tests/role/src/android/app/role/cts/
DRoleManagerTest.java88 private static final String ROLE_NAME = RoleManager.ROLE_BROWSER; field in RoleManagerTest
129 List<String> roleHolders = getRoleHolders(ROLE_NAME); in saveRoleHolder()
133 removeRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in saveRoleHolder()
140 removeRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in restoreRoleHolder()
143 addRoleHolder(ROLE_NAME, mRoleHolder); in restoreRoleHolder()
146 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in restoreRoleHolder()
168 Intent intent = sRoleManager.createRequestRoleIntent(ROLE_NAME); in requestRoleIntentHasPermissionControllerPackage()
176 Intent intent = sRoleManager.createRequestRoleIntent(ROLE_NAME); in requestRoleIntentHasExtraRoleName()
178 assertThat(intent.getStringExtra(Intent.EXTRA_ROLE_NAME)).isEqualTo(ROLE_NAME); in requestRoleIntentHasExtraRoleName()
184 requestRole(ROLE_NAME); in requestRoleAndDenyThenIsNotRoleHolder()
[all …]