Home
last modified time | relevance | path

Searched refs:mDozeInteractor (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java88 @Mock private DozeInteractor mDozeInteractor; field in DozeParametersTest
133 mDozeInteractor in setup()
191 reset(mDozeInteractor); in testGetAlwaysOn_whenBatterySaverCallback()
199 verify(mDozeInteractor, times(2)).setAodAvailable(anyBoolean()); in testGetAlwaysOn_whenBatterySaverCallback()
204 reset(mDozeInteractor); in testGetAlwaysOn_whenBatterySaverCallback()
208 verify(mDozeInteractor).setAodAvailable(anyBoolean()); in testGetAlwaysOn_whenBatterySaverCallback()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostTest.java99 @Mock private DozeInteractor mDozeInteractor; field in DozeServiceHostTest
110 mShadeLockscreenInteractor, mDozeInteractor); in setup()
226 verify(mDozeInteractor).setLastTapToWakePosition(new Point(100, 200)); in onSlpiTap_calls_DozeInteractor()
233 verify(mDozeInteractor, never()).setLastTapToWakePosition(any()); in onSlpiTap_doesnt_pass_negative_values()
241 verify(mDozeInteractor).dozeTimeTick(); in dozeTimeTickSentToDozeInteractor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeServiceHost.java112 private DozeInteractor mDozeInteractor; field in DozeServiceHost
151 mDozeInteractor = dozeInteractor; in DozeServiceHost()
245 dozing = mDozingRequested && mDozeInteractor.canDozeFromCurrentScene(); in updateDozing()
261 mDozeInteractor.setIsDozing(dozing); in updateDozing()
341 mDozeInteractor.dozeTimeTick(); in dozeTimeTick()
399 mDozeInteractor.setLastTapToWakePosition(new Point((int) screenX, (int) screenY)); in onSlpiTap()
DDozeParameters.java85 private final DozeInteractor mDozeInteractor; field in DozeParameters
146 mDozeInteractor = dozeInteractor; in DozeParameters()
455 mDozeInteractor.setAodAvailable(getAlwaysOn()); in dispatchAlwaysOnEvent()