Home
last modified time | relevance | path

Searched refs:newUxRestrictions (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DDualPaneBaseCarSettingsActivityTest.java76 CarUxRestrictions newUxRestrictions = new CarUxRestrictions.Builder( in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions() local
91 mActivity.onUxRestrictionsChanged(newUxRestrictions); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions()
96 fragmentB.get().getUxRestrictions().isSameRestrictions(newUxRestrictions)).isTrue(); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions()
108 CarUxRestrictions newUxRestrictions = new CarUxRestrictions.Builder( in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions() local
123 mActivity.onUxRestrictionsChanged(newUxRestrictions); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions()
129 fragmentA.get().getUxRestrictions().isSameRestrictions(newUxRestrictions)).isTrue(); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java821 Map<Integer, CarUxRestrictions> newUxRestrictions = new HashMap<>(); in handleDispatchUxRestrictionsLocked() local
838 newUxRestrictions.put(port, uxRestrictions); in handleDispatchUxRestrictionsLocked()
843 for (int port : newUxRestrictions.keySet()) { in handleDispatchUxRestrictionsLocked()
849 CarUxRestrictions uxRestrictions = newUxRestrictions.get(port); in handleDispatchUxRestrictionsLocked()
860 mCurrentUxRestrictions.get(port), newUxRestrictions.get(port)); in handleDispatchUxRestrictionsLocked()
863 dispatchRestrictionsToClients(newUxRestrictions, displayToDispatch); in handleDispatchUxRestrictionsLocked()
865 mCurrentUxRestrictions = newUxRestrictions; in handleDispatchUxRestrictionsLocked()