Home
last modified time | relevance | path

Searched defs:restriction (Results 1 – 25 of 53) sorted by relevance

123

/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DEnterpriseUtils.java127 public static int getAvailabilityStatusRestricted(Context context, String restriction) { in getAvailabilityStatusRestricted()
144 public static boolean hasUserRestrictionByDpm(Context context, String restriction) { in hasUserRestrictionByDpm()
155 public static boolean hasUserRestrictionByUm(Context context, String restriction) { in hasUserRestrictionByUm()
162 String restriction) { in onClickWhileDisabled()
171 FragmentController fragmentController, String restriction) { in showActionDisabledByAdminDialog()
228 Context context, String restriction) { in getActionDisabledByAdminDialog()
237 Context context, String restriction) { in getInputMethodDisabledByAdminDialog()
246 Context context, String restriction, @Nullable String restrictedPackage) { in getActionDisabledByAdminDialog()
300 @Nullable String restriction, String restrictedPackage) { in getEnforcedAdmin()
DActionDisabledByAdminDialogFragment.java78 public static ActionDisabledByAdminDialogFragment newInstance(String restriction, in newInstance()
86 public static ActionDisabledByAdminDialogFragment newInstance(String restriction, in newInstance()
216 String restriction) { in setAdminSupportTitle()
DActionDisabledByAdminActivity.java45 String restriction = getRestrictionFromIntent(getIntent()); in onCreate() local
/packages/apps/Settings/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelper.java65 public ActionDisabledByAdminDialogHelper(Activity activity, String restriction) { in ActionDisabledByAdminDialogHelper()
90 public AlertDialog.Builder prepareDialogBuilder(String restriction, in prepareDialogBuilder()
103 void prepareDialogBuilder(AlertDialog.Builder builder, String restriction, in prepareDialogBuilder()
115 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog()
126 String restriction) { in initializeDialogViews()
166 void setAdminSupportTitle(View root, String restriction) { in setAdminSupportTitle()
DActionDisabledByAdminDialog.java39 final String restriction = getRestrictionFromIntent(getIntent()); in onCreate() local
50 final String restriction = getRestrictionFromIntent(intent); in onNewIntent() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DActionDisabledByAdminDialogHelper.java71 public AlertDialog.Builder prepareDialogBuilder(String restriction, in prepareDialogBuilder()
100 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog()
111 String restriction) { in initializeDialogViews()
129 void setAdminSupportTitle(View root, String restriction) { in setAdminSupportTitle()
DActionDisabledByAdminDialog.java41 final String restriction = getRestrictionFromIntent(getIntent()); in onCreate() local
53 final String restriction = getRestrictionFromIntent(intent); in onNewIntent() local
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DEnterpriseTestUtils.java29 public static void mockUserRestrictionSetByUm(UserManager um, String restriction, in mockUserRestrictionSetByUm()
40 public static void mockUserRestrictionSetByDpm(UserManager um, String restriction, in mockUserRestrictionSetByDpm()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DBaseSettingsQCItemTestCase.java53 protected void setBaseUserRestriction(String restriction, boolean restricted) { in setBaseUserRestriction()
58 protected void setUserRestriction(String restriction, boolean restricted) { in setUserRestriction()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DQCUtils.java53 public static PendingIntent getActionDisabledDialogIntent(Context context, String restriction) { in getActionDisabledDialogIntent()
61 public static PendingIntent getActionDisabledDialogIntent(Context context, String restriction, in getActionDisabledDialogIntent()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRestrictionUtils.java38 public EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DRestrictManager.java235 Restriction restriction = (Restriction) message.obj; in handleMessage() local
684 Restriction restriction = in onLowRtpQualityEvent() local
1101 releaseRestriction(QnsUtils.getOtherTransportType(transportType), restriction, false); in fallbackToWwanForImsRegistration() local
1158 Restriction restriction = restrictionMap.get(RESTRICT_TYPE_GUARDING); in updateGuardingTimerConditionOnCallState() local
1216 Restriction restriction = restrictionMap.get(restrictObj.mRestrictType); in addRestriction() local
1260 Restriction restriction = restrictionMap.get(type); in addRestriction() local
1308 Restriction restriction = restrictionMap.get(type); in releaseRestriction() local
1353 private void sendReleaseRestrictionMessage(int transportType, Restriction restriction) { in sendReleaseRestrictionMessage()
1371 private void removeReleaseRestrictionMessage(Restriction restriction) { in removeReleaseRestrictionMessage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRestrictionUtils.java16 protected EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/enterprise/
DFinancedDeviceActionDisabledByAdminController.java42 public String getAdminSupportTitle(@Nullable String restriction) { in getAdminSupportTitle()
DActionDisabledByAdminController.java47 String getAdminSupportTitle(@Nullable String restriction); in getAdminSupportTitle()
DBiometricActionDisabledByAdminController.java52 public String getAdminSupportTitle(@Nullable String restriction) { in getAdminSupportTitle()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceControllerTest.java729 private void testShowingDisabledByDeviceAdminDialogWhenUninstallClicked(String restriction) { in testShowingDisabledByDeviceAdminDialogWhenUninstallClicked()
839 private void mockDisabledByUserManagerRestriction(String restriction) { in mockDisabledByUserManagerRestriction()
844 private void mockDisabledByDevicePolicyManagerRestriction(String restriction) { in mockDisabledByDevicePolicyManagerRestriction()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DResetNetworkRestrictionViewBuilderTest.java91 String restriction = ResetNetworkRestrictionViewBuilder.mRestriction; in build_getView_whenEnforceAdminRestriction() local
/packages/apps/Car/Launcher/libs/hidden-apis-compat/hidden-apis-enabled/src/com/android/car/hidden/apis/
DHiddenApiAccess.java58 public static boolean hasBaseUserRestriction(UserManager userManager, String restriction, in hasBaseUserRestriction()
/packages/apps/Car/Launcher/libs/hidden-apis-compat/hidden-apis-disabled/src/com/android/car/hidden/apis/
DHiddenApiAccess.java59 public static boolean hasBaseUserRestriction(UserManager userManager, String restriction, in hasBaseUserRestriction()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogTest.java65 final String restriction = "someRestriction"; in testGetRestrictionFromIntent() local
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/
DDpcShellCommand.java193 String restriction = mArgs[3]; in runAddUserRestriction() local
209 String restriction = mArgs[1]; in runClearUserRestriction() local
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowUserManager.java147 public void addBaseUserRestriction(String restriction) { in addBaseUserRestriction()
167 public void addGuestUserRestriction(String restriction) { in addGuestUserRestriction()
171 public boolean hasGuestUserRestriction(String restriction, boolean expectedValue) { in hasGuestUserRestriction()
/packages/apps/Settings/src/com/android/settings/widget/
DRestrictedButton.java65 public void init(UserHandle userHandle, String restriction) { in init()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DFactoryResetEntryPreferenceControllerTest.java563 private void addBaseUserRestriction(String restriction) { in addBaseUserRestriction()
568 private void addUserRestriction(String restriction) { in addUserRestriction()

123