Home
last modified time | relevance | path

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

/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
DSampleTrustAgent.java180 SharedPreferences sharedPreferences = PreferenceManager in setReportUnlockAttempts() local
182 sharedPreferences.edit().putBoolean(PREFERENCE_REPORT_UNLOCK_ATTEMPTS, enabled).apply(); in setReportUnlockAttempts()
186 SharedPreferences sharedPreferences = PreferenceManager in getReportUnlockAttempts() local
188 return sharedPreferences.getBoolean(PREFERENCE_REPORT_UNLOCK_ATTEMPTS, false); in getReportUnlockAttempts()
192 SharedPreferences sharedPreferences = PreferenceManager in setReportDeviceLocked() local
194 sharedPreferences.edit().putBoolean(PREFERENCE_REPORT_DEVICE_LOCKED, enabled).apply(); in setReportDeviceLocked()
198 SharedPreferences sharedPreferences = PreferenceManager in getReportDeviceLocked() local
200 return sharedPreferences.getBoolean(PREFERENCE_REPORT_DEVICE_LOCKED, false); in getReportDeviceLocked()
204 SharedPreferences sharedPreferences = PreferenceManager in setIsManagingTrust() local
206 sharedPreferences.edit().putBoolean(PREFERENCE_MANAGING_TRUST, enabled).apply(); in setIsManagingTrust()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java409 SharedPreferences sharedPreferences = in testVoiceMailCount() local
411 SharedPreferences.Editor editor = sharedPreferences.edit(); in testVoiceMailCount()
423 assertEquals(null, sharedPreferences.getString("vm_id_key", null)); in testVoiceMailCount()
424 assertEquals(5, sharedPreferences.getInt("vm_count_key" + mPhoneUT.getSubId(), 0)); in testVoiceMailCount()
471 SharedPreferences sharedPreferences = PreferenceManager. in testGetCallForwardingOption() local
474 sharedPreferences.getInt(Phone.CF_STATUS + mPhoneUT.getSubId(), in testGetCallForwardingOption()
478 SharedPreferences.Editor editor = sharedPreferences.edit(); in testGetCallForwardingOption()
DTelephonyTest.java429 SharedPreferences sharedPreferences = mContext.getSharedPreferences((String) null, 0); in tearDown() local
430 sharedPreferences.edit().clear().commit(); in tearDown()
/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.java60 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); in onSharedPreferenceChanged() argument
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DPrefState.java85 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java214 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java437 SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
/frameworks/base/docs/html/training/tv/playback/
Donboarding.jd108 SharedPreferences sharedPreferences =
111 if (!sharedPreferences.getBoolean(
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/
Dsettings.jd817 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
822 connectionPref.setSummary(sharedPreferences.getString(key, ""));
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/
Dsettings.jd817 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
822 connectionPref.setSummary(sharedPreferences.getString(key, ""));
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/
Dsettings.jd817 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
822 connectionPref.setSummary(sharedPreferences.getString(key, ""));
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/
Dsettings.jd817 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
822 connectionPref.setSummary(sharedPreferences.getString(key, ""));
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/
Dsettings.jd817 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
822 connectionPref.setSummary(sharedPreferences.getString(key, ""));
/frameworks/base/docs/html/training/basics/network-ops/
Dmanaging.jd277 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
/frameworks/base/docs/html-intl/intl/id/guide/topics/ui/
Dsettings.jd817 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
822 connectionPref.setSummary(sharedPreferences.getString(key, ""));
/frameworks/base/docs/html-intl/intl/in/guide/topics/ui/
Dsettings.jd817 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
822 connectionPref.setSummary(sharedPreferences.getString(key, ""));
/frameworks/base/docs/html/guide/topics/ui/
Dsettings.jd825 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
830 connectionPref.setSummary(sharedPreferences.getString(key, ""));
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/ui/
Dsettings.jd817 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
822 connectionPref.setSummary(sharedPreferences.getString(key, ""));
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1493 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
/frameworks/base/docs/html-intl/intl/vi/guide/topics/ui/
Dsettings.jd817 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
822 connectionPref.setSummary(sharedPreferences.getString(key, ""));