Home
last modified time | relevance | path

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

/cts/tests/tests/role/src/android/app/role/cts/
DRoleManagerTest.java146 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in restoreRoleHolder()
187 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in requestRoleAndDenyThenIsNotRoleHolder()
196 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, true); in requestRoleAndAllowThenIsRoleHolder()
499 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in dontAddRoleHolderThenIsNotRoleHolder()
506 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, true); in addRoleHolderThenIsRoleHolder()
514 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in addAndRemoveRoleHolderThenIsNotRoleHolder()
522 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in addAndClearRoleHoldersThenIsNotRoleHolder()
671 private void assertIsRoleHolder(@NonNull String roleName, @NonNull String packageName, in assertIsRoleHolder() method in RoleManagerTest