Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java230 public static boolean isValidRestriction(@NonNull String restriction) { in isValidRestriction() argument
231 if (!USER_RESTRICTIONS.contains(restriction)) { in isValidRestriction()
251 msg.append(restriction); in isValidRestriction()
252 if (restriction != null && isSystemApp(uid, pkgs)) { in isValidRestriction()
341 public static boolean contains(@Nullable Bundle in, String restriction) { in contains() argument
342 return in != null && in.getBoolean(restriction); in contains()
388 public static boolean canDeviceOwnerChange(String restriction) { in canDeviceOwnerChange() argument
389 return !IMMUTABLE_BY_OWNERS.contains(restriction); in canDeviceOwnerChange()
396 public static boolean canProfileOwnerChange(String restriction, int userId) { in canProfileOwnerChange() argument
397 return !IMMUTABLE_BY_OWNERS.contains(restriction) in canProfileOwnerChange()
[all …]
DPackageManagerServiceUtils.java377 public static void enforceShellRestriction(String restriction, int callingUid, int userHandle) { in enforceShellRestriction() argument
381 restriction, userHandle)) { in enforceShellRestriction()
/frameworks/base/core/java/android/content/
DRestrictionsManager.java565 RestrictionEntry restriction; in loadManifestRestrictions() local
571 restriction = loadRestrictionElement(appContext, xml); in loadManifestRestrictions()
572 if (restriction != null) { in loadManifestRestrictions()
573 restrictions.add(restriction); in loadManifestRestrictions()
622 RestrictionEntry restriction = new RestrictionEntry(restrictionType, key); in loadRestriction() local
623 restriction.setTitle(title); in loadRestriction()
624 restriction.setDescription(description); in loadRestriction()
626 restriction.setChoiceEntries(appContext, entries); in loadRestriction()
629 restriction.setChoiceValues(appContext, entryValues); in loadRestriction()
636 restriction.setSelectedString( in loadRestriction()
[all …]
DRestrictionEntry.java209 for (RestrictionEntry restriction : restrictionEntries) { in RestrictionEntry()
210 if (restriction.getType() != TYPE_BUNDLE) { in RestrictionEntry()
/frameworks/base/core/java/android/app/admin/
DSecurityLogTags.logtags34 210027 security_user_restriction_added (package|3),(admin_user|1),(restriction|3)
35 210028 security_user_restriction_removed (package|3),(admin_user|1),(restriction|3)
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java63 for (String restriction : restrictions) { in newRestrictions()
64 ret.putBoolean(restriction, true); in newRestrictions()
/frameworks/native/include/binder/
DProcessState.h92 void setCallRestriction(CallRestriction restriction);
/frameworks/native/libs/binder/include/binder/
DProcessState.h92 void setCallRestriction(CallRestriction restriction);
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DUpdateParameter.java119 public void setRestriction(String restriction) { in setRestriction() argument
120 mRestriction = restriction; in setRestriction()
/frameworks/native/libs/binder/
DProcessState.cpp231 void ProcessState::setCallRestriction(CallRestriction restriction) { in setCallRestriction() argument
235 mCallRestriction = restriction; in setCallRestriction()
/frameworks/wilhelm/include/SLES/
DNOTICE5 deal in the Materials without restriction, including without limitation the
/frameworks/native/opengl/include/EGL/
DNOTICE5 "Materials"), to deal in the Materials without restriction, including
/frameworks/native/opengl/include/KHR/
DNOTICE5 "Materials"), to deal in the Materials without restriction, including
/frameworks/wilhelm/include/OMXAL/
DNOTICE5 "Materials "), to deal in the Materials without restriction, including
/frameworks/native/opengl/include/GLES2/
DNOTICE19 "Materials"), to deal in the Materials without restriction, including
/frameworks/native/opengl/include/GLES/
DNOTICE19 "Materials"), to deal in the Materials without restriction, including
/frameworks/native/vulkan/api/
Dplatform.api5 // "Materials"), to deal in the Materials without restriction, including
/frameworks/native/opengl/include/GLES3/
DNOTICE22 "Materials"), to deal in the Materials without restriction, including
/frameworks/compile/mclinker/
DLICENSE.TXT18 the Software without restriction, including without limitation the rights to
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java450 private void startAdminSupportDetailsActivity(String restriction) { in startAdminSupportDetailsActivity() argument
454 final Intent showAdminSupportDetailsIntent = dpm.createAdminSupportIntent(restriction); in startAdminSupportDetailsActivity()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java495 private boolean hasRestriction(String restriction, int userId) { in hasRestriction() argument
497 return mUm.hasUserRestriction(restriction, userId); in hasRestriction()
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto434 // ACTION: Settings > Battery settings > Battery tip > App restriction tip
458 // ACTION: Settings > Battery settings > Battery tip > App restriction list shown
466 // ACTION: Settings > Battery settings > Battery tip > Open app restriction page
2236 // > Notification restriction
2243 // > Notification restriction > Custom
2250 // > Notification restriction > Custom > Allow messages
2257 // > Notification restriction > Custom > Allow calls
/frameworks/native/vulkan/api/templates/
Dvulkan_h.tmpl24 ** "Materials"), to deal in the Materials without restriction, including
/frameworks/base/core/proto/android/telecomm/
Denums.proto177 * Disconnected because of a restriction on placing the call, such as dialing in airplane
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1978 private void enforceShellRestriction(String restriction, int userHandle) {
1980 if (userHandle < 0 || hasUserRestriction(restriction, userHandle)) {
1987 boolean hasUserRestriction(String restriction, int userId) {
1988 return mInjector.getUserManager().hasUserRestriction(restriction, userId);

123