Searched refs:RESTRICTION_SOURCE_DEVICE_OWNER (Results 1 – 8 of 8) sorted by relevance
136 UserManager.RESTRICTION_SOURCE_DEVICE_OWNER)); in setupIsTetherAvailable()
92 UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in checkIfRestrictionEnforced_deviceOwner()
98 public static final int RESTRICTION_SOURCE_DEVICE_OWNER = 0x2; field in UserManager112 RESTRICTION_SOURCE_DEVICE_OWNER,
119 } else if (restrictionSource == UserManager.RESTRICTION_SOURCE_DEVICE_OWNER) { in checkIfRestrictionEnforced()
2257 UserHandle.myUserId(), UserManager.RESTRICTION_SOURCE_DEVICE_OWNER)) in testCreateAdminSupportIntent()2965 .thenReturn(UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedByDo()3033 .thenReturn(UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in testCheckProvisioningPreCondition_nonSplitUser_comp_cannot_remove_profile()3971 .thenReturn(UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in testWipeDataDeviceOwner()3986 .thenReturn(UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in testWipeEuiccDataEnabled()4080 .thenReturn(UserManager.RESTRICTION_SOURCE_DEVICE_OWNER); in testMaximumFailedPasswordAttemptsReachedDeviceOwner()
1638 int source = mDeviceOwnerUserId == userId ? UserManager.RESTRICTION_SOURCE_DEVICE_OWNER in getEnforcingUserLocked()
9796 case UserManager.RESTRICTION_SOURCE_DEVICE_OWNER: in isAdminAffectedByRestriction()11322 } else if (sourceType == UserManager.RESTRICTION_SOURCE_DEVICE_OWNER) { in createUserRestrictionSupportIntent()
5559 field public static final int RESTRICTION_SOURCE_DEVICE_OWNER = 2; // 0x25576 …serManager.RESTRICTION_SOURCE_SYSTEM, android.os.UserManager.RESTRICTION_SOURCE_DEVICE_OWNER, andr…