Searched refs:Foo (Results 1 – 8 of 8) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | ContentHandlerTest.java | 35 Class[] classes = { Foo.class, String.class, }; in test_getContent() 37 ((ContentHandlerImpl) handler).setContent(new Foo()); in test_getContent() 39 assertEquals("Foo", ((Foo) content).getFoo()); in test_getContent() 43 assertEquals("FooSub", ((Foo) content).getFoo()); in test_getContent() 46 ((ContentHandlerImpl) handler).setContent(new Foo()); in test_getContent() 66 class Foo { class 72 class FooSub extends Foo {
|
/libcore/benchmarks/src/benchmarks/ |
D | ArrayListIterationBenchmark.java | 25 ArrayList<Foo> mList = new ArrayList<Foo>(); 27 for (int i = 0; i < 27; ++i) mList.add(new Foo()); in mList.add() argument 32 ArrayList<Foo> list = mList; in timeArrayListIterationIndexed() 42 for (Foo a : mList) { in timeArrayListIterationForEach()
|
D | ArrayIterationBenchmark.java | 23 Foo[] mArray = new Foo[27]; 25 for (int i = 0; i < mArray.length; ++i) mArray[i] = new Foo(); 38 Foo[] localArray = mArray; in timeArrayIterationCached() 49 for (Foo a: mArray) { in timeArrayIterationForEach()
|
D | Foo.java | 22 public class Foo { class
|
/libcore/support/src/test/java/tests/resources/ |
D | hyts_Foo.ser | Foo.java
package foo.bar.execjartest
public foo.bar.execjartest.Foo extends java ... |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ReflectionTest.java | 442 assertEquals(ReflectionTest.class, Foo.class.getEnclosingClass()); in testGetEnclosingClass() 446 assertEquals(ReflectionTest.class, Foo.class.getEnclosingClass()); in testGetEnclosingClass() 451 assertEquals(ReflectionTest.class, Foo.class.getDeclaringClass()); in testGetDeclaringClass() 498 Foo foo = new Foo("string"); in testClassEnclosedByConstructor() 499 assertEquals(Foo.class, foo.c.getEnclosingClass()); in testClassEnclosedByConstructor() 500 assertEquals(Foo.class.getDeclaredConstructor(String.class), in testClassEnclosedByConstructor() 507 Foo foo = new Foo(); in testClassEnclosedByMethod() 509 assertEquals(Foo.class, foo.c.getEnclosingClass()); in testClassEnclosedByMethod() 511 assertEquals(Foo.class.getDeclaredMethod("foo", String.class), in testClassEnclosedByMethod() 566 int modifiers = Foo.class.getModifiers(); in testInnerClassModifiers() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ClassTest.java | 37 interface Foo { interface in ClassTest 55 assertNull(Foo.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandlesTest.java | 405 Foo.class /* refC */, in testfindSpecial_invokeSuperInterfaceBehaviour() 455 public interface Foo { interface in MethodHandlesTest 459 public interface Bar extends Foo {
|