Home
last modified time | relevance | path

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

12345678910>>...129

/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DTunerSetupUtils.java28 import java.util.List;
37 public static List<Pair<Lineup, Integer>> lineupChannelMatchCount( in lineupChannelMatchCount()
38 List<Lineup> lineups, List<String> localChannels) { in lineupChannelMatchCount()
39 List<Pair<Lineup, Integer>> result = new ArrayList<>(); in lineupChannelMatchCount()
40 List<List<String>> parsedLocalChannels = parseChannelNumbers(localChannels); in lineupChannelMatchCount()
58 static int getMatchCount(List<String> lineupChannels, List<List<String>> parsedLocalChannels) { in getMatchCount()
60 List<List<String>> parsedLineupChannels = parseChannelNumbers(lineupChannels); in getMatchCount()
61 for (List<String> parsedLineupChannel : parsedLineupChannels) { in getMatchCount()
62 for (List<String> parsedLocalChannel : parsedLocalChannels) { in getMatchCount()
79 static List<String> parseChannelNumber(String channelNumber) { in parseChannelNumber()
[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/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java66 import java.util.List;
141 public ListenableFuture<List<AccountInfo>> getAccountsAsync() {
146 public ListenableFuture<List<AccountInfo>> filterAccountsAsync(
175 public List<AccountWithDataSet> getAccounts(boolean contactWritableOnly) { in getAccounts()
189 public List<AccountWithDataSet> blockForWritableAccounts() { in blockForWritableAccounts()
197 public abstract ListenableFuture<List<AccountInfo>> getAccountsAsync(); in getAccountsAsync()
202 public abstract ListenableFuture<List<AccountInfo>> filterAccountsAsync( in filterAccountsAsync()
219 public List<AccountInfo> getWritableGoogleAccounts() { in getWritableGoogleAccounts()
234 final List<AccountWithDataSet> allAccounts =
299 final List<AccountWithDataSet> accounts =
[all …]
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java47 import java.util.List;
84 private final Map<String, List<ScheduledRecording>> mInputScheduleMap = new HashMap<>();
138 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); in DvrScheduleManager()
165 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); in DvrScheduleManager()
202 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); in DvrScheduleManager()
261 private List<ScheduledRecording> getStartedRecordings(String inputId) { in getStartedRecordings()
265 List<ScheduledRecording> result = new ArrayList<>(); in getStartedRecordings()
266 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); in getStartedRecordings()
288 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); in buildData()
306 List<ScheduledRecording> addedConflicts = new ArrayList<>(); in onSchedulesChanged()
[all …]
DDvrDataManagerImpl.java79 import java.util.List;
188 private static <T> List<T> moveElements( in moveElements()
190 List<T> moved = new ArrayList<>(); in moveElements()
229 ListenableFuture<List<SeriesRecording>> dvrQuerySeriesRecordingFuture = in start()
231 new FutureCallback<List<SeriesRecording>>() { in start()
233 public void onSuccess(List<SeriesRecording> seriesRecordings) { in start()
268 ListenableFuture<List<ScheduledRecording>> dvrQueryScheduleFuture = in start()
270 new FutureCallback<List<ScheduledRecording>>() { in start()
272 public void onSuccess(List<ScheduledRecording> result) { in start()
278 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.java53 import java.util.List;
89 private final List<LifecycleObserver> mLifecycleObservers;
95 final List<ContextualCard> mContextualCards;
101 List<String> mSavedCards;
158 List<ContextualCard> sortCards(List<ContextualCard> cards) { in sortCards()
166 public void onContextualCardUpdated(Map<Integer, List<ContextualCard>> updateList) { in onContextualCardUpdated()
169 List<ContextualCard> cardsToKeep; in onContextualCardUpdated()
191 final List<ContextualCard> allCards = new ArrayList<>(); in onContextualCardUpdated()
194 updateList.values().stream().flatMap(List::stream).collect(Collectors.toList())); in onContextualCardUpdated()
198 final List<ContextualCard> sortedCards = sortCards(allCards); in onContextualCardUpdated()
[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.java50 import java.util.List;
67 private List<String> mChannelNumbers;
70 private AsyncTask<Void, Void, List<Pair<Lineup, Integer>>> mFetchLineupTask;
84 new AsyncTask<Void, Void, List<Pair<Lineup, Integer>>>() { in onCreate()
86 protected List<Pair<Lineup, Integer>> doInBackground(Void... voids) { in onCreate()
91 protected void onPostExecute(List<Pair<Lineup, Integer>> result) { in onCreate()
92 List<GuidedAction> actions = new ArrayList<>(); in onCreate()
150 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions()
178 private List<Pair<Lineup, Integer>> lineupChannelMatchCount( in lineupChannelMatchCount()
179 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;
62 private List<JobInfo> mLastJobsList;
63 private List<JobInfo> mNewJobs;
64 private List<JobInfo> mCompletedJobs;
217 private void printJobsOnce(List<JobInfo> list) { in printJobsOnce()
241 List<JobInfo> currentJobs = mJobScheduler.getAllPendingJobs(); in updateJobs()
262 private synchronized List<JobInfo> newJobsSince(List<JobInfo> oldList, List<JobInfo> newList) { in newJobsSince()
266 private synchronized List<JobInfo> completedJobsSince( in completedJobsSince()
267 List<JobInfo> oldList, List<JobInfo> newList) { in completedJobsSince()
269 List<JobInfo> completedJobsList = findDiffBetween(oldList, newList); in completedJobsSince()
[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/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSessionConfiguration.java47 import java.util.List;
60 private final List<IkeTrafficSelector> mInboundTs;
61 private final List<IkeTrafficSelector> mOutboundTs;
62 private final List<LinkAddress> mInternalAddressList;
63 private final List<InetAddress> mInternalDnsAddressList;
64 private final List<IpPrefix> mSubnetAddressList;
65 private final List<InetAddress> mInternalDhcpAddressList;
76 List<IkeTrafficSelector> inTs, in ChildSessionConfiguration()
77 List<IkeTrafficSelector> outTs, in ChildSessionConfiguration()
150 List<IkeTrafficSelector> inTs, List<IkeTrafficSelector> outTs) { in ChildSessionConfiguration()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DSeriesRecordingScheduler.java57 import java.util.List;
91 private final List<SeriesRecordingUpdateTask> mScheduleTasks = new ArrayList<>();
136 List<SeriesRecording> stopped = new ArrayList<>();
137 List<SeriesRecording> normal = new ArrayList<>();
168 List<ScheduledRecording> schedulesForUpdate = new ArrayList<>();
184 private void handleScheduledRecordingChange(List<ScheduledRecording> schedules) {
195 List<SeriesRecording> seriesRecordings = new ArrayList<>();
301 List<SeriesRecording> seriesRecordings = new ArrayList<>(); in resumeUpdate()
349 List<SeriesRecording> seriesRecordingsToUpdate = in updateSchedules()
380 private boolean needToReadAllChannels(List<SeriesRecording> seriesRecordingsToUpdate) { in needToReadAllChannels()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java109 import java.util.List;
316 List<IkePayload> payloadList, in onOutboundPayloadsReady()
355 List<IkePayload> reqPayloads, in handleFirstChildExchange()
356 List<IkePayload> respPayloads, in handleFirstChildExchange()
447 List<IkePayload> payloadList) { in receiveRequest()
463 public void receiveResponse(@ExchangeType int exchangeType, List<IkePayload> payloadList) { in receiveResponse()
501 private int registerProvisionalChildAndGetSpi(List<IkePayload> respPayloads) { in registerProvisionalChildAndGetSpi()
520 List<IkePayload> outPayloads = new ArrayList<>(1); in replyErrorNotification()
543 public final List<IkePayload> requestPayloads;
548 List<IkePayload> reqPayloads) { in ReceivedRequest()
[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/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/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java139 import java.util.List;
196 private List<IkePayload> mFirstSaReqPayloads = new LinkedList<>();
197 private List<IkePayload> mFirstSaRespPayloads = new LinkedList<>();
220 private ArgumentCaptor<List<IkePayload>> mPayloadListCaptor =
221 ArgumentCaptor.forClass(List.class);
355 List<ConfigAttribute> attrReqList = new LinkedList<>(); in setUpFirstSaNegoPayloadLists()
361 List<ConfigAttribute> attrRespList = new LinkedList<>(); in setUpFirstSaNegoPayloadLists()
437 List<IkePayload> reqPayloads, List<IkePayload> respPayloads) throws Exception { in verifyInitCreateChildResp()
492 List<LinkAddress> addrList = sessionConfig.getInternalAddresses(); in verifyInitCreateChildResp()
499 List<IkeTrafficSelector> expectedList, List<IkeTrafficSelector> tsList) { in verifyTsList()
[all …]
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourcesLiveDataTest.java48 import java.util.List;
81 List<ResolveInfo> activityResolveInfo = buildActivityResolveInfo(); in setUp()
82 List<ResolveInfo> allActivityResolveInfo = new ArrayList<>(activityResolveInfo); in setUp()
91 List<ResolveInfo> serviceResolveInfo = buildServiceResolveInfo(); in setUp()
92 List<ResolveInfo> allServiceResolveInfo = new ArrayList<>(serviceResolveInfo); in setUp()
106 List<MediaSource> observedValue = mMediaSources.getList(); in testGetAppsOnActive()
116 List<ResolveInfo> activityResolveInfo = buildActivityResolveInfo(); in testGetAppsOnPackageAdded()
118 List<ResolveInfo> serviceResolveInfo = buildServiceResolveInfo(); in testGetAppsOnPackageAdded()
129 List<MediaSource> observedValue = mMediaSources.getList(); in testGetAppsOnPackageAdded()
140 List<ResolveInfo> activityResolveInfo = buildActivityResolveInfo(); in testGetAppsOnPackageRemoved()
[all …]

12345678910>>...129