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.java131 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in restoreRoleHolder()
171 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in requestRoleAndDenyThenIsNotRoleHolder()
180 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, true); in requestRoleAndAllowThenIsRoleHolder()
411 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in dontAddRoleHolderThenIsNotRoleHolder()
418 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, true); in addRoleHolderThenIsRoleHolder()
426 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in addAndRemoveRoleHolderThenIsNotRoleHolder()
434 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in addAndClearRoleHoldersThenIsNotRoleHolder()
583 private void assertIsRoleHolder(@NonNull String roleName, @NonNull String packageName, in assertIsRoleHolder() method in RoleManagerTest