/external/dagger2/core/src/main/java/dagger/internal/ |
DelegateFactory.java | 26 private Provider<T> delegate; field in class:DelegateFactory 30 if (delegate == null) { 33 return delegate.get(); 36 public void setDelegatedProvider(Provider<T> delegate) { 37 if (delegate == null) { 40 if (this.delegate != null) { 43 this.delegate = delegate;
|
/external/okhttp/okio/okio/src/main/java/okio/ |
ForwardingTimeout.java | 23 private Timeout delegate; field in class:ForwardingTimeout 25 public ForwardingTimeout(Timeout delegate) { 26 if (delegate == null) throw new IllegalArgumentException("delegate == null"); 27 this.delegate = delegate; 31 public final Timeout delegate() { method in class:ForwardingTimeout 32 return delegate; 35 public final ForwardingTimeout setDelegate(Timeout delegate) { 36 if (delegate == null) throw new IllegalArgumentException("delegate == null") [all...] |
ForwardingSink.java | 22 private final Sink delegate; field in class:ForwardingSink 24 public ForwardingSink(Sink delegate) { 25 if (delegate == null) throw new IllegalArgumentException("delegate == null"); 26 this.delegate = delegate; 30 public final Sink delegate() { method in class:ForwardingSink 31 return delegate; 35 delegate.write(source, byteCount); 39 delegate.flush() [all...] |
ForwardingSource.java | 22 private final Source delegate; field in class:ForwardingSource 24 public ForwardingSource(Source delegate) { 25 if (delegate == null) throw new IllegalArgumentException("delegate == null"); 26 this.delegate = delegate; 30 public final Source delegate() { method in class:ForwardingSource 31 return delegate; 35 return delegate.read(sink, byteCount); 39 return delegate.timeout() [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
RenderNode_Delegate.java | 25 * Delegate implementing the native methods of {@link RenderNode} 28 * to methods of the same name in this delegate class. 35 // ---- delegate manager ---- 71 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 72 if (delegate != null && delegate.mLift != lift) { 73 delegate.mLift = lift; 81 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 82 if (delegate != null) { 83 return delegate.mLift 90 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 100 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 109 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 119 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 128 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 138 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 147 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 157 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 184 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 194 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 204 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 214 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 225 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 239 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 245 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 256 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 269 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 280 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 293 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 303 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 312 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local 322 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); local [all...] |
/external/mockito/src/org/mockito/internal/util/ |
DefaultMockingDetails.java | 16 private MockUtil delegate;
field in class:DefaultMockingDetails 18 public DefaultMockingDetails(Object toInspect, MockUtil delegate){
20 this.delegate = delegate;
27 return delegate.isMock( toInspect );
35 return delegate.isSpy( toInspect );
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
LocationRequestUnbundled.java | 78 private final LocationRequest delegate; field in class:LocationRequestUnbundled 80 LocationRequestUnbundled(LocationRequest delegate) { 81 this.delegate = delegate; 90 return delegate.getInterval(); 103 return delegate.getFastestInterval(); 112 return delegate.getQuality(); 121 return delegate.getSmallestDisplacement(); 126 return delegate.toString();
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
RegularImmutableList.java | 29 private final List<E> delegate; field in class:RegularImmutableList 31 RegularImmutableList(List<E> delegate) { 33 this.delegate = unmodifiableList(delegate); 37 return delegate;
|
ForwardingImmutableCollection.java | 32 transient final Collection<E> delegate; field in class:ForwardingImmutableCollection 34 ForwardingImmutableCollection(Collection<E> delegate) { 35 this.delegate = delegate; 39 return Iterators.unmodifiableIterator(delegate.iterator()); 43 return object != null && delegate.contains(object); 47 return delegate.containsAll(targets); 51 return delegate.size(); 55 return delegate.isEmpty(); 59 return delegate.toArray() [all...] |
ImmutableEnumSet.java | 28 static <E> ImmutableSet<E> asImmutable(Set<E> delegate) { 29 switch (delegate.size()) { 33 return ImmutableSet.of(Iterables.getOnlyElement(delegate)); 35 return new ImmutableEnumSet<E>(delegate); 39 public ImmutableEnumSet(Set<E> delegate) { 40 super(delegate);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Misc/ |
FunctionDelegates.cs | 35 public delegate void Action(); 37 public delegate TResult Func<TResult>(); 39 public delegate TResult Func<T, TResult>(T arg);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
ReverseComparator.java | 24 * the delegate {@link Comparator}. 31 private final Comparator<T> delegate; field in class:ReverseComparator 34 * Construct an instance with the sepecified delegate {@link Comparator}. 36 * @param delegate The comparator to delegate to 38 public ReverseComparator(Comparator<T> delegate) { 39 if (delegate == null) { 40 throw new IllegalArgumentException("Delegate comparator is missing"); 42 this.delegate = delegate; [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ForwardingDeque.java | 29 * <b>indiscriminately</b> to the methods of the delegate. For example, 43 @Override protected abstract Deque<E> delegate(); method in class:ForwardingDeque 47 delegate().addFirst(e); 52 delegate().addLast(e); 57 return delegate().descendingIterator(); 62 return delegate().getFirst(); 67 return delegate().getLast(); 72 return delegate().offerFirst(e); 77 return delegate().offerLast(e); 82 return delegate().peekFirst() [all...] |
ForwardingListIterator.java | 39 @Override protected abstract ListIterator<E> delegate(); method in class:ForwardingListIterator 43 delegate().add(element); 48 return delegate().hasPrevious(); 53 return delegate().nextIndex(); 58 return delegate().previous(); 63 return delegate().previousIndex(); 68 delegate().set(element);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
ForwardingListenableFuture.java | 43 protected abstract ListenableFuture<V> delegate(); method in class:ForwardingListenableFuture 47 delegate().addListener(listener, exec); 57 * as the delegate. 63 private final ListenableFuture<V> delegate; field in class:ForwardingListenableFuture.SimpleForwardingListenableFuture 65 protected SimpleForwardingListenableFuture(ListenableFuture<V> delegate) { 66 this.delegate = Preconditions.checkNotNull(delegate); 70 protected final ListenableFuture<V> delegate() { method in class:ForwardingListenableFuture.SimpleForwardingListenableFuture 71 return delegate;
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingObjectTest.java | 31 final Object delegate = new Object(); local 33 @Override protected Object delegate() { 34 return delegate; 41 final Set<String> delegate = Sets.newHashSet("foo"); local 43 @Override protected Object delegate() { 44 return delegate; 47 assertEquals(forward.equals(delegate), delegate.equals(forward));
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/https/ |
HttpsURLConnectionImpl.java | 54 * wrong Java Type. Thus it uses the delegate (aka, the 58 * Since it would use a delegate to access 74 protected DelegateHttpsURLConnection delegate; field in class:HttpsURLConnectionImpl 86 delegate = new DelegateHttpsURLConnection(url, p, handler, this); 90 // subclass needs to overwrite this to set delegate to 103 delegate.setNewClient(url, false); 115 delegate.setNewClient(url, useCache); 129 delegate.setProxiedClient(url, proxyHost, proxyPort); 145 delegate.setProxiedClient(url, proxyHost, proxyPort, useCache); 153 delegate.connect() [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
DelegatingSSLSocket.java | 34 protected final SSLSocket delegate; field in class:DelegatingSSLSocket 36 public DelegatingSSLSocket(SSLSocket delegate) { 37 this.delegate = delegate; 41 delegate.shutdownInput(); 45 delegate.shutdownOutput(); 49 return delegate.getSupportedCipherSuites(); 53 return delegate.getEnabledCipherSuites(); 57 delegate.setEnabledCipherSuites(suites); 61 return delegate.getSupportedProtocols() [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
SettableCharsetProvider.java | 26 * charset-providers, this class allows tests to plug in a delegate that lives for the 30 private static CharsetProvider delegate; field in class:SettableCharsetProvider 33 delegate = cp; 37 delegate = null; 42 if (delegate != null) { 43 return delegate.charsets(); 51 if (delegate != null) { 52 return delegate.charsetForName(charsetName);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLExtendedSessionImpl.java | 30 * Implementation of the ExtendedSSLSession class for OpenSSL. Uses a delegate to maintain backward 34 private final OpenSSLSessionImpl delegate; field in class:OpenSSLExtendedSessionImpl 36 public OpenSSLExtendedSessionImpl(OpenSSLSessionImpl delegate) { 37 this.delegate = delegate; 41 return delegate; 70 String requestedServerName = delegate.getRequestedServerName(); 80 return delegate.getId(); 85 return delegate.getSessionContext(); 90 return delegate.getCreationTime() [all...] |
/external/conscrypt/src/compat/java/org/conscrypt/ |
KitKatPlatformOpenSSLSocketImplAdapter.java | 50 private final org.conscrypt.OpenSSLSocketImpl delegate; field in class:KitKatPlatformOpenSSLSocketImplAdapter 52 public KitKatPlatformOpenSSLSocketImplAdapter(org.conscrypt.OpenSSLSocketImpl delegate) 55 this.delegate = delegate; 62 delegate.close(); 67 return delegate.getInputStream(); 72 return delegate.getLocalPort(); 77 return delegate.getOutputStream(); 82 return delegate.getPort(); 87 delegate.connect(sockaddr, timeout) [all...] |
PreKitKatPlatformOpenSSLSocketImplAdapter.java | 50 private final org.conscrypt.OpenSSLSocketImpl delegate; field in class:PreKitKatPlatformOpenSSLSocketImplAdapter 52 public PreKitKatPlatformOpenSSLSocketImplAdapter(org.conscrypt.OpenSSLSocketImpl delegate) 55 this.delegate = delegate; 62 delegate.close(); 67 return delegate.getInputStream(); 72 return delegate.getLocalPort(); 77 return delegate.getOutputStream(); 82 return delegate.getPort(); 87 delegate.connect(sockaddr, timeout) [all...] |
/external/slf4j/osgi-over-slf4j/src/main/java/org/slf4j/osgi/logservice/impl/ |
LogServiceImpl.java | 53 private final Logger delegate; field in class:LogServiceImpl 67 delegate = LoggerFactory.getLogger(name + '.' + version); 79 delegate.debug(message); 82 delegate.error(message); 85 delegate.info(message); 88 delegate.warn(message); 104 delegate.debug(message, exception); 107 delegate.error(message, exception); 110 delegate.info(message, exception); 113 delegate.warn(message, exception) [all...] |
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
DelegatingHttpsURLConnection.java | 41 private final HttpURLConnection delegate; field in class:DelegatingHttpsURLConnection 43 public DelegatingHttpsURLConnection(HttpURLConnection delegate) { 44 super(delegate.getURL()); 45 this.delegate = delegate; 89 delegate.connect(); 93 delegate.disconnect(); 97 return delegate.getErrorStream(); 101 return delegate.getRequestMethod(); 105 return delegate.getResponseCode() [all...] |
HttpsURLConnectionImpl.java | 27 private final HttpURLConnectionImpl delegate; field in class:HttpsURLConnectionImpl 37 public HttpsURLConnectionImpl(HttpURLConnectionImpl delegate) { 38 super(delegate); 39 this.delegate = delegate; 43 if (delegate.httpEngine == null) { 50 return delegate.httpEngine.hasResponse() 51 ? delegate.httpEngine.getResponse().handshake() 52 : delegate.handshake; 56 delegate.client.setHostnameVerifier(hostnameVerifier) [all...] |