Searched refs:getRoleHolders (Results 1 – 9 of 9) sorted by relevance
137 List<String> roleHolders = getRoleHolders(ROLE_NAME); in saveRoleHolder()467 getRoleHolders(RoleManager.ROLE_DIALER).contains(APP_28_PACKAGE_NAME)); in targetSdk28AndChangeDefaultDialerAndAllowThenIsDefaultDialer()536 getRoleHolders(RoleManager.ROLE_DIALER).contains(APP_PACKAGE_NAME)); in targetSdk28AndChangeDefaultDialerForAnotherAppAsHolderAndAllowThenTheOtherAppIsDefaultDialer()897 assertThat(getRoleHolders(RoleManager.ROLE_SMS)).isNotEmpty(); in smsRoleHasHolder()914 String smsRoleHolder = getRoleHolders(RoleManager.ROLE_SMS).get(0); in removeSmsRoleHolderThenPermissionIsRevoked()928 String smsRoleHolder = getRoleHolders(RoleManager.ROLE_SMS).get(0); in removeSmsRoleHolderThenDialerRolePermissionIsRetained()983 assertThat(getRoleHolders(RoleManager.ROLE_SYSTEM_ACTIVITY_RECOGNIZER)) in bypassRoleQualificationThenCanAddUnqualifiedRoleHolder()993 private List<String> getRoleHolders(@NonNull String roleName) throws Exception { in getRoleHolders() method in RoleManagerTest994 return callWithShellPermissionIdentity(() -> sRoleManager.getRoleHolders(roleName)); in getRoleHolders()999 List<String> packageNames = getRoleHolders(roleName); in assertIsRoleHolder()
81 List<String> previousHolders = mRoleManager.getRoleHolders(roleName); in getRoleHolder()
241 List<String> callRedirectionApps = mRoleManager.getRoleHolders(ROLE_CALL_REDIRECTION); in rememberPreviousCallRedirectionApp()
346 String result = mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER).get(0); in getDefaultDialer()
548 List<String> callScreeningApps = mRoleManager.getRoleHolders(ROLE_CALL_SCREENING); in rememberPreviousCallScreeningApp()
47 oldActivityRecognizers = roleManager.getRoleHolders( in makeSelfActivityRecognizer()
139 () -> sRoleManager.getRoleHolders(RoleManager.ROLE_ASSISTANT)); in getAssistRoleHolders()
345 (m) -> m.getRoleHolders(RoleManager.ROLE_SMS)); in getDefaultSmsApp()
565 .getRoleHolders(RoleManager.ROLE_SMS) in getSmsApp()