Searched refs:sSharedPref (Results 1 – 1 of 1) sorted by relevance
51 private static SharedPreferences sSharedPref; field in RadioStorage90 if (sSharedPref == null) { in RadioStorage()91 sSharedPref = context.getSharedPreferences(PREF_NAME, Context.MODE_PRIVATE); in RadioStorage()241 return sSharedPref.getInt(PREF_KEY_RADIO_BAND, RadioManager.BAND_FM); in getStoredRadioBand()253 sSharedPref.edit().putInt(PREF_KEY_RADIO_BAND, radioBand).apply(); in storeRadioBand()267 return sSharedPref.getInt(PREF_KEY_RADIO_CHANNEL_AM, INVALID_RADIO_CHANNEL); in getStoredRadioChannel()270 return sSharedPref.getInt(PREF_KEY_RADIO_CHANNEL_FM, INVALID_RADIO_CHANNEL); in getStoredRadioChannel()292 sSharedPref.edit().putInt(PREF_KEY_RADIO_CHANNEL_AM, channel).apply(); in storeRadioChannel()296 sSharedPref.edit().putInt(PREF_KEY_RADIO_CHANNEL_FM, channel).apply(); in storeRadioChannel()