/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/ |
D | AssociationRevokedTest.kt | 78 assertContains(getRoleHolders(DEVICE_PROFILE_WATCH), in <lambda>() 86 assertContains(getRoleHolders(DEVICE_PROFILE_WATCH), in <lambda>() 116 assertContains(getRoleHolders(DEVICE_PROFILE_WATCH), in <lambda>() 124 assertContains(getRoleHolders(DEVICE_PROFILE_WATCH), in <lambda>() 132 getRoleHolders(DEVICE_PROFILE_WATCH).contains(packageName) in <lambda>()
|
D | AssociationRevokedTestBase.kt | 72 protected fun getRoleHolders(profile: String): List<String> { in getRoleHolders() method 74 roleManager.getRoleHolders(profile) in getRoleHolders()
|
D | UiAutomationTestBase.kt | 364 roleManager.getRoleHolders(roleName) in <lambda>()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | RolePermissionOverrideTest.kt | 106 private fun getRoleHolders(roleName: String): List<String> = in getRoleHolders() method 107 callWithShellPermissionIdentity { roleManager.getRoleHolders(roleName) } in getRoleHolders() 109 private fun getRoleHolder(roleName: String): String? = getRoleHolders(roleName).firstOrNull() in getRoleHolder()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/roles/ |
D | Roles.java | 75 public Set<String> getRoleHolders(String role) { in getRoleHolders() method in Roles 78 return new HashSet<>(sContext.getSystemService(RoleManager.class).getRoleHolders(role)); in getRoleHolders()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PermissionUtils.java | 212 public static List<String> getRoleHolders(String roleName) throws Exception { in getRoleHolders() method in PermissionUtils 214 .getSystemService(RoleManager.class).getRoleHolders(roleName), in getRoleHolders() 227 List<String> packageNames = getRoleHolders(roleName); in getRoleHolder()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PackageDeviceInfo.java | 403 List<String> packageNames = getRoleHolders(roleName, roleManager); in getPackageRolesData() 413 …public static List<String> getRoleHolders(String roleName, RoleManager roleManager) throws Excepti… in getRoleHolders() method in PackageDeviceInfo 415 () -> roleManager.getRoleHolders(roleName), in getRoleHolders()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CtsRoleManagerAdapter.java | 98 List<String> previousHolders = mRoleManager.getRoleHolders(roleName); in getRoleHolder()
|
D | CallRedirectionServiceTest.java | 307 List<String> callRedirectionApps = mRoleManager.getRoleHolders(ROLE_CALL_REDIRECTION); in rememberPreviousCallRedirectionApp()
|
D | ThirdPartyCallScreeningServiceTest.java | 571 List<String> callScreeningApps = mRoleManager.getRoleHolders(ROLE_CALL_SCREENING); in rememberPreviousCallScreeningApp()
|
D | SelfManagedConnectionTest.java | 697 String result = mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER).get(0); in getDefaultDialer()
|
/cts/tests/tests/activityrecognition/src/android/activityrecognition/cts/ |
D | ActivityRecognizerAttributionTags.kt | 47 oldActivityRecognizers = roleManager.getRoleHolders( in makeSelfActivityRecognizer()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/ |
D | DefaultSmsAppHelper.java | 123 (m) -> m.getRoleHolders(RoleManager.ROLE_SMS)); in getDefaultSmsApp()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionRoleTest.java | 140 () -> sRoleManager.getRoleHolders(RoleManager.ROLE_ASSISTANT)); in getAssistRoleHolders()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CheckFinancedTest.java | 172 List<String> roleHolders = sRoleManager.getRoleHolders(ROLE_FINANCED_DEVICE_KIOSK); in clearFinancedDeviceKioskRole()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsServiceConnector.java | 382 (m) -> m.getRoleHolders(RoleManager.ROLE_SMS)); in getDefaultSmsApp()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | Package.java | 1224 return TestApis.roles().getRoleHolders(role).contains(this.mPackageName); in isRoleHolder()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsManagerTest.java | 620 .getRoleHolders(RoleManager.ROLE_SMS) in getSmsApp()
|
D | TelephonyManagerTest.java | 7327 (rm) -> rm.getRoleHolders(RoleManager.ROLE_EMERGENCY)); in testGetEmergencyAssistancePackageName()
|
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/ |
D | DeviceStateTest.java | 1044 assertThat(TestApis.roles().getRoleHolders(RoleManager.ROLE_BROWSER)).isNotEmpty(); in requireHasDefaultBrowser_onDifferentUser_defaultContentSuggestionsServiceIsEnabled()
|