Searched refs:restrictions (Results 1 – 6 of 6) sorted by relevance
102 Bundle restrictions = manager.getApplicationRestrictions(); in resolveRestrictions() local109 updateCanSayHello(entry, restrictions); in resolveRestrictions()111 updateMessage(entry, restrictions); in resolveRestrictions()113 updateNumber(entry, restrictions); in resolveRestrictions()115 updateRank(entry, restrictions); in resolveRestrictions()117 updateApprovals(entry, restrictions); in resolveRestrictions()119 updateItems(restrictions); in resolveRestrictions()124 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { in updateCanSayHello() argument126 if (restrictions == null || !restrictions.containsKey(KEY_CAN_SAY_HELLO)) { in updateCanSayHello()129 canSayHello = restrictions.getBoolean(KEY_CAN_SAY_HELLO); in updateCanSayHello()[all …]
8 This sample demonstrates how to set restrictions to other apps as a profile owner.9 Use the AppRestrictionSchema sample to set restrictions.
8 This sample shows how to use app restrictions. This application has one boolean
9 enable or disable other apps and how to set restrictions to them. Intents can be
243 List<RestrictionEntry> restrictions = in loadRestrictions() local246 for (RestrictionEntry restriction : restrictions) { in loadRestrictions()
561 To protect your rights, we need to make restrictions that forbid563 rights. These restrictions translate to certain responsibilities for854 restrictions of other proprietary libraries that do not normally896 restrictions on the recipients' exercise of the rights granted herein.1623 To protect your rights, we need to make restrictions that forbid1625 These restrictions translate to certain responsibilities for you if you1788 restrictions on the recipients' exercise of the rights granted herein.2293 To protect your rights, we need to make restrictions that forbid2295 These restrictions translate to certain responsibilities for you if2569 restrictions of other proprietary libraries that do not normally[all …]