Home
last modified time | relevance | path

Searched defs:delegate (Results 1 – 23 of 23) 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/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.java345 private final BehaviorChangeDelegate delegate; field in Compatibility.OverrideCallbacks
348 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.java373 NavigableMap<String, Integer> delegate = new TreeMap<>(); in test_checkedNavigableMap_isChecked() local
451 Map<Integer, Double> delegate = new HashMap<>(); in test_unmodifiableMap_getOrDefault() local
461 Map<Integer, Double> delegate = new HashMap<>(); in test_unmodifiableMap_forEach() local
643 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.java268 MessageDigest delegate = in getInstance() local
318 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.java1058 FieldDelegate delegate) { in format()
1110 CharacterIteratorFieldDelegate delegate = new in formatToCharacterIterator() local
1114 format((Date)obj, sb, delegate); in formatToCharacterIterator() local
1233 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
885 MethodHandle delegate = MethodHandles.lookup().findStatic( in testSpreaders_reference() local
1080 MethodHandle delegate = MethodHandles.lookup().findStatic( in testSpreaders_primitive() local
1711 MethodHandle delegate = MethodHandles.lookup().findStatic(MethodHandleCombinersTest.class, in testDropInsertArgumentsMultithreaded() local
1862 MethodHandle delegate = MethodHandles.lookup().findStatic( in testSpreadInvokerMultiThreaded() local
/libcore/luni/src/main/java/libcore/content/type/
DMimeMap.java477 public MemoizingSupplier(Supplier<T> delegate) { in MemoizingSupplier()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java99 private final MethodHandle delegate; field in Transformers.DropArguments
109 public DropArguments(MethodType type, MethodHandle delegate, in DropArguments()
448 private final MethodHandle delegate; field in Transformers.BindTo
453 public BindTo(MethodHandle delegate, Object receiver) { in BindTo()
1331 Collector(MethodHandle delegate, Class<?> arrayType, int length) { in Collector()
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java85 protected final Os delegate() { in delegate() method in ForwardingOs