Searched refs:mCarUxRestrictionsManager (Results 1 – 7 of 7) 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 …]
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()
40 @Nullable private CarUxRestrictionsManager mCarUxRestrictionsManager; field in CarUxRestrictionsHelper102 mCarUxRestrictionsManager = (CarUxRestrictionsManager)104 mCarUxRestrictionsManager.registerListener(mListener);107 mCarUxRestrictionsManager.getCurrentCarUxRestrictions());116 mCarUxRestrictionsManager.unregisterListener();117 mCarUxRestrictionsManager = null;
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()
106 mCarUxRestrictionsManager.reportVirtualDisplayToPhysicalDisplay(virtualDisplayId, in testThrowsExceptionOnReportingNonExistingDisplay()118 () -> mCarUxRestrictionsManager.reportVirtualDisplayToPhysicalDisplay( in testThrowsExceptionOnReportingNonExistingDisplay()131 () -> mCarUxRestrictionsManager.reportVirtualDisplayToPhysicalDisplay( in testThrowsExceptionOnReportingNonOwningDisplay()
64 protected CarUxRestrictionsManager mCarUxRestrictionsManager; field in CarActivityViewDisplayIdTestBase70 mCarUxRestrictionsManager = (CarUxRestrictionsManager) in setUp()89 return mCarUxRestrictionsManager.getMappedPhysicalDisplayOfVirtualDisplay(displayId); in getMappedPhysicalDisplayOfVirtualDisplay()