Home
last modified time | relevance | path

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

/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/
DContextCrossProfileDeviceTest.java46 private static final String INTERACT_ACROSS_USERS_PERMISSION = field in ContextCrossProfileDeviceTest
90 uiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_USERS_PERMISSION); in testBindServiceAsUser_differentUser_bindsServiceToCorrectUser()
110 uiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_USERS_PERMISSION); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossUsersPermission_bindsService()
126 uiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_USERS_PERMISSION); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossUsersPermission_bindsService()
229 uiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_USERS_PERMISSION); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossUsersPermission_throwsException()
336 INTERACT_ACROSS_USERS_FULL_PERMISSION, INTERACT_ACROSS_USERS_PERMISSION); in testBindServiceAsUser_withInteractAcrossUsersFullPermission_noAsserts()
369 uiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_USERS_PERMISSION); in testCreateContextAsUser_sameProfileGroup_withInteractAcrossUsersPermission_createsContext()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileTest.java48 private static final String INTERACT_ACROSS_USERS_PERMISSION = field in CrossProfileTest
267 sUiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_USERS_PERMISSION); in isPackageInstalledForUser()
283 INTERACT_ACROSS_USERS_PERMISSION); in explicitlySetInteractAcrossProfilesAppOp()
314 INTERACT_ACROSS_USERS_PERMISSION); in getCrossProfileAppOp()
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/
DCrossProfileAppsPermissionToInteractTest.java53 public static final String INTERACT_ACROSS_USERS_PERMISSION = field in CrossProfileAppsPermissionToInteractTest
115 INTERACT_ACROSS_USERS_PERMISSION)) { in testCanInteractAcrossProfiles_withCrossUsersPermission_returnsTrue()
219 MANAGE_APP_OPS_MODES_PERMISSION, INTERACT_ACROSS_USERS_PERMISSION)) { in setAppOpOnAllProfiles() argument