/dalvik/libcore/security/src/main/java/java/security/cert/ |
H A D | CertStoreSpi.java | 46 * @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 D | CertStore.java | 244 * @param selector 245 * the selector containing the criteria to search for 248 * specified selector. 252 public final Collection<? extends Certificate> getCertificates(CertSelector selector) argument 254 return spiImpl.engineGetCertificates(selector); 261 * @param selector 262 * the selector containing the criteria to search for certificate 265 * selector 269 public final Collection<? extends CRL> getCRLs(CRLSelector selector) argument 271 return spiImpl.engineGetCRLs(selector); [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
H A D | CertStoreCollectionSpi.java | 35 CertSelector selector) 41 if (selector == null) 59 if ((obj instanceof Certificate) && selector.match((Certificate)obj)) 71 CRLSelector selector) 77 if (selector == null) 95 if ((obj instanceof CRL) && selector.match((CRL)obj)) 34 engineGetCertificates( CertSelector selector) argument 70 engineGetCRLs( CRLSelector selector) argument
|
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | ProxySelector.java | 25 * connection can't be established, the caller should notify the proxy selector 71 * default {@code ProxySelector} if the parameter {@code selector} is set to 74 * @param selector 82 public static void setDefault(ProxySelector selector) { argument 87 defaultSelector = selector;
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
H A D | SelectionKeyImpl.java | 38 private SelectorImpl selector; field in class:SelectionKeyImpl 45 Object attachment, SelectorImpl selector) { 48 this.selector = selector; 60 synchronized (selector.keysLock) { 66 synchronized (selector.keysLock) { 77 synchronized (selector.keysLock) { 80 // selector.modKey(this); 93 public Selector selector() { method in class:SelectionKeyImpl 94 return selector; 44 SelectionKeyImpl(AbstractSelectableChannel channel, int operations, Object attachment, SelectorImpl selector) argument [all...] |
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyCertStoreSpi.java | 51 public Collection<Certificate> engineGetCertificates(CertSelector selector) argument 53 if (selector == null) { 59 public Collection<CRL> engineGetCRLs(CRLSelector selector) argument 61 if (selector == null) {
|
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
H A D | SelectableChannel.java | 25 * 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. 68 * registered with at least one selector. 84 * Indicates whether this channel is registered with at least one selector. 92 * Gets this channel's selection key for the specified selector. 95 * the selector with which this channel has been registered. 109 * Registers this channel with the specified selector for the specified 110 * interest set. If the channel is already registered with the selector, th 142 register(Selector selector, int operations) argument [all...] |
H A D | SelectionKey.java | 23 * selector for which the channel is registered. 100 * another ongoing call to a method of this selector has finished. The 101 * reason is that it is synchronizing on the key set of the selector. After 104 * selector. 216 * Gets the selector for which this key's channel is registered. 218 * @return the related selector. 220 public abstract Selector selector(); method in class:SelectionKey
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
H A D | AbstractSelectionKeyTest.java | 45 * @tests AbstractSelectionKey#isValid() without selector 73 // expected: no selector available 88 public Selector selector() { method in class:AbstractSelectionKeyTest.MockSelectionKey
|
H A D | MockAbstractSelector.java | 35 Selector selector; field in class:MockAbstractSelector.MockSelectionKey 39 selector = sel; 64 public Selector selector() { method in class:MockAbstractSelector.MockSelectionKey 65 return selector;
|
/dalvik/libcore/nio/src/main/java/java/nio/channels/spi/ |
H A D | AbstractSelectableChannel.java | 57 * the selector provider that creates this channel. 65 * Returns the selector provider that has created this channel. 68 * @return this channel's selector provider. 78 * @return {@code true} if this channel is registered with a selector, 87 * Gets this channel's selection key for the specified selector. 89 * @param selector 90 * the selector with which this channel has been registered. 92 * has not been registered with {@code selector}. 95 synchronized public final SelectionKey keyFor(Selector selector) { argument 98 if (null != key && key.selector() 133 register(Selector selector, int interestSet, Object attachment) argument [all...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | SelectionKeyTest.java | 53 Selector selector; field in class:SelectionKeyTest 63 selector = Selector.open(); 66 selectionKey = sc.register(selector, SelectionKey.OP_CONNECT); 72 selector.close(); 73 selector = null; 108 public Selector selector() { method in class:SelectionKeyTest.MockSelectionKey 276 selector.close(); 343 Selector selector = SelectorProvider.provider().openSelector(); 348 SelectionKey key = pipe.sink().register(selector, SelectionKey.OP_WRITE); 433 selector [all...] |
H A D | SelectorTest.java | 68 Selector selector; field in class:SelectorTest 83 selector = Selector.open(); 93 selector.close(); 110 assertNotNull(selector); 123 assertTrue(selector.isOpen()); 124 selector.close(); 125 assertFalse(selector.isOpen()); 139 assertNotNull(selector.provider()); 140 assertSame(SelectorProvider.provider(), selector.provider()); 153 SelectionKey key = ssc.register(selector, SelectionKe [all...] |
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
H A D | CertStore2Test.java | 384 public Collection<? extends CRL> engineGetCRLs(CRLSelector selector) argument 386 if (selector != null) { 387 if (!(selector instanceof MyCRLSelector)) { 397 CertSelector selector) throws CertStoreException { 398 if (selector != null) { 399 if (!(selector instanceof MyCertSelector)) { 396 engineGetCertificates( CertSelector selector) argument
|
/dalvik/libcore/luni/src/test/java/tests/api/java/net/ |
H A D | ProxySelectorTest.java | 68 private ProxySelector selector = ProxySelector.getDefault(); field in class:ProxySelectorTest 200 proxyList = selector.select(httpUri); 216 proxyList = selector.select(httpUri); 219 proxyList = selector.select(httpsUri); 222 proxyList = selector.select(ftpUri); 225 proxyList = selector.select(tcpUri); 247 proxyList = selector.select(httpUri); 263 proxyList = selector.select(httpUri); 267 proxyList = selector.select(httpsUri); 271 proxyList = selector [all...] |