Home
last modified time | relevance | path

Searched refs:userRestrictions (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java132 final Bundle userRestrictions = userManager != null in createForPhone() local
134 if (!userRestrictions.getBoolean(UserManager.DISALLOW_OUTGOING_CALLS, false)) { in createForPhone()
153 if (!userRestrictions.getBoolean(UserManager.DISALLOW_SMS, false)) { in createForPhone()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4619 boolean[] userRestrictions = perUserRestrictions.get(thisUserId); in setRestriction()
4620 if (userRestrictions == null && restricted) { in setRestriction()
4621 userRestrictions = new boolean[AppOpsManager._NUM_OP]; in setRestriction()
4622 perUserRestrictions.put(thisUserId, userRestrictions); in setRestriction()
4624 if (userRestrictions != null && userRestrictions[code] != restricted) { in setRestriction()
4625 userRestrictions[code] = restricted; in setRestriction()
4626 if (!restricted && isDefault(userRestrictions)) { in setRestriction()
4628 userRestrictions = null; in setRestriction()
4633 if (userRestrictions != null) { in setRestriction()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1060 Bundle userRestrictions; field in DevicePolicyManagerService.ActiveAdmin
1308 out, userRestrictions, TAG_USER_RESTRICTIONS); in writeToXml()
1508 userRestrictions = UserRestrictionsUtils.readRestrictions(parser); in readFromXml()
1656 return userRestrictions != null && userRestrictions.size() > 0; in hasUserRestrictions()
1660 if (userRestrictions == null) { in ensureUserRestrictions()
1661 userRestrictions = new Bundle(); in ensureUserRestrictions()
1663 return userRestrictions; in ensureUserRestrictions()
1767 UserRestrictionsUtils.dumpRestrictions(pw, prefix + " ", userRestrictions); in dump()
8051 admin.userRestrictions = null; in clearDeviceOwnerLocked()
8186 admin.userRestrictions = null; in clearProfileOwnerLocked()
[all …]