• Home
  • Raw
  • Download

Lines Matching refs:prefs

79         SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);  in onReceive()  local
89 prefs.edit().putBoolean( in onReceive()
100 if (prefs.getBoolean(context.getString(R.string.pref_key_stop_on_bugreport), false) && in onReceive()
101 !prefs.getBoolean(context.getString( in onReceive()
104prefs.edit().putBoolean(context.getString(R.string.pref_key_tracing_on), false).commit(); in onReceive()
118 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in updateTracing() local
120 prefs.getBoolean(context.getString(R.string.pref_key_tracing_on), false); in updateTracing()
127 Set<String> activeAvailableTags = getActiveTags(context, prefs, true); in updateTracing()
128 Set<String> activeTags = getActiveTags(context, prefs, false); in updateTracing()
131 postCategoryNotification(context, prefs); in updateTracing()
135 prefs.getString(context.getString(R.string.pref_key_buffer_size), in updateTracing()
138 … boolean appTracing = prefs.getBoolean(context.getString(R.string.pref_key_apps), true); in updateTracing()
139 … boolean longTrace = prefs.getBoolean(context.getString(R.string.pref_key_long_traces), true); in updateTracing()
142 prefs.getString(context.getString(R.string.pref_key_max_long_trace_size), in updateTracing()
146 prefs.getString(context.getString(R.string.pref_key_max_long_trace_duration), in updateTracing()
226 SharedPreferences prefs = in updateDeveloperOptionsWatcher()
228 prefs.edit().putBoolean( in updateDeveloperOptionsWatcher()
242 private static void postCategoryNotification(Context context, SharedPreferences prefs) { in postCategoryNotification() argument
246 String msg = TextUtils.join(", ", getActiveUnavailableTags(context, prefs)); in postCategoryNotification()
293 …public static Set<String> getActiveTags(Context context, SharedPreferences prefs, boolean onlyAvai… in getActiveTags() argument
294 Set<String> tags = prefs.getStringSet(context.getString(R.string.pref_key_tags), in getActiveTags()
306 public static Set<String> getActiveUnavailableTags(Context context, SharedPreferences prefs) { in getActiveUnavailableTags() argument
307 Set<String> tags = prefs.getStringSet(context.getString(R.string.pref_key_tags), in getActiveUnavailableTags()