Home
last modified time | relevance | path

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

/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java56 private CarUxRestrictionsManager mCarUxRestrictionsManager; field in MainActivity
104 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager( in onCreate()
113 if (mCarUxRestrictionsManager != null) { in onCreate()
114 mCarUxRestrictionsManager.registerListener(mUxRChangeListener); in onCreate()
115 updateUxRText(mCarUxRestrictionsManager.getCurrentCarUxRestrictions()); in onCreate()
122 if (mCarUxRestrictionsManager != null) { in onDestroy()
123 mCarUxRestrictionsManager.unregisterListener(); in onDestroy()
186 if (mCarUxRestrictionsManager == null) { in togglePassengerMode()
190 String mode = mCarUxRestrictionsManager.getRestrictionMode(); in togglePassengerMode()
193 mCarUxRestrictionsManager.setRestrictionMode(UX_RESTRICTION_MODE_PASSENGER); in togglePassengerMode()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DCarUxRestrictionsHelper.java40 @Nullable private CarUxRestrictionsManager mCarUxRestrictionsManager; field in CarUxRestrictionsHelper
102 mCarUxRestrictionsManager = (CarUxRestrictionsManager)
104 mCarUxRestrictionsManager.registerListener(mListener);
107 mCarUxRestrictionsManager.getCurrentCarUxRestrictions());
116 mCarUxRestrictionsManager.unregisterListener();
117 mCarUxRestrictionsManager = null;
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarUxRestrictionManagerWrapper.java40 private CarUxRestrictionsManager mCarUxRestrictionsManager; field in CarUxRestrictionManagerWrapper
90 mCarUxRestrictionsManager = carUxRestrictionsManager; in setCarUxRestrictionsManager()
92 mCarUxRestrictionsManager.registerListener(this); in setCarUxRestrictionsManager()
105 if (mCarUxRestrictionsManager == null) { in getCurrentCarUxRestrictions()
108 return mCarUxRestrictionsManager.getCurrentCarUxRestrictions(); in getCurrentCarUxRestrictions()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java79 private CarUxRestrictionsManager mCarUxRestrictionsManager; field in AppGridActivity
110 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager(
113 mCarUxRestrictionsManager
116 mCarUxRestrictionsManager.registerListener(
130 mCarUxRestrictionsManager = null;
248 if (mCarUxRestrictionsManager != null) { in onStop()
249 mCarUxRestrictionsManager.unregisterListener(); in onStop()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DCarUxRestrictionsUtil.java48 private CarUxRestrictionsManager mCarUxRestrictionsManager; field in CarUxRestrictionsUtil
72 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCarApi in CarUxRestrictionsUtil()
74 mCarUxRestrictionsManager.registerListener(listener); in CarUxRestrictionsUtil()
76 mCarUxRestrictionsManager.getCurrentCarUxRestrictions()); in CarUxRestrictionsUtil()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/
DCarUxRestrictionsUtil.java49 private CarUxRestrictionsManager mCarUxRestrictionsManager; field in CarUxRestrictionsUtil
74 mCarUxRestrictionsManager = in CarUxRestrictionsUtil()
77 mCarUxRestrictionsManager.registerListener(listener); in CarUxRestrictionsUtil()
79 mCarUxRestrictionsManager.getCurrentCarUxRestrictions()); in CarUxRestrictionsUtil()