Home
last modified time | relevance | path

Searched refs:getPreferences (Results 1 – 8 of 8) 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/test-runner/src/junit/runner/
DBaseTestRunner.java46 protected static Properties getPreferences() { in getPreferences() method in BaseTestRunner
59 getPreferences().store(fos, ""); in savePreferences()
67 getPreferences().put(key, value); in setPreference()
242 setPreferences(new Properties(getPreferences())); in readPreferences()
243 getPreferences().load(is); in readPreferences()
254 return getPreferences().getProperty(key); in getPreference()
/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/test-runner/api/
Dcurrent.txt305 method protected static java.util.Properties getPreferences();
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1110 return getPreferences(Context.MODE_PRIVATE).getInt(PREF_NUM_SHEET_EXPANSIONS, 0);
1114 getPreferences(Context.MODE_PRIVATE).edit().putInt(PREF_NUM_SHEET_EXPANSIONS,
/frameworks/base/core/java/android/app/
DActivity.java6617 public SharedPreferences getPreferences(@Context.PreferencesMode int mode) { in getPreferences() method in Activity
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt3314 method public android.content.SharedPreferences getPreferences(int);
54171 method protected static java.util.Properties getPreferences();
/frameworks/base/api/
Dcurrent.txt3703 method public android.content.SharedPreferences getPreferences(int);