Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/modules/permissions/src/main/kotlin/com/android/bedstead/permissions/annotations/
DEnsureDoesNotHavePermission.kt39 annotation class EnsureDoesNotHavePermission( class
61 fun ensureDoesNotHavePermission(value: Array<String>): EnsureDoesNotHavePermission { in ensureDoesNotHavePermission()
/cts/common/device-side/bedstead/modules/permissions/src/test/kotlin/com/android/bedstead/permissions/
DPermissionsAnnotationExecutorTest.kt31 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission in <lambda>()
64 @EnsureDoesNotHavePermission(TEST_PERMISSION_1) in <lambda>()
71 @EnsureDoesNotHavePermission(TEST_PERMISSION_1, TEST_PERMISSION_2) in <lambda>()
81 @EnsureDoesNotHavePermission(TEST_PERMISSION_2) in <lambda>()
DPermissionsTest.kt37 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission
264 @EnsureDoesNotHavePermission(permission.INTERACT_ACROSS_USERS_FULL)
359 @EnsureDoesNotHavePermission(INSTALL_PERMISSION)
/cts/tests/tests/persistentdataservice/src/android/service/persistentdata/
DPersistentDataBlockManagerTest.java27 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
55 @EnsureDoesNotHavePermission(android.Manifest.permission.ACCESS_PDB_STATE)
/cts/tests/tests/accounts/multiuser/src/test/android/accounts/cts/multiuser/
DAccountManagerTest.java32 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
51 @EnsureDoesNotHavePermission(
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DActivityTest.java34 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
124 @EnsureDoesNotHavePermission(
170 @EnsureDoesNotHavePermission(
DDevicePolicyManagerTest.java54 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
84 @EnsureDoesNotHavePermission(MANAGE_DEVICE_ADMINS)
145 @EnsureDoesNotHavePermission(MANAGE_PROFILE_AND_DEVICE_OWNERS)
320 @EnsureDoesNotHavePermission(MANAGE_PROFILE_AND_DEVICE_OWNERS)
330 @EnsureDoesNotHavePermission(MANAGE_PROFILE_AND_DEVICE_OWNERS)
DWipeDataTest.java42 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
75 @EnsureDoesNotHavePermission({MANAGE_DEVICE_POLICY_WIPE_DATA, MASTER_CLEAR})
DNearbyAppStreamingPolicyTest.java36 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
149 @EnsureDoesNotHavePermission({INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
DStartProfilesTest.java38 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
183 @EnsureDoesNotHavePermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
194 @EnsureDoesNotHavePermission({INTERACT_ACROSS_USERS_FULL, INTERACT_ACROSS_USERS, CREATE_USERS})
DLostModeLocationTest.java37 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
88 @EnsureDoesNotHavePermission(TRIGGER_LOST_MODE)
DNearbyNotificationStreamingPolicyTest.java52 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
149 @EnsureDoesNotHavePermission({INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
DCheckFinancedTest.java39 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
143 @EnsureDoesNotHavePermission(MANAGE_PROFILE_AND_DEVICE_OWNERS)
DLauncherAppsTest.java37 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
127 @EnsureDoesNotHavePermission(CHANGE_COMPONENT_ENABLED_STATE)
DDevicePolicyManagementRoleHolderTest.java58 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
281 @EnsureDoesNotHavePermission(MANAGE_ROLE_HOLDERS)
DApplicationExemptionsTest.java64 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
109 @EnsureDoesNotHavePermission(MANAGE_DEVICE_POLICY_APP_EXEMPTIONS)
186 @EnsureDoesNotHavePermission(MANAGE_DEVICE_POLICY_APP_EXEMPTIONS)
DProvisioningTest.kt34 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission in <lambda>()
631 @EnsureDoesNotHavePermission( in <lambda>()
678 @EnsureDoesNotHavePermission(CommonPermissions.MANAGE_PROFILE_AND_DEVICE_OWNERS) in <lambda>()
697 @EnsureDoesNotHavePermission(CommonPermissions.MANAGE_PROFILE_AND_DEVICE_OWNERS) in <lambda>()
719 @EnsureDoesNotHavePermission( in <lambda>()
811 @EnsureDoesNotHavePermission(CommonPermissions.MANAGE_PROFILE_AND_DEVICE_OWNERS) in <lambda>()
1043 @EnsureDoesNotHavePermission(CommonPermissions.MANAGE_PROFILE_AND_DEVICE_OWNERS) in <lambda>()
1237 @EnsureDoesNotHavePermission(CommonPermissions.MANAGE_PROFILE_AND_DEVICE_OWNERS) in <lambda>()
1266 @EnsureDoesNotHavePermission(CommonPermissions.MANAGE_PROFILE_AND_DEVICE_OWNERS) in <lambda>()
DDevicePolicyResourcesTest.java37 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
99 @EnsureDoesNotHavePermission(UPDATE_DEVICE_MANAGEMENT_RESOURCES)
293 @EnsureDoesNotHavePermission(UPDATE_DEVICE_MANAGEMENT_RESOURCES)
582 @EnsureDoesNotHavePermission(UPDATE_DEVICE_MANAGEMENT_RESOURCES)
675 @EnsureDoesNotHavePermission(UPDATE_DEVICE_MANAGEMENT_RESOURCES)
DSecurityLoggingTest.kt30 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission in <lambda>()
434 @EnsureDoesNotHavePermission(CommonPermissions.MANAGE_DEVICE_POLICY_AUDIT_LOGGING) in <lambda>()
DCrossProfileAppsTest.java61 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
433 @EnsureDoesNotHavePermission({
450 @EnsureDoesNotHavePermission({
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserVisibilityTest.java37 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
64 @EnsureDoesNotHavePermission(INTERACT_ACROSS_USERS)
128 @EnsureDoesNotHavePermission(INTERACT_ACROSS_USERS)
DUserManagerTest.java91 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
173 @EnsureDoesNotHavePermission({CREATE_USERS, QUERY_USERS, MANAGE_USERS})
246 @EnsureDoesNotHavePermission({MANAGE_USERS, INTERACT_ACROSS_USERS})
/cts/common/device-side/bedstead/modules/permissions/src/main/kotlin/com/android/bedstead/permissions/
DPermissionsAnnotationExecutor.kt30 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission
65 is EnsureDoesNotHavePermission -> { in applyAnnotation()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DCrossUserSuspendTest.java43 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission;
121 @EnsureDoesNotHavePermission(INTERACT_ACROSS_USERS_FULL)