/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | ActionDisabledByAdminDialogHelper.java | 79 public AlertDialog.Builder prepareDialogBuilder(String restriction, in prepareDialogBuilder() argument 82 mRestriction = restriction; in prepareDialogBuilder() 107 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog() argument 108 if (mEnforcedAdmin.equals(admin) && Objects.equals(mRestriction, restriction)) { in updateDialog() 112 mRestriction = restriction; in updateDialog() 118 String restriction) { in initializeDialogViews() argument 142 setAdminSupportTitle(root, restriction); in initializeDialogViews() 155 void setAdminSupportTitle(View root, String restriction) { in setAdminSupportTitle() argument 160 if (restriction == null) { in setAdminSupportTitle() 164 switch (restriction) { in setAdminSupportTitle()
|
D | ActionDisabledByAdminDialog.java | 39 final String restriction = getRestrictionFromIntent(getIntent()); in onCreate() local 41 mDialogHelper.prepareDialogBuilder(restriction, enforcedAdmin) in onCreate() 50 final String restriction = getRestrictionFromIntent(intent); in onNewIntent() local 51 mDialogHelper.updateDialog(restriction, admin); in onNewIntent()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelper.java | 79 public AlertDialog.Builder prepareDialogBuilder(String restriction, in prepareDialogBuilder() argument 82 mRestriction = restriction; in prepareDialogBuilder() 107 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog() argument 108 if (mEnforcedAdmin.equals(admin) && Objects.equals(mRestriction, restriction)) { in updateDialog() 112 mRestriction = restriction; in updateDialog() 118 String restriction) { in initializeDialogViews() argument 142 setAdminSupportTitle(root, restriction); in initializeDialogViews() 155 void setAdminSupportTitle(View root, String restriction) { in setAdminSupportTitle() argument 160 if (restriction == null) { in setAdminSupportTitle() 164 switch (restriction) { in setAdminSupportTitle()
|
D | ActionDisabledByAdminDialog.java | 39 final String restriction = getRestrictionFromIntent(getIntent()); in onCreate() local 41 mDialogHelper.prepareDialogBuilder(restriction, enforcedAdmin) in onCreate() 50 final String restriction = getRestrictionFromIntent(intent); in onNewIntent() local 51 mDialogHelper.updateDialog(restriction, admin); in onNewIntent()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 277 for (String restriction : DEFAULT_GUEST_RESTRICTIONS) { in initDefaultGuestRestrictions() 278 defaultGuestRestrictions.putBoolean(restriction, true); in initDefaultGuestRestrictions() 610 public boolean hasUserRestriction(String restriction, UserInfo userInfo) { in hasUserRestriction() argument 611 return mUserManager.hasUserRestriction(restriction, userInfo.getUserHandle()); in hasUserRestriction() 620 public boolean foregroundUserHasUserRestriction(String restriction) { in foregroundUserHasUserRestriction() argument 621 return hasUserRestriction(restriction, getCurrentForegroundUserInfo()); in foregroundUserHasUserRestriction() 701 public boolean isCurrentProcessUserHasRestriction(String restriction) { in isCurrentProcessUserHasRestriction() argument 702 return mUserManager.hasUserRestriction(restriction); in isCurrentProcessUserHasRestriction() 835 for (String restriction : DEFAULT_NON_ADMIN_RESTRICTIONS) { in setDefaultNonAdminRestrictions() 836 setUserRestriction(userInfo, restriction, enable); in setDefaultNonAdminRestrictions() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowCarUserManagerHelper.java | 157 protected boolean isCurrentProcessUserHasRestriction(String restriction) { in isCurrentProcessUserHasRestriction() argument 158 return sMockInstance.isCurrentProcessUserHasRestriction(restriction); in isCurrentProcessUserHasRestriction() 167 protected void setUserRestriction(UserInfo userInfo, String restriction, boolean enable) { in setUserRestriction() argument 170 permissionsMap.put(restriction, enable); in setUserRestriction() 175 protected boolean hasUserRestriction(String restriction, UserInfo userInfo) { in hasUserRestriction() argument 180 return sUserRestrictionMap.get(userInfo.id).getOrDefault(restriction, false); in hasUserRestriction()
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsConfiguration.java | 133 RestrictionsPerSpeedRange restriction = null; in getUxRestrictions() local 135 restriction = findUxRestrictionsInList(currentSpeed, in getUxRestrictions() 139 if (restriction == null) { in getUxRestrictions() 148 restriction = findUxRestrictionsInList( in getUxRestrictions() 154 if (restriction == null) { in getUxRestrictions() 161 return createUxRestrictionsEvent(restriction.mReqOpt, restriction.mRestrictions); in getUxRestrictions() 860 restriction -> restriction.mSpeedRange == null)) { in validateBaselineModeRestrictions() 862 for (RestrictionsPerSpeedRange restriction : restrictions) { in validateBaselineModeRestrictions() 863 error.append(restriction.toString()).append('\n'); in validateBaselineModeRestrictions()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogTest.java | 65 final String restriction = "someRestriction"; in testGetRestrictionFromIntent() local 68 intent.putExtra(DevicePolicyManager.EXTRA_RESTRICTION, restriction); in testGetRestrictionFromIntent() 69 assertEquals(restriction, mDialog.getRestrictionFromIntent(intent)); in testGetRestrictionFromIntent()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | WallpaperPreferenceController.java | 101 final String restriction = DISALLOW_SET_WALLPAPER; in disablePreferenceIfManaged() local 105 restriction, UserHandle.myUserId())) { in disablePreferenceIfManaged() 108 pref.checkRestrictionAndSetDisabled(restriction); in disablePreferenceIfManaged()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | WallpaperPreferenceController.java | 118 final String restriction = DISALLOW_SET_WALLPAPER; in disablePreferenceIfManaged() local 122 restriction, UserHandle.myUserId())) { in disablePreferenceIfManaged() 125 pref.checkRestrictionAndSetDisabled(restriction); in disablePreferenceIfManaged()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RestrictionUtils.java | 38 public EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced() argument 40 context, restriction, UserHandle.myUserId()); in checkIfRestrictionEnforced()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | RestrictionUtils.java | 38 public EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced() argument 40 context, restriction, UserHandle.myUserId()); in checkIfRestrictionEnforced()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowUserManager.java | 88 public void addBaseUserRestriction(String restriction) { in addBaseUserRestriction() argument 89 mRestrictions.add(restriction); in addBaseUserRestriction()
|
D | ShadowRestrictionUtils.java | 16 protected EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced() argument
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | PermissionsPreferenceControllerTest.java | 134 PreferenceGroup preferenceGroup, String restriction) { in getPreferenceForRestriction() argument 137 if (restriction.equals(preference.getExtras().getString( in getPreferenceForRestriction()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | EditUserPhotoController.java | 416 public RestrictedMenuItem(Context context, String title, String restriction, in RestrictedMenuItem() argument 424 restriction, myUserId); in RestrictedMenuItem() 426 restriction, myUserId); in RestrictedMenuItem()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | EditUserPhotoController.java | 416 public RestrictedMenuItem(Context context, String title, String restriction, in RestrictedMenuItem() argument 424 restriction, myUserId); in RestrictedMenuItem() 426 restriction, myUserId); in RestrictedMenuItem()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EditUserPhotoController.java | 411 public RestrictedMenuItem(Context context, String title, String restriction, in RestrictedMenuItem() argument 419 restriction, myUserId); in RestrictedMenuItem() 421 restriction, myUserId); in RestrictedMenuItem()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UserCredentialsSettings.java | 139 final String restriction = UserManager.DISALLOW_CONFIG_CREDENTIALS; in onCreateDialog() local 141 if (!RestrictedLockUtilsInternal.hasBaseUserRestriction(getContext(), restriction, in onCreateDialog() 146 .checkIfRestrictionEnforced(getContext(), restriction, myUserId); in onCreateDialog()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | UserCredentialsSettings.java | 139 final String restriction = UserManager.DISALLOW_CONFIG_CREDENTIALS; in onCreateDialog() local 141 if (!RestrictedLockUtilsInternal.hasBaseUserRestriction(getContext(), restriction, in onCreateDialog() 146 .checkIfRestrictionEnforced(getContext(), restriction, myUserId); in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageSettings.java | 462 private boolean wasAdminSupportIntentShown(@NonNull String restriction) { in onCreateDialog() 464 .checkIfRestrictionEnforced(getActivity(), restriction, in onCreateDialog() 468 getActivity(), restriction, UserHandle.myUserId()); in onCreateDialog()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | StorageSettings.java | 462 private boolean wasAdminSupportIntentShown(@NonNull String restriction) { in onCreateDialog() 464 .checkIfRestrictionEnforced(getActivity(), restriction, in onCreateDialog() 468 getActivity(), restriction, UserHandle.myUserId()); in onCreateDialog()
|
/packages/services/Telecomm/proto/ |
D | telecom.proto | 235 // Disconnected because of a restriction on placing the call,
|
/packages/apps/TV/res/raw/ |
D | third_party_licenses | 11 in the Software without restriction, including without limitation the rights 3376 without restriction, including without limitation the rights to use, 3418 "Software"), to deal in the Software without restriction, including
|
/packages/apps/LegacyCamera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 1528 # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
|