Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeDockHandlerTest.java36 import com.android.systemui.dock.DockManager;
82 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in onEvent_docked_requestsDockedAodState()
89 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileEnabledAod_ignoresIfAlreadyNone()
96 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in onEvent_noneWhileEnabledAod_requestsAodState()
98 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileEnabledAod_requestsAodState()
105 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in onEvent_noneWhileDisabledAod_requestsDozeState()
109 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileDisabledAod_requestsDozeState()
116 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED_HIDE); in onEvent_hide_requestsDozeState()
125 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in onEvent_dockedWhilePulsing_wontRequestStateChange()
134 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhilePulsing_wontRequestStateChange()
[all …]
DDozeTriggersTest.java45 import com.android.systemui.dock.DockManager;
79 private DockManager mDockManager;
DDozeMachineTest.java49 import com.android.systemui.dock.DockManager;
71 @Mock private DockManager mDockManager;
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java23 import com.android.systemui.dock.DockManager;
42 private final DockManager mDockManager;
45 private int mDockState = DockManager.STATE_NONE;
48 DozeDockHandler(AmbientDisplayConfiguration config, DockManager dockManager) { in DozeDockHandler()
79 private class DockEventListener implements DockManager.DockEventListener {
99 case DockManager.STATE_DOCKED: in onEvent()
102 case DockManager.STATE_NONE: in onEvent()
106 case DockManager.STATE_DOCKED_HIDE: in onEvent()
DDozeTriggers.java40 import com.android.systemui.dock.DockManager;
90 private final DockManager mDockManager;
177 WakeLock wakeLock, DockManager dockManager, in DozeTriggers()
604 private class DockEventListener implements DockManager.DockEventListener {
609 case DockManager.STATE_DOCKED: in onEvent()
610 case DockManager.STATE_DOCKED_HIDE: in onEvent()
613 case DockManager.STATE_NONE: in onEvent()
DDozeMachine.java30 import com.android.systemui.dock.DockManager;
152 private DockManager mDockManager;
157 BatteryController batteryController, DozeLog dozeLog, DockManager dockManager, in DozeMachine()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockManagerTest.java38 import com.android.systemui.dock.DockManager;
115 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in dockEvent()
121 mFakeDockManager.setDockEvent(DockManager.STATE_NONE); in undockEvent()
188 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in getCurrentClock_dockedDefault()
198 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in getCurrentClock_dockedCustomClock()
208 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in getCurrentClock_badDockedSettingsValue()
220 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in getCurrentClock_badDockedSettingsFallback()
247 mFakeDockManager.setDockEvent(DockManager.STATE_DOCKED); in onUserChanged_docked()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockManager.java38 import com.android.systemui.dock.DockManager;
39 import com.android.systemui.dock.DockManager.DockEventListener;
93 @Nullable private final DockManager mDockManager;
102 mIsDocked = (event == DockManager.STATE_DOCKED
103 || event == DockManager.STATE_DOCKED_HIDE);
130 @Nullable DockManager dockManager, BroadcastDispatcher broadcastDispatcher) { in ClockManager()
140 SettingsWrapper settingsWrapper, DockManager dockManager) { in ClockManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingCollectorImpl.java19 import static com.android.systemui.dock.DockManager.DockEventListener;
30 import com.android.systemui.dock.DockManager;
62 private final DockManager mDockManager;
118 if (event == DockManager.STATE_NONE && !mBatteryController.isWirelessCharging()) {
136 DockManager dockManager, in FalsingCollectorImpl()
DFalsingDataProvider.java25 import com.android.systemui.dock.DockManager;
45 private final DockManager mDockManager;
67 DockManager dockManager) { in FalsingDataProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java79 import com.android.systemui.dock.DockManager;
141 private DockManager mDockManager;
153 private ArgumentCaptor<DockManager.AlignmentStateListener> mAlignmentListener;
244 any(DockManager.AlignmentStateListener.class)); in createController_addsAlignmentListener()
254 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_POOR); in onAlignmentStateChanged_showsSlowChargingIndication()
272 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_TERRIBLE); in onAlignmentStateChanged_showsNotChargingIndication()
290 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_POOR); in onAlignmentStateChanged_whileDozing_showsSlowChargingIndication()
308 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_TERRIBLE); in onAlignmentStateChanged_whileDozing_showsNotChargingIndication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/
DDockManager.java22 public interface DockManager { interface
DDockManagerImpl.java24 public class DockManagerImpl implements DockManager {
/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/statusbar/phone/
DScrimState.java24 import com.android.systemui.dock.DockManager;
314 DockManager mDockManager;
325 DozeParameters dozeParameters, DockManager dockManager) { in init()
DNotificationShadeWindowViewController.java40 import com.android.systemui.dock.DockManager;
107 private final DockManager mDockManager;
135 DockManager dockManager, in NotificationShadeWindowViewController()
DStatusBarKeyguardViewManager.java53 import com.android.systemui.dock.DockManager;
153 private final DockManager.DockEventListener mDockEventListener =
154 new DockManager.DockEventListener() {
211 private final DockManager mDockManager;
238 DockManager dockManager, in StatusBarKeyguardViewManager()
DScrimController.java52 import com.android.systemui.dock.DockManager;
167 private final DockManager mDockManager;
227 KeyguardUpdateMonitor keyguardUpdateMonitor, DockManager dockManager, in ScrimController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingCollectorImplTest.java35 import com.android.systemui.dock.DockManager;
118 mDockManager.setDockEvent(DockManager.STATE_DOCKED); in testNoProximityWhenDocked()
124 mDockManager.setDockEvent(DockManager.STATE_NONE); in testProximityWhenUndocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowViewTest.java34 import com.android.systemui.dock.DockManager;
84 @Mock private DockManager mDockManager;
DStatusBarKeyguardViewManagerTest.java47 import com.android.systemui.dock.DockManager;
128 mock(DockManager.class), in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/
DTvSystemUIModule.java35 import com.android.systemui.dock.DockManager;
143 abstract DockManager bindDockManager(DockManagerImpl dockManager); in bindDockManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DSystemUIDefaultModule.java34 import com.android.systemui.dock.DockManager;
150 abstract DockManager bindDockManager(DockManagerImpl dockManager); in bindDockManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java75 import com.android.systemui.dock.DockManager;
118 private final DockManager mDockManager;
172 DockManager dockManager, in KeyguardIndicationController()
248 if (alignState == DockManager.ALIGN_STATE_POOR) { in handleAlignStateChanged()
251 } else if (alignState == DockManager.ALIGN_STATE_TERRIBLE) { in handleAlignStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java48 import com.android.systemui.dock.DockManager;
345 @Inject Lazy<DockManager> mDockManager;
550 mProviders.put(DockManager.class, mDockManager::get); in start()

12