Home
last modified time | relevance | path

Searched refs:setRestricted (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRestrictionUtils.java23 public static void setRestricted(boolean restricted) { in setRestricted() method in ShadowRestrictionUtils
DShadowRestrictedLockUtilsInternal.java138 public static void setRestricted(boolean restricted) { in setRestricted() method in ShadowRestrictedLockUtilsInternal
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DMultiActionPreferenceTest.java260 .setRestricted(true); in toggleButtons_onClickRestricted_checkedStateDoesNotChange()
262 .setRestricted(true); in toggleButtons_onClickRestricted_checkedStateDoesNotChange()
264 .setRestricted(true); in toggleButtons_onClickRestricted_checkedStateDoesNotChange()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseActionItem.java89 public BaseActionItem setRestricted(boolean isRestricted) { in setRestricted() method in BaseActionItem
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DVisibilityPreferenceControllerTest.java108 ShadowRestrictionUtils.setRestricted(false); in setUp()
170 ShadowRestrictionUtils.setRestricted(true); in testUpdateState_disabledByAdmin_disableSecure()
192 ShadowRestrictionUtils.setRestricted(true); in testUpdateState_disabledByAdmin_disableUnredacted()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceController.java290 phoneItem.setRestricted(!isAvailable && mHasUxRestriction); in updatePhoneActionItemAvailability()
302 mediaItem.setRestricted(!isAvailable && mHasUxRestriction); in updateMediaActionItemAvailability()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DAccessPointPreferenceController.java90 mPreferenceCompat.setRestricted(true); in init()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeSliceBuilderTest.java99 ShadowRestrictedLockUtilsInternal.setRestricted(true); in getZenModeSlice_managedByAdmin_shouldNotHaveToggle()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/
DDockItemViewController.kt130 fun setRestricted(isRestricted: Boolean): Boolean { in setRestricted() method
DDockItemViewHolder.kt242 if (dockItemViewController.setRestricted(shouldBeRestricted)) { in setUxRestrictions()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/accessibility/
DAccessibilityServiceState.java102 mEnablePref.setRestricted(true); in onCreate()
DAccessibilityState.java253 servicePref.setRestricted(true); in refreshServices()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/
DPreferenceCompat.java474 public void setRestricted(boolean restricted) { in setRestricted() method in PreferenceCompat
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigUserStoreData.java380 provider.setRestricted(isRestricted); in deserializeProvider()
DPasspointProvider.java216 public void setRestricted(boolean restricted) { in setRestricted() method in PasspointProvider
DPasspointManager.java518 newProvider.setRestricted(isRestricted); in addOrUpdateProvider()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointConfigUserStoreDataTest.java272 provider2.setRestricted(true); in serializeAndDeserializeUserStoreData()
DPasspointManagerTest.java2550 verify(provider).setRestricted(true); in testAddRestrictPasspointNetworkFromSuggestion()
2569 verify(provider, never()).setRestricted(anyBoolean()); in testAddRestrictPasspointNetworkNotFromSuggestion()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java242 ShadowRestrictedLockUtilsInternal.setRestricted(true); in updatePrefs_restrictedByAdmin_shouldDisablePreference()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java548 setRestricted(false); in reset()
1252 public void setRestricted(boolean restricted) { in setRestricted() method in WifiInfo
DWifiNetworkSuggestion.java867 public @NonNull Builder setRestricted(boolean isRestricted) { in setRestricted() method in WifiNetworkSuggestion.Builder
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java125 ShadowRestrictedLockUtilsInternal.setRestricted(true); in buildToggleSlice_withUserRestrictionAndRestricted_shouldReturnIntentSlice()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiNetworkSuggestionTest.java1640 .setRestricted(true) in testSetRestrictedNetwork()
1657 .setRestricted(true) in testCredentialSharedWithUserWithSetRestrictedNetwork()
DWifiInfoTest.java530 writeWifiInfo.setRestricted(true); in testWifiInfoCopyConstructor()
/packages/modules/Wifi/framework/api/
Dcurrent.txt794 method @NonNull public android.net.wifi.WifiNetworkSuggestion.Builder setRestricted(boolean);

12