Home
last modified time | relevance | path

Searched refs:DockManager (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java25 import com.android.systemui.dock.DockManager;
43 private final DockManager mDockManager;
45 private int mDockState = DockManager.STATE_NONE;
48 AmbientDisplayConfiguration config, Handler handler, DockManager dockManager) { in DozeDockHandler()
63 if (mDockState == DockManager.STATE_DOCKED_HIDE) { in transitionTo()
69 if (mDockState == DockManager.STATE_DOCKED) { in transitionTo()
100 return mDockState == DockManager.STATE_DOCKED in isDocked()
101 || mDockState == DockManager.STATE_DOCKED_HIDE; in isDocked()
109 private class DockEventListener implements DockManager.DockEventListener {
118 case DockManager.STATE_DOCKED: in onEvent()
[all …]
DDozeFactory.java32 import com.android.systemui.dock.DockManager;
49 DockManager dockManager = Dependency.get(DockManager.class); in assembleMachine()
93 DockManager dockManager) { in createDozeTriggers()
DDozeTriggers.java44 import com.android.systemui.dock.DockManager;
82 private final DockManager mDockManager;
92 WakeLock wakeLock, boolean allowPulseTriggers, DockManager dockManager) { in DozeTriggers()
496 private class DockEventListener implements DockManager.DockEventListener {
501 case DockManager.STATE_DOCKED:
502 case DockManager.STATE_DOCKED_HIDE:
505 case DockManager.STATE_NONE:
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeDockHandlerTest.java41 import com.android.systemui.dock.DockManager;
96 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in testOnEvent_dockedWhenDoze_requestPulse()
106 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in testOnEvent_dockedWhenDozeAoD_requestPulse()
117 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED_HIDE); in testOnEvent_dockedHideWhenPulsing_requestPulseOut()
128 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in testOnEvent_undockedWhenPulsing_requestPulseOut()
138 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in testOnEvent_undockedWhenDoze_neverRequestPulseOut()
149 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in testOnEvent_undockedWhenDozeAndEnabledAoD_requestDozeAoD()
158 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in testTransitionToDoze_whenDocked_requestPulse()
171 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in testTransitionToDozeAoD_whenDocked_requestPulse()
184 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED_HIDE); in testTransitionToDoze_whenDockedHide_neverRequestPulse()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockManagerTest.java38 import com.android.systemui.dock.DockManager;
111 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in dockEvent()
117 mFakeDockManager.setDockEvent(DockManager.STATE_NONE); in undockEvent()
184 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in getCurrentClock_dockedDefault()
194 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in getCurrentClock_dockedCustomClock()
204 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in getCurrentClock_badDockedSettingsValue()
216 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in getCurrentClock_badDockedSettingsFallback()
243 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in onUserChanged_docked()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockManager.java36 import com.android.systemui.dock.DockManager;
37 import com.android.systemui.dock.DockManager.DockEventListener;
91 @Nullable private final DockManager mDockManager;
100 mIsDocked = (event == DockManager.STATE_DOCKED
101 || event == DockManager.STATE_DOCKED_HIDE);
128 @Nullable DockManager dockManager) { in ClockManager()
138 SettingsWrapper settingsWrapper, DockManager dockManager) { in ClockManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java44 import com.android.systemui.dock.DockManager;
72 private final DockManager mDockManager;
104 private final DockManager.DockEventListener mDockEventListener =
105 new DockManager.DockEventListener() {
108 boolean docked = event == DockManager.STATE_DOCKED
109 || event == DockManager.STATE_DOCKED_HIDE;
150 @Nullable DockManager dockManager, in LockIcon()
DStatusBarKeyguardViewManager.java44 import com.android.systemui.dock.DockManager;
114 private final DockManager.DockEventListener mDockEventListener =
115 new DockManager.DockEventListener() {
170 private final DockManager mDockManager;
196 mDockManager = Dependency.get(DockManager.class); in StatusBarKeyguardViewManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/
DDockManager.java22 public interface DockManager { interface
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dock/
DDockManagerFake.java22 public class DockManagerFake implements DockManager {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java37 import com.android.systemui.dock.DockManager;
184 public DockManager provideDockManager(Context context) { in provideDockManager()
DDependency.java39 import com.android.systemui.dock.DockManager;
301 @Inject Lazy<DockManager> mDockManager;
478 mProviders.put(DockManager.class, mDockManager::get); in start()