Home
last modified time | relevance | path

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

12345678910>>...13

/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/
DSignedData.java24 import java.util.List;
52 private final List<?> digestAlgorithms;
54 private final List<Certificate> certificates;
55 private final List<CertificateList> crls;
56 private final List<SignerInfo> signerInfos;
58 private SignedData(int version, List<?> digestAlgorithms, ContentInfo contentInfo, in SignedData()
59 List<Certificate> certificates, List<CertificateList> crls, in SignedData()
60 List<SignerInfo> signerInfos) { in SignedData()
69 public List<Certificate> getCertificates() { in getCertificates()
73 public List<CertificateList> getCRLs() { in getCRLs()
[all …]
DAuthenticatedAttributes.java24 import java.util.List;
36 private final List<AttributeTypeAndValue> authenticatedAttributes;
39 List<AttributeTypeAndValue> authenticatedAttributes) { in AuthenticatedAttributes()
44 public List<AttributeTypeAndValue> getAttributes() { in getAttributes()
62 (List<AttributeTypeAndValue>) in.content);
/libcore/luni/src/main/java/java/net/
DCookieStoreImpl.java23 import java.util.List;
32 private final Map<URI, List<HttpCookie>> map = new HashMap<URI, List<HttpCookie>>();
40 List<HttpCookie> cookies = map.get(uri); in add()
61 public synchronized List<HttpCookie> get(URI uri) { in get()
66 List<HttpCookie> result = new ArrayList<HttpCookie>(); in get()
69 List<HttpCookie> cookiesForUri = map.get(uri); in get()
82 for (Map.Entry<URI, List<HttpCookie>> entry : map.entrySet()) { in get()
87 List<HttpCookie> entryCookies = entry.getValue(); in get()
104 public synchronized List<HttpCookie> getCookies() { in getCookies()
105 List<HttpCookie> result = new ArrayList<HttpCookie>(); in getCookies()
[all …]
DCookieManager.java22 import java.util.List;
105 public Map<String, List<String>> get(URI uri, in get()
106 Map<String, List<String>> requestHeaders) throws IOException { in get()
111 List<HttpCookie> result = new ArrayList<HttpCookie>(); in get()
123 private static Map<String, List<String>> cookiesToHeaders(List<HttpCookie> cookies) { in cookiesToHeaders()
158 public void put(URI uri, Map<String, List<String>> responseHeaders) throws IOException { in put()
164 List<HttpCookie> cookies = parseCookie(responseHeaders); in put()
206 private static List<HttpCookie> parseCookie(Map<String, List<String>> responseHeaders) { in parseCookie()
207 List<HttpCookie> cookies = new ArrayList<HttpCookie>(); in parseCookie()
208 for (Map.Entry<String, List<String>> entry : responseHeaders.entrySet()) { in parseCookie()
DCookieStore.java19 import java.util.List;
64 List<HttpCookie> get(URI uri); in get()
72 List<HttpCookie> getCookies(); in getCookies()
81 List<URI> getURIs(); in getURIs()
DCookieHandler.java20 import java.util.List;
55 public abstract Map<String, List<String>> get(URI uri, in get()
56 Map<String, List<String>> requestHeaders) throws IOException; in get()
69 public abstract void put(URI uri, Map<String, List<String>> responseHeaders) in put()
DSecureCacheResponse.java20 import java.util.List;
55 public abstract List<Certificate> getLocalCertificateChain(); in getLocalCertificateChain()
68 public abstract List<Certificate> getServerCertificateChain() in getServerCertificateChain()
DNetworkInterface.java29 import java.util.List;
45 private final List<InterfaceAddress> interfaceAddresses;
46 private final List<InetAddress> addresses;
48 private final List<NetworkInterface> children = new LinkedList<NetworkInterface>();
53 List<InetAddress> addresses, List<InterfaceAddress> interfaceAddresses) { in NetworkInterface()
122 List<InetAddress> addresses = new ArrayList<InetAddress>(); in getByNameInternal()
123 List<InterfaceAddress> interfaceAddresses = new ArrayList<InterfaceAddress>(); in getByNameInternal()
146 List<InetAddress> addresses, List<InterfaceAddress> interfaceAddresses, in collectIpv6Addresses()
189 private static void collectIpv4Address(String interfaceName, List<InetAddress> addresses, in collectIpv4Address()
190 List<InterfaceAddress> interfaceAddresses) throws SocketException { in collectIpv4Address()
[all …]
/libcore/support/src/test/java/tests/http/
DRecordedRequest.java19 import java.util.List;
26 private final List<String> headers;
27 private final List<Integer> chunkSizes;
32 RecordedRequest(String requestLine, List<String> headers, List<Integer> chunkSizes, in RecordedRequest()
46 public List<String> getHeaders() { in getHeaders()
54 public List<Integer> getChunkSizes() { in getChunkSizes()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DCookieManagerTest.java29 import java.util.List;
36 Map<String, List<String>> map) throws IOException { in checkValidParams4Get()
48 Map<String, List<String>> map) throws IOException { in checkValidParams4Put()
71 checkValidParams4Get(null, new HashMap<String, List<String>>()); in test_Put_Get_LURI_LMap_exception()
77 checkValidParams4Put(null, new HashMap<String, List<String>>()); in test_Put_Get_LURI_LMap_exception()
80 private static Map<String, List<String>> addCookie(String[][] cookies) { in addCookie()
81 Map<String, List<String>> responseHeaders = new LinkedHashMap<String, List<String>>(); in addCookie()
83 List<String> fields = new ArrayList<String>(); in addCookie()
93 Map<String, List<String>> responseHeaders, CookiePolicy policy) in store()
140 Map<String, List<String>> responseHeaders = addCookie(new String[][] { in test_Put_Get_LURI_LMap()
[all …]
DSecureCacheResponseTest.java24 import java.util.List;
49 public List<Certificate> getLocalCertificateChain() { in getLocalCertificateChain()
67 public List<Certificate> getServerCertificateChain() throws SSLPeerUnverifiedException { in getServerCertificateChain()
79 public Map<String, List<String>> getHeaders() throws IOException { in getHeaders()
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DGeneralNames.java27 import java.util.List;
51 private List<GeneralName> generalNames;
59 public GeneralNames(List<GeneralName> generalNames) { in GeneralNames()
63 private GeneralNames(List<GeneralName> generalNames, byte[] encoding) { in GeneralNames()
71 public List<GeneralName> getNames() { in getNames()
81 public Collection<List<?>> getPairsList() { in getPairsList()
82 Collection<List<?>> result = new ArrayList<List<?>>(); in getPairsList()
91 final List<Object> genNameList; in getPairsList()
137 return new GeneralNames((List<GeneralName>) in.content, in.getEncoded());
DGeneralSubtrees.java27 import java.util.List;
49 private List<GeneralSubtree> generalSubtrees;
53 public GeneralSubtrees(List<GeneralSubtree> generalSubtrees) { in GeneralSubtrees()
61 public List<GeneralSubtree> getSubtrees() { in getSubtrees()
80 return new GeneralSubtrees((List<GeneralSubtree>) in.content);
DExtensions.java32 import java.util.List;
54 private static List SUPPORTED_CRITICAL = Arrays.asList(
59 private final List<Extension> extensions;
85 public Extensions(List<Extension> extensions) { in Extensions()
225 public List<String> valueOfExtendedKeyUsage() throws IOException { in valueOfExtendedKeyUsage()
280 public Collection<List<?>> valueOfSubjectAlternativeName() throws IOException { in valueOfSubjectAlternativeName()
299 public Collection<List<?>> valueOfIssuerAlternativeName() throws IOException { in valueOfIssuerAlternativeName()
307 private static Collection<List<?>> decodeGeneralNames(Extension extension) in decodeGeneralNames()
313 Collection<List<?>> collection = ((GeneralNames) GeneralNames.ASN1.decode(extension in decodeGeneralNames()
392 return new Extensions((List<Extension>) in.content);
/libcore/luni/src/main/java/org/apache/harmony/security/x501/
DName.java30 import java.util.List;
58 private List<List<AttributeTypeAndValue>> rdn;
75 this.rdn = (List<List<AttributeTypeAndValue>>) in.content; in Name()
88 private Name(List<List<AttributeTypeAndValue>> rdn) { in Name()
173 List<AttributeTypeAndValue> atavList = rdn.get(i); in getName0()
241 return new Name((List<List<AttributeTypeAndValue>>) in.content);
/libcore/luni/src/main/java/javax/net/ssl/
DKeyStoreBuilderParameters.java23 import java.util.List;
34 private final List<KeyStore.Builder> ksbuilders;
59 public KeyStoreBuilderParameters(List<KeyStore.Builder> parameters) { in KeyStoreBuilderParameters()
75 public List<KeyStore.Builder> getParameters() { in getParameters()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DKeyStoreBuilderParametersTest.java22 import java.util.List;
54 KeyStoreBuilderParameters ksp = new KeyStoreBuilderParameters((List) null); in test_Constructor02()
60 List lsEmpty = new ArrayList<String>(); in test_Constructor02()
68 List lsFiled = new ArrayList<String>(); in test_Constructor02()
79 List ls = new ArrayList<String>(); in test_getParameters()
84 List res_list = ksp.getParameters(); in test_getParameters()
/libcore/luni/src/test/java/libcore/util/
DCollectionUtilsTest.java25 import java.util.List;
31 List<Reference<String>> refs = new ArrayList<Reference<String>>(); in testDereferenceIterable()
67 private <T> List<T> toList(Iterable<T> iterable) { in toList()
68 List<T> result = new ArrayList<T>(); in toList()
76 List<String> list = new ArrayList<String>(); in testRemoveDuplicatesOnEmptyCollection()
82 List<String> list = Arrays.asList("A"); in testRemoveDuplicatesOnSingletonCollection()
88 List<String> list = new ArrayList<String>(); in testRemoveDuplicates()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractExecutorServiceTest.java27 public List<Runnable> shutdownNow() { in shutdownNow()
256 List<Callable<Long>> l = new ArrayList<Callable<Long>>(); in testInvokeAny3()
274 List<Callable<String>> l = new ArrayList<Callable<String>>(); in testInvokeAny4()
292 List<Callable<String>> l = new ArrayList<Callable<String>>(); in testInvokeAny5()
322 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
334 List<Callable<String>> l = new ArrayList<Callable<String>>(); in testInvokeAll3()
352 List<Callable<String>> l = new ArrayList<Callable<String>>(); in testInvokeAll4()
354 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
373 List<Callable<String>> l = new ArrayList<Callable<String>>(); in testInvokeAll5()
376 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs8/
DPrivateKeyInfo.java21 import java.util.List;
54 private final List<?> attributes;
58 byte[] privateKey, List attributes) { in PrivateKeyInfo()
67 List attributes, byte[] encoding) { in PrivateKeyInfo()
80 public List getAttributes() { in getAttributes()
118 (List) values[3], in.getEncoded());
/libcore/luni/src/main/java/java/util/concurrent/
DExecutorService.java8 import java.util.List;
141 List<Runnable> shutdownNow(); in shutdownNow()
244 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll()
274 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, in invokeAll()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java22 import java.util.List;
55 List<String> bcd = list.subList(1, 4); in testSubListAndNonStructuralChanges()
67 List<String> bcd = list.subList(1, 4); in testSubListAndStructuralChanges()
79 List<String> bcd = list.subList(1, 4); in testSubListAndSizePreservingStructuralChanges()
106 List<String> bcd = list.subList(1, 4); in testSubListClear()
131 List<String> bcd = list.subList(1, 4); in testSubListRemoveByValue()
140 List<String> bcd = list.subList(1, 4); in testSubListRemoveByIndex()
149 List<String> def = list.subList(3, 6); in testSubListRetainAll()
158 List<String> def = list.subList(3, 6); in testSubListRemoveAll()
176 private void testAddAllIsAtomic(final List<Object> list) throws Exception { in testAddAllIsAtomic()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DCookiesTest.java38 import java.util.List;
45 private static final Map<String, List<String>> EMPTY_COOKIES_MAP = Collections.emptyMap();
60 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); in testNetscapeResponse()
90 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); in testRfc2109Response()
123 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); in testRfc2965Response()
157 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); in testQuotedAttributeValues()
177 List<HttpCookie> cookies = sortedCopy(cookieStore.cookies); in testResponseWithMultipleCookieHeaderLines()
240 Map<String, List<String>> cookieHeaders = cookieManager.get( in testNoCookieHeaderSentIfNoCookiesMatch()
265 List<String> receivedHeaders = request.getHeaders(); in testSendingCookiesFromStore()
313 final Map<String, List<String>> cookieHandlerHeaders = new HashMap<String, List<String>>(); in testHeadersSentToCookieHandler()
[all …]
/libcore/luni/src/main/java/java/lang/
DProcessBuilder.java24 import java.util.List;
33 private List<String> command;
60 public ProcessBuilder(List<String> command) { in ProcessBuilder()
77 public List<String> command() { in command()
103 public ProcessBuilder command(List<String> command) { in command()
/libcore/dom/src/test/java/org/w3c/domts/
DUserDataMonitor.java15 import java.util.List;
26 private final List notifications = new ArrayList();
65 public final List getAllNotifications() { in getAllNotifications()

12345678910>>...13