Home
last modified time | relevance | path

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

/cts/tests/tests/role/src/android/app/role/cts/
DRoleManagerTest.java143 addRoleHolder(ROLE_NAME, mRoleHolder); in restoreRoleHolder()
468 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addRoleHolderThenRoleIsHeld()
475 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addAndRemoveRoleHolderThenRoleIsNotHeld()
504 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addRoleHolderThenIsRoleHolder()
511 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addAndRemoveRoleHolderThenIsNotRoleHolder()
519 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addAndClearRoleHoldersThenIsNotRoleHolder()
527 assertOnRoleHoldersChangedListenerIsNotified(() -> addRoleHolder(ROLE_NAME, in addOnRoleHoldersChangedListenerAndAddRoleHolderThenIsNotified()
534 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addOnRoleHoldersChangedListenerAndRemoveRoleHolderThenIsNotified()
543 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addOnRoleHoldersChangedListenerAndClearRoleHoldersThenIsNotified()
577 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addAndRemoveOnRoleHoldersChangedListenerAndAddRoleHolderThenIsNotNotified()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallRedirectionServiceTest.java96 addRoleHolder(ROLE_CALL_REDIRECTION, in setUp()
114 addRoleHolder(ROLE_CALL_REDIRECTION, mPreviousCallRedirectionPackage); in tearDown()
251 private void addRoleHolder(String roleName, String packageName) throws Exception { in addRoleHolder() method in CallRedirectionServiceTest
DCtsRoleManagerAdapter.java64 addRoleHolder(ROLE_COMPANION_APP, packageName); in addCompanionAppRoleHolder()
127 private void addRoleHolder(String roleName, String packageName) throws InterruptedException { in addRoleHolder() method in CtsRoleManagerAdapter
DThirdPartyCallScreeningServiceTest.java86 addRoleHolder(ROLE_CALL_SCREENING, in setUp()
106 addRoleHolder(ROLE_CALL_SCREENING, mPreviousCallScreeningPackage); in tearDown()
554 private void addRoleHolder(String roleName, String packageName) in addRoleHolder() method in ThirdPartyCallScreeningServiceTest