Searched refs:DockManager (Results 1 – 17 of 17) sorted by relevance
25 import com.android.systemui.dock.DockManager;43 private final DockManager mDockManager;45 private int mDockState = DockManager.STATE_NONE;49 AmbientDisplayConfiguration config, Handler handler, DockManager dockManager) { in DozeDockHandler()64 if (mDockState == DockManager.STATE_DOCKED_HIDE) { in transitionTo()70 if (mDockState == DockManager.STATE_DOCKED && !mPulsePending) { in transitionTo()101 return mDockState == DockManager.STATE_DOCKED in isDocked()102 || mDockState == DockManager.STATE_DOCKED_HIDE; in isDocked()110 private class DockEventListener implements DockManager.DockEventListener {119 case DockManager.STATE_DOCKED: in onEvent()[all …]
31 import com.android.systemui.dock.DockManager;51 DockManager dockManager = Dependency.get(DockManager.class); in assembleMachine()98 DockManager dockManager) { in createDozeTriggers()
44 import com.android.systemui.dock.DockManager;83 private final DockManager mDockManager;93 WakeLock wakeLock, boolean allowPulseTriggers, DockManager dockManager) { in DozeTriggers()553 private class DockEventListener implements DockManager.DockEventListener {558 case DockManager.STATE_DOCKED:559 case DockManager.STATE_DOCKED_HIDE:562 case DockManager.STATE_NONE:
41 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 …]
40 import com.android.systemui.dock.DockManager;64 private DockManager mDockManagerFake;82 mDockManagerFake = mock(DockManager.class); in setUp()
38 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()
36 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_DOCKED101 || event == DockManager.STATE_DOCKED_HIDE);128 @Nullable DockManager dockManager) { in ClockManager()138 SettingsWrapper settingsWrapper, DockManager dockManager) { in ClockManager()
56 import com.android.systemui.dock.DockManager;107 private DockManager mDockManager;109 private ArgumentCaptor<DockManager.AlignmentStateListener> mAlignmentListener;221 any(DockManager.AlignmentStateListener.class)); in createController_addsAlignmentListener()231 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_POOR); in onAlignmentStateChanged_showsSlowChargingIndication()248 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_TERRIBLE); in onAlignmentStateChanged_showsNotChargingIndication()266 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_POOR); in onAlignmentStateChanged_whileDozing_showsSlowChargingIndication()284 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_TERRIBLE); in onAlignmentStateChanged_whileDozing_showsNotChargingIndication()
47 import com.android.systemui.dock.DockManager;83 private final DockManager mDockManager;133 private final DockManager.DockEventListener mDockEventListener =134 new DockManager.DockEventListener() {137 boolean docked = event == DockManager.STATE_DOCKED138 || event == DockManager.STATE_DOCKED_HIDE;180 @Nullable DockManager dockManager, in LockIcon()
45 import com.android.systemui.dock.DockManager;119 private final DockManager.DockEventListener mDockEventListener =120 new DockManager.DockEventListener() {177 private final DockManager mDockManager;204 mDockManager = Dependency.get(DockManager.class); in StatusBarKeyguardViewManager()
26 import com.android.systemui.dock.DockManager;67 abstract DockManager bindDockManager(DockManagerImpl dockManager); in bindDockManager()
37 import com.android.systemui.dock.DockManager;294 @Inject Lazy<DockManager> mDockManager;482 mProviders.put(DockManager.class, mDockManager::get); in start()
26 import com.android.systemui.dock.DockManager;82 abstract DockManager bindDockManager(DockManagerImpl dockManager); in bindDockManager()
22 public interface DockManager { interface
23 public class DockManagerImpl implements DockManager {
22 public class DockManagerFake implements DockManager {
53 import com.android.systemui.dock.DockManager;100 private final DockManager mDockManager;148 Dependency.get(DockManager.class)); in KeyguardIndicationController()160 DockManager dockManager) { in KeyguardIndicationController()226 if (alignState == DockManager.ALIGN_STATE_POOR) { in handleAlignStateChanged()229 } else if (alignState == DockManager.ALIGN_STATE_TERRIBLE) { in handleAlignStateChanged()