/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeDockHandlerTest.java | 36 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 …]
|
D | DozeTriggersTest.java | 45 import com.android.systemui.dock.DockManager; 79 private DockManager mDockManager;
|
D | DozeMachineTest.java | 49 import com.android.systemui.dock.DockManager; 71 @Mock private DockManager mDockManager;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeDockHandler.java | 23 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()
|
D | DozeTriggers.java | 40 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()
|
D | DozeMachine.java | 30 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/ |
D | ClockManagerTest.java | 38 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/ |
D | ClockManager.java | 38 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/ |
D | FalsingCollectorImpl.java | 19 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()
|
D | FalsingDataProvider.java | 25 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/ |
D | KeyguardIndicationControllerTest.java | 79 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/ |
D | DockManager.java | 22 public interface DockManager { interface
|
D | DockManagerImpl.java | 24 public class DockManagerImpl implements DockManager {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dock/ |
D | DockManagerFake.java | 22 public class DockManagerFake implements DockManager {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimState.java | 24 import com.android.systemui.dock.DockManager; 314 DockManager mDockManager; 325 DozeParameters dozeParameters, DockManager dockManager) { in init()
|
D | NotificationShadeWindowViewController.java | 40 import com.android.systemui.dock.DockManager; 107 private final DockManager mDockManager; 135 DockManager dockManager, in NotificationShadeWindowViewController()
|
D | StatusBarKeyguardViewManager.java | 53 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()
|
D | ScrimController.java | 52 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/ |
D | FalsingCollectorImplTest.java | 35 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/ |
D | NotificationShadeWindowViewTest.java | 34 import com.android.systemui.dock.DockManager; 84 @Mock private DockManager mDockManager;
|
D | StatusBarKeyguardViewManagerTest.java | 47 import com.android.systemui.dock.DockManager; 128 mock(DockManager.class), in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/ |
D | TvSystemUIModule.java | 35 import com.android.systemui.dock.DockManager; 143 abstract DockManager bindDockManager(DockManagerImpl dockManager); in bindDockManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | SystemUIDefaultModule.java | 34 import com.android.systemui.dock.DockManager; 150 abstract DockManager bindDockManager(DockManagerImpl dockManager); in bindDockManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 75 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/ |
D | Dependency.java | 48 import com.android.systemui.dock.DockManager; 345 @Inject Lazy<DockManager> mDockManager; 550 mProviders.put(DockManager.class, mDockManager::get); in start()
|