Searched refs:DozeSuspendScreenStatePreventingAdapter (Results 1 – 3 of 3) sorted by relevance
39 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()
28 public class DozeSuspendScreenStatePreventingAdapter extends DozeMachine.Service.Delegate { class31 DozeSuspendScreenStatePreventingAdapter(DozeMachine.Service inner) { in DozeSuspendScreenStatePreventingAdapter() method in DozeSuspendScreenStatePreventingAdapter49 return isNeeded(params) ? new DozeSuspendScreenStatePreventingAdapter(inner) : inner; in wrapIfNeeded()
61 wrappedService = DozeSuspendScreenStatePreventingAdapter.wrapIfNeeded(wrappedService, in assembleMachine()