Home
last modified time | relevance | path

Searched refs:DreamSettings (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DDreamSettingsTest.java41 DreamSettings.WHILE_CHARGING_ONLY,
42 DreamSettings.WHILE_DOCKED_ONLY,
43 DreamSettings.EITHER_CHARGING_OR_DOCKED,
44 DreamSettings.NEVER_DREAM
64 assertThat(DreamSettings.getSettingFromPrefKey(KEYS.get(i))).isEqualTo(SETTINGS[i]); in getSettingFromPrefKey()
67 assertThat(DreamSettings.getSettingFromPrefKey("garbage value")) in getSettingFromPrefKey()
74 assertThat(DreamSettings.getKeyFromSetting(SETTINGS[i])).isEqualTo(KEYS.get(i)); in getKeyFromSetting()
77 assertThat(DreamSettings.getKeyFromSetting(-1)) in getKeyFromSetting()
78 .isEqualTo(DreamSettings.NEVER_DREAM); in getKeyFromSetting()
84 assertThat(DreamSettings.getDreamSettingDescriptionResId(SETTINGS[i])) in getDreamSettingDescriptionResId()
[all …]
DWhenToDreamPickerTest.java67 .isEqualTo(DreamSettings.getKeyFromSetting(DreamBackend.WHILE_CHARGING)); in getDefaultKeyReturnsCurrentWhenToDreamSetting()
71 .isEqualTo(DreamSettings.getKeyFromSetting(DreamBackend.WHILE_DOCKED)); in getDefaultKeyReturnsCurrentWhenToDreamSetting()
75 .isEqualTo(DreamSettings.getKeyFromSetting(DreamBackend.EITHER)); in getDefaultKeyReturnsCurrentWhenToDreamSetting()
79 .isEqualTo(DreamSettings.getKeyFromSetting(DreamBackend.NEVER)); in getDefaultKeyReturnsCurrentWhenToDreamSetting()
84 final String key = DreamSettings.getKeyFromSetting(DreamBackend.WHILE_CHARGING); in setDreamWhileCharging()
91 final String key = DreamSettings.getKeyFromSetting(DreamBackend.WHILE_DOCKED); in setDreamWhileDocked()
98 final String key = DreamSettings.getKeyFromSetting(DreamBackend.EITHER); in setDreamWhileChargingOrDocked()
105 final String key = DreamSettings.getKeyFromSetting(DreamBackend.NEVER); in setDreamNever()
DWhenToDreamPreferenceControllerTest.java64 mContext.getString(DreamSettings.getDreamSettingDescriptionResId(testSetting)); in updateSummary()
/packages/apps/Settings/src/com/android/settings/display/
DScreenSaverPreferenceController.java21 import com.android.settings.dream.DreamSettings;
46 preference.setSummary(DreamSettings.getSummaryTextWithDreamName(mContext)); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DScreenSaverPreferenceController.java21 import com.android.car.developeroptions.dream.DreamSettings;
46 preference.setSummary(DreamSettings.getSummaryTextWithDreamName(mContext)); in updateState()
/packages/apps/Settings/src/com/android/settings/dream/
DWhenToDreamPicker.java81 return DreamSettings.getKeyFromSetting(mBackend.getWhenToDreamSetting()); in getDefaultKey()
86 mBackend.setWhenToDream(DreamSettings.getSettingFromPrefKey(key)); in setDefaultKey()
DWhenToDreamPreferenceController.java43 int resId = DreamSettings.getDreamSettingDescriptionResId(mBackend.getWhenToDreamSetting()); in updateState()
DDreamSettings.java43 public class DreamSettings extends DashboardFragment { class
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dream/
DWhenToDreamPicker.java81 return DreamSettings.getKeyFromSetting(mBackend.getWhenToDreamSetting()); in getDefaultKey()
86 mBackend.setWhenToDream(DreamSettings.getSettingFromPrefKey(key)); in setDefaultKey()
DWhenToDreamPreferenceController.java43 int resId = DreamSettings.getDreamSettingDescriptionResId(mBackend.getWhenToDreamSetting()); in updateState()
DDreamSettings.java43 public class DreamSettings extends DashboardFragment { class
/packages/apps/Settings/src/com/android/settings/core/gateway/
DSettingsGateway.java78 import com.android.settings.dream.DreamSettings;
218 DreamSettings.class.getName(),