Searched refs:mUnavailable (Results 1 – 6 of 6) sorted by relevance
107 private boolean mUnavailable; field in ApnSettings155 mUnavailable = isUiRestricted(); in onActivityCreated()156 setHasOptionsMenu(!mUnavailable); in onActivityCreated()157 if (mUnavailable) { in onActivityCreated()194 if (mUnavailable) { in onResume()285 if (!mUnavailable) { in onCreateOptionsMenu()
96 boolean mUnavailable; field in WifiTetherSettings145 mUnavailable = isUiRestricted() || !mWifiRestriction.isHotspotAvailable(getContext()); in onCreate()146 if (mUnavailable) { in onCreate()208 if (mUnavailable) { in onActivityCreated()229 if (mUnavailable) { in onStart()251 if (mUnavailable) { in onStop()
130 private boolean mUnavailable; field in ApnSettingsActivity.ApnSettingsFragment177 mUnavailable = true; in onActivityCreated()191 if (mUnavailable) { in onResume()204 if (mUnavailable) { in onPause()274 if (!mUnavailable) { in onCreateOptionsMenu()
112 private boolean mUnavailable; field in VpnSettings136 mUnavailable = isUiRestricted(); in onActivityCreated()137 setHasOptionsMenu(!mUnavailable); in onActivityCreated()172 menu.getItem(i).setEnabled(!mUnavailable); in onPrepareOptionsMenu()196 mUnavailable = mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN); in onResume()197 if (mUnavailable) { in onResume()232 if (mUnavailable) { in onPause()
278 private boolean mUnavailable; field in DevelopmentFragment342 mUnavailable = true; in onCreatePreferences()536 if (mUnavailable) { in onActivityCreated()570 if (mUnavailable) { in onResume()
210 mSettings.mUnavailable = true; in onStart_uiIsRestricted_removeAllPreferences()