Home
last modified time | relevance | path

Searched refs:mRestriction (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DUpdateParameter.java118 private String mRestriction = null; field in UpdateParameter
120 mRestriction = restriction; in setRestriction()
123 return mRestriction; in getRestriction()
223 mRestriction = source.mRestriction; in UpdateParameter()
244 dest.writeString(mRestriction); in writeToParcel()
265 && TextUtils.equals(mRestriction, that.mRestriction) in equals()
277 return Objects.hash(mUpdateIntervalInMinutes, mUpdateMethod, mRestriction, mServerUri, in hashCode()
287 builder.append("Restriction: ").append(mRestriction).append("\n"); in toString()
316 if (!TextUtils.equals(mRestriction, UPDATE_RESTRICTION_HOMESP) in validate()
317 && !TextUtils.equals(mRestriction, UPDATE_RESTRICTION_ROAMING_PARTNER) in validate()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DActionDisabledByAdminDialogHelper.java52 private String mRestriction = null; field in ActionDisabledByAdminDialogHelper
74 mRestriction = restriction; in prepareDialogBuilder()
79 mRestriction); in prepareDialogBuilder()
101 if (mEnforcedAdmin.equals(admin) && Objects.equals(mRestriction, restriction)) { in updateDialog()
105 mRestriction = restriction; in updateDialog()
107 mRestriction); in updateDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DActionDisabledByAdminDialogFragment.java66 String mRestriction; field in ActionDisabledByAdminDialogFragment
89 instance.mRestriction = restriction; in newInstance()
98 mRestriction = savedInstanceState.getString(EXTRA_RESTRICTION); in onCreateDialog()
109 outState.putString(EXTRA_RESTRICTION, mRestriction); in onSaveInstanceState()
134 mRestriction, mRestrictedPackage); in initialize()
141 .createInstance(context, mRestriction, new DeviceAdminStringProviderImpl(context), in initialize()
181 setAdminSupportTitle(context, builder, mRestriction); in initializeDialogViews()
/packages/apps/Settings/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelper.java57 private String mRestriction; field in ActionDisabledByAdminDialogHelper
109 mRestriction = restriction; in prepareDialogBuilder()
111 mRestriction); in prepareDialogBuilder()
116 if (mEnforcedAdmin.equals(admin) && Objects.equals(mRestriction, restriction)) { in updateDialog()
120 mRestriction = restriction; in updateDialog()
122 mRestriction); in updateDialog()
/packages/apps/Settings/src/com/android/settings/network/
DResetNetworkRestrictionViewBuilder.java41 static final String mRestriction = UserManager.DISALLOW_NETWORK_RESET; field in ResetNetworkRestrictionViewBuilder
105 mActivity, mRestriction, UserHandle.myUserId()); in getEnforceAdminByRestriction()
111 .prepareDialogBuilder(mRestriction, admin); in createRestrictDialogBuilder()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceController.java125 private String mRestriction; field in ApplicationActionButtonsPreferenceController
383 mRestriction = UserManager.DISALLOW_APPS_CONTROL; in updateForceStopButtonInner()
478 mRestriction = restriction; in shouldDisableButtonBecauseOfUserRestriction()
573 if (mRestriction == null || !restrictions.contains(mRestriction)) return false; in ignoreActionBecauseItsDisabledByAdmin()
575 LOG.d("Ignoring action because of " + mRestriction); in ignoreActionBecauseItsDisabledByAdmin()
577 mRestriction, UserHandle.myUserId()), DISABLED_BY_ADMIN_CONFIRM_DIALOG_TAG); in ignoreActionBecauseItsDisabledByAdmin()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DActionDisabledByAdminActivityTest.java74 assertThat(mFragment.mRestriction).isEqualTo(RESTRICTION_STRING); in onCreate_readsIntentRestriction()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DResetNetworkRestrictionViewBuilderTest.java91 String restriction = ResetNetworkRestrictionViewBuilder.mRestriction; in build_getView_whenEnforceAdminRestriction()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt809 Landroid/net/wifi/hotspot2/pps/UpdateParameter;->mRestriction:Ljava/lang/String;