Home
last modified time | relevance | path

Searched refs:mSharedPreferences (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/
DTertiaryKeyRotationTracker.java52 private final SharedPreferences mSharedPreferences; field in TertiaryKeyRotationTracker
57 mSharedPreferences = sharedPreferences; in TertiaryKeyRotationTracker()
77 mSharedPreferences.edit().putInt(packageName, backupsSinceRotation).apply(); in recordBackup()
98 mSharedPreferences.edit().putInt(packageName, 0).apply(); in resetCountdown()
103 SharedPreferences.Editor editor = mSharedPreferences.edit(); in markAllForRotation()
104 for (String packageName : mSharedPreferences.getAll().keySet()) { in markAllForRotation()
111 return mSharedPreferences.getInt(packageName, 0); in getBackupsSinceRotation()
/frameworks/base/core/java/android/util/
DHashedStringCache.java59 private SharedPreferences mSharedPreferences; field in HashedStringCache
154 mSharedPreferences = getHashSharedPreferences(context); in populateSaltValues()
155 long saltDate = mSharedPreferences.getLong(tag + HASH_SALT_DATE, 0); in populateSaltValues()
161 String saltString = mSharedPreferences.getString(tag + HASH_SALT, null); in populateSaltValues()
162 mSaltGen = mSharedPreferences.getInt(tag + HASH_SALT_GEN, 0); in populateSaltValues()
169 mSharedPreferences.edit() in populateSaltValues()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java104 private SharedPreferences mSharedPreferences; field in PreferenceManager
392 mSharedPreferences = null; in setSharedPreferencesName()
415 mSharedPreferences = null; in setSharedPreferencesMode()
424 mSharedPreferences = null; in setStorageDefault()
446 mSharedPreferences = null; in setStorageDeviceProtected()
465 mSharedPreferences = null; in setStorageCredentialProtected()
515 if (mSharedPreferences == null) { in getSharedPreferences()
529 mSharedPreferences = storageContext.getSharedPreferences(mSharedPreferencesName, in getSharedPreferences()
533 return mSharedPreferences; in getSharedPreferences()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java66 private SharedPreferences mSharedPreferences; field in UsbHandlerTest
127 return mSharedPreferences; in getPinnedSharedPrefs()
141 when(mSharedPreferences.edit()).thenReturn(mEditor); in before()
314 when(mSharedPreferences.getString(String.format(Locale.ENGLISH, in unlockScreen()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java177 private SharedPreferences mSharedPreferences; field in BridgeContext
1520 if (mSharedPreferences == null) { in getSharedPreferences()
1521 mSharedPreferences = new BridgeSharedPreferences(); in getSharedPreferences()
1523 return mSharedPreferences; in getSharedPreferences()
1528 if (mSharedPreferences == null) { in getSharedPreferences()
1529 mSharedPreferences = new BridgeSharedPreferences(); in getSharedPreferences()
1531 return mSharedPreferences; in getSharedPreferences()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java119 private SharedPreferences mSharedPreferences; field in ImsPhoneCallTrackerTest
519 return mSharedPreferences; in testDialClirMode()
522 doReturn(CommandsInterface.CLIR_INVOCATION).when(mSharedPreferences).getInt( in testDialClirMode()
544 return mSharedPreferences; in testEmergencyDialSuppressClir()
552 doReturn(CommandsInterface.CLIR_INVOCATION).when(mSharedPreferences).getInt( in testEmergencyDialSuppressClir()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java533 return mSharedPreferences; in getSharedPreferences()
607 private final SharedPreferences mSharedPreferences = PreferenceManager field in ContextFixture