Home
last modified time | relevance | path

Searched refs:sharedPreferences (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/java/com/prefabulated/bouncyball/
DSettingsFragment.java77 SharedPreferences sharedPreferences = in onCreatePreferences() local
79 sharedPreferences.registerOnSharedPreferenceChangeListener(this); in onCreatePreferences()
81 if (sharedPreferences.getString(mSwapIntervalKey, null) == null) in onCreatePreferences()
82 sharedPreferences.edit() in onCreatePreferences()
85 updateSwapIntervalSummary(sharedPreferences.getString(mSwapIntervalKey, null)); in onCreatePreferences()
107 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
109 updateSwapIntervalSummary(sharedPreferences.getString(mSwapIntervalKey, null)); in onSharedPreferenceChanged()
DOrbitActivity.java281 …SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplication… in onStart() local
282 for (String key : sharedPreferences.getAll().keySet()) { in onStart()
284 nSetPreference(key, sharedPreferences.getBoolean(key, true) ? "true" : "false"); in onStart()
287 nSetPreference(key, sharedPreferences.getBoolean(key, false) ? "true" : "false"); in onStart()
290 nSetAutoSwapInterval(sharedPreferences.getBoolean(key, true)); in onStart()
293 nSetWorkload(sharedPreferences.getInt(key, 0)); in onStart()
296 nSetPreference(key, sharedPreferences.getString(key, null)); in onStart()
DSettingsActivity.java59 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String s) { in onSharedPreferenceChanged() argument
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/
DTertiaryKeyRotationTracker.java56 TertiaryKeyRotationTracker(SharedPreferences sharedPreferences) { in TertiaryKeyRotationTracker() argument
57 mSharedPreferences = sharedPreferences; in TertiaryKeyRotationTracker()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DSettingsActivity.java61 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
/frameworks/base/core/java/android/content/
DSharedPreferences.java68 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); in onSharedPreferenceChanged() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java507 SharedPreferences sharedPreferences = in testVoiceMailCount() local
509 SharedPreferences.Editor editor = sharedPreferences.edit(); in testVoiceMailCount()
521 assertEquals(null, sharedPreferences.getString("vm_id_key", null)); in testVoiceMailCount()
522 assertEquals(5, sharedPreferences.getInt("vm_count_key" + mPhoneUT.getSubId(), 0)); in testVoiceMailCount()
571 SharedPreferences sharedPreferences = PreferenceManager. in testGetCallForwardingOption() local
574 sharedPreferences.getInt(Phone.CF_STATUS + mPhoneUT.getSubId(), in testGetCallForwardingOption()
578 SharedPreferences.Editor editor = sharedPreferences.edit(); in testGetCallForwardingOption()
DTelephonyTest.java596 SharedPreferences sharedPreferences = mContext.getSharedPreferences((String) null, 0); in tearDown() local
597 sharedPreferences.edit().clear().commit(); in tearDown()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java437 SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java304 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1577 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument