Home
last modified time | relevance | path

Searched refs:getName (Results 1 – 25 of 164) sorted by relevance

1234567

/art/test/1945-proxy-method-arguments/src/
DMain.java37 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/
DTest1928.java49 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/
DClassPair.java27 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/
DTest1929.java62 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/690-hiddenapi-same-name-methods/src/
DMain.java56 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/044-proxy/src/
DWrappedThrow.java197 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/904-object-allocation/src/art/
DTest904.java35 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/
DAnnotationTest.java135 + 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/
DTest925.java104 if (t.getName().startsWith("Jit thread pool worker")) { in checkChildren()
113 System.out.println(tg.getName() + ":"); in checkChildren()
131 if (t.getName().startsWith("Jit thread pool worker")) { in waitGroupChildren()
150 return o1.getName().compareTo(o2.getName());
156 return o1.getName().compareTo(o2.getName());
/art/tools/class2greylist/src/com/android/class2greylist/
DJarReader.java46 mStatus.debug("Reading %s from %s", e.getName(), mFileName); in openZipEntry()
47 return new ClassParser(mZipFile.getInputStream(e), e.getName()).parse(); in openZipEntry()
57 .filter(zipEntry -> zipEntry.getName().endsWith(".class")) in stream()
DAnnotatedMemberContext.java46 getClassDescriptor(), member.getName(), member.getSignature()); in getMemberDescriptor()
54 definingClass.getClassName(), member.getName()) in reportError()
/art/test/1995-final-virtual-structural-multithread/src/art/
DTest1995.java34 return greetingEnglish + " from " + Thread.currentThread().getName(); in sayHi()
132 if (!s.equals("Hello from " + getName()) && in Check()
133 !s.equals("Hello, null, null, null from " + getName()) && in Check()
134 !s.equals("Hello World, Bonjour le Monde, Hej Verden, こんにちは世界 from " + getName())) { in Check()
/art/test/064-field-access/src/
DMain.java121 + 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/2001-virtual-structural-multithread/src-art/art/
DTest2001.java39 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/
DMain.java19 System.out.println(new FillerA().getClass().getName()); in main()
22 System.out.println(second.getClass().getName()); in main()
/art/test/807-method-handle-and-mr/src/
DMain.java43 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/
DObjectsHandler.java53 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/test/995-breakpoints-throw/src/art/
DTest995.java42 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in breakpointCatchLate()
50 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in breakpointCatch()
110 System.out.printf("Caught %s:\"%s\"\n", t.getClass().getName(), t.getMessage());
126 test, e.getClass().getName(), e.getMessage(), handler);
/art/test/2005-pause-all-redefine-multithreaded/src/art/
DTest2005.java32 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/129-ThreadGetId/src/
DMain.java49 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/
DMultiRedef.java87 "Transformation error : " + e.getClass().getName() + "(" + e.getMessage() + ")"); in doTest()
95 "Transformation error : " + e.getClass().getName() + "(" + e.getMessage() + ")"); in doTest()
DMultiRetrans.java89 "Transformation error : " + e.getClass().getName() + "(" + e.getMessage() + ")"); in doTest()
101 "Transformation error : " + e.getClass().getName() + "(" + e.getMessage() + ")"); in doTest()
/art/test/051-thread/src/
DMain.java76 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/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatPlaceHolderClassObj.java60 @Override public String getName() { in getName() method in AhatPlaceHolderClassObj
61 return getBaseline().asClassObj().getName(); in getName()
/art/test/144-static-field-sigquit/src/
DSigQuit.java40 if (!e.getClass().getName().equals("ErrnoException")) {
54 if (!e.getClass().getName().equals("ErrnoException")) { in perform()

1234567