Home
last modified time | relevance | path

Searched refs:restriction (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/content/
DRestrictionsManager.java560 RestrictionEntry restriction; in loadManifestRestrictions() local
566 restriction = loadRestrictionElement(appContext, xml); in loadManifestRestrictions()
567 if (restriction != null) { in loadManifestRestrictions()
568 restrictions.add(restriction); in loadManifestRestrictions()
617 RestrictionEntry restriction = new RestrictionEntry(restrictionType, key); in loadRestriction() local
618 restriction.setTitle(title); in loadRestriction()
619 restriction.setDescription(description); in loadRestriction()
621 restriction.setChoiceEntries(appContext, entries); in loadRestriction()
624 restriction.setChoiceValues(appContext, entryValues); in loadRestriction()
631 restriction.setSelectedString( in loadRestriction()
[all …]
DRestrictionEntry.java209 for (RestrictionEntry restriction : restrictionEntries) { in RestrictionEntry()
210 if (restriction.getType() != TYPE_BUNDLE) { in RestrictionEntry()
/frameworks/base/docs/html/training/enterprise/
Dapp-restrictions.jd70 enterprise administrator communicates restriction changes to the restrictions
128 one <code>&lt;restriction&gt;</code> child element for every configuration
147 <code>&lt;restriction&gt;</code> element like this:
154 &lt;restriction
170 You use each restriction's <code>android:key</code> attribute to read its
171 value from a restrictions bundle. For this reason, each restriction must have
196 Your app is not automatically notified when other apps change its restriction
203 To find out the current restriction settings, your app uses a {@link
213 <li>When the app is notified of a restriction change, as described in
267 containing a key-value pair for each restriction that has been set. The
[all …]
Dwork-policy-ctrl.jd280 App Restrictions</a>. The Work Policy Controller receives restriction changes
281 from the enterprise administrator, and forwards those restriction changes to the
284 <p>For example, a particular news app might have a restriction setting that
288 notifies the news app that the restriction setting has changed.</p>
291 Controller app changes the restriction settings for the other apps on the
305 restriction that can be configured, with the key
306 <code>"downloadByCellular"</code>. If this restriction is set to
335 the restriction. For example, in this case, the app would be responsible for
337 restriction does not cause the system to enforce this restriction on the app.
Dapp-compatibility.jd64 managed profile. This restriction can also result in there being no handler for
/frameworks/base/wifi/java/android/net/wifi/passpoint/
DWifiPasspointPolicy.java69 int restriction, boolean ishomesp) { in WifiPasspointPolicy() argument
79 mRestriction = restriction; in WifiPasspointPolicy()
/frameworks/compile/mclinker/
DLICENSE.TXT18 the Software without restriction, including without limitation the rights to
/frameworks/base/docs/html/about/versions/
Dandroid-4.3.jd239 restriction settings for the apps you develop. For example, by using the new APIs, you can
244 Settings application. To make your app's restriction settings appear to the user,
252 android.content.RestrictionEntry} for each restriction your app provides. Each {@link
253 android.content.RestrictionEntry} defines a restriction title, description, and one of the
257 <li>{@link android.content.RestrictionEntry#TYPE_BOOLEAN} for a restriction that is
259 <li>{@link android.content.RestrictionEntry#TYPE_CHOICE} for a restriction that has
261 <li>{@link android.content.RestrictionEntry#TYPE_MULTI_SELECT} for a restriction that
270 restriction with the unique key you provided for each {@link android.content.RestrictionEntry}
273 This returns a {@link android.os.Bundle} containing the key-value pairs for each restriction
278 restrictions and allow users to open that activity from the restriction settings. In your
[all …]
Dandroid-5.0-changes.jd339 <strong>uniqueness restriction on custom permissions</strong> for
/frameworks/base/docs/html/guide/topics/manifest/
Dgrant-uri-permission-element.jd21 normally have permission to access its data to overcome that restriction on
Dprovider-element.jd145 temporarily overcoming the restriction imposed by the
Dmanifest-intro.jd400 A <i>permission</i> is a restriction limiting access to a part of the code
/frameworks/base/docs/html/samples/new/
Dindex.jd66 restriction with a key "can_say_hello" that defines whether the only feature of this
68 AppRestrictionEnforcer sample to toggle the restriction.
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java980 String restriction = sSettingToUserRestrictionMap.get(setting); in isGlobalOrSecureSettingRestrictedForUser() local
981 if (restriction == null) { in isGlobalOrSecureSettingRestrictedForUser()
984 return mUserManager.hasUserRestriction(restriction, new UserHandle(userId)); in isGlobalOrSecureSettingRestrictedForUser()
/frameworks/compile/slang/
DNOTICE220 the Software without restriction, including without limitation the rights to
290 the Software without restriction, including without limitation the rights to
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java1751 String restriction = AppOpsManager.opToRestriction(i); in setUserRestrictions() local
1752 if (restriction != null) { in setUserRestrictions()
1753 opRestrictions[i] = restrictions.getBoolean(restriction, false); in setUserRestrictions()
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd160 executed when possible. This restriction allows the RenderScript system to function without constant
568 at the RenderScript runtime layer. This restriction is not applicable to user-defined structures
624 <p>Statically allocated memory comes with a one-way communication restriction
/frameworks/base/docs/html/ndk/guides/
Dapplication_mk.jd212 <p>This restriction only applies to executables. It has no effect when building shared or static
/frameworks/base/docs/html/distribute/essentials/quality/
Dauto.jd548 <strong>Important:</strong> Due to this restriction, you should not use your production APK
/frameworks/native/
DNOTICE300 "Software") to deal in the Data Files or Software without restriction,
/frameworks/base/
DNOTICE311 "Software") to deal in the Data Files or Software without restriction,
/frameworks/compile/libbcc/
DNOTICE220 the Software without restriction, including without limitation the rights to
/frameworks/av/
DNOTICE300 "Software") to deal in the Data Files or Software without restriction,
/frameworks/base/docs/html/design/wear/
Dwatchfaces.jd309 <p>Only single taps are available. This restriction is important for maintaining clear and
/frameworks/base/docs/html/tools/projects/
Dindex.jd501 <li> <p><strong>No restriction on library module names</strong></p>

12