Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeDockHandlerTest.java37 import com.android.systemui.dock.DockManager;
87 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in onEvent_docked_requestsDockedAodState()
94 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileEnabledAod_ignoresIfAlreadyNone()
101 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in onEvent_noneWhileEnabledAod_requestsAodState()
103 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileEnabledAod_requestsAodState()
110 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in onEvent_noneWhileDisabledAod_requestsDozeState()
114 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhileDisabledAod_requestsDozeState()
121 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED_HIDE); in onEvent_hide_requestsDozeState()
130 mDockManagerFake.setDockEvent(DockManager.STATE_DOCKED); in onEvent_dockedWhilePulsing_wontRequestStateChange()
139 mDockManagerFake.setDockEvent(DockManager.STATE_NONE); in onEvent_noneWhilePulsing_wontRequestStateChange()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java22 import com.android.systemui.dock.DockManager;
42 private final DockManager mDockManager;
46 private int mDockState = DockManager.STATE_NONE;
49 DozeDockHandler(AmbientDisplayConfiguration config, DockManager dockManager, in DozeDockHandler()
82 private class DockEventListener implements DockManager.DockEventListener {
106 case DockManager.STATE_DOCKED: in onEvent()
109 case DockManager.STATE_NONE: in onEvent()
113 case DockManager.STATE_DOCKED_HIDE: in onEvent()
DDozeTriggers.java46 import com.android.systemui.dock.DockManager;
101 private final DockManager mDockManager;
198 WakeLock wakeLock, DockManager dockManager, in DozeTriggers()
681 private class DockEventListener implements DockManager.DockEventListener {
686 case DockManager.STATE_DOCKED: in onEvent()
687 case DockManager.STATE_DOCKED_HIDE: in onEvent()
690 case DockManager.STATE_NONE: in onEvent()
DDozeMachine.java30 import com.android.systemui.dock.DockManager;
151 private final DockManager mDockManager;
164 DozeLog dozeLog, DockManager dockManager, in DozeMachine()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/
DDockManagerExtensions.kt27 fun DockManager.retrieveIsDocked(): Flow<Boolean> = in DockManager() method
29 val callback = DockManager.DockEventListener { trySend(isDocked) } in DockManager()
DDockManager.java22 public interface DockManager { interface
DDockManagerImpl.java24 public class DockManagerImpl implements DockManager {
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingCollectorImpl.java19 import static com.android.systemui.dock.DockManager.DockEventListener;
35 import com.android.systemui.dock.DockManager;
89 private final DockManager mDockManager;
154 if (event == DockManager.STATE_NONE && !mBatteryController.isWirelessCharging()) {
173 DockManager dockManager, in FalsingCollectorImpl()
DFalsingDataProvider.java29 import com.android.systemui.dock.DockManager;
53 private final DockManager mDockManager;
81 DockManager dockManager, in FalsingDataProvider()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/dock/
DDockManagerFakeKosmos.kt21 val Kosmos.dockManager: DockManager by Kosmos.Fixture { fakeDockManager } in <lambda>()
DDockManagerFake.java22 public class DockManagerFake implements DockManager {
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DPulsingGestureListener.kt27 import com.android.systemui.dock.DockManager in <lambda>()
52 private val dockManager: DockManager, in <lambda>()
DNotificationShadeWindowViewController.java45 import com.android.systemui.dock.DockManager;
138 private final DockManager mDockManager;
164 DockManager dockManager, in NotificationShadeWindowViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java22 import com.android.systemui.dock.DockManager;
369 DockManager mDockManager;
382 DockManager dockManager) { in init()
DStatusBarKeyguardViewManager.java67 import com.android.systemui.dock.DockManager;
269 private final DockManager.DockEventListener mDockEventListener =
270 new DockManager.DockEventListener() {
331 private final DockManager mDockManager;
376 DockManager dockManager, in StatusBarKeyguardViewManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/
DCommunalSceneStartable.kt30 import com.android.systemui.dock.DockManager in <lambda>()
69 private val dockManager: DockManager, in <lambda>()
/frameworks/base/packages/SystemUI/docs/device-entry/
Ddoze.md35 …riggers. The default DockManager is provided by an empty interface at [DockManagerImpl][9]. System…
37 [DozeDockHandler][11] listens for Dock state changes from [DockManager][10] and updates the doze do…
97 [10]: /frameworks/base/packages/SystemUI/src/com/android/systemui/dock/DockManager.java
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerBaseTest.java75 import com.android.systemui.dock.DockManager;
140 protected DockManager mDockManager;
172 protected ArgumentCaptor<DockManager.AlignmentStateListener> mAlignmentListener;
DKeyguardIndicationControllerTest.java76 import com.android.systemui.dock.DockManager;
129 any(DockManager.AlignmentStateListener.class)); in createController_addsAlignmentListener()
138 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_POOR); in onAlignmentStateChanged_showsSlowChargingIndication()
153 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_TERRIBLE); in onAlignmentStateChanged_showsNotChargingIndication()
170 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_POOR); in onAlignmentStateChanged_whileDozing_showsSlowChargingIndication()
186 mAlignmentListener.getValue().onAlignmentStateChanged(DockManager.ALIGN_STATE_TERRIBLE); in onAlignmentStateChanged_whileDozing_showsNotChargingIndication()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DPulsingGestureListenerTest.kt28 import com.android.systemui.dock.DockManager
57 private lateinit var dockManager: DockManager
DNotificationShadeWindowViewTest.kt32 import com.android.systemui.dock.DockManager
96 @Mock private lateinit var dockManager: DockManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DReferenceSystemUIModule.java31 import com.android.systemui.dock.DockManager;
182 abstract DockManager bindDockManager(DockManagerImpl dockManager); in bindDockManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingCollectorImplTest.java39 import com.android.systemui.dock.DockManager;
160 mDockManager.setDockEvent(DockManager.STATE_DOCKED); in testNoProximityWhenDocked()
166 mDockManager.setDockEvent(DockManager.STATE_NONE); in testProximityWhenUndocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractor.kt34 import com.android.systemui.dock.DockManager in <lambda>()
85 private val dockManager: DockManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java104 import com.android.systemui.dock.DockManager;
171 private final DockManager mDockManager;
289 DockManager dockManager, in KeyguardIndicationController()
445 if (alignState == DockManager.ALIGN_STATE_POOR) { in handleAlignStateChanged()
448 } else if (alignState == DockManager.ALIGN_STATE_TERRIBLE) { in handleAlignStateChanged()

12