Lines Matching refs:controller
84 final AmbientDisplayAlwaysOnPreferenceController controller = spy( in onAttach_alwaysOn_shouldInvokeSetters() local
86 doReturn(controller).when(mTestFragment).use( in onAttach_alwaysOn_shouldInvokeSetters()
90 verify(controller).setConfig(any()); in onAttach_alwaysOn_shouldInvokeSetters()
91 verify(controller).setCallback(any()); in onAttach_alwaysOn_shouldInvokeSetters()
96 final AmbientDisplayNotificationsPreferenceController controller = spy( in onAttach_notifications_shouldInvokeSetters() local
98 doReturn(controller).when(mTestFragment).use( in onAttach_notifications_shouldInvokeSetters()
102 verify(controller).setConfig(any()); in onAttach_notifications_shouldInvokeSetters()
107 final DoubleTapScreenPreferenceController controller = spy( in onAttach_doubleTap_shouldInvokeSetters() local
109 doReturn(controller).when(mTestFragment).use(DoubleTapScreenPreferenceController.class); in onAttach_doubleTap_shouldInvokeSetters()
112 verify(controller).setConfig(any()); in onAttach_doubleTap_shouldInvokeSetters()
117 final PickupGesturePreferenceController controller = spy( in onAttach_pickUp_shouldInvokeSetters() local
119 doReturn(controller).when(mTestFragment).use(PickupGesturePreferenceController.class); in onAttach_pickUp_shouldInvokeSetters()
122 verify(controller).setConfig(any()); in onAttach_pickUp_shouldInvokeSetters()