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/ |
D | EnsureDoesNotHavePermission.kt | 39 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/ |
D | PermissionsAnnotationExecutorTest.kt | 31 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>()
|
D | PermissionsTest.kt | 37 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/ |
D | PersistentDataBlockManagerTest.java | 27 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/ |
D | AccountManagerTest.java | 32 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 51 @EnsureDoesNotHavePermission(
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | ActivityTest.java | 34 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 124 @EnsureDoesNotHavePermission( 170 @EnsureDoesNotHavePermission(
|
D | DevicePolicyManagerTest.java | 54 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)
|
D | WipeDataTest.java | 42 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 75 @EnsureDoesNotHavePermission({MANAGE_DEVICE_POLICY_WIPE_DATA, MASTER_CLEAR})
|
D | NearbyAppStreamingPolicyTest.java | 36 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 149 @EnsureDoesNotHavePermission({INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
|
D | StartProfilesTest.java | 38 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})
|
D | LostModeLocationTest.java | 37 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 88 @EnsureDoesNotHavePermission(TRIGGER_LOST_MODE)
|
D | NearbyNotificationStreamingPolicyTest.java | 52 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 149 @EnsureDoesNotHavePermission({INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
|
D | CheckFinancedTest.java | 39 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 143 @EnsureDoesNotHavePermission(MANAGE_PROFILE_AND_DEVICE_OWNERS)
|
D | LauncherAppsTest.java | 37 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 127 @EnsureDoesNotHavePermission(CHANGE_COMPONENT_ENABLED_STATE)
|
D | DevicePolicyManagementRoleHolderTest.java | 58 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 281 @EnsureDoesNotHavePermission(MANAGE_ROLE_HOLDERS)
|
D | ApplicationExemptionsTest.java | 64 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 109 @EnsureDoesNotHavePermission(MANAGE_DEVICE_POLICY_APP_EXEMPTIONS) 186 @EnsureDoesNotHavePermission(MANAGE_DEVICE_POLICY_APP_EXEMPTIONS)
|
D | ProvisioningTest.kt | 34 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>()
|
D | DevicePolicyResourcesTest.java | 37 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)
|
D | SecurityLoggingTest.kt | 30 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission in <lambda>() 434 @EnsureDoesNotHavePermission(CommonPermissions.MANAGE_DEVICE_POLICY_AUDIT_LOGGING) in <lambda>()
|
D | CrossProfileAppsTest.java | 61 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 433 @EnsureDoesNotHavePermission({ 450 @EnsureDoesNotHavePermission({
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | UserVisibilityTest.java | 37 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 64 @EnsureDoesNotHavePermission(INTERACT_ACROSS_USERS) 128 @EnsureDoesNotHavePermission(INTERACT_ACROSS_USERS)
|
D | UserManagerTest.java | 91 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/ |
D | PermissionsAnnotationExecutor.kt | 30 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission 65 is EnsureDoesNotHavePermission -> { in applyAnnotation()
|
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | CrossUserSuspendTest.java | 43 import com.android.bedstead.permissions.annotations.EnsureDoesNotHavePermission; 121 @EnsureDoesNotHavePermission(INTERACT_ACROSS_USERS_FULL)
|