Searched refs:mCarUxRestrictionsManager (Results 1 – 5 of 5) sorted by relevance
60 private CarUxRestrictionsManager mCarUxRestrictionsManager; field in MainActivity113 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager( in onCreate()122 if (mCarUxRestrictionsManager != null) { in onCreate()123 mCarUxRestrictionsManager.registerListener(mUxRChangeListener); in onCreate()124 updateUxRText(mCarUxRestrictionsManager.getCurrentCarUxRestrictions()); in onCreate()143 if (mCarUxRestrictionsManager != null) { in onDestroy()144 mCarUxRestrictionsManager.unregisterListener(); in onDestroy()215 if (mCarUxRestrictionsManager == null) { in togglePassengerMode()219 String mode = mCarUxRestrictionsManager.getRestrictionMode(); in togglePassengerMode()222 mCarUxRestrictionsManager.setRestrictionMode(UX_RESTRICTION_MODE_PASSENGER); in togglePassengerMode()[all …]
36 @Nullable private CarUxRestrictionsManager mCarUxRestrictionsManager; field in CarUxRestrictionsHelper47 mCarUxRestrictionsManager = (CarUxRestrictionsManager) in CarUxRestrictionsHelper()49 if (mCarUxRestrictionsManager != null) { in CarUxRestrictionsHelper()50 mCarUxRestrictionsManager.registerListener(mListener); in CarUxRestrictionsHelper()52 mCarUxRestrictionsManager.getCurrentCarUxRestrictions()); in CarUxRestrictionsHelper()71 if (mCarUxRestrictionsManager != null) { in destroy()72 mCarUxRestrictionsManager.unregisterListener(); in destroy()73 mCarUxRestrictionsManager = null; in destroy()
50 CarUxRestrictionsManager mCarUxRestrictionsManager; field in CarUxRestrictionsManagerTest62 mCarUxRestrictionsManager = in setUp()69 assertThat(mCarUxRestrictionsManager.getCurrentCarUxRestrictions().getActiveRestrictions()) in getRestrictions_noRestrictionsSet_noRestrictionsPresent()77 assertThat(mCarUxRestrictionsManager.getCurrentCarUxRestrictions().getActiveRestrictions()) in setUxRestrictions_restrictionsRegistered()87 assertThat(mCarUxRestrictionsManager.getCurrentCarUxRestrictions().getActiveRestrictions()) in clearUxRestrictions_restrictionsCleared()98 mCarUxRestrictionsManager.registerListener(mListener); in isListenerRegistered_listenerSet_returnsTrue()105 mCarUxRestrictionsManager.registerListener(mListener); in setUxRestrictions_listenerRegistered_listenerTriggered()
39 private CarUxRestrictionsManager mCarUxRestrictionsManager; field in CarUxRestrictionManagerWrapper88 mCarUxRestrictionsManager = carUxRestrictionsManager; in setCarUxRestrictionsManager()90 mCarUxRestrictionsManager.registerListener(this); in setCarUxRestrictionsManager()103 if (mCarUxRestrictionsManager == null) { in getCurrentCarUxRestrictions()106 return mCarUxRestrictionsManager.getCurrentCarUxRestrictions(); in getCurrentCarUxRestrictions()
85 private CarUxRestrictionsManager mCarUxRestrictionsManager; field in AppGridActivity117 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager(120 mCarUxRestrictionsManager123 mCarUxRestrictionsManager.registerListener(138 mCarUxRestrictionsManager = null;276 if (mCarUxRestrictionsManager != null) { in onStop()277 mCarUxRestrictionsManager.unregisterListener(); in onStop()