Searched refs:mRoleManager (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CtsRoleManagerAdapter.java | 50 private RoleManager mRoleManager; field in CtsRoleManagerAdapter 57 mRoleManager = (RoleManager) mContext.getSystemService(Context.ROLE_SERVICE); in CtsRoleManagerAdapter() 63 if (mRoleManager != null) { in addCompanionAppRoleHolder() 74 if (mRoleManager != null) { in removeCompanionAppRoleHolder() 85 if (mRoleManager != null) { in getRoleHolders() 119 List<String> previousHolders = mRoleManager.getRoleHolders(roleName); in getRoleHolder() 132 mRoleManager.addRoleHolderAsUser(roleName, packageName, 0, user, executor, in addRoleHolder() 151 mRoleManager.removeRoleHolderAsUser(roleName, packageName, 0, user, executor, in removeRoleHolder()
|
D | CallRedirectionServiceTest.java | 75 private RoleManager mRoleManager; field in CallRedirectionServiceTest 91 mRoleManager = (RoleManager) mContext.getSystemService(Context.ROLE_SERVICE); in setUp() 241 List<String> callRedirectionApps = mRoleManager.getRoleHolders(ROLE_CALL_REDIRECTION); in rememberPreviousCallRedirectionApp() 256 runWithShellPermissionIdentity(() -> mRoleManager.addRoleHolderAsUser(roleName, in addRoleHolder() 275 runWithShellPermissionIdentity(() -> mRoleManager.removeRoleHolderAsUser(roleName, in removeRoleHolder()
|
D | ThirdPartyCallScreeningServiceTest.java | 67 private RoleManager mRoleManager; field in ThirdPartyCallScreeningServiceTest 79 mRoleManager = (RoleManager) mContext.getSystemService(Context.ROLE_SERVICE); in setUp() 545 List<String> callScreeningApps = mRoleManager.getRoleHolders(ROLE_CALL_SCREENING); in rememberPreviousCallScreeningApp() 560 runWithShellPermissionIdentity(() -> mRoleManager.addRoleHolderAsUser(roleName, in addRoleHolder() 579 runWithShellPermissionIdentity(() -> mRoleManager.removeRoleHolderAsUser(roleName, in removeRoleHolder()
|