Home
last modified time | relevance | path

Searched defs:delegate (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/external/guava/guava-tests/test/com/google/common/reflect/
DAbstractInvocationHandlerTest.java84 private static List<String> newDelegatingList(List<String> delegate) { in newDelegatingList()
89 private static List<String> newDelegatingListWithEquals(List<String> delegate) { in newDelegatingListWithEquals()
94 private static Iterable<String> newDelegatingIterableWithEquals(Iterable<String> delegate) { in newDelegatingIterableWithEquals()
99 private static List<String> newProxyWithSubHandler1(List<String> delegate) { in newProxyWithSubHandler1()
104 private static List<String> newProxyWithSubHandler2(List<String> delegate) { in newProxyWithSubHandler2()
116 final Object delegate; field in AbstractInvocationHandlerTest.DelegatingInvocationHandler
118 DelegatingInvocationHandler(Object delegate) { in DelegatingInvocationHandler()
134 DelegatingInvocationHandlerWithEquals(Object delegate) { in DelegatingInvocationHandlerWithEquals()
157 SubHandler1(Object delegate) { in SubHandler1()
163 SubHandler2(Object delegate) { in SubHandler2()
DInvokableTest.java81 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_parameters() local
95 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_call() local
102 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class) in testConstructor_returning() local
110 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_invalidReturning() local
118 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_returnType() local
123 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_exceptionTypes() local
128 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_typeParameters() local
135 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_parameters() local
149 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_call() local
157 Invokable<?, Iterable<String>> delegate = Prepender.method( in testStaticMethod_returning() local
[all …]
/external/guava/guava/src/com/google/common/collect/
DConstraints.java59 private final Collection<E> delegate; field in Constraints.ConstrainedCollection
63 Collection<E> delegate, Constraint<? super E> constraint) { in ConstrainedCollection()
67 @Override protected Collection<E> delegate() { in delegate() method in Constraints.ConstrainedCollection
98 private final Set<E> delegate; field in Constraints.ConstrainedSet
101 public ConstrainedSet(Set<E> delegate, Constraint<? super E> constraint) { in ConstrainedSet()
105 @Override protected Set<E> delegate() { in delegate() method in Constraints.ConstrainedSet
136 final SortedSet<E> delegate; field in Constraints.ConstrainedSortedSet
140 SortedSet<E> delegate, Constraint<? super E> constraint) { in ConstrainedSortedSet()
144 @Override protected SortedSet<E> delegate() { in delegate() method in Constraints.ConstrainedSortedSet
189 final List<E> delegate; field in Constraints.ConstrainedList
[all …]
DWellBehavedMap.java38 private final Map<K, V> delegate; field in WellBehavedMap
41 private WellBehavedMap(Map<K, V> delegate) { in WellBehavedMap()
51 static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { in wrap()
55 @Override protected Map<K, V> delegate() { in delegate() method in WellBehavedMap
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DForwardingServerCallListener.java29 protected abstract ServerCall.Listener<ReqT> delegate(); in delegate() method in ForwardingServerCallListener
43 private final ServerCall.Listener<ReqT> delegate; field in ForwardingServerCallListener.SimpleForwardingServerCallListener
45 protected SimpleForwardingServerCallListener(ServerCall.Listener<ReqT> delegate) { in SimpleForwardingServerCallListener()
50 protected ServerCall.Listener<ReqT> delegate() { in delegate() method in ForwardingServerCallListener.SimpleForwardingServerCallListener
DForwardingClientCallListener.java29 protected abstract ClientCall.Listener<RespT> delegate(); in delegate() method in ForwardingClientCallListener
43 private final ClientCall.Listener<RespT> delegate; field in ForwardingClientCallListener.SimpleForwardingClientCallListener
45 protected SimpleForwardingClientCallListener(ClientCall.Listener<RespT> delegate) { in SimpleForwardingClientCallListener()
50 protected ClientCall.Listener<RespT> delegate() { in delegate() method in ForwardingClientCallListener.SimpleForwardingClientCallListener
DForwardingServerCall.java28 protected abstract ServerCall<ReqT, RespT> delegate(); in delegate() method in ForwardingServerCall
42 private final ServerCall<ReqT, RespT> delegate; field in ForwardingServerCall.SimpleForwardingServerCall
44 protected SimpleForwardingServerCall(ServerCall<ReqT, RespT> delegate) { in SimpleForwardingServerCall()
49 protected ServerCall<ReqT, RespT> delegate() { in delegate() method in ForwardingServerCall.SimpleForwardingServerCall
DForwardingClientCall.java28 protected abstract ClientCall<ReqT, RespT> delegate(); in delegate() method in ForwardingClientCall
46 private final ClientCall<ReqT, RespT> delegate; field in ForwardingClientCall.SimpleForwardingClientCall
48 protected SimpleForwardingClientCall(ClientCall<ReqT, RespT> delegate) { in SimpleForwardingClientCall()
53 protected ClientCall<ReqT, RespT> delegate() { in delegate() method in ForwardingClientCall.SimpleForwardingClientCall
/external/guava/guava/src/com/google/common/util/concurrent/
DForwardingListenableFuture.java43 protected abstract ListenableFuture<V> delegate(); in delegate() method in ForwardingListenableFuture
63 private final ListenableFuture<V> delegate; field in ForwardingListenableFuture.SimpleForwardingListenableFuture
65 protected SimpleForwardingListenableFuture(ListenableFuture<V> delegate) { in SimpleForwardingListenableFuture()
70 protected final ListenableFuture<V> delegate() { in delegate() method in ForwardingListenableFuture.SimpleForwardingListenableFuture
DForwardingCheckedFuture.java55 protected abstract CheckedFuture<V, X> delegate(); in delegate() method in ForwardingCheckedFuture
67 private final CheckedFuture<V, X> delegate; field in ForwardingCheckedFuture.SimpleForwardingCheckedFuture
69 protected SimpleForwardingCheckedFuture(CheckedFuture<V, X> delegate) { in SimpleForwardingCheckedFuture()
74 protected final CheckedFuture<V, X> delegate() { in delegate() method in ForwardingCheckedFuture.SimpleForwardingCheckedFuture
DForwardingFuture.java44 @Override protected abstract Future<V> delegate(); in delegate() method in ForwardingFuture
84 private final Future<V> delegate; field in ForwardingFuture.SimpleForwardingFuture
86 protected SimpleForwardingFuture(Future<V> delegate) { in SimpleForwardingFuture()
91 protected final Future<V> delegate() { in delegate() method in ForwardingFuture.SimpleForwardingFuture
DJdkFutureAdapters.java130 private final Future<V> delegate; field in JdkFutureAdapters.ListenableFutureAdapter
132 ListenableFutureAdapter(Future<V> delegate) { in ListenableFutureAdapter()
136 ListenableFutureAdapter(Future<V> delegate, Executor adapterExecutor) { in ListenableFutureAdapter()
142 protected Future<V> delegate() { in delegate() method in JdkFutureAdapters.ListenableFutureAdapter
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
DWrapperTester.java39 public abstract OutputStream create(OutputStream delegate) throws Exception; in create()
82 private ClosableByteArrayOutputStream delegate; field in WrapperTester.WrapperSinkTester
113 FailOnFlushOutputStream delegate = new FailOnFlushOutputStream(); in wrapperTestFlushThrowsViaFlushSuppressed() local
122 FailOnFlushOutputStream delegate = new FailOnFlushOutputStream(); in wrapperTestFlushThrowsViaCloseSuppressed() local
131 FailOnFlushOutputStream delegate = new FailOnFlushOutputStream(); in wrapperTestFlushThrowsViaFlush() local
147 FailOnFlushOutputStream delegate = new FailOnFlushOutputStream(); in wrapperTestFlushThrowsViaClose() local
169 FailOnCloseOutputStream delegate = new FailOnCloseOutputStream(); in wrapperTestCloseThrows() local
181 FailOnCloseOutputStream delegate = new FailOnCloseOutputStream(); in wrapperTestCloseThrowsSuppressed() local
DCharWrapperTester.java38 public abstract Writer create(Writer delegate) throws Exception; in create()
81 private ClosableStringWriter delegate; field in CharWrapperTester.WrapperSinkTester
112 FailOnFlushWriter delegate = new FailOnFlushWriter(); in wrapperTestFlushThrowsViaFlushSuppressed() local
121 FailOnFlushWriter delegate = new FailOnFlushWriter(); in wrapperTestFlushThrowsViaCloseSuppressed() local
130 FailOnFlushWriter delegate = new FailOnFlushWriter(); in wrapperTestFlushThrowsViaFlush() local
146 FailOnFlushWriter delegate = new FailOnFlushWriter(); in wrapperTestFlushThrowsViaClose() local
168 FailOnCloseWriter delegate = new FailOnCloseWriter(); in wrapperTestCloseThrows() local
180 FailOnCloseWriter delegate = new FailOnCloseWriter(); in wrapperTestCloseThrowsSuppressed() local
/external/libchrome/base/
Drun_loop.cc56 void RunLoop::RegisterDelegateForCurrentThread(Delegate* delegate) { in RegisterDelegateForCurrentThread()
179 Delegate* delegate = tls_delegate.Get().Get(); in IsRunningOnCurrentThread() local
185 Delegate* delegate = tls_delegate.Get().Get(); in IsNestedOnCurrentThread() local
191 Delegate* delegate = tls_delegate.Get().Get(); in AddNestingObserverOnCurrentThread() local
198 Delegate* delegate = tls_delegate.Get().Get(); in RemoveNestingObserverOnCurrentThread() local
206 Delegate* delegate = tls_delegate.Get().Get(); in QuitCurrentDeprecated() local
215 Delegate* delegate = tls_delegate.Get().Get(); in QuitCurrentWhenIdleDeprecated() local
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DCallCredentialsApplyingTransportFactory.java34 private final ClientTransportFactory delegate; field in CallCredentialsApplyingTransportFactory
38 ClientTransportFactory delegate, Executor appExecutor) { in CallCredentialsApplyingTransportFactory()
61 private final ConnectionClientTransport delegate; field in CallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport
64 CallCredentialsApplyingTransport(ConnectionClientTransport delegate, String authority) { in CallCredentialsApplyingTransport()
70 protected ConnectionClientTransport delegate() { in delegate() method in CallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport
/external/desugar/java/com/google/devtools/common/options/testing/
DConverterTesterMap.java30 private final ImmutableMap<Class<? extends Converter<?>>, ConverterTester> delegate; field in ConverterTesterMap
33 ImmutableMap<Class<? extends Converter<?>>, ConverterTester> delegate) { in ConverterTesterMap()
38 protected Map<Class<? extends Converter<?>>, ConverterTester> delegate() { in delegate() method in ConverterTesterMap
44 private final ImmutableMap.Builder<Class<? extends Converter<?>>, ConverterTester> delegate; field in ConverterTesterMap.Builder
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc58 void OnChange(TestDelegate* delegate) { in OnChange()
64 void Register(TestDelegate* delegate) { in Register()
81 void RecordChange(TestDelegate* delegate) { in RecordChange()
221 TestDelegateBase* delegate, in SetupWatch()
231 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
243 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
257 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
269 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
318 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
341 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
[all …]
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DForwardingTimeout.java25 private Timeout delegate; field in ForwardingTimeout
27 public ForwardingTimeout(Timeout delegate) { in ForwardingTimeout()
33 public final Timeout delegate() { in delegate() method in ForwardingTimeout
37 public final ForwardingTimeout setDelegate(Timeout delegate) { in setDelegate()
DForwardingSource.java24 private final Source delegate; field in ForwardingSource
26 public ForwardingSource(Source delegate) { in ForwardingSource()
32 public final Source delegate() { in delegate() method in ForwardingSource
/external/okhttp/okio/okio/src/main/java/okio/
DForwardingTimeout.java23 private Timeout delegate; field in ForwardingTimeout
25 public ForwardingTimeout(Timeout delegate) { in ForwardingTimeout()
31 public final Timeout delegate() { in delegate() method in ForwardingTimeout
35 public final ForwardingTimeout setDelegate(Timeout delegate) { in setDelegate()
DForwardingSource.java22 private final Source delegate; field in ForwardingSource
24 public ForwardingSource(Source delegate) { in ForwardingSource()
30 public final Source delegate() { in delegate() method in ForwardingSource
DForwardingSink.java22 private final Sink delegate; field in ForwardingSink
24 public ForwardingSink(Sink delegate) { in ForwardingSink()
30 public final Sink delegate() { in delegate() method in ForwardingSink
/external/guava/guava/src/com/google/common/cache/
DForwardingLoadingCache.java44 protected abstract LoadingCache<K, V> delegate(); in delegate() method in ForwardingLoadingCache
80 private final LoadingCache<K, V> delegate; field in ForwardingLoadingCache.SimpleForwardingLoadingCache
82 protected SimpleForwardingLoadingCache(LoadingCache<K, V> delegate) { in SimpleForwardingLoadingCache()
87 protected final LoadingCache<K, V> delegate() { in delegate() method in ForwardingLoadingCache.SimpleForwardingLoadingCache
/external/guava/guava/src/com/google/common/base/
DSuppliers.java102 public static <T> Supplier<T> memoize(Supplier<T> delegate) { in memoize()
110 final Supplier<T> delegate; field in Suppliers.MemoizingSupplier
116 MemoizingSupplier(Supplier<T> delegate) { in MemoizingSupplier()
161 Supplier<T> delegate, long duration, TimeUnit unit) { in memoizeWithExpiration()
167 final Supplier<T> delegate; field in Suppliers.ExpiringMemoizingSupplier
174 Supplier<T> delegate, long duration, TimeUnit unit) { in ExpiringMemoizingSupplier()
257 public static <T> Supplier<T> synchronizedSupplier(Supplier<T> delegate) { in synchronizedSupplier()
263 final Supplier<T> delegate; field in Suppliers.ThreadSafeSupplier
265 ThreadSafeSupplier(Supplier<T> delegate) { in ThreadSafeSupplier()

12345678910>>...19