Home
last modified time | relevance | path

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

12345678910>>...101

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraUtilsTypeReferenceTest.java27 import java.util.List;
146 TypeReference<List<Integer>> listToken = new TypeReference<List<Integer>>() {{ }}; in testRawTypes()
147 assertRawTypeEquals(listToken, List.class); in testRawTypes()
149 TypeReference<List<List<Integer>>> listListToken = in testRawTypes()
150 new TypeReference<List<List<Integer>>>() {{ }}; in testRawTypes()
151 assertRawTypeEquals(listListToken, List.class); in testRawTypes()
159 TypeReference<List<Integer>[]> listArrayToken = new TypeReference<List<Integer>[]>() {{ }}; in testRawTypes()
160 assertRawTypeEquals(listArrayToken, List[].class); in testRawTypes()
169 private class IntListToken1 extends TypeReference<List<Integer>> {}
170 private class IntListToken2 extends TypeReference<List<Integer>> {}
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java46 import java.util.List;
241 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenNetworkBackupRestore()
245 List<WifiConfiguration> retrievedConfigurations = in testSingleOpenNetworkBackupRestore()
257 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenHiddenNetworkBackupRestore()
261 List<WifiConfiguration> retrievedConfigurations = in testSingleOpenHiddenNetworkBackupRestore()
272 List<WifiConfiguration> configurations = new ArrayList<>(); in testSinglePskNetworkBackupRestore()
276 List<WifiConfiguration> retrievedConfigurations = in testSinglePskNetworkBackupRestore()
287 List<WifiConfiguration> configurations = new ArrayList<>(); in testSinglePskHiddenNetworkBackupRestore()
291 List<WifiConfiguration> retrievedConfigurations = in testSinglePskHiddenNetworkBackupRestore()
302 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleWepNetworkBackupRestore()
[all …]
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java78 import java.util.List;
104 public static List<String> readAll(File file) throws FileNotFoundException { in readAll()
109 public static List<String> readAll(ParcelFileDescriptor pfd) { in readAll()
130 public static String concatResult(List<String> result) { in concatResult()
139 public static boolean resultContains(List<String> result, String expected) { in resultContains()
148 public static List<String> assertSuccess(List<String> result) { in assertSuccess()
155 public static List<String> assertContains(List<String> result, String expected) { in assertContains()
163 public static List<String> runCommand(Instrumentation instrumentation, String command) { in runCommand()
166 public static List<String> runCommand(Instrumentation instrumentation, String command, in runCommand()
167 Predicate<List<String>> resultAsserter) { in runCommand()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertXml.java31 import java.util.List;
47 private final List<X509Certificate> intermediateCerts;
48 private final List<X509Certificate> endpointCerts;
52 List<X509Certificate> intermediateCerts, in CertXml()
53 List<X509Certificate> endpointCerts) { in CertXml()
65 List<X509Certificate> getAllIntermediateCerts() { in getAllIntermediateCerts()
70 List<X509Certificate> getAllEndpointCerts() { in getAllEndpointCerts()
116 List<String> contents = in parseSerial()
125 private static List<X509Certificate> parseIntermediateCerts(Element rootNode) in parseIntermediateCerts()
127 List<String> contents = in parseIntermediateCerts()
[all …]
/frameworks/av/media/libstagefright/xmlparser/api/
Dcurrent.txt12 method public java.util.List<media.codecs.MediaCodec> getMediaCodec();
17 method public java.util.List<media.codecs.MediaCodec> getMediaCodec();
40 method public java.util.List<media.codecs.Decoders> getDecoders_optional();
41 method public java.util.List<media.codecs.Encoders> getEncoders_optional();
42 method public java.util.List<media.codecs.Include> getInclude_optional();
43 method public java.util.List<media.codecs.Settings> getSettings_optional();
70 method public java.util.List<media.codecs.Alias> getAlias_optional();
71 method public java.util.List<media.codecs.Quirk> getAttribute_optional();
74 method public java.util.List<media.codecs.Feature> getFeature_optional();
75 method public java.util.List<media.codecs.Limit> getLimit_optional();
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DPropertyNodesVerifierElem.java27 import java.util.List;
50 private final HashMap<String, List<PropertyNode>> mOrderedNodeMap;
56 mOrderedNodeMap = new HashMap<String, List<PropertyNode>>(); in PropertyNodesVerifierElem()
73 String propName, List<String> propValueList, ContentValues contentValues) { in addExpectedNodeWithOrder()
79 String propName, String propValue, List<String> propValueList) { in addExpectedNodeWithOrder()
85 String propName, List<String> propValueList) { in addExpectedNodeWithOrder()
98 List<String> propValueList, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder()
104 List<String> propValueList, ContentValues paramMap, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder()
116 List<String> propValueList, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder()
122 List<String> propValueList, ContentValues paramMap) { in addExpectedNodeWithOrder()
[all …]
/frameworks/base/core/java/android/app/
DFragmentManagerNonConfig.java20 import java.util.List;
36 private final List<Fragment> mFragments;
37 private final List<FragmentManagerNonConfig> mChildNonConfigs;
39 FragmentManagerNonConfig(List<Fragment> fragments, in FragmentManagerNonConfig()
40 List<FragmentManagerNonConfig> childNonConfigs) { in FragmentManagerNonConfig()
48 List<Fragment> getFragments() { in getFragments()
55 List<FragmentManagerNonConfig> getChildNonConfigs() { in getChildNonConfigs()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DParsedStatement.java19 import java.util.List;
26 private final List<Statement> mStatements;
27 private final List<String> mDelegates;
29 public ParsedStatement(List<Statement> statements, List<String> delegates) { in ParsedStatement()
34 public List<Statement> getStatements() { in getStatements()
38 public List<String> getDelegates() { in getDelegates()
/frameworks/layoutlib/bridge/src/android/graphics/text/
DBaseLineBreaker.java23 import java.util.List;
31 protected final @NonNull List<Primitive> mPrimitives;
37 public BaseLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in BaseLineBreaker()
47 List<Integer> mLineBreakOffset = new ArrayList<>();
48 List<Float> mLineWidths = new ArrayList<>();
49 List<Float> mLineAscents = new ArrayList<>();
50 List<Float> mLineDescents = new ArrayList<>();
51 List<Integer> mLineFlags = new ArrayList<>();
/frameworks/base/telephony/java/android/telephony/data/
DDataCallResponse.java37 import java.util.List;
76 private final List<LinkAddress> mAddresses;
77 private final List<InetAddress> mDnsAddresses;
78 private final List<InetAddress> mGatewayAddresses;
79 private final List<InetAddress> mPcscfAddresses;
110 @Nullable List<LinkAddress> addresses, in DataCallResponse()
111 @Nullable List<InetAddress> dnsAddresses, in DataCallResponse()
112 @Nullable List<InetAddress> gatewayAddresses, in DataCallResponse()
113 @Nullable List<InetAddress> pcscfAddresses, int mtu) { in DataCallResponse()
134 @Nullable String interfaceName, @Nullable List<LinkAddress> addresses, in DataCallResponse()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DCollectionUtils.java29 import java.util.List;
51 public static @NonNull <T> List<T> filter(@Nullable List<T> list, in filter()
90 public static <T> void addIf(@Nullable List<T> source, @NonNull Collection<? super T> dest, in addIf()
109 public static @NonNull <I, O> List<O> map(@Nullable List<I> cur, in map()
151 public static @NonNull <I, O> List<O> mapNotNull(@Nullable List<I> cur, in mapNotNull()
154 List<O> result = null; in mapNotNull()
171 public static @NonNull <T> List<T> emptyIfNull(@Nullable List<T> cur) { in emptyIfNull()
210 public static @NonNull <T> List<T> filter(@Nullable List<?> list, Class<T> c) { in filter()
226 public static <T> boolean any(@Nullable List<T> items, in any()
235 public static @Nullable <T> T find(@Nullable List<T> items, in find()
[all …]
/frameworks/opt/net/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 …]
DNAIRealmData.java31 import java.util.List;
50 private final List<String> mRealms;
51 private final List<EAPMethod> mEAPMethods;
54 public NAIRealmData(List<String> realms, List<EAPMethod> eapMethods) { in NAIRealmData()
81 List<String> realmList = Arrays.asList(realm.split(NAI_REALM_STRING_SEPARATOR)); in parse()
85 List<EAPMethod> eapMethodList = new ArrayList<>(); in parse()
93 public List<String> getRealms() { in getRealms()
97 public List<EAPMethod> getEAPMethods() { in getEAPMethods()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java70 import java.util.List;
135 private final List<AccessPoint> mInternalAccessPoints = new ArrayList<>();
261 public void networkCacheUpdated(List<ScoredNetwork> networks) { in setWorkThread()
423 public List<AccessPoint> getAccessPoints() { in getAccessPoints()
458 private ArrayMap<String, List<ScanResult>> updateScanResultCache( in updateScanResultCache()
459 final List<ScanResult> newResults) { in updateScanResultCache()
472 ArrayMap<String, List<ScanResult>> scanResultsByApKey = new ArrayMap<>(); in updateScanResultCache()
481 List<ScanResult> resultList; in updateScanResultCache()
518 int networkId, final List<WifiConfiguration> configs) { in getWifiConfigurationForNetworkId()
535 List<ScanResult> newScanResults = mWifiManager.getScanResults(); in fetchScansAndConfigsAndUpdateAccessPoints()
[all …]
/frameworks/base/media/java/android/media/
DMediaInserter.java27 import java.util.List;
36 private final HashMap<Uri, List<ContentValues>> mRowMap =
37 new HashMap<Uri, List<ContentValues>>();
38 private final HashMap<Uri, List<ContentValues>> mPriorityRowMap =
39 new HashMap<Uri, List<ContentValues>>();
58 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap; in insert()
59 List<ContentValues> list = rowmap.get(tableUri); in insert()
75 List<ContentValues> list = mRowMap.get(tableUri); in flushAll()
83 List<ContentValues> list = mPriorityRowMap.get(tableUri); in flushAllPriority()
89 private void flush(Uri tableUri, List<ContentValues> list) throws RemoteException { in flush()
/frameworks/base/core/java/android/widget/
DSimpleExpandableListAdapter.java24 import java.util.List;
40 private List<? extends Map<String, ?>> mGroupData;
46 private List<? extends List<? extends Map<String, ?>>> mChildData;
91 List<? extends Map<String, ?>> groupData, int groupLayout, in SimpleExpandableListAdapter()
93 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter()
139 List<? extends Map<String, ?>> groupData, int expandedGroupLayout, in SimpleExpandableListAdapter()
141 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter()
193 List<? extends Map<String, ?>> groupData, int expandedGroupLayout, in SimpleExpandableListAdapter()
195 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrinterRegistry.java32 import java.util.List;
40 private final List<PrinterInfo> mPrinters = new ArrayList<>();
51 public void onPrintersChanged(List<PrinterInfo> printers); in onPrintersChanged()
72 public List<PrinterInfo> getPrinters() { in getPrinters()
118 private final LoaderCallbacks<List<PrinterInfo>> mLoaderCallbacks =
119 new LoaderCallbacks<List<PrinterInfo>>() {
121 public void onLoaderReset(Loader<List<PrinterInfo>> loader) {
132 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) {
151 public Loader<List<PrinterInfo>> onCreateLoader(int id, Bundle args) {
169 List<PrinterInfo> printers = (List<PrinterInfo>) message.obj; in handleMessage()
/frameworks/base/core/java/android/view/
DGestureExclusionTracker.java29 import java.util.List;
37 private List<Rect> mRootGestureExclusionRects = Collections.emptyList();
38 private List<GestureExclusionViewInfo> mGestureExclusionViewInfos = new ArrayList<>();
39 private List<Rect> mGestureExclusionRects = Collections.emptyList();
65 public List<Rect> computeChangedRects() { in computeChangedRects()
68 final List<Rect> rects = new ArrayList<>(mRootGestureExclusionRects); in computeChangedRects()
95 public void setRootSystemGestureExclusionRects(@NonNull List<Rect> rects) { in setRootSystemGestureExclusionRects()
102 public List<Rect> getRootSystemGestureExclusionRects() { in getRootSystemGestureExclusionRects()
113 List<Rect> mExclusionRects = Collections.emptyList();
127 final List<Rect> localRects = excludedView.getSystemGestureExclusionRects(); in update()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java86 import java.util.List;
139 List<ResolvedComponentInfo> resolvedComponentInfos = createResolvedComponentsForTest(2); in customTitle()
143 Mockito.isA(List.class))).thenReturn(resolvedComponentInfos); in customTitle()
156 List<ResolvedComponentInfo> resolvedComponentInfos = createResolvedComponentsForTest(2); in customTitleIgnoredForSendIntents()
160 Mockito.isA(List.class))).thenReturn(resolvedComponentInfos); in customTitleIgnoredForSendIntents()
169 List<ResolvedComponentInfo> resolvedComponentInfos = createResolvedComponentsForTest(2); in emptyTitle()
173 Mockito.isA(List.class))).thenReturn(resolvedComponentInfos); in emptyTitle()
183 List<ResolvedComponentInfo> resolvedComponentInfos = createResolvedComponentsForTest(2); in emptyPreviewTitleAndThumbnail()
187 Mockito.isA(List.class))).thenReturn(resolvedComponentInfos); in emptyPreviewTitleAndThumbnail()
198 List<ResolvedComponentInfo> resolvedComponentInfos = createResolvedComponentsForTest(2); in visiblePreviewTitleWithoutThumbnail()
[all …]
/frameworks/base/core/java/android/permission/
DPermissionManager.java37 import java.util.List;
54 private List<SplitPermissionInfo> mSplitPermissionInfos;
122 public @NonNull List<SplitPermissionInfo> getSplitPermissions() { in getSplitPermissions()
127 List<SplitPermissionInfoParcelable> parcelableList; in getSplitPermissions()
140 private List<SplitPermissionInfo> splitPermissionInfoListToNonParcelableList( in splitPermissionInfoListToNonParcelableList()
141 List<SplitPermissionInfoParcelable> parcelableList) { in splitPermissionInfoListToNonParcelableList()
143 List<SplitPermissionInfo> list = new ArrayList<>(size); in splitPermissionInfoListToNonParcelableList()
155 public static List<SplitPermissionInfoParcelable> splitPermissionInfoListToParcelableList( in splitPermissionInfoListToParcelableList()
156 List<SplitPermissionInfo> splitPermissionsList) { in splitPermissionInfoListToParcelableList()
158 List<SplitPermissionInfoParcelable> outList = new ArrayList<>(size); in splitPermissionInfoListToParcelableList()
[all …]
/frameworks/base/core/xsd/schema/
Dcurrent.txt130 …method public java.util.List<com.android.xml.permission.configfile.OemPermissions.DenyPermission> …
131 …method public java.util.List<com.android.xml.permission.configfile.OemPermissions.Permission> getP…
156 …method public java.util.List<com.android.xml.permission.configfile.AllowAssociation> getAllowAssoc…
157 …method public java.util.List<com.android.xml.permission.configfile.AllowIgnoreLocationSettings> ge…
158 …method public java.util.List<com.android.xml.permission.configfile.AllowImplicitBroadcast> getAllo…
159 …method public java.util.List<com.android.xml.permission.configfile.AllowInDataUsageSave> getAllowI…
160 …method public java.util.List<com.android.xml.permission.configfile.AllowInPowerSaveExceptIdle> get…
161 …method public java.util.List<com.android.xml.permission.configfile.AllowInPowerSave> getAllowInPow…
162 …method public java.util.List<com.android.xml.permission.configfile.AllowUnthrottledLocation> getAl…
163 … method public java.util.List<com.android.xml.permission.configfile.AppLink> getAppLink_optional();
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DBaseRecipientAdapter.java51 import java.util.List;
193 public final List<RecipientEntry> entries;
194 public final LinkedHashMap<Long, List<RecipientEntry>> entryMap;
195 public final List<RecipientEntry> nonAggregatedEntries;
197 public final List<DirectorySearchParams> paramsList;
199 public DefaultFilterResult(List<RecipientEntry> entries, in DefaultFilterResult()
200 LinkedHashMap<Long, List<RecipientEntry>> entryMap, in DefaultFilterResult()
201 List<RecipientEntry> nonAggregatedEntries, in DefaultFilterResult()
203 List<DirectorySearchParams> paramsList) { in DefaultFilterResult()
215 new LinkedHashMap<Long, List<RecipientEntry>>() /* entryMap */, in createResultWithNonAggregatedEntry()
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DConfigParser.java30 import java.util.List;
170 public List<String> getStringList(String key, List<String> defaultValue) { in getStringList()
173 if (cached instanceof List) { in getStringList()
174 final List asList = (List) cached; in getStringList()
178 return (List<String>) cached; in getStringList()
181 final List<String> value; in getStringList()
217 private List<String> getSettingsStringList(String key, List<String> defaultValue) { in getSettingsStringList()
221 private static List<String> getDeviceConfigStringList(String key, List<String> defaultValue) { in getDeviceConfigStringList()
237 private static List<String> parse(@Nullable String listStr, List<String> defaultValue) { in parse()
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsGroupCallServiceBase.java34 import java.util.List;
72 public void onAvailableSaisUpdated(final List currentSais,
73 final List availableSais) {
119 public void updateGroupCall(int subscriptionId, long tmgi, List saiList,
120 List frequencyList) {
127 final List saiList,
128 final List frequencyList, final IGroupCallCallback callback)
219 public int startGroupCall(int subscriptionId, long tmgi, @NonNull List<Integer> saiList, in startGroupCall()
220 @NonNull List<Integer> frequencyList, @NonNull GroupCallCallback callback) { in startGroupCall()
245 public void updateGroupCall(int subscriptionId, long tmgi, @NonNull List<Integer> saiList, in updateGroupCall()
[all …]
/frameworks/base/core/java/android/app/usage/
DCacheQuotaService.java32 import java.util.List;
72 public abstract List<CacheQuotaHint> onComputeCacheQuotaHints( in onComputeCacheQuotaHints()
73 List<CacheQuotaHint> requests); in onComputeCacheQuotaHints()
78 RemoteCallback callback, List<CacheQuotaHint> requests) { in computeCacheQuotaHints()
79 final Pair<RemoteCallback, List<CacheQuotaHint>> pair = in computeCacheQuotaHints()
98 final Pair<RemoteCallback, List<CacheQuotaHint>> pair = in handleMessage()
99 (Pair<RemoteCallback, List<CacheQuotaHint>>) msg.obj; in handleMessage()
100 List<CacheQuotaHint> processed = onComputeCacheQuotaHints(pair.second); in handleMessage()

12345678910>>...101