Home
last modified time | relevance | path

Searched refs:mSharedPref (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinService.java61 private SharedPreferences mSharedPref; field in RestrictedProfilePinService.PinServiceImpl
64 mSharedPref = context.getSharedPreferences(PIN_STORE_NAME, Context.MODE_PRIVATE); in PinServiceImpl()
75 mSharedPref.edit() in setPin()
82 mSharedPref.edit() in deletePin()
94 return mSharedPref.getString(PIN_STORE_NAME, null); in getPin()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityShortcutFragment.java53 private SharedPreferences mSharedPref; field in AccessibilityShortcutFragment
67 mSharedPref = getContext().getSharedPreferences( in onCreatePreferences()
134 return mSharedPref.getString(LAST_SHORTCUT_SERVICE, ""); in getLastShortcutService()
138 mSharedPref.edit().putString(LAST_SHORTCUT_SERVICE, s).apply(); in putLastShortcutService()
/packages/apps/Settings/src/com/android/settings/network/
DProviderModelSlice.java75 private final SharedPreferences mSharedPref; field in ProviderModelSlice
80 mSharedPref = getSharedPreference(); in ProviderModelSlice()
207 if (!newState && mSharedPref != null in onNotifyChange()
208 && mSharedPref.getBoolean(PREF_HAS_TURNED_OFF_MOBILE_DATA, true)) { in onNotifyChange()
252 if (mSharedPref != null) { in getMobileDataDisableDialog()
253 SharedPreferences.Editor editor = mSharedPref.edit(); in getMobileDataDisableDialog()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DOpportunisticNetworkService.java67 private SharedPreferences mSharedPref; field in OpportunisticNetworkService
388 mSharedPref = mContext.createDeviceProtectedStorageContext().getSharedPreferences( in initialize()
598 return mSharedPref.getBoolean(PREF_ENABLED, true); in getPersistentEnableState()
603 mSharedPref.edit().putBoolean(PREF_ENABLED, mIsEnabled).apply(); in updateEnableState()