HomeSort by relevance Sort by last modified time
    Searched defs:prefs (Results 101 - 125 of 256) sorted by null

1 2 3 45 6 7 8 91011

  /cts/tests/tests/content/src/android/content/cts/
SharedPreferencesTest.java 57 SharedPreferences prefs = getPrefs(); local
58 prefs.edit().clear().commit();
76 SharedPreferences prefs = getPrefs(); local
78 prefs.edit().putString("foo", "bar").commit();
83 SharedPreferences prefs = getPrefs(); local
85 assertFalse(prefs.contains(key));
86 assertEquals(0, prefs.getAll().size());
87 assertTrue(prefs.getAll().isEmpty());
88 assertEquals(false, prefs.getBoolean(key, false));
89 assertEquals(true, prefs.getBoolean(key, true))
111 SharedPreferences prefs = getPrefs(); local
211 SharedPreferences prefs = getPrefs(); local
232 SharedPreferences prefs = mContext.getSharedPreferences("torture", Context.MODE_PRIVATE); local
273 SharedPreferences prefs = mContext.getSharedPreferences(prefsName, Context.MODE_PRIVATE); local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/system/
AppSettings.java 41 import java.util.prefs.BackingStoreException;
42 import java.util.prefs.Preferences;
257 Preferences prefs = Preferences.userRoot().node(preferencesKey); local
258 String[] keys = prefs.keys();
263 put(key, prefs.getInt(key, (Integer) defaultValue));
265 put(key, prefs.get(key, (String) defaultValue));
267 put(key, prefs.getBoolean(key, (Boolean) defaultValue));
278 * <code>HKEY_CURRENT_USER\Software\JavaSoft\Prefs\[preferencesKey]</code>
286 Preferences prefs = Preferences.userRoot().node(preferencesKey); local
288 prefs.put(key, get(key).toString())
    [all...]