Searched refs:isUserRestricted (Results 1 – 6 of 6) sorted by relevance
168 private boolean isUserRestricted() { in isUserRestricted() method in BluetoothStateSwitchPreferenceController183 enableSwitchPreference(getPreference(), /* enabled= */ !isUserRestricted()); in handleStateChanged()192 enableSwitchPreference(getPreference(), /* enabled= */ !isUserRestricted()); in handleStateChanged()
114 return isUserRestricted() ? DISABLED_FOR_PROFILE : AVAILABLE; in getDefaultAvailabilityStatus()117 private boolean isUserRestricted() { in isUserRestricted() method in PairNewDevicePreferenceController
87 return !isUserRestricted(context) && !Utils.isWifiOnly(context) in isMobileAvailable()90 private fun isUserRestricted(context: Context): Boolean { in isUserRestricted() method
80 return !isUserRestricted() && !Utils.isWifiOnly(mContext); in isAvailable()83 public boolean isUserRestricted() { in isUserRestricted() method in MobileNetworkPreferenceController
285 if (isUserRestricted()) { in onCreate()1467 boolean isUserRestricted() { in isUserRestricted() method in ApnEditor
5808 boolean isUserRestricted = userManager != null && hasUserRestriction;5812 isUserRestricted, isLockscreenRestricted);5815 return !isUserRestricted;