Searched refs:mCarUxRestrictionsUtil (Results 1 – 4 of 4) sorted by relevance
61 private CarUxRestrictionsUtil mCarUxRestrictionsUtil; field in QCFooterViewControllerTest90 doReturn(mCarUxRestrictionsUtil).when(() -> CarUxRestrictionsUtil.getInstance(any())); in setUp()112 verify(mCarUxRestrictionsUtil, never()).register(any()); in onAttachedToWindow_enableWhileDriving_doNotRegisterListener()120 verify(mCarUxRestrictionsUtil).register(any()); in onAttachedToWindow_disableWhileDriving_registerListener()130 verify(mCarUxRestrictionsUtil).register(captor.capture()); in onRestrictionsChanged_registeredListener_setQCFooterViewEnabled()146 verify(mCarUxRestrictionsUtil, never()).unregister(any()); in onDetachedFromWindow_enableWhileDriving_doNotUnregisterListener()156 verify(mCarUxRestrictionsUtil).unregister(any()); in onDetachedFromWindow_disableWhileDriving_unregisterListener()
103 private CarUxRestrictionsUtil mCarUxRestrictionsUtil; field in DataSubscriptionControllerTest128 doReturn(mCarUxRestrictionsUtil).when(() -> CarUxRestrictionsUtil.getInstance(any())); in setUp()147 verify(mCarUxRestrictionsUtil).register(any()); in setAnchorView_viewNotNull_popUpDisplay()161 verify(mCarUxRestrictionsUtil).unregister(any()); in setAnchorView_viewNull_popUpNotDisplay()271 doReturn(mCarUxRestrictionsUtil).when(() -> CarUxRestrictionsUtil.getInstance(any())); in onRestrictionsChanged_optimizationRequired_proactiveMsgDismissed()278 verify(mCarUxRestrictionsUtil).register(captor.capture()); in onRestrictionsChanged_optimizationRequired_proactiveMsgDismissed()292 doReturn(mCarUxRestrictionsUtil).when(() -> CarUxRestrictionsUtil.getInstance(any())); in onRestrictionsChanged_optimizationRequired_buttonDismissedInReactiveMsg()299 verify(mCarUxRestrictionsUtil).register(captor.capture()); in onRestrictionsChanged_optimizationRequired_buttonDismissedInReactiveMsg()
93 private CarUxRestrictionsUtil mCarUxRestrictionsUtil; field in StatusIconPanelViewController219 if (mIsDisabledWhileDriving && mCarUxRestrictionsUtil.getCurrentRestrictions() in onInit()280 mCarUxRestrictionsUtil = CarUxRestrictionsUtil.getInstance(mContext); in onViewAttached()281 mCarUxRestrictionsUtil.register(mUxRestrictionsChangedListener); in onViewAttached()289 if (mCarUxRestrictionsUtil != null) { in onViewDetached()290 mCarUxRestrictionsUtil.unregister(mUxRestrictionsChangedListener); in onViewDetached()
97 private CarUxRestrictionsUtil mCarUxRestrictionsUtil; field in TaskViewController225 mCarUxRestrictionsUtil = CarUxRestrictionsUtil.getInstance(mContext); in initialize()226 mCarUxRestrictionsUtil.register(mOnUxRestrictionsChangedListener); in initialize()312 int uxr = mCarUxRestrictionsUtil.getCurrentRestrictions().getActiveRestrictions(); in changeDisplayForTask()