/art/test/1945-proxy-method-arguments/src/ |
D | Main.java | 37 System.out.println("Proxy for " + TestInterface.class + "." + method.getName()); in invoke() 38 if (method.getName().equals("method0")) { in invoke() 40 } else if (method.getName().equals("method1")) { in invoke() 42 } else if (method.getName().equals("method10")) { in invoke() 44 } else if (method.getName().equals("method10Even")) { in invoke() 53 System.out.println(" arg0: " + arg0.getClass().getName()); in testMethod0() 60 System.out.println(" arg0: " + arg0.getClass().getName()); in testMethod1() 64 System.out.println(" arg1: " + arg1.getClass().getName() + " \"" + arg1 + "\""); in testMethod1() 71 System.out.println(" arg0: " + arg0.getClass().getName()); in testMethod10() 77 System.out.println(" arg" + arg_pos + ": " + arg.getClass().getName() + " \"" + arg + "\""); in testMethod10() [all …]
|
/art/test/1928-exception-event-exception/src/art/ |
D | Test1928.java | 49 System.out.println(thr.getName() + ": " + throw_method + " @ line = " + in ExceptionEvent() 101 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in exceptionOccurred() 121 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in throwCatchBaseTestException() 136 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in throwCatchTestException() 151 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in throwCatchTestExceptionNoRethrow() 195 test.getClass().getName(), handler.getClass().getName()); in run() 198 test.getClass().getName(), handler.getClass().getName()); in run() 201 test.getClass().getName(), in run() 202 e.getClass().getName(), in run() 204 handler.getClass().getName()); in run() [all …]
|
/art/test/626-const-class-linking/src/ |
D | ClassPair.java | 27 String first_loader_name = first.getClassLoader().getClass().getName(); in print() 28 System.out.println("first: " + first.getName() + " class loader: " + first_loader_name); in print() 29 String second_loader_name = second.getClassLoader().getClass().getName(); in print() 30 System.out.println("second: " + second.getName() + " class loader: " + second_loader_name); in print()
|
/art/test/1929-exception-catch-exception/src/art/ |
D | Test1929.java | 62 System.out.println(thr.getName() + ": " + method + " @ line = " + in ExceptionCatchEvent() 103 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in exceptionOccurred() 141 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in throwCatchBaseTestException() 217 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in throwCatchTestException() 248 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in throwCatchTestExceptionNoRethrow() 294 test.getClass().getName(), handler.getClass().getName()); in run() 297 test.getClass().getName(), handler.getClass().getName()); in run() 300 test.getClass().getName(), in run() 301 e.getClass().getName(), in run() 303 handler.getClass().getName()); in run() [all …]
|
/art/test/044-proxy/src/ |
D | WrappedThrow.java | 197 if (method.getName().equals("toString")) in invoke() 199 else if (method.getName().equals("hashCode")) in invoke() 201 else if (method.getName().equals("equals")) in invoke() 216 if (method.getName().equals("throwFunky")) in invoke() 218 if (method.getName().equals("throwFunky2")) in invoke() 220 if (method.getName().equals("throwException")) in invoke() 222 if (method.getName().equals("throwBase")) in invoke() 224 if (method.getName().equals("throwSub")) in invoke() 226 if (method.getName().equals("throwSubSub")) in invoke() 228 if (method.getName().equals("bothThrowBase")) in invoke() [all …]
|
/art/test/690-hiddenapi-same-name-methods/src/ |
D | Main.java | 56 String className = klass.getName(); in checkMethodList() 65 if (!METHOD_NAME.equals(method.getName())) { in checkMethodList() 67 "\", got: \"" + method.getName() + "\""); in checkMethodList() 84 String className = klass.getName(); in checkMethod() 86 if (!METHOD_NAME.equals(method.getName())) { in checkMethod() 88 "\", got: \"" + method.getName() + "\""); in checkMethod()
|
/art/test/2239-varhandle-perf/src/ |
D | MicroBenchmark.java | 27 public String getName() { in getName() method in MicroBenchmark 46 System.out.println(getName() + "(RunTimeRaw): " + microseconds + " us."); in report() 48 System.err.println("Exception during the execution of " + getName()); in report()
|
D | BenchmarkBase.java | 77 public String getName() { in getName() method in BenchmarkBase 83 System.out.println(getName() + "(RunTime): " + score + " us."); in report()
|
/art/test/904-object-allocation/src/art/ |
D | Test904.java | 35 Object.class.getName(); in prefetchClassNames() 36 Integer.class.getName(); in prefetchClassNames() 37 Float.class.getName(); in prefetchClassNames() 38 Short.class.getName(); in prefetchClassNames() 39 Byte.class.getName(); in prefetchClassNames() 40 Double.class.getName(); in prefetchClassNames()
|
/art/test/048-reflect-v8/src/ |
D | AnnotationTest.java | 135 + annotationUseClass.getName() + " with annotation " + annotationClass.getName() + ": " in printAnnotationsByType() 158 String msg = "Declared annnotations by type, defined by class " + annotationUseClass.getName() in printDeclaredAnnotationsByType() 159 + " with annotation " + annotationClass.getName() + ": " in printDeclaredAnnotationsByType() 204 String msg = "Annotations by type, defined by method " + m.getName() + " with annotation " + in printMethodAnnotationsByType() 205 annotationClass.getName() + ": " + in printMethodAnnotationsByType() 244 String msg = "Annotations declared by method " + m.getName() + " with annotation " in printMethodDeclaredAnnotation() 245 + annotationClass.getName() + ": " in printMethodDeclaredAnnotation() 285 String msg = "Annotations by type, defined by method " + m.getName() + " with annotation " in printMethodDeclaredAnnotationByType() 286 + annotationClass.getName() + ": " in printMethodDeclaredAnnotationByType()
|
/art/test/925-threadgroups/src/art/ |
D | Test925.java | 100 if (t.getName().startsWith("Jit thread pool worker") || in filteredThread() 101 t.getName().startsWith("Metrics Background Reporting Thread")) { in filteredThread() 118 System.out.println(tg.getName() + ":"); in checkChildren() 147 return o1.getName().compareTo(o2.getName()); 153 return o1.getName().compareTo(o2.getName());
|
/art/test/064-field-access/src/ |
D | Main.java | 121 + expectedException.getName() + ", got " in getValue() 573 if (f.getName().contains(fieldNameForTypeChar[i])) { in doReflectionTests() 580 if ((f.getName().contains("Private") || in doReflectionTests() 581 (!same_package && f.getName().contains("Package")) || in doReflectionTests() 582 (!same_package && f.getName().contains("Protected"))) && in doReflectionTests() 583 !(protected_class && f.getName().contains("Public"))) { in doReflectionTests() 587 if ((f.getName().contains("Private") || in doReflectionTests() 588 (!same_package && f.getName().contains("Package")) || in doReflectionTests() 589 (!same_package && f.getName().contains("Protected"))) && in doReflectionTests() 590 !(protected_class && f.getName().contains("Public"))) { in doReflectionTests() [all …]
|
/art/test/1995-final-virtual-structural-multithread/src/art/ |
D | Test1995.java | 34 return greetingEnglish + " from " + Thread.currentThread().getName(); in sayHi() 133 if (!s.equals("Hello from " + getName()) && in Check() 134 !s.equals("Hello, null, null, null from " + getName()) && in Check() 137 getName())) { in Check()
|
/art/test/2001-virtual-structural-multithread/src-art/art/ |
D | Test2001.java | 39 return greetingEnglish + " from " + Thread.currentThread().getName(); in sayHi() 192 if (!s.equals("from SUBCLASS: Hello from " + getName()) in Check() 193 && !s.equals("from SUBCLASS: Hello, null, null, null from " + getName()) in Check() 196 + getName())) { in Check()
|
/art/test/113-multidex/src-multidex/ |
D | Main.java | 19 System.out.println(new FillerA().getClass().getName()); in main() 22 System.out.println(second.getClass().getName()); in main()
|
/art/test/845-data-image/src-art/ |
D | Main.java | 230 assertEquals("Main", Main.class.getName()); in runClassTests() 245 assertEquals("[LMain;", Main[].class.getName()); in runClassTests() 246 assertEquals("[[LMain;", Main[][].class.getName()); in runClassTests() 248 assertEquals("[LMain;", new Main[4].getClass().getName()); in runClassTests() 249 assertEquals("[[LMain;", new Main[1][2].getClass().getName()); in runClassTests() 252 assertEquals("[LMain;", array.getClass().getName()); in runClassTests() 255 assertEquals("int", int.class.getName()); in runClassTests() 256 assertEquals("[I", int[].class.getName()); in runClassTests()
|
/art/test/807-method-handle-and-mr/src/ |
D | Main.java | 43 System.out.println(getName()); in execute() 45 System.err.println("Exception during the execution of " + getName()); in execute() 71 String getName() { in getName() method in Test
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | ObjectsHandler.java | 53 return (heapName == null || x.getHeap().getName().equals(heapName)) in getObjects() 97 if (!heap.getName().equals(heapName)) { in handle() 100 query.with("heap", heap.getName()), in handle() 101 DocString.text(heap.getName())); in handle() 129 DocString.text(inst.getHeap().getName()), in handle()
|
/art/libartservice/service/javatests/com/android/server/art/ |
D | PrimaryDexUtilsTest.java | 136 lenient().when(baseSplit.getClassLoaderName()).thenReturn(PathClassLoader.class.getName()); in createPackage() 139 lenient().when(split0.getName()).thenReturn("split_0"); in createPackage() 144 lenient().when(split1.getName()).thenReturn("split_1"); in createPackage() 149 lenient().when(split2.getName()).thenReturn("split_2"); in createPackage() 154 lenient().when(split3.getName()).thenReturn("split_3"); in createPackage() 159 lenient().when(split4.getName()).thenReturn("split_4"); in createPackage() 172 lenient().when(split0.getClassLoaderName()).thenReturn(PathClassLoader.class.getName()); in createPackage() 176 .thenReturn(DelegateLastClassLoader.class.getName()); in createPackage() 177 lenient().when(split3.getClassLoaderName()).thenReturn(DexClassLoader.class.getName()); in createPackage()
|
/art/test/2005-pause-all-redefine-multithreaded/src/art/ |
D | Test2005.java | 32 return greetingEnglish + " from " + Thread.currentThread().getName(); in sayHi() 131 if (!s.equals("Hello from " + getName()) in Check() 133 + " from " + getName()) in Check() 135 "Hello World, Bonjour le Monde, Hej Verden, こんにちは世界 from " + getName())) { in Check()
|
/art/test/995-breakpoints-throw/src/art/ |
D | Test995.java | 42 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in breakpointCatchLate() 50 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in breakpointCatch() 111 System.out.printf("Caught %s:\"%s\"\n", t.getClass().getName(), 128 test, e.getClass().getName(), e.getMessage(), handler);
|
/art/test/051-thread/src/ |
D | Main.java | 76 System.out.print("testThreadDaemons starting thread '" + t.getName() + "'\n"); in testThreadDaemons() 134 if (!thread.getName().equals("HelloWorld")) { in testSetName() 135 throw new AssertionError("Unexpected thread name: " + thread.getName()); in testSetName() 138 if (!thread.getName().equals("HelloWorld")) { in testSetName() 139 throw new AssertionError("Unexpected thread name after join: " + thread.getName()); in testSetName()
|
/art/test/129-ThreadGetId/src/ |
D | Main.java | 49 if (thread.getName().equals("HeapTaskDaemon") && in getHeapTaskDaemon() 71 System.out.println(thread.getName() + " depth " + pair.getValue().length); in test_getStackTraces() 84 System.out.println("thread's ID is not positive: " + thread.getName()); in test_getId()
|
/art/test/921-hello-failure/src/ |
D | MultiRedef.java | 87 "Transformation error : " + e.getClass().getName() + "(" + e.getMessage() + ")"); in doTest() 95 "Transformation error : " + e.getClass().getName() + "(" + e.getMessage() + ")"); in doTest()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatPlaceHolderClassObj.java | 60 @Override public String getName() { in getName() method in AhatPlaceHolderClassObj 61 return getBaseline().asClassObj().getName(); in getName()
|