OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:userRestriction
(Results
1 - 14
of
14
) sorted by null
/packages/apps/Settings/src/com/android/settings/accounts/
AccountRestrictionHelper.java
36
* @param
userRestriction
The user restriction related to the preference.
40
String
userRestriction
, @UserIdInt int userId) {
44
if (hasBaseUserRestriction(
userRestriction
, userId)) {
47
preference.checkRestrictionAndSetDisabled(
userRestriction
, userId);
51
public boolean hasBaseUserRestriction(String
userRestriction
, @UserIdInt int userId) {
52
return RestrictedLockUtils.hasBaseUserRestriction(mContext,
userRestriction
, userId);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedPreferenceHelper.java
54
final TypedValue
userRestriction
=
57
if (
userRestriction
!= null &&
userRestriction
.type == TypedValue.TYPE_STRING) {
58
if (
userRestriction
.resourceId != 0) {
59
data = context.getText(
userRestriction
.resourceId);
61
data =
userRestriction
.string;
133
* @param
userRestriction
constant from {@link android.os.UserManager}
136
public void checkRestrictionAndSetDisabled(String
userRestriction
, int userId) {
138
userRestriction
, userId);
RestrictedPreference.java
93
public void checkRestrictionAndSetDisabled(String
userRestriction
) {
94
mHelper.checkRestrictionAndSetDisabled(
userRestriction
, UserHandle.myUserId());
97
public void checkRestrictionAndSetDisabled(String
userRestriction
, int userId) {
98
mHelper.checkRestrictionAndSetDisabled(
userRestriction
, userId);
RestrictedSwitchPreference.java
147
public void checkRestrictionAndSetDisabled(String
userRestriction
) {
148
mHelper.checkRestrictionAndSetDisabled(
userRestriction
, UserHandle.myUserId());
151
public void checkRestrictionAndSetDisabled(String
userRestriction
, int userId) {
152
mHelper.checkRestrictionAndSetDisabled(
userRestriction
, userId);
RestrictedLockUtils.java
69
* @param
userRestriction
Restriction to check
77
String
userRestriction
, int userId) {
86
um.getUserRestrictionSources(
userRestriction
, UserHandle.of(userId));
122
String
userRestriction
, int userId) {
124
return um.hasBaseUserRestriction(
userRestriction
, UserHandle.of(userId));
[
all
...]
/frameworks/base/core/java/android/app/admin/
DevicePolicyManagerInternal.java
103
public abstract Intent createUserRestrictionSupportIntent(int userId, String
userRestriction
);
/packages/services/Telephony/src/com/android/phone/
RestrictedSwitchPreference.java
69
public void checkRestrictionAndSetDisabled(String
userRestriction
) {
72
boolean disabledByAdmin = um.hasUserRestriction(
userRestriction
, user)
73
&& !um.hasBaseUserRestriction(
userRestriction
, user);
/packages/apps/Settings/src/com/android/settings/development/
VerifyAppsOverUsbPreferenceController.java
53
Context context, String
userRestriction
, int userId) {
54
return RestrictedLockUtils.checkIfRestrictionEnforced(context,
userRestriction
, userId);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
PolicyTransparencyTestActivity.java
170
final String
userRestriction
= getIntent().getStringExtra(
172
userAction = UserRestrictions.getUserAction(this,
userRestriction
);
240
final String
userRestriction
= getIntent().getStringExtra(
244
intent.putExtra(CommandReceiverActivity.EXTRA_USER_RESTRICTION,
userRestriction
);
CommandReceiverActivity.java
549
for (String
userRestriction
: UserRestrictions.getUserRestrictionsForPolicyTransparency(
551
mDpm.clearUserRestriction(mAdmin,
userRestriction
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
QSTileImpl.java
324
protected void checkIfRestrictionEnforcedByAdminOnly(State state, String
userRestriction
) {
326
userRestriction
, ActivityManager.getCurrentUser());
328
userRestriction
, ActivityManager.getCurrentUser())) {
/frameworks/base/services/core/java/com/android/server/
PersistentDataBlockService.java
185
private void enforceUserRestriction(String
userRestriction
) {
186
if (UserManager.get(mContext).hasUserRestriction(
userRestriction
)) {
188
"OEM unlock is disallowed by user restriction: " +
userRestriction
);
/frameworks/base/services/core/java/com/android/server/pm/
UserManagerService.java
[
all
...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DevicePolicyManagerService.java
[
all
...]
Completed in 2193 milliseconds