/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | EnterpriseUtilsTest.java | 26 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 133 assertThat(hasUserRestrictionByUm(mSpiedContext, TEST_RESTRICTION)).isFalse(); in testUserRestriction_notBaseRestricted_notUmRestricted() 141 assertThat(hasUserRestrictionByUm(mSpiedContext, TEST_RESTRICTION)).isTrue(); in testUserRestriction_baseRestricted_umRestricted() 150 assertThat(hasUserRestrictionByUm(mSpiedContext, TEST_RESTRICTION)).isFalse(); in testUserRestriction_notBaseRestricted_umRestricted()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | AddWifiPreferenceController.java | 22 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 65 if (hasUserRestrictionByUm(context, DISALLOW_ADD_WIFI_CONFIG) in getDefaultAvailabilityStatus()
|
D | WifiUtil.java | 26 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 134 return hasUserRestrictionByUm(context, DISALLOW_CONFIG_WIFI); in isConfigWifiRestrictedByUm()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountGroupPreferenceController.java | 21 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 67 || hasUserRestrictionByUm(getContext(), DISALLOW_MODIFY_ACCOUNTS)) { in getDefaultAvailabilityStatus()
|
D | AddAccountPreferenceController.java | 22 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 142 || hasUserRestrictionByUm(getContext(), DISALLOW_MODIFY_ACCOUNTS)) { in getDefaultAvailabilityStatus()
|
D | AccountDetailsPreferenceController.java | 23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 153 || hasUserRestrictionByUm(getContext(), DISALLOW_MODIFY_ACCOUNTS)) { in getSecondaryActionAvailabilityStatus()
|
D | AccountListPreferenceController.java | 21 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 119 || hasUserRestrictionByUm(getContext(), DISALLOW_MODIFY_ACCOUNTS)) { in getDefaultAvailabilityStatus()
|
/packages/apps/Car/Settings/src/com/android/car/settings/language/ |
D | LanguageSettingsEntryPreferenceController.java | 21 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 59 if (hasUserRestrictionByUm(getContext(), DISALLOW_CONFIG_LOCALE)) { in getDefaultAvailabilityStatus()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | FactoryResetEntryPreferenceController.java | 23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 69 || hasUserRestrictionByUm(getContext(), DISALLOW_FACTORY_RESET) in getDefaultAvailabilityStatus()
|
D | ResetNetworkEntryPreferenceController.java | 23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 67 || hasUserRestrictionByUm(getContext(), DISALLOW_NETWORK_RESET)) { in getDefaultAvailabilityStatus()
|
/packages/apps/Car/Settings/src/com/android/car/settings/display/ |
D | AdaptiveBrightnessTogglePreferenceController.java | 23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 106 if (hasUserRestrictionByUm(getContext(), DISALLOW_CONFIG_BRIGHTNESS) in getDefaultAvailabilityStatus()
|
D | BrightnessLevelPreferenceController.java | 23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 137 if (hasUserRestrictionByUm(getContext(), DISALLOW_CONFIG_BRIGHTNESS) in getDefaultAvailabilityStatus()
|
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/ |
D | EnterpriseUtils.java | 128 if (hasUserRestrictionByUm(context, restriction)) { in getAvailabilityStatusRestricted() 145 if (hasUserRestrictionByUm(context, restriction)) { in hasUserRestrictionByDpm() 155 public static boolean hasUserRestrictionByUm(Context context, String restriction) { in hasUserRestrictionByUm() method in EnterpriseUtils
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | RemoveProfileHandler.java | 26 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 149 || hasUserRestrictionByUm(context, DISALLOW_REMOVE_USER)) { in getAvailabilityStatus()
|
D | AddProfileHandler.java | 26 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 174 if (hasUserRestrictionByUm(context, DISALLOW_ADD_USER)) { in getAddProfilePreferenceAvailabilityStatus()
|
D | ProfileDetailsActionButtonsPreferenceController.java | 23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 137 && !hasUserRestrictionByUm(getContext(), DISALLOW_ADD_USER); in onStartInternal()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | CredentialsResetPreferenceController.java | 62 if (EnterpriseUtils.hasUserRestrictionByUm(getContext(), DISALLOW_CONFIG_CREDENTIALS)) { in getDefaultAvailabilityStatus()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | WifiTile.java | 63 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
|
D | MobileDataTile.java | 68 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
|
D | BluetoothSwitch.java | 57 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
|
D | HotspotTile.java | 66 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
|
D | AdaptiveBrightnessSwitch.java | 60 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
|
D | WifiRow.java | 70 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
|
D | HotspotRow.java | 73 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeSettingsPreferenceController.java | 31 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm; 300 if (hasUserRestrictionByUm(getContext(), DISALLOW_ADJUST_VOLUME) in getDefaultAvailabilityStatus()
|