Searched refs:mSources (Results 1 – 8 of 8) sorted by relevance
30 protected SuggestionSources mSources; field in SuggestionSourcesTest36 mSources = new SuggestionSources(mContext); in setUp()37 mSources.load(); in setUp()41 assertNotEmpty(mSources.getSuggestionSources()); in testHasSuggestionSources()45 assertNotEmpty(mSources.getEnabledSuggestionSources()); in testEnabledSuggestionSources()49 assertNotNull(mSources.getSelectedWebSearchSource()); in testHasSelectedWebSearchSource()
27 private final ArrayList<SuggestionSource> mSources; field in SimpleSourceLookup31 mSources = sources; in SimpleSourceLookup()36 for (SuggestionSource source : mSources) { in getSourceByComponentName()
66 private SuggestionSources mSources; field in SearchSettings83 mSources = new SuggestionSources(this); in onCreate()84 mSources.load(); in onCreate()106 mSources.close(); in onDestroy()205 for (SuggestionSource source : mSources.getSuggestionSources()) { in populateSourcePreference()219 sourcePref.setKey(mSources.getSourceEnabledPreference(source)); in createSourcePreference()220 sourcePref.setDefaultValue(mSources.isSourceDefaultEnabled(source)); in createSourcePreference()
75 mSources = sources; in SessionManager()82 private final SuggestionSources mSources; field in SessionManager112 final SuggestionSource webSearchSource = mSources.getSelectedWebSearchSource(); in createSession()122 mSources.getEnabledSuggestionSources(), in createSession()123 mSources, in createSession()139 mSources, sources.mPromotableSources, sources.mUnpromotableSources, in createSession()
334 private ArrayList<SuggestionSource> mSources; field in SuggestionSources.SourceList338 mSources = new ArrayList<SuggestionSource>(); in SourceList()360 mSources.remove(old); in put()362 mSources.add(source); in put()370 return mSources; in values()377 return mSources.isEmpty(); in isEmpty()
71 private SuggestionSources mSources; field in SuggestionProvider114 mSources = new SuggestionSources(getContext()); in onCreate()115 mSources.load(); in onCreate()133 mSources, ShortcutRepositoryImplLog.create(getContext()), in onCreate()
43 private final List<SuggestionSource> mSources; field in QueryMultiplexer67 mSources = sources; in QueryMultiplexer()72 mSentRequests = new ArrayList<SuggestionRequest>(mSources.size()); in QueryMultiplexer()86 for (SuggestionSource source : mSources) { in sendQuery()
81 private final List<SuggestionSource> mSources; field in SourceSuggestionBacker155 mSources = sources; in SourceSuggestionBacker()252 mShowingMore = (pastDeadline || allPromotedResponded) && !mSources.isEmpty(); in snapshotSuggestionsInternal()292 for (SuggestionSource source : mSources) { in snapshotSuggestionsInternal()