Home
last modified time | relevance | path

Searched refs:QuickResponseUtils (Results 1 – 3 of 3) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DQuickResponseUtils.java30 public class QuickResponseUtils { class
133 String currentValue1 = prefs.getString(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_1, ""); in maybeResetQuickResponses()
135 prefs.edit().remove(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_1).apply(); in maybeResetQuickResponses()
136 Log.i(QuickResponseUtils.class, in maybeResetQuickResponses()
141 String currentValue2 = prefs.getString(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_2, ""); in maybeResetQuickResponses()
143 prefs.edit().remove(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_2).apply(); in maybeResetQuickResponses()
144 Log.i(QuickResponseUtils.class, in maybeResetQuickResponses()
149 String currentValue3 = prefs.getString(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_3, ""); in maybeResetQuickResponses()
151 prefs.edit().remove(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_3).apply(); in maybeResetQuickResponses()
152 Log.i(QuickResponseUtils.class, in maybeResetQuickResponses()
[all …]
DRespondViaSmsSettings.java53 QuickResponseUtils.maybeMigrateLegacyQuickResponses(this); in onCreate()
55 getPreferenceManager().setSharedPreferencesName(QuickResponseUtils.SHARED_PREFERENCES_NAME); in onCreate()
57 QuickResponseUtils.maybeResetQuickResponses(this, mPrefs); in onCreate()
81 initPref(findPreference(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_1)); in onResume()
82 initPref(findPreference(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_2)); in onResume()
83 initPref(findPreference(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_3)); in onResume()
84 initPref(findPreference(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_4)); in onResume()
113 QuickResponseUtils.maybeResetQuickResponses(this, mPrefs); in onPreferenceChange()
DRespondViaSmsManager.java103 QuickResponseUtils.maybeMigrateLegacyQuickResponses(context); in loadCannedTextMessages()
106 QuickResponseUtils.SHARED_PREFERENCES_NAME, in loadCannedTextMessages()
111 QuickResponseUtils.NUM_CANNED_RESPONSES); in loadCannedTextMessages()
116 QuickResponseUtils.maybeResetQuickResponses(context, prefs); in loadCannedTextMessages()
120 textMessages.add(0, prefs.getString(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_1, in loadCannedTextMessages()
122 textMessages.add(1, prefs.getString(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_2, in loadCannedTextMessages()
124 textMessages.add(2, prefs.getString(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_3, in loadCannedTextMessages()
126 textMessages.add(3, prefs.getString(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_4, in loadCannedTextMessages()