Searched refs:getDefaultRestrictions (Results 1 – 4 of 4) sorted by relevance
137 assertTrue(UserRestrictionsUtils.areEqual(restrictions, type.getDefaultRestrictions())); in testUserTypeBuilder_createUserType()138 assertNotSame(restrictions, type.getDefaultRestrictions()); in testUserTypeBuilder_createUserType()221 assertTrue(type.getDefaultRestrictions().isEmpty()); in testUserTypeBuilder_defaults()367 assertTrue(UserRestrictionsUtils.areEqual(restrictions, aospType.getDefaultRestrictions())); in testUserTypeFactoryCustomize_profile()424 aospType.getDefaultRestrictions())); in testUserTypeFactoryCustomize_profile()483 details.getDefaultRestrictions())); in testUserTypeFactoryCustomize_full()510 assertTrue(typeDetails.getDefaultRestrictions().isEmpty()); in testUserTypeFactoryCustomize_eraseArray()
1475 final Bundle expectedRestrictions = userTypeDetails.getDefaultRestrictions(); in testDefaultRestrictionsApplied()
351 @NonNull Bundle getDefaultRestrictions() { in getDefaultRestrictions() method in UserTypeDetails
4656 if (!BundleUtils.isEmpty(newUserType.getDefaultRestrictions())) { in upgradeProfileToTypeLU()4660 newUserType.getDefaultRestrictions()); in upgradeProfileToTypeLU()