Home
last modified time | relevance | path

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

12345678910>>...16

/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
DImmutableEnumSet.java53 private final transient EnumSet<E> delegate; field in ImmutableEnumSet
55 private ImmutableEnumSet(EnumSet<E> delegate) { in ImmutableEnumSet()
109 final EnumSet<E> delegate; field in ImmutableEnumSet.EnumSerializedForm
110 EnumSerializedForm(EnumSet<E> delegate) { in EnumSerializedForm()
DSynchronized.java64 final Object delegate; field in Synchronized.SynchronizedObject
67 SynchronizedObject(Object delegate, @Nullable Object mutex) { in SynchronizedObject()
72 Object delegate() { in delegate() method in Synchronized.SynchronizedObject
108 Collection<E> delegate, @Nullable Object mutex) { in SynchronizedCollection()
113 @Override Collection<E> delegate() { in delegate() method in Synchronized.SynchronizedCollection
216 SynchronizedSet(Set<E> delegate, @Nullable Object mutex) { in SynchronizedSet()
220 @Override Set<E> delegate() { in delegate() method in Synchronized.SynchronizedSet
249 SynchronizedSortedSet(SortedSet<E> delegate, @Nullable Object mutex) { in SynchronizedSortedSet()
253 @Override SortedSet<E> delegate() { in delegate() method in Synchronized.SynchronizedSortedSet
310 SynchronizedList(List<E> delegate, @Nullable Object mutex) { in SynchronizedList()
[all …]
DRegularImmutableAsList.java31 private final ImmutableCollection<E> delegate; field in RegularImmutableAsList
34 RegularImmutableAsList(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList) { in RegularImmutableAsList()
39 RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array) { in RegularImmutableAsList()
/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/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/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
DForwardingCache.java46 protected abstract Cache<K, V> delegate(); in delegate() method in ForwardingCache
135 private final Cache<K, V> delegate; field in ForwardingCache.SimpleForwardingCache
137 protected SimpleForwardingCache(Cache<K, V> delegate) { in SimpleForwardingCache()
142 protected final Cache<K, V> delegate() { in delegate() method in ForwardingCache.SimpleForwardingCache
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc57 void OnChange(TestDelegate* delegate) { in OnChange()
63 void Register(TestDelegate* delegate) { in Register()
79 void RecordChange(TestDelegate* delegate) { in RecordChange()
213 TestDelegateBase* delegate, in SetupWatch()
223 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
235 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
249 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
261 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
313 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
336 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local
[all …]
/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()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DRegularImmutableAsList.java30 private final ImmutableCollection<E> delegate; field in RegularImmutableAsList
33 RegularImmutableAsList(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList) { in RegularImmutableAsList()
38 RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array) { in RegularImmutableAsList()
DSynchronized.java58 final Object delegate; field in Synchronized.SynchronizedObject
61 SynchronizedObject(Object delegate, @Nullable Object mutex) { in SynchronizedObject()
66 Object delegate() { in delegate() method in Synchronized.SynchronizedObject
92 Collection<E> delegate, @Nullable Object mutex) { in SynchronizedCollection()
97 @Override Collection<E> delegate() { in delegate() method in Synchronized.SynchronizedCollection
200 SynchronizedSet(Set<E> delegate, @Nullable Object mutex) { in SynchronizedSet()
204 @Override Set<E> delegate() { in delegate() method in Synchronized.SynchronizedSet
233 SynchronizedSortedSet(SortedSet<E> delegate, @Nullable Object mutex) { in SynchronizedSortedSet()
237 @Override SortedSet<E> delegate() { in delegate() method in Synchronized.SynchronizedSortedSet
294 SynchronizedList(List<E> delegate, @Nullable Object mutex) { in SynchronizedList()
[all …]
/external/libchrome/base/threading/
Dplatform_thread_posix.cc43 PlatformThread::Delegate* delegate; member
49 PlatformThread::Delegate* delegate = nullptr; in ThreadFunc() local
83 PlatformThread::Delegate* delegate, in CreateThread()
188 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, in CreateWithPriority()
196 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { in CreateNonJoinable()
203 Delegate* delegate, in CreateNonJoinableWithPriority()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DReserializingTestCollectionGenerator.java36 private final TestCollectionGenerator<E> delegate; field in ReserializingTestCollectionGenerator
38 ReserializingTestCollectionGenerator(TestCollectionGenerator<E> delegate) { in ReserializingTestCollectionGenerator()
43 TestCollectionGenerator<E> delegate) { in newInstance()

12345678910>>...16