Searched refs:addRoleHolder (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 128 addRoleHolder(ROLE_NAME, mRoleHolder); in restoreRoleHolder() 380 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addRoleHolderThenRoleIsHeld() 387 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addAndRemoveRoleHolderThenRoleIsNotHeld() 416 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addRoleHolderThenIsRoleHolder() 423 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addAndRemoveRoleHolderThenIsNotRoleHolder() 431 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addAndClearRoleHoldersThenIsNotRoleHolder() 439 assertOnRoleHoldersChangedListenerIsNotified(() -> addRoleHolder(ROLE_NAME, in addOnRoleHoldersChangedListenerAndAddRoleHolderThenIsNotified() 446 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addOnRoleHoldersChangedListenerAndRemoveRoleHolderThenIsNotified() 455 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addOnRoleHoldersChangedListenerAndClearRoleHoldersThenIsNotified() 489 addRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in addAndRemoveOnRoleHoldersChangedListenerAndAddRoleHolderThenIsNotNotified() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CtsRoleManagerAdapter.java | 66 addRoleHolder(ROLE_COMPANION_APP, packageName); in addCompanionAppRoleHolder() 89 addRoleHolder(ROLE_CAR_MODE_DIALER_APP, packageName); in addAutomotiveRoleHolder() 160 private void addRoleHolder(String roleName, String packageName) throws InterruptedException { in addRoleHolder() method in CtsRoleManagerAdapter
|
D | CallRedirectionServiceTest.java | 83 addRoleHolder(ROLE_CALL_REDIRECTION, in setUp() 101 addRoleHolder(ROLE_CALL_REDIRECTION, mPreviousCallRedirectionPackage); in tearDown() 208 private void addRoleHolder(String roleName, String packageName) throws Exception { in addRoleHolder() method in CallRedirectionServiceTest
|
D | ThirdPartyCallScreeningServiceTest.java | 76 addRoleHolder(ROLE_CALL_SCREENING, in setUp() 95 addRoleHolder(ROLE_CALL_SCREENING, mPreviousCallScreeningPackage); in tearDown() 314 private void addRoleHolder(String roleName, String packageName) in addRoleHolder() method in ThirdPartyCallScreeningServiceTest
|