Home
last modified time | relevance | path

Searched refs:getRoleHolders (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/role/src/android/app/role/cts/
DRoleManagerTest.java137 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 RoleManagerTest
994 return callWithShellPermissionIdentity(() -> sRoleManager.getRoleHolders(roleName)); in getRoleHolders()
999 List<String> packageNames = getRoleHolders(roleName); in assertIsRoleHolder()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsRoleManagerAdapter.java81 List<String> previousHolders = mRoleManager.getRoleHolders(roleName); in getRoleHolder()
DCallRedirectionServiceTest.java241 List<String> callRedirectionApps = mRoleManager.getRoleHolders(ROLE_CALL_REDIRECTION); in rememberPreviousCallRedirectionApp()
DSelfManagedConnectionTest.java346 String result = mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER).get(0); in getDefaultDialer()
DThirdPartyCallScreeningServiceTest.java548 List<String> callScreeningApps = mRoleManager.getRoleHolders(ROLE_CALL_SCREENING); in rememberPreviousCallScreeningApp()
/cts/tests/tests/activityrecognition/src/android/activityrecognition/cts/
DActivityRecognizerAttributionTags.kt47 oldActivityRecognizers = roleManager.getRoleHolders( in makeSelfActivityRecognizer()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVoiceInteractionRoleTest.java139 () -> sRoleManager.getRoleHolders(RoleManager.ROLE_ASSISTANT)); in getAssistRoleHolders()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceConnector.java345 (m) -> m.getRoleHolders(RoleManager.ROLE_SMS)); in getDefaultSmsApp()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java565 .getRoleHolders(RoleManager.ROLE_SMS) in getSmsApp()