OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:userRestriction
(Results
1 - 9
of
9
) sorted by null
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedPreferenceHelper.java
53
final TypedValue
userRestriction
=
56
if (
userRestriction
!= null &&
userRestriction
.type == TypedValue.TYPE_STRING) {
57
if (
userRestriction
.resourceId != 0) {
58
data = context.getText(
userRestriction
.resourceId);
60
data =
userRestriction
.string;
130
* @param
userRestriction
constant from {@link android.os.UserManager}
133
public void checkRestrictionAndSetDisabled(String
userRestriction
, int userId) {
135
userRestriction
, userId);
RestrictedPreference.java
85
public void checkRestrictionAndSetDisabled(String
userRestriction
) {
86
mHelper.checkRestrictionAndSetDisabled(
userRestriction
, UserHandle.myUserId());
89
public void checkRestrictionAndSetDisabled(String
userRestriction
, int userId) {
90
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
62
* @param
userRestriction
Restriction to check
70
String
userRestriction
, int userId) {
77
int restrictionSource = um.getUserRestrictionSource(
userRestriction
,
104
String
userRestriction
, int userId) {
106
return um.hasBaseUserRestriction(
userRestriction
, UserHandle.of(userId));
[
all
...]
/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);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
PolicyTransparencyTestActivity.java
164
final String
userRestriction
= getIntent().getStringExtra(
166
userAction = UserRestrictions.getUserAction(this,
userRestriction
);
234
final String
userRestriction
= getIntent().getStringExtra(
238
intent.putExtra(CommandReceiverActivity.EXTRA_USER_RESTRICTION,
userRestriction
);
/frameworks/base/services/core/java/com/android/server/
PersistentDataBlockService.java
160
private void enforceUserRestriction(String
userRestriction
) {
161
if (UserManager.get(mContext).hasUserRestriction(
userRestriction
)) {
163
"OEM unlock is disallowed by user restriction: " +
userRestriction
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSTile.java
319
protected void checkIfRestrictionEnforcedByAdminOnly(State state, String
userRestriction
) {
321
userRestriction
, ActivityManager.getCurrentUser());
323
userRestriction
, ActivityManager.getCurrentUser())) {
/frameworks/base/services/core/java/com/android/server/pm/
UserManagerService.java
[
all
...]
Completed in 762 milliseconds