Home
last modified time | relevance | path

Searched refs:NEVER (Results 1 – 9 of 9) sorted by relevance

/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DStorageManagerUpsellDialog.java48 private static final long NEVER = -1; field in StorageManagerUpsellDialog
53 private static final long NO_THANKS_LONG_DELAY = NEVER;
97 long nextShowTime = noThanksDelay == NEVER ? NEVER : getCurrentTime() + noThanksDelay; in onClick()
130 if (nextTimeToShow == NEVER) { in shouldShow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DWhenToDreamPickerTest.java77 when(mBackend.getWhenToDreamSetting()).thenReturn(DreamBackend.NEVER); in getDefaultKeyReturnsCurrentWhenToDreamSetting()
79 .isEqualTo(DreamSettings.getKeyFromSetting(DreamBackend.NEVER)); in getDefaultKeyReturnsCurrentWhenToDreamSetting()
105 final String key = DreamSettings.getKeyFromSetting(DreamBackend.NEVER); in setDreamNever()
107 verify(mBackend).setWhenToDream(DreamBackend.NEVER); in setDreamNever()
DDreamSettingsTest.java51 DreamBackend.NEVER,
68 .isEqualTo(DreamBackend.NEVER); in getSettingFromPrefKey()
DStartNowPreferenceControllerTest.java82 when(mBackend.getWhenToDreamSetting()).thenReturn(DreamBackend.NEVER); in buttonIsDisabledWhenNeverDreaming()
/packages/apps/Settings/src/com/android/settings/dream/
DDreamSettings.java20 import static com.android.settingslib.dream.DreamBackend.NEVER;
62 return NEVER; in getSettingFromPrefKey()
74 case NEVER: in getKeyFromSetting()
88 case NEVER: in getDreamSettingDescriptionResId()
DStartNowPreferenceController.java68 startButton.setEnabled(mBackend.getWhenToDreamSetting() != DreamBackend.NEVER); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dream/
DDreamSettings.java20 import static com.android.settingslib.dream.DreamBackend.NEVER;
62 return NEVER; in getSettingFromPrefKey()
74 case NEVER: in getKeyFromSetting()
88 case NEVER: in getDreamSettingDescriptionResId()
DStartNowPreferenceController.java68 startButton.setEnabled(mBackend.getWhenToDreamSetting() != DreamBackend.NEVER); in updateState()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DUIProvider.java2350 public static final int NEVER = 2; field in UIProvider.SnapHeaderValue