Searched refs:sharedPreferences (Results 1 – 8 of 8) sorted by relevance
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
D | StorageProviderFragment.java | 87 final SharedPreferences sharedPreferences = in writeLoginValue() local 90 sharedPreferences.edit().putBoolean(getString(R.string.key_logged_in), loggedIn).commit(); in writeLoginValue() 97 final SharedPreferences sharedPreferences = in readLoginValue() local 100 return sharedPreferences.getBoolean(getString(R.string.key_logged_in), false); in readLoginValue()
|
D | MyCloudProvider.java | 614 final SharedPreferences sharedPreferences = 617 return sharedPreferences.getBoolean(getContext().getString(R.string.key_logged_in), false);
|
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/ |
D | FitDistanceWatchFaceConfigActivity.java | 74 SharedPreferences sharedPreferences = getPreferences(Context.MODE_PRIVATE); in onCreate() local 76 sharedPreferences.getBoolean(PREFS_FIT_ENABLED_BY_USER, false); in onCreate() 247 SharedPreferences sharedPreferences = getPreferences(Context.MODE_PRIVATE); in setUserFitPreferences() local 248 SharedPreferences.Editor editor = sharedPreferences.edit(); in setUserFitPreferences()
|
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ |
D | WearableMainActivity.java | 156 SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this); in onCreate() local 157 mSpeedLimit = sharedPreferences.getInt(PREFS_SPEED_LIMIT_KEY, SPEED_LIMIT_DEFAULT_MPH); in onCreate() 446 SharedPreferences sharedPreferences = in onActivityResult() local 448 SharedPreferences.Editor editor = sharedPreferences.edit(); in onActivityResult()
|
/development/samples/training/network-usage/src/com/example/android/networkusage/ |
D | SettingsActivity.java | 61 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
D | CubeWallpaper2Settings.java | 50 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in onSharedPreferenceChanged() argument
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | MessagingFragment.java | 73 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 103503 …ks/base,fake_wEaC-W2gRuaKlcqxAiIzJA@fakeemail.com,Log histogram of fsync times of sharedPreferences
|