Searched refs:sharedPref (Results 1 – 3 of 3) sorted by relevance
77 val sharedPref = in instantiateSharedPrefs() constant85 val needToSetup = sharedPref.getStringSet(KEY, null) == null in instantiateSharedPrefs()87 sharedPref.edit().putStringSet(KEY, getPreferredPackages()).apply() in instantiateSharedPrefs()89 return sharedPref in instantiateSharedPrefs()
66 SharedPreferences sharedPref = in MtpServer() local68 if (sharedPref.contains(strID_PREFS_KEY)) { in MtpServer()69 strRandomId = sharedPref.getString(strID_PREFS_KEY, null); in MtpServer()86 sharedPref.edit().putString(strID_PREFS_KEY, strRandomId).apply(); in MtpServer()
509 SharedPreferences sharedPref = mContext.getSharedPreferences(PREF_NAME, in startLeBroadcastDialogForFirstTime() local511 if (sharedPref != null in startLeBroadcastDialogForFirstTime()512 && sharedPref.getBoolean(PREF_IS_LE_BROADCAST_FIRST_LAUNCH, true)) { in startLeBroadcastDialogForFirstTime()521 SharedPreferences.Editor editor = sharedPref.edit(); in startLeBroadcastDialogForFirstTime()