Searched refs:FORCED_SENSOR_MODE (Results 1 – 6 of 6) sorted by relevance
53 @IntDef({FORCED_SENSOR_MODE, FORCED_DAY_MODE, FORCED_NIGHT_MODE})57 public static final int FORCED_SENSOR_MODE = 0; field in CarNightService65 private int mForcedMode = FORCED_SENSOR_MODE;132 if (mUiModeManager != null && (mForcedMode == FORCED_SENSOR_MODE)) { in setNightModeLocked()143 FORCED_DAY_NIGHT_MODE, FORCED_SENSOR_MODE); in getForcedDayNightModeSetting()166 case FORCED_SENSOR_MODE: in forceDayNightModeInternal()168 mForcedMode = FORCED_SENSOR_MODE; in forceDayNightModeInternal()207 if (mForcedMode != FORCED_SENSOR_MODE) { in init()239 writer.println("Forced Mode? " + (mForcedMode == FORCED_SENSOR_MODE in dump()
2902 mode = CarNightService.FORCED_SENSOR_MODE;
45 static final int FORCED_SENSOR_MODE = 0; field in ThemeTogglePreferenceController70 getAutoButton().setDrawable(getThemeModeIcon(FORCED_SENSOR_MODE)); in onCreateInternal()73 setForcedDayNightModeSetting(FORCED_SENSOR_MODE); in onCreateInternal()114 boolean checked = getForcedDayNightModeSetting() == FORCED_SENSOR_MODE; in updateState()175 FORCED_DAY_NIGHT_MODE, FORCED_SENSOR_MODE); in getForcedDayNightModeSetting()184 case FORCED_SENSOR_MODE -> getContext().getDrawable( in getThemeModeIcon()
43 static final int FORCED_SENSOR_MODE = 0; field in ThemeToggle59 .addEndItem(createThemeToggleButton(FORCED_SENSOR_MODE)) in getQCItem()106 FORCED_DAY_NIGHT_MODE, FORCED_SENSOR_MODE); in getForcedDayNightModeSetting()115 case FORCED_SENSOR_MODE: in getThemeModeIcon()
21 import static com.android.car.settings.display.ThemeTogglePreferenceController.FORCED_SENSOR_MODE;122 FORCED_SENSOR_MODE); in testRefreshUi_sensorMode_sensorButtonChecked() local178 assertThat(themeMode).isEqualTo(FORCED_SENSOR_MODE); in testHandlePreferenceChanged_setSensor()185 FORCED_SENSOR_MODE); in testHandlePreferenceChanged_setDay() local191 FORCED_SENSOR_MODE); in testHandlePreferenceChanged_setDay()200 FORCED_SENSOR_MODE); in testHandlePreferenceChanged_setNight() local
24 import static com.android.car.CarNightService.FORCED_SENSOR_MODE;95 FORCED_SENSOR_MODE); in setUp()