Home
last modified time | relevance | path

Searched refs:EnterpriseUtils (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Car/Settings/src/com/android/car/settings/system/
DFactoryResetEntryPreferenceController.java22 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm;
34 import com.android.car.settings.enterprise.EnterpriseUtils;
77 return EnterpriseUtils.isAdminUser(getContext()) in isAlwaysAvailableForUser()
78 || EnterpriseUtils.isDemoUser(getContext()); in isAlwaysAvailableForUser()
83 EnterpriseUtils.getActionDisabledByAdminDialog(getContext(), in showActionDisabledByAdminDialog()
DResetNetworkEntryPreferenceController.java22 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm;
34 import com.android.car.settings.enterprise.EnterpriseUtils;
78 return EnterpriseUtils.isAdminUser(getContext()); in isAlwaysAvailableForUser()
83 EnterpriseUtils.getActionDisabledByAdminDialog(getContext(), in showActionDisabledByAdminDialog()
DDeveloperOptionsEntryPreferenceController.java22 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
31 import com.android.car.settings.enterprise.EnterpriseUtils;
83 EnterpriseUtils.getActionDisabledByAdminDialog(getContext(), in showActionDisabledByAdminDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DCredentialsResetPreferenceController.java31 import com.android.car.settings.enterprise.EnterpriseUtils;
53 if (EnterpriseUtils in onCreateInternal()
62 if (EnterpriseUtils.hasUserRestrictionByUm(getContext(), DISALLOW_CONFIG_CREDENTIALS)) { in getDefaultAvailabilityStatus()
65 if (EnterpriseUtils.hasUserRestrictionByDpm(getContext(), DISALLOW_CONFIG_CREDENTIALS)) { in getDefaultAvailabilityStatus()
73 EnterpriseUtils.getActionDisabledByAdminDialog(getContext(), in showActionDisabledByAdminDialog()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DEnterpriseUtilsTest.java21 import static com.android.car.settings.enterprise.EnterpriseUtils.getAdminWithinPackage;
22 import static com.android.car.settings.enterprise.EnterpriseUtils.getAvailabilityStatusRestricted;
23 import static com.android.car.settings.enterprise.EnterpriseUtils.getDeviceAdminInfo;
24 import static com.android.car.settings.enterprise.EnterpriseUtils.hasDeviceOwner;
25 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
26 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm;
27 import static com.android.car.settings.enterprise.EnterpriseUtils.isAdminUser;
28 import static com.android.car.settings.enterprise.EnterpriseUtils.isDemoUser;
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DDatetimeUtils.java23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
31 import com.android.car.settings.enterprise.EnterpriseUtils;
71 EnterpriseUtils.getActionDisabledByAdminDialog(context, in showActionDisabledByAdminDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/display/
DAdaptiveBrightnessTogglePreferenceController.java22 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm;
40 import com.android.car.settings.enterprise.EnterpriseUtils;
136 EnterpriseUtils.getActionDisabledByAdminDialog(getContext(), in showActionDisabledByAdminDialog()
DBrightnessLevelPreferenceController.java22 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm;
46 import com.android.car.settings.enterprise.EnterpriseUtils;
146 EnterpriseUtils.getActionDisabledByAdminDialog(getContext(), in showActionDisabledByAdminDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DCameraTogglePreferenceController.java19 import static com.android.car.settings.enterprise.EnterpriseUtils.getAvailabilityStatusRestricted;
20 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
21 import static com.android.car.settings.enterprise.EnterpriseUtils.onClickWhileDisabled;
DCameraInfotainmentAppsTogglePreferenceController.java19 import static com.android.car.settings.enterprise.EnterpriseUtils.getAvailabilityStatusRestricted;
20 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
21 import static com.android.car.settings.enterprise.EnterpriseUtils.onClickWhileDisabled;
DMicTogglePreferenceController.java19 import static com.android.car.settings.enterprise.EnterpriseUtils.getAvailabilityStatusRestricted;
20 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
21 import static com.android.car.settings.enterprise.EnterpriseUtils.onClickWhileDisabled;
DCameraRequiredAppsTogglePreferenceController.java19 import static com.android.car.settings.enterprise.EnterpriseUtils.getAvailabilityStatusRestricted;
20 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
21 import static com.android.car.settings.enterprise.EnterpriseUtils.onClickWhileDisabled;
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DRemoveProfileHandler.java25 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
26 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm;
41 import com.android.car.settings.enterprise.EnterpriseUtils;
207 EnterpriseUtils.getActionDisabledByAdminDialog(mContext, in showActionDisabledByAdminDialog()
DAddProfileHandler.java25 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
26 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm;
42 import com.android.car.settings.enterprise.EnterpriseUtils;
214 EnterpriseUtils.getActionDisabledByAdminDialog(mContext, DISALLOW_ADD_USER), in showActionDisabledByAdminDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountDetailsPreferenceController.java22 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm;
43 import com.android.car.settings.enterprise.EnterpriseUtils;
181 EnterpriseUtils.getActionDisabledByAdminDialog(getContext(), in showActionDisabledByAdminDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DLocationStateSwitchPreferenceController.java23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
34 import com.android.car.settings.enterprise.EnterpriseUtils;
110 EnterpriseUtils.getActionDisabledByAdminDialog(getContext(), in showActionDisabledByAdminDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DWifiTile.java35 import com.android.car.settings.enterprise.EnterpriseUtils;
61 boolean hasDpmRestrictions = EnterpriseUtils.hasUserRestrictionByDpm(getContext(), in getQCItem()
63 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
DMobileDataTile.java36 import com.android.car.settings.enterprise.EnterpriseUtils;
66 boolean hasDpmRestrictions = EnterpriseUtils.hasUserRestrictionByDpm(getContext(), in getQCItem()
68 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
DBluetoothSwitch.java36 import com.android.car.settings.enterprise.EnterpriseUtils;
55 boolean hasDpmRestrictions = EnterpriseUtils.hasUserRestrictionByDpm(getContext(), in getQCItem()
57 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
DHotspotTile.java36 import com.android.car.settings.enterprise.EnterpriseUtils;
64 boolean hasDpmRestrictions = EnterpriseUtils.hasUserRestrictionByDpm(getContext(), in getQCItem()
66 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
DAdaptiveBrightnessSwitch.java39 import com.android.car.settings.enterprise.EnterpriseUtils;
58 boolean hasDpmRestrictions = EnterpriseUtils.hasUserRestrictionByDpm(getContext(), in getQCItem()
60 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
DWifiRow.java38 import com.android.car.settings.enterprise.EnterpriseUtils;
68 boolean hasDpmRestrictions = EnterpriseUtils.hasUserRestrictionByDpm(getContext(), in getQCItem()
70 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
DHotspotRow.java41 import com.android.car.settings.enterprise.EnterpriseUtils;
71 boolean hasDpmRestrictions = EnterpriseUtils.hasUserRestrictionByDpm(getContext(), in getQCItem()
73 boolean hasUmRestrictions = EnterpriseUtils.hasUserRestrictionByUm(getContext(), in getQCItem()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DAddWifiPreferenceController.java21 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
22 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByUm;
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DPairNewDevicePreferenceController.java23 import static com.android.car.settings.enterprise.EnterpriseUtils.hasUserRestrictionByDpm;
44 import com.android.car.settings.enterprise.EnterpriseUtils;
93 EnterpriseUtils.getActionDisabledByAdminDialog(getContext(), in showActionDisabledByAdminDialog()

123