Home
last modified time | relevance | path

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

/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/
DCryptoSettings.java73 SharedPreferences sharedPreferences = in getInstance() local
75 return new CryptoSettings(sharedPreferences, context); in getInstance()
85 SharedPreferences sharedPreferences = in getInstanceForTesting() local
87 return new CryptoSettings(sharedPreferences, context); in getInstanceForTesting()
90 private CryptoSettings(SharedPreferences sharedPreferences, Context context) { in CryptoSettings() argument
91 mSharedPreferences = Objects.requireNonNull(sharedPreferences); in CryptoSettings()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/
DTertiaryKeyRotationTracker.java63 TertiaryKeyRotationTracker(SharedPreferences sharedPreferences, int maxBackupsTillRotation) { in TertiaryKeyRotationTracker() argument
70 mSharedPreferences = sharedPreferences; in TertiaryKeyRotationTracker()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiSettingsStore.java45 WifiSettingsStore(Context context, WifiSettingsConfigStore sharedPreferences) { in WifiSettingsStore() argument
47 mSettingsConfigStore = sharedPreferences; in WifiSettingsStore()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java93 @Main SharedPreferences sharedPreferences) { in DndTile() argument
97 mSharedPreferences = sharedPreferences; in DndTile()
126 public static boolean isCombinedIcon(SharedPreferences sharedPreferences) { in isCombinedIcon() argument
127 return sharedPreferences.getBoolean(Prefs.Key.DND_TILE_COMBINED_ICON, in isCombinedIcon()
314 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
/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.java71 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); in onSharedPreferenceChanged() argument
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DPrefState.java97 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt75 @Main val sharedPreferences: SharedPreferences, in <lambda>() constant in com.android.systemui.controls.ui.ControlsUiControllerImpl
442 val component = sharedPreferences.getString(PREF_COMPONENT, null)?.let { in <lambda>()
445 val structure = sharedPreferences.getString(PREF_STRUCTURE, "") in <lambda>()
454 sharedPreferences.edit() in <lambda>()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java715 SharedPreferences sharedPreferences = in testVoiceMailCount() local
717 SharedPreferences.Editor editor = sharedPreferences.edit(); in testVoiceMailCount()
729 assertEquals(null, sharedPreferences.getString("vm_id_key", null)); in testVoiceMailCount()
730 assertEquals(5, sharedPreferences.getInt("vm_count_key" + mPhoneUT.getSubId(), 0)); in testVoiceMailCount()
779 SharedPreferences sharedPreferences = PreferenceManager. in testGetCallForwardingOption() local
782 sharedPreferences.getInt(Phone.CF_STATUS + mPhoneUT.getSubId(), in testGetCallForwardingOption()
786 SharedPreferences.Editor editor = sharedPreferences.edit(); in testGetCallForwardingOption()
DTelephonyTest.java706 SharedPreferences sharedPreferences = mContext.getSharedPreferences((String) null, 0); in tearDown() local
707 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/statusbar/phone/
DPhoneStatusBarPolicy.java164 @Main SharedPreferences sharedPreferences, DateFormatUtil dateFormatUtil, in PhoneStatusBarPolicy() argument
208 mSharedPreferences = sharedPreferences; in PhoneStatusBarPolicy()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1577 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument