Home
last modified time | relevance | path

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

/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleManagerTest.java146 private static final RoleManager sRoleManager = sContext.getSystemService(RoleManager.class); field in RoleManagerTest
233 Intent intent = sRoleManager.createRequestRoleIntent(ROLE_NAME); in requestRoleIntentHasPermissionControllerPackage()
241 Intent intent = sRoleManager.createRequestRoleIntent(ROLE_NAME); in requestRoleIntentHasExtraRoleName()
270 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_SMS)); in requestRoleThenBlockRequestRoleDialogByRestrictedSettingDialog()
508 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_DIALER)); in targetCurrentSdkAndChangeDefaultDialerThenDeniedAutomatically()
522 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_SMS)); in targetCurrentSdkAndChangeDefaultSmsThenDeniedAutomatically()
537 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_DIALER)); in targetSdk28AndChangeDefaultDialerAndAllowThenIsDefaultDialer()
558 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_SMS)); in targetSdk28AndChangeDefaultSmsAndAllowThenIsDefaultSms()
576 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_DIALER)); in targetSdk28AndChangeDefaultDialerForAnotherAppThenDeniedAutomatically()
592 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_SMS)); in targetSdk28AndChangeDefaultSmsForAnotherAppThenDeniedAutomatically()
[all …]