Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothStateSwitchPreferenceController.java168 private boolean isUserRestricted() { in isUserRestricted() method in BluetoothStateSwitchPreferenceController
183 enableSwitchPreference(getPreference(), /* enabled= */ !isUserRestricted()); in handleStateChanged()
192 enableSwitchPreference(getPreference(), /* enabled= */ !isUserRestricted()); in handleStateChanged()
DPairNewDevicePreferenceController.java114 return isUserRestricted() ? DISABLED_FOR_PROFILE : AVAILABLE; in getDefaultAvailabilityStatus()
117 private boolean isUserRestricted() { in isUserRestricted() method in PairNewDevicePreferenceController
/packages/apps/Settings/src/com/android/settings/spa/network/
DNetworkAndInternet.kt87 return !isUserRestricted(context) && !Utils.isWifiOnly(context) in isMobileAvailable()
90 private fun isUserRestricted(context: Context): Boolean { in isUserRestricted() method
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkPreferenceController.java80 return !isUserRestricted() && !Utils.isWifiOnly(mContext); in isAvailable()
83 public boolean isUserRestricted() { in isUserRestricted() method in MobileNetworkPreferenceController
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditor.java285 if (isUserRestricted()) { in onCreate()
1467 boolean isUserRestricted() { in isUserRestricted() method in ApnEditor
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java5808 boolean isUserRestricted = userManager != null && hasUserRestriction;
5812 isUserRestricted, isLockscreenRestricted);
5815 return !isUserRestricted;