/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | OldAndroidClassTest.java | 242 assertEquals("OldAndroidClassTest", clazz.getSimpleName()); in testVariousClassNames() 248 assertEquals("MemberClass", clazz.getSimpleName()); in testVariousClassNames() 258 assertEquals("LocalClass", clazz.getSimpleName()); in testVariousClassNames() 264 assertEquals("", clazz.getSimpleName()); in testVariousClassNames() 272 assertEquals("Mou$$aka", clazz.getSimpleName()); in testVariousClassNames() 278 assertEquals("Mi$o$oup", clazz.getSimpleName()); in testVariousClassNames() 287 assertEquals("Ma$hedPotatoe$", clazz.getSimpleName()); in testVariousClassNames()
|
D | ReflectionTest.java | 593 assertEquals("ReflectionTest", ReflectionTest.class.getSimpleName()); in testInnerClassName() 594 assertEquals("Foo", Foo.class.getSimpleName()); in testInnerClassName() 595 assertEquals("", staticAnonymous.getClass().getSimpleName()); in testInnerClassName()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ClassTest.java | 122 assertEquals("TestBadInnerClass_InnerXXXXX", cl.getSimpleName()); in b28833829() 127 assertEquals("ClassTest", this.getClass().getSimpleName()); in testGetSimpleName() 128 assertEquals("int[]", int[].class.getSimpleName()); in testGetSimpleName() 129 assertEquals("int[][]", int[][].class.getSimpleName()); in testGetSimpleName() 130 assertEquals("ClassTest[]", ClassTest[].class.getSimpleName()); in testGetSimpleName() 131 assertEquals("", new A() {}.getClass().getSimpleName()); // Anonymous class in testGetSimpleName() 132 assertEquals("A", A.class.getSimpleName()); // member interface in testGetSimpleName() 133 assertEquals("X", X.class.getSimpleName()); // member class in testGetSimpleName() 135 assertEquals("LocalClass", LocalClass.class.getSimpleName()); in testGetSimpleName()
|
D | OldClassTest.java | 590 assertEquals("PublicTestClass", PublicTestClass.class.getSimpleName()); in test_getSimpleName() 591 assertEquals("void", void.class.getSimpleName()); in test_getSimpleName() 592 assertEquals("int[]", int[].class.getSimpleName()); in test_getSimpleName()
|
/libcore/ojluni/src/main/java/java/security/ |
D | SecureRandomSpi.java | 218 return getClass().getSimpleName(); in toString()
|
/libcore/benchmarks/src_androidx/libcore/benchmark/ |
D | ClassTest.java | 37 A.class.getSimpleName(); in testGetSimpleName()
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | VarargsArrayTest.java | 57 CLASS.getSimpleName()+".MAX_ARITY", 40); 59 CLASS.getSimpleName()+".START_ARITY", 0); 61 CLASS.getSimpleName()+".EXHAUSTIVE");
|
D | PermuteArgsTest.java | 58 private static final int MAX_ARITY = Integer.getInteger(CLASS.getSimpleName()+".MAX_ARITY", 8); 59 private static final boolean DRY_RUN = Boolean.getBoolean(CLASS.getSimpleName()+".DRY_RUN"); 60 …private static final boolean VERBOSE = Boolean.getBoolean(CLASS.getSimpleName()+".VERBOSE") || DRY…
|
D | ExplicitCastArgumentsTest.java | 570 + "%-10s => %-10s: %5s: ", from.getSimpleName(), in testConversion() 571 to.getSimpleName(), param); in testConversion() 634 result.getClass().getSimpleName()); in testConversion()
|
D | MethodHandlesTest.java | 55 String vstr = System.getProperty(THIS_CLASS.getSimpleName()+".verbosity"); 67 String vstr = System.getProperty(THIS_CLASS.getSimpleName()+".CAN_SKIP_WORKING"); 325 return x.getClass().getSimpleName(); in getClasses() 648 pfx = rtype.getSimpleName().substring(0, 1).toLowerCase();
|
/libcore/ojluni/src/main/java/java/util/random/ |
D | RandomGeneratorFactory.java | 177 return Map.entry(clazz.getSimpleName(), new Provider<>() { in entryFor() 275 category.getSimpleName() + 442 return provider.type().getSimpleName();
|
/libcore/ojluni/src/main/java/java/util/ |
D | IntSummaryStatistics.java | 207 this.getClass().getSimpleName(), in toString()
|
D | LongSummaryStatistics.java | 219 this.getClass().getSimpleName(), in toString()
|
D | DoubleSummaryStatistics.java | 311 this.getClass().getSimpleName(), in toString()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | SpinedBuffer.java | 829 getClass().getSimpleName(), array.length, in toString() 835 getClass().getSimpleName(), array.length, in toString() 947 getClass().getSimpleName(), array.length, in toString() 953 getClass().getSimpleName(), array.length, in toString() 1065 getClass().getSimpleName(), array.length, in toString() 1071 getClass().getSimpleName(), array.length, in toString()
|
/libcore/luni/src/main/java/libcore/util/ |
D | Objects.java | 34 sb.append(c.getSimpleName()).append('['); in toString()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | ParameterizedTypeImpl.java | 108 sb.append(getRawType().getSimpleName()); in toString()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | RacingCollections.java | 306 System.out.printf("%s: %s, %s%n", k.getSimpleName(), in describe() 307 x.getClass().getSimpleName(), in describe() 308 y.getClass().getSimpleName()); in describe()
|
D | EmptyNavigableSet.java | 62 …" + (actual == null ? "<null>" : actual.getClass().getSimpleName()) + " != " + expected.getSimpleN… in assertInstance()
|
D | EmptyNavigableMap.java | 59 …" + (actual == null ? "<null>" : actual.getClass().getSimpleName()) + " != " + expected.getSimpleN… in assertInstance()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | FormatterTest.java | 401 assertEquals("IllegalFormatArgumentIndexException", exception.getClass().getSimpleName()); in invalidIndicesThrowsException_afterU_whenChecksAreEnabled() 406 assertEquals("IllegalFormatArgumentIndexException", exception.getClass().getSimpleName()); in invalidIndicesThrowsException_afterU_whenChecksAreEnabled()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | AnnotatedElementBenchmark.java | 192 HasSmallAnnotation.class.getSimpleName(); in timeGetSimpleName()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | ServerSocketConcurrentCloseTest.java | 40 private static final String TAG = ServerSocketConcurrentCloseTest.class.getSimpleName();
|
/libcore/luni/src/test/java/libcore/libcore/reflect/ |
D | ParameterizedTypeRegressionTest.java | 253 stringBuilder.append(rawType.getSimpleName()); in toString()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Debug.java | 200 System.err.println(prefix + " [" + obj.getClass().getSimpleName() + in println()
|