Home
last modified time | relevance | path

Searched refs:dockState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java86 public void onEvent(int dockState) { in onEvent() argument
87 if (DEBUG) Log.d(TAG, "dock event = " + dockState); in onEvent()
91 if (mDockState == dockState) { in onEvent()
95 mDockState = dockState; in onEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDockStateReader.java51 int dockState = dockStatus.getIntExtra(EXTRA_DOCK_STATE, in isDocked() local
53 return dockState != Intent.EXTRA_DOCK_STATE_UNDOCKED; in isDocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/
DOperationContextExtTest.java133 final int dockState = Intent.EXTRA_DOCK_STATE_CAR; in updatesFromSource() local
138 when(mBiometricContext.getDockedState()).thenReturn(dockState); in updatesFromSource()
157 assertThat(context.getDockState()).isEqualTo(dockState); in updatesFromSource()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java203 int dockState = intent.getIntExtra(Intent.EXTRA_DOCK_STATE,
205 mIsDocked = dockState != Intent.EXTRA_DOCK_STATE_UNDOCKED;
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java523 int dockState = intent.getIntExtra(Intent.EXTRA_DOCK_STATE,
525 mIsDocked = dockState == Intent.EXTRA_DOCK_STATE_DESK
526 || dockState == Intent.EXTRA_DOCK_STATE_LE_DESK
527 || dockState == Intent.EXTRA_DOCK_STATE_HE_DESK;
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java5312 int dockState = intent.getIntExtra(Intent.EXTRA_DOCK_STATE,
5314 if (mDockState != dockState) {
5315 FrameworkStatsLog.write(FrameworkStatsLog.DOCK_STATE_CHANGED, dockState);
5316 mDockState = dockState;
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java10002 int dockState = intent.getIntExtra(Intent.EXTRA_DOCK_STATE, in onReceive() local
10005 switch (dockState) { in onReceive()
10024 if (!((dockState == Intent.EXTRA_DOCK_STATE_LE_DESK) in onReceive()
10025 || ((dockState == Intent.EXTRA_DOCK_STATE_UNDOCKED) in onReceive()
10030 mDockState = dockState; in onReceive()