Home
last modified time | relevance | path

Searched refs:INTERACT_ACROSS_USERS (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DStartProfilesTest.java20 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
77 @EnsureHasPermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
88 @EnsureHasPermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
107 @EnsureHasPermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
117 @EnsureHasPermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
134 @EnsureHasPermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
159 @EnsureHasPermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
174 @EnsureDoesNotHavePermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
185 @EnsureDoesNotHavePermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
196 @EnsureHasPermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
[all …]
DActivityTest.java19 import static com.android.bedstead.nene.permissions.CommonPermissions.INTERACT_ACROSS_USERS;
67 @PermissionTest({INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
125 {INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
146 @PermissionTest({INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
171 {INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
DNearbyAppStreamingPolicyTest.java22 import static com.android.bedstead.nene.permissions.CommonPermissions.INTERACT_ACROSS_USERS;
115 @EnsureDoesNotHavePermission({INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
DNearbyNotificationStreamingPolicyTest.java22 import static com.android.bedstead.nene.permissions.CommonPermissions.INTERACT_ACROSS_USERS;
117 @EnsureDoesNotHavePermission({INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
DCrossProfileAppsTest.java27 import static com.android.bedstead.nene.permissions.CommonPermissions.INTERACT_ACROSS_USERS;
316 INTERACT_ACROSS_PROFILES, INTERACT_ACROSS_USERS,
333 INTERACT_ACROSS_PROFILES, INTERACT_ACROSS_USERS,
346 INTERACT_ACROSS_PROFILES, INTERACT_ACROSS_USERS,
383 INTERACT_ACROSS_PROFILES, INTERACT_ACROSS_USERS,
867 INTERACT_ACROSS_PROFILES, INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
DPermissionGrantTest.java25 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
89 private static final String DEVELOPMENT_PERMISSION = INTERACT_ACROSS_USERS;
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/
DBedsteadJUnit4Test.java22 import static com.android.bedstead.nene.permissions.CommonPermissions.INTERACT_ACROSS_USERS;
125 @PermissionTest({INTERACT_ACROSS_PROFILES, INTERACT_ACROSS_USERS})
131 assertThat(TestApis.permissions().hasPermission(INTERACT_ACROSS_USERS)).isFalse(); in permissionTestAnnotation_generatesRunsWithOnePermissionOrOther()
133 assertThat(TestApis.permissions().hasPermission(INTERACT_ACROSS_USERS)).isTrue(); in permissionTestAnnotation_generatesRunsWithOnePermissionOrOther()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserReference.java20 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
301 try (PermissionContext p = TestApis.permissions().withPermission(INTERACT_ACROSS_USERS)) { in isRunning()
315 try (PermissionContext p = TestApis.permissions().withPermission(INTERACT_ACROSS_USERS)) { in isUnlocked()
367 TestApis.permissions().withPermission(INTERACT_ACROSS_USERS)) { in parent()
DUsers.java20 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
478 .withPermission(INTERACT_ACROSS_USERS)) {
/cts/tests/tests/security/src/android/security/cts/
DCVE_2023_20959.java52 android.Manifest.permission.INTERACT_ACROSS_USERS); in testPocCVE_2023_20959()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0965/src/android/security/cts/CVE_2021_0965/
DDeviceTest.java59 ui.adoptShellPermissionIdentity(android.Manifest.permission.INTERACT_ACROSS_USERS); in getSettingsPkgName()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DTestAppSystemServiceFactory.java18 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
283 if (context.checkSelfPermission(INTERACT_ACROSS_USERS) in getSystemService()
286 + INTERACT_ACROSS_USERS + " - did you add it to the manifest and called " in getSystemService()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserManagerTest.java20 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
380 @EnsureHasPermission(INTERACT_ACROSS_USERS)
394 @EnsureHasPermission(INTERACT_ACROSS_USERS)
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandMultiUserTest.kt36 import com.android.bedstead.nene.permissions.CommonPermissions.INTERACT_ACROSS_USERS
241 Manifest.permission.INTERACT_ACROSS_USERS, in testPackageFullyRemovedBroadcastAfterUninstall()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20501/src/android/security/cts/CVE_2022_20501/
DDeviceTest.java62 ui.adoptShellPermissionIdentity(android.Manifest.permission.INTERACT_ACROSS_USERS); in getTelecomPkgName()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.java20 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
177 INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS)) { in setDeviceOwner() argument
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20913/src/android/security/cts/CVE_2023_20913/
DDeviceTest.java59 ui.adoptShellPermissionIdentity(android.Manifest.permission.INTERACT_ACROSS_USERS); in getTelephonyPackageName()
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerFilesUtils.java120 android.Manifest.permission.INTERACT_ACROSS_USERS, in stageMedia()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackages.java21 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
380 INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, INSTALL_TEST_ONLY_PACKAGE)) { in install() argument
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java1100 android.Manifest.permission.INTERACT_ACROSS_USERS, in testSecondaryUser()
1197 android.Manifest.permission.INTERACT_ACROSS_USERS); in testSecondaryUser()
1209 android.Manifest.permission.INTERACT_ACROSS_USERS, in testSecondaryUser()
1227 android.Manifest.permission.INTERACT_ACROSS_USERS); in testSecondaryUser()
1261 android.Manifest.permission.INTERACT_ACROSS_USERS); in testSecondaryUser()
1269 android.Manifest.permission.INTERACT_ACROSS_USERS); in testSecondaryUser()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DKeyboardLayoutChangeTest.java189 }, Manifest.permission.INTERACT_ACROSS_USERS); in getKeyboardLayoutId()
/cts/tests/app/src/android/app/cts/
DUiModeManagerTest.java627 Manifest.permission.INTERACT_ACROSS_USERS); in requestAutomotiveProjection()
634 Manifest.permission.INTERACT_ACROSS_USERS); in releaseAutomotiveProjection()
/cts/tools/release-parser/tests/resources/
Dplatform.xml.pb.txt370 name: "android.permission.INTERACT_ACROSS_USERS"
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCallLogTest.java359 .adoptShellPermissionIdentity(Manifest.permission.INTERACT_ACROSS_USERS, in testLocationStorageAndRetrieval()
/cts/common/device-side/bedstead/nene/common/src/main/java/com/android/bedstead/nene/permissions/
DCommonPermissions.java619 public static final String INTERACT_ACROSS_USERS = "android.permission.INTERACT_ACROSS_USERS"; field in CommonPermissions

12