Home
last modified time | relevance | path

Searched refs:mUnavailable (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/apn/
DApnSettings.java107 private boolean mUnavailable; field in ApnSettings
155 mUnavailable = isUiRestricted(); in onActivityCreated()
156 setHasOptionsMenu(!mUnavailable); in onActivityCreated()
157 if (mUnavailable) { in onActivityCreated()
194 if (mUnavailable) { in onResume()
285 if (!mUnavailable) { in onCreateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java96 boolean mUnavailable; field in WifiTetherSettings
145 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()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnSettingsActivity.java130 private boolean mUnavailable; field in ApnSettingsActivity.ApnSettingsFragment
177 mUnavailable = true; in onActivityCreated()
191 if (mUnavailable) { in onResume()
204 if (mUnavailable) { in onPause()
274 if (!mUnavailable) { in onCreateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java112 private boolean mUnavailable; field in VpnSettings
136 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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java278 private boolean mUnavailable; field in DevelopmentFragment
342 mUnavailable = true; in onCreatePreferences()
536 if (mUnavailable) { in onActivityCreated()
570 if (mUnavailable) { in onResume()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java210 mSettings.mUnavailable = true; in onStart_uiIsRestricted_removeAllPreferences()