Searched refs:sharedPreferences (Results 1 – 11 of 11) sorted by relevance
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/java/com/prefabulated/bouncyball/ |
D | SettingsFragment.java | 77 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()
|
D | OrbitActivity.java | 281 …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()
|
D | SettingsActivity.java | 59 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String s) { in onSharedPreferenceChanged() argument
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyRotationTracker.java | 56 TertiaryKeyRotationTracker(SharedPreferences sharedPreferences) { in TertiaryKeyRotationTracker() argument 57 mSharedPreferences = sharedPreferences; in TertiaryKeyRotationTracker()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | SettingsActivity.java | 61 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
|
/frameworks/base/core/java/android/content/ |
D | SharedPreferences.java | 68 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); in onSharedPreferenceChanged() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaPhoneTest.java | 507 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()
|
D | TelephonyTest.java | 596 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/ |
D | TrackerService.java | 437 SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DndTile.java | 304 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 1577 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
|