Searched refs:INTERACT_ACROSS_PROFILES_PERMISSION (Results 1 – 2 of 2) sorted by relevance
48 private static final String INTERACT_ACROSS_PROFILES_PERMISSION = field in ContextCrossProfileDeviceTest142 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 …]
51 public static final String INTERACT_ACROSS_PROFILES_PERMISSION = field in CrossProfileAppsPermissionToInteractTest102 INTERACT_ACROSS_PROFILES_PERMISSION)) { in testCanInteractAcrossProfiles_withCrossProfilesPermission_returnsTrue()