Searched refs:restrictions (Results 1 – 7 of 7) sorted by relevance
66 Bundle restrictions = restrictionsManager.getApplicationRestrictions(); in onResume() local67 updateUI(restrictions); in onResume()70 private void updateUI(Bundle restrictions) { in updateUI() argument71 if (canSayHello(restrictions)) { in updateUI()86 private boolean canSayHello(Bundle restrictions) { in canSayHello() argument88 boolean canSayHello = restrictions == null ? defaultValue : in canSayHello()89 restrictions.getBoolean("can_say_hello", defaultValue); in canSayHello()
7 This sample demonstrates how to set restrictions to other apps as a profile owner.8 Use AppRestrictionSchema sample as a app with available restrictions.
187 List<RestrictionEntry> restrictions = in loadRestrictions() local189 for (RestrictionEntry restriction : restrictions) { in loadRestrictions()217 Bundle restrictions = new Bundle(); in allowSayHello() local218 restrictions.putBoolean(RESTRICTION_KEY_SAY_HELLO, allow); in allowSayHello()221 PACKAGE_NAME_APP_RESTRICTION_SCHEMA, restrictions); in allowSayHello() local
7 This sample shows how to use app restrictions. This application has one boolean
8 enable or disable other apps and how to set restrictions to them. Intents can be
35 To protect your rights, we need to make restrictions that forbid37 rights. These restrictions translate to certain responsibilities for328 restrictions of other proprietary libraries that do not normally370 restrictions on the recipients' exercise of the rights granted herein.
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 …]