Home
last modified time | relevance | path

Searched refs:PREFS (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginPrefs.java31 private static final String PREFS = "plugin_prefs"; field in PluginPrefs
40 mSharedPrefs = context.getSharedPreferences(PREFS, 0); in PluginPrefs()
55 return context.getSharedPreferences(PREFS, 0).getBoolean(HAS_PLUGINS, false); in hasPlugins()
59 context.getSharedPreferences(PREFS, 0).edit().putBoolean(HAS_PLUGINS, true).apply(); in setHasPlugins()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java76 private static final String PREFS = "powerui_prefs"; field in PowerUI
590 int lastReboot = mContext.getSharedPreferences(PREFS, 0).getInt(BOOT_COUNT_KEY, -1); in showWarnOnThermalShutdown()
599 mContext.getSharedPreferences(PREFS, 0).edit().putInt(BOOT_COUNT_KEY, in showWarnOnThermalShutdown()