OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:restrictionKey
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Settings/src/com/android/settings/
RestrictedSettingsFragment.java
78
* @param
restrictionKey
The restriction key to check before pin protecting
83
public RestrictedSettingsFragment(String
restrictionKey
) {
84
mRestrictionKey =
restrictionKey
;
227
protected boolean shouldBePinProtected(String
restrictionKey
) {
228
if (
restrictionKey
== null) {
231
boolean restricted = RESTRICTIONS_PIN_SET.equals(
restrictionKey
)
232
|| mUserManager.hasUserRestriction(
restrictionKey
);
/frameworks/base/core/java/android/os/
UserManager.java
347
* @param
restrictionKey
the string key representing the restriction
349
public boolean hasUserRestriction(String
restrictionKey
) {
350
return hasUserRestriction(
restrictionKey
, Process.myUserHandle());
357
* @param
restrictionKey
the string key representing the restriction
360
public boolean hasUserRestriction(String
restrictionKey
, UserHandle userHandle) {
361
return getUserRestrictions(userHandle).getBoolean(
restrictionKey
, false);
/frameworks/base/services/java/com/android/server/pm/
UserManagerService.java
[
all
...]
PackageManagerService.java
[
all
...]
/packages/apps/Settings/src/com/android/settings/users/
AppRestrictionsFragment.java
[
all
...]
Completed in 173 milliseconds