Home
last modified time | relevance | path

Searched refs:mForcedMode (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java73 private boolean mForcedMode; field in SilentModeHandler
93 mForcedMode = true; in SilentModeHandler()
98 mForcedMode = true; in SilentModeHandler()
102 mForcedMode = false; in SilentModeHandler()
110 forcedMode = mForcedMode; in init()
133 writer.printf("Forced silent mode: %b\n", mForcedMode); in dump()
185 if (!mForcedMode) { in switchToForcedMode()
187 mForcedMode = true; in switchToForcedMode()
205 if (mForcedMode) { in switchToNonForcedMode()
208 mForcedMode = false; in switchToNonForcedMode()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarNightService.java55 private int mForcedMode = FORCED_SENSOR_MODE; field in CarNightService
113 if (mUiModeManager != null && (mForcedMode == FORCED_SENSOR_MODE)) { in setNightModeLocked()
137 mForcedMode = FORCED_SENSOR_MODE; in forceDayNightMode()
141 mForcedMode = FORCED_DAY_MODE; in forceDayNightMode()
145 mForcedMode = FORCED_NIGHT_MODE; in forceDayNightMode()
195 writer.println("Forced Mode? " + (mForcedMode == FORCED_SENSOR_MODE in dump()
197 : (mForcedMode == FORCED_DAY_MODE ? "day" : "night"))); in dump()
/packages/services/Car/cpp/powerpolicy/server/src/
DSilentModeHandler.cpp77 mForcedMode = true; in init()
80 mForcedMode = true; in init()
83 if (mForcedMode) { in init()
119 mForcedMode ? "true" : "false"), in dump()
DSilentModeHandler.h77 bool mForcedMode = false; variable