Home
last modified time | relevance | path

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

/libcore/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
/libcore/luni/src/test/java/libcore/dalvik/system/
DDelegateLastClassLoaderTest.java133 ClassLoader delegate = createClassLoader("parent.jar", "child.jar"); in testLookupOrder_loadClass() local
142 ClassLoader delegate = createClassLoader("parent.jar", "child.jar"); in testLookupOrder_foundInParent() local
152 ClassLoader delegate = createClassLoader("parent.jar", "child.jar"); in testLoadClass_exceptionMessages() local
177 ClassLoader delegate = createClassLoader("parent.jar", "child.jar"); in testLookupOrder_getResource() local
187 ClassLoader delegate = createClassLoader("parent.jar", "child.jar", false); in testLookupOrderNodelegate_getResource() local
197 ClassLoader delegate = createClassLoader("parent.jar", "child.jar"); in testLookupOrder_getResources() local
213 ClassLoader delegate = createClassLoader("parent.jar", "child.jar"); in testLookupOrder_getResources2() local
227 ClassLoader delegate = createClassLoader("parent.jar", "child.jar", false); in testLookupOrderNoDelegate_getResources() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamTesterTest.java148 public OutputStream create(OutputStream delegate) throws Exception { in create()
164 public OutputStream create(OutputStream delegate) throws Exception { in create()
175 public OutputStream create(OutputStream delegate) throws Exception { in create()
186 public OutputStream create(OutputStream delegate) throws Exception { in create()
198 public OutputStream create(OutputStream delegate) throws Exception { in create()
DWriterTesterTest.java163 public Writer create(Writer delegate) throws Exception { in create()
175 public Writer create(Writer delegate) throws Exception { in create()
188 public Writer create(Writer delegate) throws Exception { in create()
DPrintStreamTest.java777 public CountFlushOutputStream(OutputStream delegate) { in CountFlushOutputStream()
/libcore/luni/src/test/java/libcore/android/compat/
DCompatibilityTest.java68 BehaviorChangeDelegate delegate = mock(BehaviorChangeDelegate.class); in testReportUnconditionalChange() local
78 BehaviorChangeDelegate delegate = mock(BehaviorChangeDelegate.class); in testClearBehaviorChangeDelegate() local
/libcore/ojluni/src/test/java/util/Collections/
DDelegatingIteratorForEachRemaining.java52 private final Iterator<E> delegate; field in DelegatingIteratorForEachRemaining.ForwardingIterator
54 protected ForwardingIterator(Iterator<E> delegate) { in ForwardingIterator()
67 public ThrowingIterator(Iterator<E> delegate) { in ThrowingIterator()
78 private final Set<E> delegate; field in DelegatingIteratorForEachRemaining.ForwardingSet
80 protected ForwardingSet(Set<E> delegate) { in ForwardingSet()
107 public ThrowingSet(Set<E> delegate) { in ThrowingSet()
118 private final Map<K, V> delegate; field in DelegatingIteratorForEachRemaining.ForwardingMap
120 public ForwardingMap(Map<K, V> delegate) { in ForwardingMap()
152 public ThrowingMap(Map<K, V> delegate) { in ThrowingMap()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DForwardingX509ExtendedKeyManager.java31 private final X509ExtendedKeyManager delegate; field in ForwardingX509ExtendedKeyManager
33 public ForwardingX509ExtendedKeyManager(X509ExtendedKeyManager delegate) { in ForwardingX509ExtendedKeyManager()
DRandomPrivateKeyX509ExtendedKeyManager.java40 public RandomPrivateKeyX509ExtendedKeyManager(X509ExtendedKeyManager delegate) { in RandomPrivateKeyX509ExtendedKeyManager()
DTestSSLContext.java121 private final PutField delegate; field in TestSSLContext.HostnameRewritingObjectOutputStream.PutFieldProxy
124 public PutFieldProxy(ObjectOutputStream.PutField delegate, String hostname) { in PutFieldProxy()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DSettableCharsetProvider.java30 private static CharsetProvider delegate; field in SettableCharsetProvider
/libcore/tools/upstream/src/main/java/libcore/
DLines.java33 private final List<String> delegate; field in Lines
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java129 public static ZoneInfo createZoneInfo(ZoneInfoData delegate) { in createZoneInfo()
138 public static ZoneInfo createZoneInfo(ZoneInfoData delegate, long timeInMillis) { in createZoneInfo()
145 private ZoneInfo(ZoneInfoData delegate, int dstSavings, boolean useDst) { in ZoneInfo()
/libcore/luni/src/main/java/android/compat/
DCompatibility.java337 private final BehaviorChangeDelegate delegate; field in Compatibility.OverrideCallbacks
340 private OverrideCallbacks(BehaviorChangeDelegate delegate, ChangeConfig changeConfig) { in OverrideCallbacks()
/libcore/luni/src/test/java/libcore/java/util/
DAbstractListTest.java156 private final List<Integer> delegate; field in AbstractListTest.SequentialList
175 protected final List<Integer> delegate; field in AbstractListTest.RandomAccessList
DCollectionsTest.java375 NavigableMap<String, Integer> delegate = new TreeMap<>(); in test_checkedNavigableMap_isChecked() local
453 Map<Integer, Double> delegate = new HashMap<>(); in test_unmodifiableMap_getOrDefault() local
463 Map<Integer, Double> delegate = new HashMap<>(); in test_unmodifiableMap_forEach() local
645 NavigableSet<String> delegate = new TreeSet<>(); in test_unmodifiableNavigableSet_nonEmpty() local
/libcore/luni/src/test/java/libcore/java/net/
DDelegatingSocketFactory.java32 protected DelegatingSocketFactory(SocketFactory delegate) { in DelegatingSocketFactory()
/libcore/ojluni/src/main/java/java/security/
DMessageDigest.java286 MessageDigest delegate = in getInstance() local
341 MessageDigest delegate = in getInstance() local
/libcore/ojluni/src/main/java/java/util/prefs/
DXmlSupport.java300 private final List<? extends Node> delegate; field in XmlSupport.NodeListAdapter
302 public NodeListAdapter(List<? extends Node> delegate) { in NodeListAdapter()
/libcore/ojluni/src/main/java/java/text/
DSimpleDateFormat.java1092 FieldDelegate delegate) { in format()
1144 CharacterIteratorFieldDelegate delegate = new in formatToCharacterIterator() local
1148 format((Date)obj, sb, delegate); in formatToCharacterIterator() local
1267 FieldDelegate delegate, StringBuffer buffer, in subFormat()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleCombinersTest.java59 MethodHandle delegate = MethodHandles.lookup().findStatic(MethodHandleCombinersTest.class, in testDropArguments() local
125 MethodHandle delegate = MethodHandles.lookup().findStatic(MethodHandleCombinersTest.class, in testDropArguments_List() local
912 MethodHandle delegate = MethodHandles.lookup().findStatic( in testSpreaders_reference() local
1107 MethodHandle delegate = MethodHandles.lookup().findStatic( in testSpreaders_primitive() local
1738 MethodHandle delegate = MethodHandles.lookup().findStatic(MethodHandleCombinersTest.class, in testDropInsertArgumentsMultithreaded() local
1889 MethodHandle delegate = MethodHandles.lookup().findStatic( in testSpreadInvokerMultiThreaded() local
/libcore/luni/src/main/java/libcore/content/type/
DMimeMap.java462 public MemoizingSupplier(Supplier<T> delegate) { in MemoizingSupplier()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java128 private final MethodHandle delegate; field in Transformers.DropArguments
132 DropArguments(MethodType type, MethodHandle delegate, int startPos, int numDropped) { in DropArguments()
528 private final MethodHandle delegate; field in Transformers.BindTo
533 BindTo(MethodHandle delegate, Object receiver) { in BindTo()
1433 Collector(MethodHandle delegate, Class<?> arrayType, int start, int length) { in Collector()
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java83 protected final Os delegate() { in delegate() method in ForwardingOs