Home
last modified time | relevance | path

Searched refs:getPreferences (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java168 getPreferences().registerOnSharedPreferenceChangeListener(mPrefListener); in initLocationListeners()
183 private SharedPreferences getPreferences() { in getPreferences() method in TrackerService
188 return getPreferences().getBoolean(NETWORK_PREF, true); in trackNetwork()
192 return getPreferences().getBoolean(GPS_PREF, true); in trackGPS()
196 return getPreferences().getBoolean(DEBUG_PREF, false); in doDebugLogging()
200 return getPreferences().getBoolean(SIGNAL_PREF, false); in trackSignalStrength()
205 String disString = getPreferences().getString(MIN_DIS_PREF, "0"); in getLocationMinDistance()
216 String timeString = getPreferences().getString(MIN_TIME_PREF, "0"); in getLocationUpdateTime()
263 getPreferences().unregisterOnSharedPreferenceChangeListener(mPrefListener); in stopListeners()
/frameworks/base/docs/html/training/basics/data-storage/
Dshared-preferences.jd56 <li>{@link android.app.Activity#getPreferences(int) getPreferences()} &mdash; Use this from an
77 {@link android.app.Activity#getPreferences(int) getPreferences()} method:</p>
80 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
101 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
117 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DAppWidgetHostActivity.java93 SharedPreferences.Editor prefs = getPreferences(0).edit(); in configureAppWidget()
120 int appWidgetId = getPreferences(0).getInt(PENDING_APPWIDGET_ID, -1); in handleAppWidgetConfigureResult()
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd90 <li>{@link android.app.Activity#getPreferences(int) getPreferences()} - Use this if you need
/frameworks/base/core/java/android/app/
DActivity.java5020 public SharedPreferences getPreferences(int mode) { in getPreferences() method in Activity
/frameworks/base/api/
Dsystem-current.txt3393 method public android.content.SharedPreferences getPreferences(int);
56702 method protected static java.util.Properties getPreferences();
Dcurrent.txt3314 method public android.content.SharedPreferences getPreferences(int);
54173 method protected static java.util.Properties getPreferences();