Home
last modified time | relevance | path

Searched refs:List (Results 1 – 25 of 2788) sorted by relevance

12345678910>>...112

/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DTunerSetupUtils.java27 import java.util.List;
36 public static List<Pair<Lineup, Integer>> lineupChannelMatchCount( in lineupChannelMatchCount()
37 List<Lineup> lineups, List<String> localChannels) { in lineupChannelMatchCount()
38 List<Pair<Lineup, Integer>> result = new ArrayList<>(); in lineupChannelMatchCount()
39 List<List<String>> parsedLocalChannels = parseChannelNumbers(localChannels); in lineupChannelMatchCount()
57 static int getMatchCount(List<String> lineupChannels, List<List<String>> parsedLocalChannels) { in getMatchCount()
59 List<List<String>> parsedLineupChannels = parseChannelNumbers(lineupChannels); in getMatchCount()
60 for (List<String> parsedLineupChannel : parsedLineupChannels) { in getMatchCount()
61 for (List<String> parsedLocalChannel : parsedLocalChannels) { in getMatchCount()
78 static List<String> parseChannelNumber(String channelNumber) { in parseChannelNumber()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java65 import java.util.List;
140 public ListenableFuture<List<AccountInfo>> getAccountsAsync() {
145 public ListenableFuture<List<AccountInfo>> filterAccountsAsync(
174 public List<AccountWithDataSet> getAccounts(boolean contactWritableOnly) { in getAccounts()
188 public List<AccountWithDataSet> blockForWritableAccounts() { in blockForWritableAccounts()
196 public abstract ListenableFuture<List<AccountInfo>> getAccountsAsync(); in getAccountsAsync()
201 public abstract ListenableFuture<List<AccountInfo>> filterAccountsAsync( in filterAccountsAsync()
218 public List<AccountInfo> getWritableGoogleAccounts() { in getWritableGoogleAccounts()
233 final List<AccountWithDataSet> allAccounts =
298 final List<AccountWithDataSet> accounts =
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java64 import java.util.List;
109 final List<String> actualCards = mManager.mSavedCards.stream().collect(Collectors.toList()); in constructor_hasSavedInstanceState_shouldContainExpectedSavedCards()
110 final List<String> expectedCards = Arrays.asList("test_wifi", "test_flashlight", in constructor_hasSavedInstanceState_shouldContainExpectedSavedCards()
119 final List<Integer> actual = pool.getControllers().stream() in constructor_hasSettingsCustomCards_shouldSetUpCustomControllers()
122 final List<Integer> expected = Arrays.asList(ContextualCard.CardType.CONDITIONAL, in constructor_hasSettingsCustomCards_shouldSetUpCustomControllers()
140 final List<ContextualCard> cards = new ArrayList<>(); in sortCards_shouldBeDescendingOrder()
148 final List<ContextualCard> sortedCards = mManager.sortCards(cards); in sortCards_shouldBeDescendingOrder()
155 final List<ContextualCard> cards = new ArrayList<>(); in sortCards_hasConditionalAndSliceCards_conditionalShouldAlwaysBeTheLast()
159 final List<ContextualCard> sortedCards = mManager.sortCards(cards); in sortCards_hasConditionalAndSliceCards_conditionalShouldAlwaysBeTheLast()
248 final List<ContextualCard> cards = new ArrayList<>(); in onFinishCardLoading_newLaunch_twoLoadedCards_shouldShowTwoCards()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java45 import java.util.List;
82 private final Map<String, List<ScheduledRecording>> mInputScheduleMap = new HashMap<>();
136 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); in DvrScheduleManager()
163 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); in DvrScheduleManager()
200 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); in DvrScheduleManager()
259 private List<ScheduledRecording> getStartedRecordings(String inputId) { in getStartedRecordings()
263 List<ScheduledRecording> result = new ArrayList<>(); in getStartedRecordings()
264 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); in getStartedRecordings()
286 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); in buildData()
304 List<ScheduledRecording> addedConflicts = new ArrayList<>(); in onSchedulesChanged()
[all …]
DDvrDataManagerImpl.java73 import java.util.List;
175 private static <T> List<T> moveElements( in moveElements()
177 List<T> moved = new ArrayList<>(); in moveElements()
204 ListenableFuture<List<SeriesRecording>> dvrQuerySeriesRecordingFuture = in start()
206 new FutureCallback<List<SeriesRecording>>() { in start()
208 public void onSuccess(List<SeriesRecording> seriesRecordings) { in start()
241 ListenableFuture<List<ScheduledRecording>> dvrQueryScheduleFuture = in start()
243 new FutureCallback<List<ScheduledRecording>>() { in start()
245 public void onSuccess(List<ScheduledRecording> result) { in start()
251 List<ScheduledRecording> toUpdate = new ArrayList<>(); in start()
[all …]
DDvrDataManager.java28 import java.util.List;
44 List<RecordedProgram> getRecordedPrograms(); in getRecordedPrograms()
47 List<RecordedProgram> getRecordedPrograms(long seriesRecordingId); in getRecordedPrograms()
54 List<ScheduledRecording> getAllScheduledRecordings(); in getAllScheduledRecordings()
60 List<ScheduledRecording> getAvailableScheduledRecordings(); in getAvailableScheduledRecordings()
63 List<ScheduledRecording> getStartedRecordings(); in getStartedRecordings()
66 List<ScheduledRecording> getNonStartedScheduledRecordings(); in getNonStartedScheduledRecordings()
69 List<ScheduledRecording> getFailedScheduledRecordings(); in getFailedScheduledRecordings()
72 List<SeriesRecording> getSeriesRecordings(); in getSeriesRecordings()
75 List<SeriesRecording> getSeriesRecordings(String inputId); in getSeriesRecordings()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardManager.java50 import java.util.List;
87 private final List<LifecycleObserver> mLifecycleObservers;
91 final List<ContextualCard> mContextualCards;
97 List<String> mSavedCards;
150 List<ContextualCard> sortCards(List<ContextualCard> cards) { in sortCards()
158 public void onContextualCardUpdated(Map<Integer, List<ContextualCard>> updateList) { in onContextualCardUpdated()
161 List<ContextualCard> cardsToKeep; in onContextualCardUpdated()
183 final List<ContextualCard> allCards = new ArrayList<>(); in onContextualCardUpdated()
186 updateList.values().stream().flatMap(List::stream).collect(Collectors.toList())); in onContextualCardUpdated()
190 final List<ContextualCard> sortedCards = sortCards(allCards); in onContextualCardUpdated()
[all …]
DContextualCardLoader.java42 import java.util.List;
50 public class ContextualCardLoader extends AsyncLoaderCompat<List<ContextualCard>> {
99 protected void onDiscardResult(List<ContextualCard> result) { in onDiscardResult()
105 public List<ContextualCard> loadInBackground() { in loadInBackground()
106 final List<ContextualCard> result = new ArrayList<>(); in loadInBackground()
130 List<ContextualCard> getDisplayableCards(List<ContextualCard> candidates) { in getDisplayableCards()
131 final List<ContextualCard> eligibleCards = filterEligibleCards(candidates); in getDisplayableCards()
132 final List<ContextualCard> visibleCards = new ArrayList<>(); in getDisplayableCards()
133 final List<ContextualCard> hiddenCards = new ArrayList<>(); in getDisplayableCards()
188 List<ContextualCard> filterEligibleCards(List<ContextualCard> candidates) { in filterEligibleCards()
[all …]
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java26 import java.util.List;
55 private final List<String> mCountries;
62 private final List<Rating> mRatings;
65 private final List<SubRating> mSubRatings;
76 private final List<Order> mOrders;
100 public List<String> getCountries() { in getCountries()
104 public List<Rating> getRatings() { in getRatings()
117 public List<SubRating> getSubRatings() { in getSubRatings()
121 public List<Order> getOrders() { in getOrders()
161 List<String> countries, in ContentRatingSystem()
[all …]
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardManager.java52 import java.util.List;
88 private final List<LifecycleObserver> mLifecycleObservers;
94 final List<ContextualCard> mContextualCards;
100 List<String> mSavedCards;
153 List<ContextualCard> sortCards(List<ContextualCard> cards) { in sortCards()
161 public void onContextualCardUpdated(Map<Integer, List<ContextualCard>> updateList) { in onContextualCardUpdated()
164 List<ContextualCard> cardsToKeep; in onContextualCardUpdated()
186 final List<ContextualCard> allCards = new ArrayList<>(); in onContextualCardUpdated()
189 updateList.values().stream().flatMap(List::stream).collect(Collectors.toList())); in onContextualCardUpdated()
193 final List<ContextualCard> sortedCards = sortCards(allCards); in onContextualCardUpdated()
[all …]
DContextualCardLoader.java42 import java.util.List;
50 public class ContextualCardLoader extends AsyncLoaderCompat<List<ContextualCard>> {
99 protected void onDiscardResult(List<ContextualCard> result) { in onDiscardResult()
105 public List<ContextualCard> loadInBackground() { in loadInBackground()
106 final List<ContextualCard> result = new ArrayList<>(); in loadInBackground()
130 List<ContextualCard> getDisplayableCards(List<ContextualCard> candidates) { in getDisplayableCards()
131 final List<ContextualCard> eligibleCards = filterEligibleCards(candidates); in getDisplayableCards()
132 final List<ContextualCard> visibleCards = new ArrayList<>(); in getDisplayableCards()
133 final List<ContextualCard> hiddenCards = new ArrayList<>(); in getDisplayableCards()
161 List<ContextualCard> filterEligibleCards(List<ContextualCard> candidates) { in filterEligibleCards()
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DBaseSearchIndexProvider.java44 import java.util.List;
57 public List<SearchIndexableResource> getXmlResourcesToIndex(Context context, boolean enabled) { in getXmlResourcesToIndex()
62 public List<SearchIndexableRaw> getRawDataToIndex(Context context, boolean enabled) { in getRawDataToIndex()
68 public List<String> getNonIndexableKeys(Context context) { in getNonIndexableKeys()
73 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeys()
75 final List<AbstractPreferenceController> controllers = getPreferenceControllers(context); in getNonIndexableKeys()
96 public List<AbstractPreferenceController> getPreferenceControllers(Context context) { in getPreferenceControllers()
97 final List<AbstractPreferenceController> controllersFromCode = in getPreferenceControllers()
99 final List<SearchIndexableResource> res = getXmlResourcesToIndex(context, true); in getPreferenceControllers()
103 List<BasePreferenceController> controllersFromXml = new ArrayList<>(); in getPreferenceControllers()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/
DBaseSearchIndexProvider.java44 import java.util.List;
57 public List<SearchIndexableResource> getXmlResourcesToIndex(Context context, boolean enabled) { in getXmlResourcesToIndex()
62 public List<SearchIndexableRaw> getRawDataToIndex(Context context, boolean enabled) { in getRawDataToIndex()
68 public List<String> getNonIndexableKeys(Context context) { in getNonIndexableKeys()
73 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeys()
75 final List<AbstractPreferenceController> controllers = getPreferenceControllers(context); in getNonIndexableKeys()
96 public List<AbstractPreferenceController> getPreferenceControllers(Context context) { in getPreferenceControllers()
97 final List<AbstractPreferenceController> controllersFromCode = in getPreferenceControllers()
99 final List<SearchIndexableResource> res = getXmlResourcesToIndex(context, true); in getPreferenceControllers()
103 List<BasePreferenceController> controllersFromXml = new ArrayList<>(); in getPreferenceControllers()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DTsParser.java36 import java.util.List;
65 private final Map<Integer, List<PmtItem>> mProgramNumberToPMTMap = new HashMap<>();
66 private final Map<Integer, List<EitItem>> mSourceIdToEitMap = new HashMap<>();
68 private final Map<EventSourceEntry, List<EitItem>> mEitMap = new HashMap<>();
69 private final Map<EventSourceEntry, List<EttItem>> mETTMap = new HashMap<>();
83 void onPatDetected(List<PatItem> items); in onPatDetected()
87 void onVctItemParsed(VctItem channel, List<PmtItem> pmtItems); in onVctItemParsed()
89 void onEitItemParsed(VctItem channel, List<EitItem> items); in onEitItemParsed()
95 void onSdtItemParsed(SdtItem channel, List<PmtItem> pmtItems); in onSdtItemParsed()
160 public void onPatParsed(List<PatItem> items) {
[all …]
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java47 import java.util.List;
64 private List<String> mChannelNumbers;
67 private AsyncTask<Void, Void, List<Pair<Lineup, Integer>>> mFetchLineupTask;
81 new AsyncTask<Void, Void, List<Pair<Lineup, Integer>>>() { in onCreate()
83 protected List<Pair<Lineup, Integer>> doInBackground(Void... voids) { in onCreate()
88 protected void onPostExecute(List<Pair<Lineup, Integer>> result) { in onCreate()
89 List<GuidedAction> actions = new ArrayList<>(); in onCreate()
147 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions()
175 private List<Pair<Lineup, Integer>> lineupChannelMatchCount( in lineupChannelMatchCount()
176 List<Lineup> lineups, List<String> localChannels) { in lineupChannelMatchCount()
[all …]
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobSchedulerWrapper.java32 import java.util.List;
61 private List<JobInfo> mLastJobsList;
62 private List<JobInfo> mNewJobs;
63 private List<JobInfo> mCompletedJobs;
199 private void printJobsOnce(List<JobInfo> list) { in printJobsOnce()
223 List<JobInfo> currentJobs = mJobScheduler.getAllPendingJobs(); in updateJobs()
244 private synchronized List<JobInfo> newJobsSince(List<JobInfo> oldList, List<JobInfo> newList) { in newJobsSince()
248 private synchronized List<JobInfo> completedJobsSince( in completedJobsSince()
249 List<JobInfo> oldList, List<JobInfo> newList) { in completedJobsSince()
251 List<JobInfo> completedJobsList = findDiffBetween(oldList, newList); in completedJobsSince()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DSeriesRecordingScheduler.java53 import java.util.List;
88 private final List<SeriesRecordingUpdateTask> mScheduleTasks = new ArrayList<>();
133 List<SeriesRecording> stopped = new ArrayList<>();
134 List<SeriesRecording> normal = new ArrayList<>();
165 List<ScheduledRecording> schedulesForUpdate = new ArrayList<>();
181 private void handleScheduledRecordingChange(List<ScheduledRecording> schedules) {
192 List<SeriesRecording> seriesRecordings = new ArrayList<>();
298 List<SeriesRecording> seriesRecordings = new ArrayList<>(); in resumeUpdate()
346 List<SeriesRecording> seriesRecordingsToUpdate = in updateSchedules()
377 private boolean needToReadAllChannels(List<SeriesRecording> seriesRecordingsToUpdate) { in needToReadAllChannels()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/data/
DCityModel.java35 import java.util.List;
64 private final List<CityListener> mCityListeners = new ArrayList<>();
70 private List<City> mAllCities;
73 private List<City> mSelectedCities;
76 private List<City> mUnselectedCities;
105 List<City> getAllCities() { in getAllCities()
108 final List<City> selected = new ArrayList<>(getSelectedCities()); in getAllCities()
114 final List<City> allCities = new ArrayList<>(getCityMap().size()); in getAllCities()
139 List<City> getUnselectedCities() { in getUnselectedCities()
142 final List<City> selected = new ArrayList<>(getSelectedCities()); in getUnselectedCities()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlDocument.java29 import java.util.List;
42 private final List<Node> nodes;
48 public HtmlDocument(List<Node> nodes) { in HtmlDocument()
53 public List<Node> getNodes() { in getNodes()
100 public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) { in createTag()
109 List<TagAttribute> attributes, String originalHtmlBeforeAttributes, in createTag()
120 List<TagAttribute> attributes) { in createSelfTerminatingTag()
129 List<TagAttribute> attributes, String originalHtmlBeforeAttributes, in createSelfTerminatingTag()
219 List<Node> newNodes = new ArrayList<Node>(); in filter()
508 private List<TagAttribute> attributes;
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java44 import java.util.List;
125 public List<InputMethodSubtype> getMyEnabledInputMethodSubtypeList( in getMyEnabledInputMethodSubtypeList()
147 final List<InputMethodSubtype> enabledSubtypes = getMyEnabledInputMethodSubtypeList( in switchToNextInputSubtypeInThisIme()
168 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in switchToNextInputMethodAndSubtype()
176 final List<InputMethodSubtype> enabledSubtypes = getEnabledInputMethodSubtypeList(nextImi, in switchToNextInputMethodAndSubtype()
189 final List<InputMethodInfo> imiList) { in getImiIndexInList()
202 final List<InputMethodInfo> imiList) { in getNextNonAuxiliaryIme()
234 private final HashMap<InputMethodInfo, List<InputMethodSubtype>>
236 private final HashMap<InputMethodInfo, List<InputMethodSubtype>>
259 public synchronized List<InputMethodSubtype> getEnabledInputMethodSubtypeList( in getEnabledInputMethodSubtypeList()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java61 import java.util.List;
625 private final SparseArray<List<EttItem>> mParsedEttItems = new SparseArray<>();
628 void onPatParsed(List<PatItem> items); in onPatParsed()
630 void onPmtParsed(int programNumber, List<PmtItem> items); in onPmtParsed()
632 void onMgtParsed(List<MgtItem> items); in onMgtParsed()
634 void onVctParsed(List<VctItem> items, int sectionNumber, int lastSectionNumber); in onVctParsed()
636 void onEitParsed(int sourceId, List<EitItem> items); in onEitParsed()
638 void onEttParsed(int sourceId, List<EttItem> descriptions); in onEttParsed()
640 void onSdtParsed(List<SdtItem> items); in onSdtParsed()
671 List<EttItem> descriptions = mParsedEttItems.valueAt(i); in parseSections()
[all …]
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/shortcuts/
DDeepShortcutManager.java36 import java.util.List;
83 public List<ShortcutInfo> queryForFullDetails(String packageName, in queryForFullDetails()
84 List<String> shortcutIds, UserHandle user) { in queryForFullDetails()
92 public List<ShortcutInfo> queryForShortcutsContainer(ComponentName activity, in queryForShortcutsContainer()
106 List<String> pinnedIds = extractIds(queryForPinnedShortcuts(packageName, user)); in unpinShortcut()
125 List<String> pinnedIds = extractIds(queryForPinnedShortcuts(packageName, user)); in pinShortcut()
165 public List<ShortcutInfo> queryForPinnedShortcuts(String packageName, UserHandle user) { in queryForPinnedShortcuts()
169 public List<ShortcutInfo> queryForPinnedShortcuts(String packageName, in queryForPinnedShortcuts()
170 List<String> shortcutIds, UserHandle user) { in queryForPinnedShortcuts()
174 public List<ShortcutInfo> queryForAllShortcuts(UserHandle user) { in queryForAllShortcuts()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DConditionContextualCardController.java33 import java.util.List;
108 final List<ContextualCard> conditionCards = mConditionManager.getDisplayableCards(); in onConditionsChanged()
109 final Map<Integer, List<ContextualCard>> conditionalCards = in onConditionsChanged()
147 Map<Integer, List<ContextualCard>> buildConditionalCardsWithFooterOrHeader( in buildConditionalCardsWithFooterOrHeader()
148 List<ContextualCard> conditionCards) { in buildConditionalCardsWithFooterOrHeader()
149 final Map<Integer, List<ContextualCard>> conditionalCards = new ArrayMap<>(); in buildConditionalCardsWithFooterOrHeader()
159 private List<ContextualCard> getExpandedConditionalCards(List<ContextualCard> conditionCards) { in getExpandedConditionalCards()
164 final List<ContextualCard> expandedCards = conditionCards.stream().collect( in getExpandedConditionalCards()
177 private List<ContextualCard> getConditionalFooterCard(List<ContextualCard> conditionCards) { in getConditionalFooterCard()
180 final List<ContextualCard> footerCards = new ArrayList<>(); in getConditionalFooterCard()
[all …]
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardController.java33 import java.util.List;
108 final List<ContextualCard> conditionCards = mConditionManager.getDisplayableCards(); in onConditionsChanged()
109 final Map<Integer, List<ContextualCard>> conditionalCards = in onConditionsChanged()
147 Map<Integer, List<ContextualCard>> buildConditionalCardsWithFooterOrHeader( in buildConditionalCardsWithFooterOrHeader()
148 List<ContextualCard> conditionCards) { in buildConditionalCardsWithFooterOrHeader()
149 final Map<Integer, List<ContextualCard>> conditionalCards = new ArrayMap<>(); in buildConditionalCardsWithFooterOrHeader()
159 private List<ContextualCard> getExpandedConditionalCards(List<ContextualCard> conditionCards) { in getExpandedConditionalCards()
164 final List<ContextualCard> expandedCards = conditionCards.stream().collect( in getExpandedConditionalCards()
177 private List<ContextualCard> getConditionalFooterCard(List<ContextualCard> conditionCards) { in getConditionalFooterCard()
180 final List<ContextualCard> footerCards = new ArrayList<>(); in getConditionalFooterCard()
[all …]
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourcesLiveDataTest.java50 import java.util.List;
84 List<ResolveInfo> activityResolveInfo = buildActivityResolveInfo(); in setUp()
85 List<ResolveInfo> allActivityResolveInfo = new ArrayList<>(activityResolveInfo); in setUp()
94 List<ResolveInfo> serviceResolveInfo = buildServiceResolveInfo(); in setUp()
95 List<ResolveInfo> allServiceResolveInfo = new ArrayList<>(serviceResolveInfo); in setUp()
109 List<MediaSource> observedValue = mMediaSources.getList(); in testGetAppsOnActive()
120 List<ResolveInfo> activityResolveInfo = buildActivityResolveInfo(); in testGetAppsOnPackageAdded()
122 List<ResolveInfo> serviceResolveInfo = buildServiceResolveInfo(); in testGetAppsOnPackageAdded()
133 List<MediaSource> observedValue = mMediaSources.getList(); in testGetAppsOnPackageAdded()
145 List<ResolveInfo> activityResolveInfo = buildActivityResolveInfo(); in testGetAppsOnPackageRemoved()
[all …]

12345678910>>...112