Home
last modified time | relevance | path

Searched refs:restrictions (Results 1 – 7 of 7) sorted by relevance

/development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
DAppRestrictionSchemaFragment.java66 Bundle restrictions = restrictionsManager.getApplicationRestrictions(); in onResume() local
67 updateUI(restrictions); in onResume()
70 private void updateUI(Bundle restrictions) { in updateUI() argument
71 if (canSayHello(restrictions)) { in updateUI()
86 private boolean canSayHello(Bundle restrictions) { in canSayHello() argument
88 boolean canSayHello = restrictions == null ? defaultValue : in canSayHello()
89 restrictions.getBoolean("can_say_hello", defaultValue); in canSayHello()
/development/samples/browseable/AppRestrictionEnforcer/
D_index.jd7 This sample demonstrates how to set restrictions to other apps as a profile owner.
8 Use AppRestrictionSchema sample as a app with available restrictions.
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java187 List<RestrictionEntry> restrictions = in loadRestrictions() local
189 for (RestrictionEntry restriction : restrictions) { in loadRestrictions()
217 Bundle restrictions = new Bundle(); in allowSayHello() local
218 restrictions.putBoolean(RESTRICTION_KEY_SAY_HELLO, allow); in allowSayHello()
221 PACKAGE_NAME_APP_RESTRICTION_SCHEMA, restrictions); in allowSayHello() local
/development/samples/browseable/AppRestrictionSchema/
D_index.jd7 This sample shows how to use app restrictions. This application has one boolean
/development/samples/browseable/BasicManagedProfile/
D_index.jd8 enable or disable other apps and how to set restrictions to them. Intents can be
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dlicense-LGPL.txt35 To protect your rights, we need to make restrictions that forbid
37 rights. These restrictions translate to certain responsibilities for
328 restrictions of other proprietary libraries that do not normally
370 restrictions on the recipients' exercise of the rights granted herein.
/development/sdk/
Dsdk_files_NOTICE.txt561 To protect your rights, we need to make restrictions that forbid
563 rights. These restrictions translate to certain responsibilities for
854 restrictions of other proprietary libraries that do not normally
896 restrictions on the recipients' exercise of the rights granted herein.
1623 To protect your rights, we need to make restrictions that forbid
1625 These restrictions translate to certain responsibilities for you if you
1788 restrictions on the recipients' exercise of the rights granted herein.
2293 To protect your rights, we need to make restrictions that forbid
2295 These restrictions translate to certain responsibilities for you if
2569 restrictions of other proprietary libraries that do not normally
[all …]