Home
last modified time | relevance | path

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

/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/
DContextCrossProfileDeviceTest.java48 private static final String INTERACT_ACROSS_PROFILES_PERMISSION = field in ContextCrossProfileDeviceTest
142 appOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService()
147 uiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_PROFILES_PERMISSION); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService()
163 uiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_PROFILES_PERMISSION); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesPermission_throwsException()
184 appOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesAppOp_bindsService()
204 appOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesAppOp_throwsException()
250 uiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_PROFILES_PERMISSION); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException()
271 appOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException()
314 appOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testBindServiceAsUser_withInteractAcrossProfilePermission_noAsserts()
319 uiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_PROFILES_PERMISSION); in testBindServiceAsUser_withInteractAcrossProfilePermission_noAsserts()
[all …]
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/
DCrossProfileAppsPermissionToInteractTest.java51 public static final String INTERACT_ACROSS_PROFILES_PERMISSION = field in CrossProfileAppsPermissionToInteractTest
102 INTERACT_ACROSS_PROFILES_PERMISSION)) { in testCanInteractAcrossProfiles_withCrossProfilesPermission_returnsTrue()