Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnSettings.java124 private boolean mUnavailable; field in ApnSettings
218 mUnavailable = isUiRestricted(); in onActivityCreated()
219 setHasOptionsMenu(!mUnavailable); in onActivityCreated()
220 if (mUnavailable) { in onActivityCreated()
232 if (mUnavailable) { in onResume()
247 if (mUnavailable) { in onPause()
350 if (!mUnavailable) { in onCreateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/network/
DApnSettings.java124 private boolean mUnavailable; field in ApnSettings
232 mUnavailable = isUiRestricted(); in onActivityCreated()
233 setHasOptionsMenu(!mUnavailable); in onActivityCreated()
234 if (mUnavailable) { in onActivityCreated()
246 if (mUnavailable) { in onResume()
263 if (mUnavailable) { in onPause()
370 if (!mUnavailable) { in onCreateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java74 private boolean mUnavailable; field in WifiTetherSettings
103 mUnavailable = true; in onCreate()
122 if (mUnavailable) { in onActivityCreated()
138 if (mUnavailable) { in onStart()
154 if (mUnavailable) { in onStop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSettings.java74 private boolean mUnavailable; field in WifiTetherSettings
103 mUnavailable = true; in onCreate()
122 if (mUnavailable) { in onActivityCreated()
138 if (mUnavailable) { in onStart()
154 if (mUnavailable) { in onStop()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java110 private boolean mUnavailable; field in VpnSettings
128 mUnavailable = isUiRestricted(); in onActivityCreated()
129 setHasOptionsMenu(!mUnavailable); in onActivityCreated()
150 menu.getItem(i).setEnabled(!mUnavailable); in onPrepareOptionsMenu()
174 mUnavailable = mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN); in onResume()
175 if (mUnavailable) { in onResume()
199 if (mUnavailable) { in onPause()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DVpnSettings.java109 private boolean mUnavailable; field in VpnSettings
127 mUnavailable = isUiRestricted(); in onActivityCreated()
128 setHasOptionsMenu(!mUnavailable); in onActivityCreated()
149 menu.getItem(i).setEnabled(!mUnavailable); in onPrepareOptionsMenu()
175 mUnavailable = mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN); in onResume()
176 if (mUnavailable) { in onResume()
200 if (mUnavailable) { in onPause()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java95 private boolean mUnavailable; field in TetherSettings
131 mUnavailable = true; in onCreate()
256 if (mUnavailable) { in onStart()
296 if (mUnavailable) { in onStop()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java108 private boolean mUnavailable; field in TetherSettings
144 mUnavailable = true; in onCreate()
278 if (mUnavailable) { in onStart()
323 if (mUnavailable) { in onStop()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java240 private boolean mUnavailable; field in DevelopmentFragment
283 mUnavailable = true; in onCreatePreferences()
467 if (mUnavailable) { in onActivityCreated()
501 if (mUnavailable) { in onResume()