Home
last modified time | relevance | path

Searched refs:mUxRestrictions (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItem.java71 private int mUxRestrictions; field in MenuItem
105 mUxRestrictions = builder.mUxRestrictions; in MenuItem()
227 if (mUxRestrictions != uxRestrictions) { in setUxRestrictions()
228 mUxRestrictions = uxRestrictions; in setUxRestrictions()
235 return mUxRestrictions; in getUxRestrictions()
255 return CarUxRestrictionsUtil.isRestricted(mUxRestrictions, mCurrentRestrictions); in isRestricted()
347 private int mUxRestrictions = CarUxRestrictions.UX_RESTRICTIONS_BASELINE; field in MenuItem.Builder
538 mUxRestrictions = restrictions; in setUxRestrictions()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java148 private CarUxRestrictions mUxRestrictions; field in PreferenceController
162 mUxRestrictions = uxRestrictions; in PreferenceController()
198 return mUxRestrictions; in getUxRestrictions()
236 mUxRestrictions = uxRestrictions; in onUxRestrictionsChanged()
257 onApplyUxRestrictions(mUxRestrictions); in refreshUi()
DSettingsFragment.java88 private CarUxRestrictions mUxRestrictions; field in SettingsFragment
174 mUxRestrictions = ((UxRestrictionsProvider) requireActivity()).getCarUxRestrictions(); in onAttach()
179 mUxRestrictions)); in onAttach()
276 if (!uxRestrictions.isSameRestrictions(mUxRestrictions)) { in onUxRestrictionsChanged()
277 mUxRestrictions = uxRestrictions; in onUxRestrictionsChanged()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DDeviceAdminAddSupportPreferenceControllerTest.java32 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
40 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin()
DDeviceAdminAddExplanationPreferenceControllerTest.java32 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
40 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin()
DDeviceAdminAddActionPreferenceControllerTest.java35 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
43 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin()
DDeviceAdminAddPoliciesPreferenceControllerTest.java55 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
69 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin()
DDeviceAdminAddHeaderPreferenceControllerTest.java30 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
DDeviceAdminAddCancelPreferenceControllerTest.java32 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
DBasePreferenceControllerTestCase.java34 protected final CarUxRestrictions mUxRestrictions = new CarUxRestrictions.Builder( field in BasePreferenceControllerTestCase
DDeviceAdminAddWarningPreferenceControllerTest.java32 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
DWorkPolicyInfoPreferenceControllerTest.java148 mFragmentController, mUxRestrictions); in newController()