Home | History | Annotate | Download | only in model

Lines Matching defs:Sources

51 public class Sources extends BroadcastReceiver implements OnAccountsUpdateListener {
52 private static final String TAG = "Sources";
63 private static SoftReference<Sources> sInstance = null;
66 * Requests the singleton instance of {@link Sources} with data bound from
70 public static synchronized Sources getInstance(Context context) {
71 Sources sources = sInstance == null ? null : sInstance.get();
72 if (sources == null) {
73 sources = new Sources(context);
74 sInstance = new SoftReference<Sources>(sources);
76 return sources;
82 private Sources(Context context) {
112 public Sources(ContactsSource... sources) {
113 for (ContactsSource source : sources) {
246 * Return list of all known, writable {@link ContactsSource}. Sources