Home
last modified time | relevance | path

Searched refs:mSharedPref (Results 1 – 7 of 7) 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/TvSettings/SettingsAPI/java/com/android/tv/settings/library/accessibility/
DAccessibilityShortcutState.java51 private SharedPreferences mSharedPref; field in AccessibilityShortcutState
71 mSharedPref = mContext.getSharedPreferences( in onCreate()
186 return mSharedPref.getString(LAST_SHORTCUT_SERVICE, ""); in getLastShortcutService()
190 mSharedPref.edit().putString(LAST_SHORTCUT_SERVICE, s).apply(); in putLastShortcutService()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/remoteaccess/
DKitchenSinkRemoteTaskService.java60 private SharedPreferences mSharedPref; field in KitchenSinkRemoteTaskService
66 mSharedPref = getDefaultSharedPreferences(this); in onCreate()
125 String taskListJson = mSharedPref.getString( in onRemoteTaskRequested()
127 SharedPreferences.Editor sharedPrefEditor = mSharedPref.edit(); in onRemoteTaskRequested()
DRemoteAccessTestFragment.java49 private SharedPreferences mSharedPref; field in RemoteAccessTestFragment
54 mSharedPref = getDefaultSharedPreferences(getContext()); in onCreate()
110 String taskListJson = mSharedPref.getString(KitchenSinkRemoteTaskService.PREF_KEY, "{}"); in refresh()
/packages/apps/Settings/src/com/android/settings/network/
DProviderModelSlice.java76 private final SharedPreferences mSharedPref; field in ProviderModelSlice
81 mSharedPref = getSharedPreference(); in ProviderModelSlice()
214 if (!newState && mSharedPref != null in onNotifyChange()
215 && mSharedPref.getBoolean(PREF_HAS_TURNED_OFF_MOBILE_DATA, true)) { in onNotifyChange()
259 if (mSharedPref != null) { in getMobileDataDisableDialog()
260 SharedPreferences.Editor editor = mSharedPref.edit(); in getMobileDataDisableDialog()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DOpportunisticNetworkService.java72 private SharedPreferences mSharedPref; field in OpportunisticNetworkService
464 mSharedPref = mContext.createDeviceProtectedStorageContext().getSharedPreferences( in initialize()
611 return mSharedPref.getBoolean(PREF_ENABLED, true); in getPersistentEnableState()
681 mSharedPref.edit().putBoolean(PREF_ENABLED, mIsEnabled).apply(); in updateEnableState()