Searched refs:RESTRICTION_SOURCE_DEVICE_OWNER (Results 1 – 6 of 6) sorted by relevance
95 public static final int RESTRICTION_SOURCE_DEVICE_OWNER = 0x2; field in UserManager107 RESTRICTION_SOURCE_DEVICE_OWNER, RESTRICTION_SOURCE_PROFILE_OWNER})
110 } else if (restrictionSource == UserManager.RESTRICTION_SOURCE_DEVICE_OWNER) { in checkIfRestrictionEnforced()
2100 .thenReturn(UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in testCreateAdminSupportIntent()2765 .thenReturn(UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedByDo()2833 .thenReturn(UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in testCheckProvisioningPreCondition_nonSplitUser_comp_cannot_remove_profile()3629 .thenReturn(UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in testWipeDataDeviceOwner()3721 .thenReturn(UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in testMaximumFailedPasswordAttemptsReachedDeviceOwner()
1370 int source = mDeviceOwnerUserId == userId ? UserManager.RESTRICTION_SOURCE_DEVICE_OWNER in getEnforcingUserLocked()
8205 case UserManager.RESTRICTION_SOURCE_DEVICE_OWNER: in isAdminAffectedByRestriction()9282 boolean enforcedByDo = (source & UserManager.RESTRICTION_SOURCE_DEVICE_OWNER) != 0; in createUserRestrictionSupportIntent()
34402 field public static final int RESTRICTION_SOURCE_DEVICE_OWNER = 2; // 0x2