Home
last modified time | relevance | path

Searched refs:storageContext (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceManager.java285 final Context storageContext; in getSharedPreferences() local
288 storageContext = ContextCompat.createDeviceProtectedStorageContext(mContext); in getSharedPreferences()
291 storageContext = mContext; in getSharedPreferences()
295 mSharedPreferences = storageContext.getSharedPreferences(mSharedPreferencesName, in getSharedPreferences()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java458 final Context storageContext; in getSharedPreferences() local
461 storageContext = mContext.createDeviceProtectedStorageContext(); in getSharedPreferences()
464 storageContext = mContext.createCredentialProtectedStorageContext(); in getSharedPreferences()
467 storageContext = mContext; in getSharedPreferences()
471 mSharedPreferences = storageContext.getSharedPreferences(mSharedPreferencesName, in getSharedPreferences()