Home
last modified time | relevance | path

Searched refs:DozeSuspendScreenStatePreventingAdapter (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapterTest.java39 private DozeSuspendScreenStatePreventingAdapter mWrapper;
44 mWrapper = new DozeSuspendScreenStatePreventingAdapter(mInner); in setup()
94 assertEquals(DozeSuspendScreenStatePreventingAdapter.class, in wrapIfNeeded_needed()
95 DozeSuspendScreenStatePreventingAdapter.wrapIfNeeded(mInner, params).getClass()); in wrapIfNeeded_needed()
103 assertSame(mInner, DozeSuspendScreenStatePreventingAdapter.wrapIfNeeded(mInner, params)); in wrapIfNeeded_not_needed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapter.java28 public class DozeSuspendScreenStatePreventingAdapter extends DozeMachine.Service.Delegate { class
31 DozeSuspendScreenStatePreventingAdapter(DozeMachine.Service inner) { in DozeSuspendScreenStatePreventingAdapter() method in DozeSuspendScreenStatePreventingAdapter
49 return isNeeded(params) ? new DozeSuspendScreenStatePreventingAdapter(inner) : inner; in wrapIfNeeded()
DDozeFactory.java61 wrappedService = DozeSuspendScreenStatePreventingAdapter.wrapIfNeeded(wrappedService, in assembleMachine()