| /frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/scaffold/ |
| D | RestrictedMenuItemTest.kt | 51 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant 60 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant 70 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant 80 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant 91 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant 101 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant 112 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant 122 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
|
| /frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/preference/ |
| D | RestrictedSwitchPreferenceTest.kt | 58 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant 68 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant 78 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant 89 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant 100 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant 111 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant 122 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant 134 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
|
| /frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
| D | RestrictionsSetTest.java | 51 Bundle restrictions = newRestrictions(UserManager.ENSURE_VERIFY_APPS); in testUpdateRestrictions_addRestrictions() local 60 Bundle restrictions = newRestrictions(UserManager.ENSURE_VERIFY_APPS); in testUpdateRestrictions_removeRestrictions() local 70 Bundle restrictions = newRestrictions(UserManager.ENSURE_VERIFY_APPS); in testUpdateRestrictions_noChange() local
|
| /frameworks/base/services/core/java/com/android/server/pm/ |
| D | UserRestrictionsUtils.java | 372 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions() 373 writeRestrictions(XmlUtils.makeTyped(serializer), restrictions, tag); in writeRestrictions() local 377 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions() 398 public static void readRestrictions(XmlPullParser parser, Bundle restrictions) { in readRestrictions() 399 readRestrictions(XmlUtils.makeTyped(parser), restrictions); in readRestrictions() local 402 public static void readRestrictions(TypedXmlPullParser parser, Bundle restrictions) { in readRestrictions() 840 public static void dumpRestrictions(PrintWriter pw, String prefix, Bundle restrictions) { in dumpRestrictions() 877 String... restrictions) { in restrictionsChanged()
|
| D | RestrictionsSet.java | 63 public RestrictionsSet(@UserIdInt int userId, @NonNull Bundle restrictions) { in RestrictionsSet() 76 public boolean updateRestrictions(@UserIdInt int userId, @Nullable Bundle restrictions) { in updateRestrictions() 98 final Bundle restrictions = mUserRestrictions.valueAt(i); in removeRestrictionsForAllUsers() local 237 Bundle restrictions = UserRestrictionsUtils.readRestrictions(parser); in readRestrictions() local
|
| D | UserTypeFactory.java | 197 final Bundle restrictions = new Bundle(); in getDefaultTypeProfileTest() local 302 final Bundle restrictions = new Bundle(); in getDefaultSecondaryUserRestrictions() local 310 final Bundle restrictions = getDefaultSecondaryUserRestrictions(); in getDefaultGuestUserRestrictions() local 318 final Bundle restrictions = new Bundle(); in getDefaultManagedProfileRestrictions() local 439 final Bundle restrictions = UserRestrictionsUtils in customizeBuilders() local
|
| D | UserTypeDetails.java | 358 final Bundle restrictions = new Bundle(); in dump() local 479 public Builder setDefaultRestrictions(@Nullable Bundle restrictions) { in setDefaultRestrictions()
|
| D | UserManagerService.java | 2654 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions() 2753 Bundle restrictions = mCachedEffectiveUserRestrictions.getRestrictions(userId); in getEffectiveUserRestrictions() local 2781 Bundle restrictions = getEffectiveUserRestrictions(userId); in hasUserRestrictionOnAnyUser() local 4108 final Bundle restrictions = new Bundle(); in fallbackToSingleUserLP() local
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
| D | UserManagerServiceUserTypeTest.java | 77 final Bundle restrictions = makeRestrictionsBundle("r1", "r2"); in testUserTypeBuilder_createUserType() local 290 final Bundle restrictions = makeRestrictionsBundle("no_config_vpn", "no_config_tethering"); in testUserTypeFactoryCustomize_profile() local 399 final Bundle restrictions = makeRestrictionsBundle("no_config_vpn", "no_config_tethering"); in testUserTypeFactoryCustomize_full() local 535 public static Bundle makeRestrictionsBundle(String ... restrictions) { in makeRestrictionsBundle()
|
| D | UserManagerTest.java | 1071 Bundle restrictions = mUserManager.getUserRestrictions(UserHandle.of(userInfo.id)); in testAddRestrictedProfile() local 1250 Bundle restrictions = new Bundle(); in testSetDefaultGuestRestrictions() local
|
| /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
| D | BundlePolicySerializer.java | 83 private static void readBundle(Bundle restrictions, ArrayList<String> values, in readBundle() 136 private static void writeBundle(Bundle restrictions, TypedXmlSerializer serializer) in writeBundle()
|
| D | ActiveAdmin.java | 1163 Bundle addSyntheticRestrictions(Bundle restrictions) { in addSyntheticRestrictions() 1173 static Bundle removeDeprecatedRestrictions(Bundle restrictions) { in removeDeprecatedRestrictions() 1180 static Bundle filterRestrictions(Bundle restrictions, Predicate<String> filter) { in filterRestrictions()
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
| D | DpmTestUtils.java | 62 public static RestrictionsSet newRestrictions(int userId, String... restrictions) { in newRestrictions() 69 public static Bundle newRestrictions(String... restrictions) { in newRestrictions()
|
| /frameworks/base/cmds/incidentd/src/ |
| D | PrivacyFilter.cpp | 172 FieldStripper::FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data, in FieldStripper() 252 PrivacyFilter::PrivacyFilter(int sectionId, const Privacy* restrictions) in PrivacyFilter()
|
| /frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/ |
| D | TogglePermissionAppListPage.kt | 152 val restrictions = Restrictions( in transform() constant
|
| D | TogglePermissionAppInfoPage.kt | 148 val restrictions = Restrictions(userId, switchRestrictionKeys) in TogglePermissionAppInfoPage() constant
|
| /frameworks/base/core/java/android/content/ |
| D | RestrictionsManager.java | 625 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); in loadManifestRestrictions() local 783 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle() local
|
| D | RestrictionEntry.java | 371 public void setRestrictions(RestrictionEntry[] restrictions) { in setRestrictions()
|
| /frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
| D | InstallStart.java | 295 final String[] restrictions = new String[] { in checkDevicePolicyRestrictions() local
|
| /frameworks/base/services/core/java/com/android/server/appop/ |
| D | AudioRestrictionManager.java | 155 final SparseArray<Restriction> restrictions = mZenModeAudioRestrictions.valueAt(o); in dump() local
|
| /frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/enterprise/ |
| D | RestrictionsProvider.kt | 81 private val restrictions: Restrictions, in restrictedModeState() constant in com.android.settingslib.spaprivileged.model.enterprise.RestrictionsProviderImpl
|
| /frameworks/base/core/java/android/os/ |
| D | IUserManager.aidl | 98 void setApplicationRestrictions(in String packageName, in Bundle restrictions, int userId); in setApplicationRestrictions() 101 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions()
|
| D | UserManager.java | 3640 public void setUserRestrictions(Bundle restrictions) { in setUserRestrictions() 3650 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions() 5887 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions() 5914 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions()
|
| /frameworks/base/core/java/android/accounts/ |
| D | ChooseTypeAndAccountActivity.java | 152 Bundle restrictions = UserManager.get(this) in onCreate() local
|
| /frameworks/base/core/java/com/android/internal/app/ |
| D | IAppOpsService.aidl | 101 void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle); in setUserRestrictions()
|