Home
last modified time | relevance | path

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

12345678910>>...140

/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DBankedTzIdSetsPacker.java26 import java.util.List;
37 private final List<String> mStringIdToString = new ArrayList<>();
39 private final List<BankHelper> mBankHelpers = new ArrayList<>();
64 public BankHelper addTzIdSets(List<List<String>> uniqueIdSets) { in addTzIdSets()
71 for (List<String> stringSets : uniqueIdSets) { in addTzIdSets()
106 List<List<Integer>> tzIdSets = bankHelper.getTzIdSets(); in create()
107 for (List<Integer> tzIdSet : tzIdSets) { in create()
123 private final Map<List<Integer>, Integer> mSetToSetId = new HashMap<>();
125 private final List<List<Integer>> mSetIdToSet = new ArrayList<>();
137 private void addAll(List<List<String>> uniqueTzIdStringSets) { in addAll()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java45 import java.util.List;
328 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenNetworkBackupRestore()
332 List<WifiConfiguration> retrievedConfigurations = in testSingleOpenNetworkBackupRestore()
344 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenHiddenNetworkBackupRestore()
348 List<WifiConfiguration> retrievedConfigurations = in testSingleOpenHiddenNetworkBackupRestore()
359 List<WifiConfiguration> configurations = new ArrayList<>(); in testSinglePskNetworkBackupRestore()
363 List<WifiConfiguration> retrievedConfigurations = in testSinglePskNetworkBackupRestore()
374 List<WifiConfiguration> configurations = new ArrayList<>(); in testSinglePskHiddenNetworkBackupRestore()
378 List<WifiConfiguration> retrievedConfigurations = in testSinglePskHiddenNetworkBackupRestore()
389 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleWepNetworkBackupRestore()
[all …]
/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/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java65 import java.util.List;
147 public ListenableFuture<List<AccountInfo>> getAccountsAsync() {
152 public ListenableFuture<List<AccountInfo>> filterAccountsAsync(
181 public List<AccountWithDataSet> getAccounts(boolean contactWritableOnly) { in getAccounts()
195 public List<AccountWithDataSet> blockForWritableAccounts() { in blockForWritableAccounts()
203 public abstract ListenableFuture<List<AccountInfo>> getAccountsAsync(); in getAccountsAsync()
208 public abstract ListenableFuture<List<AccountInfo>> filterAccountsAsync( in filterAccountsAsync()
225 public List<AccountInfo> getWritableGoogleAccounts() { in getWritableGoogleAccounts()
240 final List<AccountWithDataSet> allAccounts =
305 final List<AccountWithDataSet> accounts =
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSessionConfiguration.java47 import java.util.List;
58 private final List<IkeTrafficSelector> mInboundTs = new ArrayList<>();
59 private final List<IkeTrafficSelector> mOutboundTs = new ArrayList<>();
60 private final List<LinkAddress> mInternalAddressList = new ArrayList<>();
61 private final List<InetAddress> mInternalDnsAddressList = new ArrayList<>();
62 private final List<IpPrefix> mSubnetAddressList = new ArrayList<>();
63 private final List<InetAddress> mInternalDhcpAddressList = new ArrayList<>();
75 List<IkeTrafficSelector> inTs, in ChildSessionConfiguration()
76 List<IkeTrafficSelector> outTs, in ChildSessionConfiguration()
149 List<IkeTrafficSelector> inTs, List<IkeTrafficSelector> outTs) { in ChildSessionConfiguration()
[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 …]
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/
DBankedTzIdSets.java21 import java.util.List;
32 private final List<String> mStringsByIndex;
34 private final List<Bank> mBanks;
36 private BankedTzIdSets(List<String> stringsByIndex, List<Bank> banks) { in BankedTzIdSets()
52 public List<String> getStringsByIndex() { in getStringsByIndex()
85 private final List<String> mStringsByIndex = new ArrayList<>();
87 private final List<BankBuilder> mBankBuilders = new ArrayList<>();
94 public Builder setStringsByIndex(List<String> stringsByIndex) { in setStringsByIndex()
117 List<Bank> banks = new ArrayList<>(mBankBuilders.size()); in build()
129 private final List<TzIdSet> mTzIdSets = new ArrayList<>();
[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.java55 import java.util.List;
87 private final List<LifecycleObserver> mLifecycleObservers;
93 final List<ContextualCard> mContextualCards;
99 List<String> mSavedCards;
173 List<ContextualCard> sortCards(List<ContextualCard> cards) { in sortCards()
175 final List<ContextualCard> result = cards.stream() in sortCards()
178 final List<ContextualCard> stickyCards = result.stream() in sortCards()
188 public void onContextualCardUpdated(Map<Integer, List<ContextualCard>> updateList) { in onContextualCardUpdated()
191 List<ContextualCard> cardsToKeep; in onContextualCardUpdated()
213 final List<ContextualCard> allCards = new ArrayList<>(); in onContextualCardUpdated()
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DBaseSearchIndexProvider.java47 import java.util.List;
65 public List<SearchIndexableResource> getXmlResourcesToIndex(Context context, boolean enabled) { in getXmlResourcesToIndex()
75 public List<SearchIndexableRaw> getRawDataToIndex(Context context, boolean enabled) { in getRawDataToIndex()
81 public List<SearchIndexableRaw> getDynamicRawDataToIndex(Context context, boolean enabled) { in getDynamicRawDataToIndex()
82 final List<SearchIndexableRaw> dynamicRaws = new ArrayList<>(); in getDynamicRawDataToIndex()
87 final List<AbstractPreferenceController> controllers = getPreferenceControllers(context); in getDynamicRawDataToIndex()
107 public List<String> getNonIndexableKeys(Context context) { in getNonIndexableKeys()
112 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeys()
114 final List<AbstractPreferenceController> controllers = getPreferenceControllers(context); in getNonIndexableKeys()
134 public List<AbstractPreferenceController> getPreferenceControllers(Context context) { in getPreferenceControllers()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java75 import java.util.List;
136 final List<String> actualCards = mManager.mSavedCards.stream().collect(Collectors.toList()); in constructor_hasSavedInstanceState_shouldContainExpectedSavedCards()
137 final List<String> expectedCards = Arrays.asList("test_low_storage", "test_flashlight", in constructor_hasSavedInstanceState_shouldContainExpectedSavedCards()
146 final List<Integer> actual = pool.getControllers().stream() in constructor_hasSettingsCustomCards_shouldSetUpCustomControllers()
149 final List<Integer> expected = Arrays.asList(ContextualCard.CardType.CONDITIONAL, in constructor_hasSettingsCustomCards_shouldSetUpCustomControllers()
209 final List<ContextualCard> cards = new ArrayList<>(); in sortCards_shouldBeDescendingOrder()
217 final List<ContextualCard> sortedCards = mManager.sortCards(cards); in sortCards_shouldBeDescendingOrder()
224 final List<ContextualCard> cards = new ArrayList<>(); in sortCards_hasConditionalAndSliceCards_conditionalShouldAlwaysBeTheLast()
228 final List<ContextualCard> sortedCards = mManager.sortCards(cards); in sortCards_hasConditionalAndSliceCards_conditionalShouldAlwaysBeTheLast()
236 final List<ContextualCard> cards = new ArrayList<>(); in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioPlaybackCallbackTest.java46 import java.util.List;
105 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withNoOnPlaybackConfigChanged_returnsEmptyList()
114 List<AudioPlaybackConfiguration> activeConfigurations = ImmutableList.of( in getAllActiveContextsForPrimaryZone_withOneMatchingConfiguration_returnsActiveContext()
126 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withOneMatchingConfiguration_returnsActiveContext()
135 List<AudioPlaybackConfiguration> activeConfigurations = ImmutableList.of( in getAllActiveContextsForPrimaryZone_withMultipleConfiguration_returnsActiveContexts()
151 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withMultipleConfiguration_returnsActiveContexts()
160 List<AudioPlaybackConfiguration> configurations = ImmutableList.of( in getAllActiveContextsForPrimaryZone_withInactiveConfigurations_returnsActiveContext()
177 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withInactiveConfigurations_returnsActiveContext()
186 List<AudioPlaybackConfiguration> activeConfigurations = ImmutableList.of( in getAllActiveContextsForPrimaryZone_withNoActiveConfigurations_returnsEmptyContexts()
204 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withNoActiveConfigurations_returnsEmptyContexts()
[all …]
DCarVolumeTest.java58 import java.util.List;
140 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext()
172 List<Integer> activePlaybackContexts = ImmutableList.of(ALARM, CALL, NOTIFICATION); in getSuggestedAudioContext_withActivePlayback_returnsHighestPriorityContext()
183 List<Integer> activePlaybackContexts = ImmutableList.of(ALARM, NOTIFICATION); in getSuggestedAudioContext_withLowerPriorityActivePlaybackAndCall_returnsCall()
195 List<Integer> activePlaybackContexts = ImmutableList.of(NAVIGATION); in getSuggestedAudioContext_withV1AndNavigationConfigurationAndCall_returnsNav()
206 List<Integer> activePlaybackContexts = ImmutableList.of(NAVIGATION); in getSuggestedAudioContext_withV2AndNavigationConfigurationAndCall_returnsCall()
217 List<Integer> activePlaybackContexts = ImmutableList.of(INVALID); in getSuggestedAudioContext_withUnprioritizedUsage_returnsDefault()
251 List<Integer> activePlaybackContexts = ImmutableList.of(MUSIC); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsConfigActive()
263 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsHalActive()
275 List<Integer> activePlaybackContexts = new ArrayList<>(); in getSuggestedAudioContext_withHalActiveUsageAndActiveCall_returnsCall()
[all …]
DCarDuckingUtilsTest.java45 import java.util.List;
61 List<Integer> contextsToVisit = Arrays.stream(duckedContexts).boxed() in sContextsToDuck_verifyNoCycles()
109 List<AudioFocusInfo> focusHolders = List.of( in getUsagesHoldingFocus_removesDuplicateUsages()
122 List<AudioFocusInfo> focusHolders = List.of(generateAudioFocusInfoForUsage(USAGE_MEDIA), in getUsagesHoldingFocus_includesSystemUsages()
136 List<String> addresses = CarDuckingUtils.getAddressesToDuck(new int[]{USAGE_MEDIA, in getAddressesToDuck_withOneUsage_returnsEmptyList()
146 List<String> addresses = CarDuckingUtils.getAddressesToDuck(new int[]{USAGE_MEDIA, in getAddressesToDuck_withMultipleUsagesForTheSameContext_returnsEmptyList()
158 List<String> addresses = CarDuckingUtils.getAddressesToDuck(usages, mockZone); in getAddressesToDuck_onlyReturnsDevicesForUsagesHoldingFocus()
169 List<String> addresses = CarDuckingUtils.getAddressesToDuck(usages, mockZone); in getAddressesToDuck_withDuckedAndUnduckedContextsSharingDevice_excludesThatDevice()
180 List<String> addresses = CarDuckingUtils.getAddressesToDuck(usages, mockZone); in getAddressesToDuck_withDuckedContextsSharingADevice_includesAddressOnce()
188 List<String> oldAddressesToDuck = List.of("one", "three", "four"); in getAddressesToUnduck_onlyReturnsAddressesThatWerePreviouslyDucked()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java67 import java.util.List;
175 List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1), in evaluateScansWithNoMatch()
178 List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper in evaluateScansWithNoMatch()
196 List<ScanDetail> scanDetails = Arrays.asList(new ScanDetail[] {scanDetail}); in evaluateScansWithNoInterworkingAP()
197 List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper in evaluateScansWithNoInterworkingAP()
212 List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1), in evaluateScansWithNetworkMatchingHomeProvider()
216 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithNetworkMatchingHomeProvider()
226 List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper in evaluateScansWithNetworkMatchingHomeProvider()
256 List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1), in evaluateScansWithNoInternetBit()
263 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithNoInternetBit()
[all …]
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/
DWidgetsDiffReporterTest.java57 import java.util.List;
112 List.of(mHeaderA, mHeaderB, mHeaderC)); in listNotChanged_shouldNotInvokeAnyCallbacks()
128 List<WidgetsListBaseEntry> newList = List.of( in headersOnly_emptyListToNonEmpty_shouldInvokeNotifyDataSetChanged()
146 List.of(mHeaderA, mHeaderB, mHeaderC)); in headersOnly_nonEmptyToEmptyList_shouldInvokeNotifyDataSetChanged()
148 List<WidgetsListBaseEntry> newList = List.of(); in headersOnly_nonEmptyToEmptyList_shouldInvokeNotifyDataSetChanged()
163 List.of(mHeaderA, mHeaderB, mHeaderD)); in headersOnly_itemAddedAndRemovedInTheNewList_shouldInvokeCorrectCallbacks()
165 List<WidgetsListBaseEntry> newList = List.of(mHeaderA, mHeaderC, mHeaderE); in headersOnly_itemAddedAndRemovedInTheNewList_shouldInvokeCorrectCallbacks()
186 List.of(mHeaderA, mHeaderB, mContentE)); in headersContentsMix_itemAddedAndRemovedInTheNewList_shouldInvokeCorrectCallbacks()
188 List<WidgetsListBaseEntry> newList = List.of(mHeaderA, mContentC, mHeaderD); in headersContentsMix_itemAddedAndRemovedInTheNewList_shouldInvokeCorrectCallbacks()
209 List.of(mHeaderA, mHeaderB, mContentE)); in headersContentsMix_userInteractWithHeader_shouldInvokeCorrectCallbacks()
[all …]
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/tzs2range/write/
DBankedTzIdSetsPackerTest.java32 import java.util.List;
41 List<List<String>> idSet1 = listOf( in simplePacking()
50 List<List<String>> idSet2 = listOf( in simplePacking()
75 List<List<String>> idSet1_1 = listOf( in overflowPacking()
83 List<List<String>> idSet1_2 = listOf(listOf("One", "Two", "Three", "Four", "Five")); in overflowPacking()
93 List<List<String>> idSet2 = listOf(listOf("Two")); in overflowPacking()
102 List<List<String>> idSet1_1 = listOf( in exceedMaxBankSize()
112 List<TzS2Range> ranges = listOf(new TzS2Range(cellId(12, 1, 1), cellId(12, 1, 2), in extractUniqueTzIdSets()
121 List<List<String>> uniqueTzIdSetsList = BankedTzIdSetsPacker.extractUniqueTzIdSets(ranges); in extractUniqueTzIdSets()
122 Set<List<String>> uniqueTzIdSetsSet = new HashSet<>(uniqueTzIdSetsList); in extractUniqueTzIdSets()
[all …]
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DSaProposalTest.java93 import java.util.List;
102 private static final List<Pair<Integer, Integer>> IKE_NORMAL_MODE_CIPHERS =
104 private static final List<Pair<Integer, Integer>> IKE_COMBINED_MODE_CIPHERS =
106 private static final List<Pair<Integer, Integer>> CHILD_NORMAL_MODE_CIPHERS =
108 private static final List<Pair<Integer, Integer>> CHILD_COMBINED_MODE_CIPHERS =
111 private static final List<Integer> IKE_INTEGRITY_ALGOS = getIntegrityAlgos(true /* isIke */);
112 private static final List<Integer> CHILD_INTEGRITY_ALGOS = getIntegrityAlgos(false /* isIke */);
114 private static final List<Integer> DH_GROUPS = getDhGroups(false /* includeNone */);
115 private static final List<Integer> DH_GROUPS_WITH_NONE = getDhGroups(true /* includeNone */);
116 private static final List<Integer> PRFS = getPrfs();
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceControllerTest.java68 import java.util.List;
93 private List<String> mPermittedList;
143 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME, in refreshUi_permitAllInputMethods_preferenceCountIs4()
160 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME, in refreshUi_multiplteAllowedImeByOrganization_allPreferencesVisible()
179 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME, in refreshUi_multipleEnabledInputMethods_allPreferencesEnabled()
198 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME, in refreshUi_multipleEnabledInputMethods_allPreferencesChecked()
218 List<InputMethodInfo> infos = createInputMethodInfoList(DISALLOWED_PACKAGE_NAME, in refreshUi_disallowedByOrganization_noPreferencesShown()
233 List<InputMethodInfo> infos = in refreshUi_skipVoiceTyping()
245 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME, in refreshUi_verifyPreferenceIcon()
263 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME, in refreshUi_verifyPreferenceTitle()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java55 import java.util.List;
71 final ArrayMap<String, List<DynamicDataObserver>> mDashboardTilePrefKeys = new ArrayMap<>();
72 private final Map<Class, List<AbstractPreferenceController>> mPreferenceControllers =
74 private final List<DynamicDataObserver> mRegisteredObservers = new ArrayList<>();
75 private final List<AbstractPreferenceController> mControllers = new ArrayList<>();
81 private List<String> mSuppressInjectedTileKeys;
91 final List<AbstractPreferenceController> controllersFromCode = in onAttach()
94 final List<BasePreferenceController> controllersFromXml = PreferenceControllerListHelper in onAttach()
97 final List<BasePreferenceController> uniqueControllerFromXml = in onAttach()
132 void checkUiBlocker(List<AbstractPreferenceController> controllers) { in checkUiBlocker()
[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/apps/Settings/src/com/android/settings/network/helper/
DSelectableSubscriptions.java31 import java.util.List;
56 public class SelectableSubscriptions implements Callable<List<SubscriptionAnnotation>> {
60 private Supplier<List<SubscriptionInfo>> mSubscriptions;
62 private Function<List<SubscriptionAnnotation>, List<SubscriptionAnnotation>> mFinisher;
93 UnaryOperator<List<SubscriptionAnnotation>> finisher) { in addFinisher()
102 public List<SubscriptionAnnotation> call() { in call()
120 List<SubscriptionInfo> subInfoList = mSubscriptions.get(); in call()
123 List<Integer> eSimCardIdList = atomicToList(eSimCardId.get()); in call()
124 List<Integer> simSlotIndexList = atomicToList(simSlotIndex.get()); in call()
125 List<Integer> activeSimSlotIndexList = atomicToList(activeSimSlotIndex.get()); in call()
[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/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/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfo.java33 import java.util.List;
77 private final List<Integer> mMethodList;
78 private final List<IconInfo> mIconInfoList;
80 private final List<I18Name> mServiceDescriptions;
83 public OsuProviderInfo(List<I18Name> friendlyNames, Uri serverUri, List<Integer> methodList, in OsuProviderInfo()
84 List<IconInfo> iconInfoList, String nai, List<I18Name> serviceDescriptions) { in OsuProviderInfo()
118 List<I18Name> friendlyNameList = parseI18Names(friendlyNameBuffer); in parse()
126 List<Integer> methodList = new ArrayList<>(); in parse()
136 List<IconInfo> iconInfoList = new ArrayList<>(); in parse()
148 List<I18Name> serviceDescriptionList = parseI18Names(descriptionsBuffer); in parse()
[all …]

12345678910>>...140