HomeSort by relevance Sort by last modified time
    Searched refs:restrictionKey (Results 1 - 13 of 13) sorted by null

  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
SetPolicyActivity.java 74 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY);
75 dpm.addUserRestriction(BaseDeviceAdminTest.ADMIN_RECEIVER_COMPONENT, restrictionKey);
76 Log.i(TAG, "Added user restriction " + restrictionKey
79 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY);
81 BaseDeviceAdminTest.ADMIN_RECEIVER_COMPONENT, restrictionKey);
82 Log.i(TAG, "Cleared user restriction " + restrictionKey
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
SetPolicyActivity.java 72 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY);
73 dpm.addUserRestriction(BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT, restrictionKey);
74 Log.i(TAG, "Added user restriction " + restrictionKey
77 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY);
79 BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT, restrictionKey);
80 Log.i(TAG, "Cleared user restriction " + restrictionKey
  /frameworks/base/core/java/android/os/
IUserManager.aidl 61 int getUserRestrictionSource(String restrictionKey, int userHandle);
63 boolean hasBaseUserRestriction(String restrictionKey, int userHandle);
64 boolean hasUserRestriction(in String restrictionKey, int userHandle);
UserManager.java     [all...]
  /packages/apps/Settings/src/com/android/settings/
RestrictedSettingsFragment.java 87 * @param restrictionKey The restriction key to check before pin protecting
92 public RestrictedSettingsFragment(String restrictionKey) {
93 mRestrictionKey = restrictionKey;
196 protected boolean shouldBeProviderProtected(String restrictionKey) {
197 if (restrictionKey == null) {
200 boolean restricted = RESTRICT_IF_OVERRIDABLE.equals(restrictionKey)
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
CommandReceiverActivity.java 91 String restrictionKey = intent.getStringExtra(EXTRA_USER_RESTRICTION);
94 mDpm.addUserRestriction(mAdmin, restrictionKey);
96 mDpm.clearUserRestriction(mAdmin, restrictionKey);
  /frameworks/base/services/core/java/com/android/server/pm/
UserManagerService.java     [all...]
PackageManagerService.java     [all...]
  /packages/apps/Settings/src/com/android/settings/users/
AppRestrictionsFragment.java 528 final String restrictionKey = st.nextToken();
534 if (entry.getKey().equals(restrictionKey)) {
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
AppRestrictionsFragment.java 590 final String restrictionKey = st.nextToken();
596 if (entry.getKey().equals(restrictionKey)) {
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java 227 public boolean hasUserRestriction(String restrictionKey) {
232 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) {
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/24/
android.jar 

Completed in 430 milliseconds