Searched defs:selector (Results 1 - 10 of 10) sorted by relevance

/libcore/luni/src/main/java/java/security/cert/
H A DCertStoreSpi.java46 * @param selector
47 * the selector containing the criteria to search for
50 * specified selector.
54 public abstract Collection<? extends Certificate> engineGetCertificates(CertSelector selector) argument
61 * @param selector
62 * the selector containing the criteria to search for certificate
65 * selector
69 public abstract Collection<? extends CRL> engineGetCRLs(CRLSelector selector) argument
H A DCertStore.java230 * @param selector
231 * the selector containing the criteria to search for
234 * specified selector.
238 public final Collection<? extends Certificate> getCertificates(CertSelector selector) argument
240 return spiImpl.engineGetCertificates(selector);
247 * @param selector
248 * the selector containing the criteria to search for certificate
251 * selector
255 public final Collection<? extends CRL> getCRLs(CRLSelector selector) argument
257 return spiImpl.engineGetCRLs(selector);
[all...]
/libcore/luni/src/main/java/java/net/
H A DProxySelector.java26 * <p>The default proxy selector is configured by system properties.
78 * <p>The default proxy selector always returns exactly one proxy. If no proxy
85 * <p>To request a URL without involving the system proxy selector, explicitly
90 * proxy selector.
97 * Returns the default proxy selector, or null if none exists.
104 * Sets the default proxy selector. If {@code selector} is null, the current
105 * proxy selector will be removed.
107 public static void setDefault(ProxySelector selector) { argument
108 defaultSelector = selector;
[all...]
/libcore/luni/src/main/java/java/nio/
H A DSelectionKeyImpl.java38 private SelectorImpl selector; field in class:SelectionKeyImpl
41 Object attachment, SelectorImpl selector) {
44 this.selector = selector;
56 synchronized (selector.keysLock) {
62 synchronized (selector.keysLock) {
73 synchronized (selector.keysLock) {
86 public Selector selector() { method in class:SelectionKeyImpl
87 return selector;
91 * package private method for setting the ready operation by selector
40 SelectionKeyImpl(AbstractSelectableChannel channel, int operations, Object attachment, SelectorImpl selector) argument
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertStoreSpi.java51 public Collection<Certificate> engineGetCertificates(CertSelector selector) argument
53 if (selector == null) {
59 public Collection<CRL> engineGetCRLs(CRLSelector selector) argument
61 if (selector == null) {
/libcore/luni/src/main/java/java/nio/channels/
H A DSelectableChannel.java25 * registered with a selector by calling one of the {@code register} methods,
27 * from a selector, its selection key must be canceled. This can be done
29 * done implicitly when the channel or the selector is closed.
32 * once for any given selector.
67 * registered with at least one selector.
83 * Indicates whether this channel is registered with at least one selector.
91 * Gets this channel's selection key for the specified selector.
94 * the selector with which this channel has been registered.
108 * Registers this channel with the specified selector for the specified
109 * interest set. If the channel is already registered with the selector, th
141 register(Selector selector, int operations) argument
[all...]
H A DSelectionKey.java21 * selector for which the channel is registered.
97 * another ongoing call to a method of this selector has finished. The
98 * reason is that it is synchronizing on the key set of the selector. After
101 * selector.
213 * Gets the selector for which this key's channel is registered.
215 * @return the related selector.
217 public abstract Selector selector(); method in class:SelectionKey
/libcore/luni/src/main/java/java/nio/channels/spi/
H A DAbstractSelectableChannel.java53 * the selector provider that creates this channel.
60 * Returns the selector provider that has created this channel.
63 * @return this channel's selector provider.
73 * @return {@code true} if this channel is registered with a selector,
82 * Gets this channel's selection key for the specified selector.
84 * @param selector
85 * the selector with which this channel has been registered.
87 * has not been registered with {@code selector}.
90 synchronized public final SelectionKey keyFor(Selector selector) { argument
92 if (key != null && key.selector()
127 register(Selector selector, int interestSet, Object attachment) argument
[all...]
/libcore/luni/src/test/java/tests/security/cert/
H A DCertStore2Test.java354 public Collection<? extends CRL> engineGetCRLs(CRLSelector selector) argument
356 if (selector != null) {
357 if (!(selector instanceof MyCRLSelector)) {
367 CertSelector selector) throws CertStoreException {
368 if (selector != null) {
369 if (!(selector instanceof MyCertSelector)) {
366 engineGetCertificates( CertSelector selector) argument
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DTrustedCertificateStore.java316 CertSelector selector = new CertSelector() {
321 return findCert(dir, x.getSubjectX500Principal(), selector, File.class);
335 CertSelector selector = new CertSelector() {
342 selector,
349 selector,
361 CertSelector selector = new CertSelector() {
372 X509Certificate user = findCert(addedDir, issuer, selector, X509Certificate.class);
376 X509Certificate system = findCert(systemDir, issuer, selector, X509Certificate.class);
492 File dir, X500Principal subject, CertSelector selector, Class<T> desiredReturnType) {
518 if (selector
491 findCert( File dir, X500Principal subject, CertSelector selector, Class<T> desiredReturnType) argument
[all...]

Completed in 373 milliseconds