Home
last modified time | relevance | path

Searched refs:className (Results 1 – 20 of 20) sorted by relevance

/art/test/497-inlining-and-class-loader/src/
DMain.java45 protected Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException { in loadClass() argument
47 if (className.equals("Level1")) { in loadClass()
48 return level1ClassLoader.loadClass(className); in loadClass()
49 } else if (className.equals("Level2")) { in loadClass()
51 } else if (!className.equals("LoadedByMyClassLoader")) { in loadClass()
53 return getParent().loadClass(className); in loadClass()
56 if (className != "Level1" && className != "Level2") { in loadClass()
57 return getParent().loadClass(className); in loadClass()
69 Class clazz = (Class)method.invoke(dex, className, this, null); in loadClass()
/art/tools/dexfuzz/src/dexfuzz/program/
DIdCreator.java86 private int findMethodIdInsertionPoint(String className, String methodName, String signature) { in findMethodIdInsertionPoint() argument
87 int classIdx = findTypeId(className); in findMethodIdInsertionPoint()
113 private int findTypeIdInsertionPoint(String className) { in findTypeIdInsertionPoint() argument
114 int descriptorIdx = findString(className); in findTypeIdInsertionPoint()
142 private int findFieldIdInsertionPoint(String className, String typeName, String fieldName) { in findFieldIdInsertionPoint() argument
143 int classIdx = findTypeId(className); in findFieldIdInsertionPoint()
169 private int createMethodId(String className, String methodName, String signature) { in createMethodId() argument
180 int typeIdIdx = findOrCreateTypeId(className); in createMethodId()
194 int newMethodIdIdx = findMethodIdInsertionPoint(className, methodName, signature); in createMethodId()
208 className, methodName, signature, newMethodIdIdx)); in createMethodId()
[all …]
DProgram.java261 String className = ""; in associateCodeItemsWithMethodNames() local
265 className = rawDexFile.stringDatas.get(typeIdItem.descriptorIdx).getString() + "."; in associateCodeItemsWithMethodNames()
274 methodIdx = associateMethod(method, methodIdx, className); in associateCodeItemsWithMethodNames()
279 methodIdx = associateMethod(method, methodIdx, className); in associateCodeItemsWithMethodNames()
291 private int associateMethod(EncodedMethod method, int methodIdx, String className) { in associateMethod() argument
306 String methodName = className in associateMethod()
/art/test/496-checker-inlining-and-class-loader/src/
DMain.java54 protected Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException { in loadClass() argument
56 if (className.equals("LoadedByMyClassLoader") || className.equals("FirstSeenByMyClassLoader")) { in loadClass()
57 System.out.println("Request for " + className); in loadClass()
61 if (className != "LoadedByMyClassLoader") { in loadClass()
62 return getParent().loadClass(className); in loadClass()
72 Class clazz = (Class)method.invoke(dexFile, className, this, null); in loadClass()
/art/runtime/
Djni_internal.h24 #define NATIVE_METHOD(className, functionName, signature) \ argument
25 { #functionName, signature, reinterpret_cast<void*>(className ## _ ## functionName) }
30 #define OVERLOADED_NATIVE_METHOD(className, functionName, signature, identifier) \ argument
31 { #functionName, signature, reinterpret_cast<void*>(className ## _ ## identifier) }
Dreference_table.cc91 std::string className(PrettyTypeOf(obj)); in DumpSummaryLine() local
95 className = "java.lang.Class"; in DumpSummaryLine()
98 StringAppendF(&className, " (%zd elements)", element_count); in DumpSummaryLine()
102 std::string msg(StringPrintf("%5zd of %s", total, className.c_str())); in DumpSummaryLine()
181 std::string className(PrettyTypeOf(ref)); in Dump() local
203 os << StringPrintf(" %5d: ", idx) << ref << " " << className << extras << "\n"; in Dump()
Dproxy_test.cc35 const char* className, in GenerateProxyClass() argument
95 soa, soa.Env()->NewStringUTF(className), proxyClassInterfaces, jclass_loader, in GenerateProxyClass()
/art/tools/dmtracedump/
Dtracedump.cc146 const char* className; member
165 const char* className; member
296 void initMethodEntry(MethodEntry* method, int64_t methodId, const char* className, in initMethodEntry() argument
300 method->className = className; in initMethodEntry()
334 int32_t result = strcmp(methodA->className, methodB->className); in compareElapsedExclusive()
364 int32_t result = strcmp(methodA->className, methodB->className); in compareElapsedInclusive()
396 int32_t result = strcmp(methodA->className, methodB->className); in compareTimedMethod()
418 int32_t result = strcmp(methodA->className, methodB->className); in compareClassNames()
444 int32_t result = strcmp(classA->className, classB->className); in compareClassExclusive()
471 result = strcmp(methodA->className, methodB->className); in compareMethodNames()
[all …]
Dcreatetesttrace.cc66 char* className; member
211 records[nextRecord].className = nullptr; in parseInputFile()
217 if (len > 0) records[nextRecord].className = strndup(save_cp, len); in parseInputFile()
370 if (pRecord->className == nullptr || pRecord->methodName == nullptr) { in writeKeyMethods()
375 pRecord->className, pRecord->methodName); in writeKeyMethods()
378 pRecord->className, pRecord->methodName, pRecord->signature); in writeKeyMethods()
/art/test/088-monitor-verification/src/
DMain.java228 private static void runTest(String className, Object[] parameters, Class<?> excType) { in runTest() argument
230 Class<?> c = Class.forName(className); in runTest()
245 System.out.println("Could not find test method for " + className); in runTest()
247 System.out.println("Test method for " + className + " is not static."); in runTest()
251 System.out.println("Expected an exception in " + className); in runTest()
256 System.out.println("Did not expect exception " + exc + " for " + className); in runTest()
/art/test/121-modifiers/src/
DMain.java84 private static void check(String className) throws Exception { in check() argument
85 Class<?> clazz = Class.forName(className); in check()
86 if (className.equals("Inf")) { in check()
94 throw new RuntimeException("Undefined bits for an interface: " + className); in check()
104 throw new RuntimeException("Undefined bits for a class: " + className); in check()
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DNewMethodCaller.java48 public String className; field in NewMethodCaller.AssociatedMutation
66 className, in getString()
78 className = elements[4]; in parseString()
129 mutation.className = "Ljava/lang/System;"; in generateMutation()
168 .findOrCreateMethodId(mutation.className, in applyMutation()
180 mutation.className, mutation.methodName, mutation.signature, insertionPoint)); in applyMutation()
/art/test/542-unresolved-access-check/src/
DMain.java47 protected Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException { in loadClass() argument
48 if (className.equals("p1.OtherInP1") && !p1.PlaceHolder.entered) { in loadClass()
61 Class clazz = (Class)method.invoke(dex, className, this, null); in loadClass()
68 return getParent().loadClass(className); in loadClass()
/art/tools/ahat/src/
DObjectsHandler.java38 String className = query.get("class", null); in handle() local
45 && (className == null in handle()
46 || AhatSnapshot.getClassName(inst.getClassObj()).equals(className))) { in handle()
DSiteHandler.java96 String className = AhatSnapshot.getClassName(info.classObj); in handle() local
101 site.getStackId(), site.getStackDepth(), info.heap.getName(), className), in handle()
DInstanceUtils.java35 private static boolean isInstanceOfClass(Instance inst, String className) { in isInstanceOfClass() argument
37 return (cls != null && className.equals(cls.getClassName())); in isInstanceOfClass()
/art/dexlist/
Ddexlist.cc106 char* className = descriptorToDot(classDescriptor); in dumpMethod() local
111 (strcmp(gOptions.classToFind, className) != 0 || in dumpMethod()
113 free(className); in dumpMethod()
133 className, methodName, typeDesc, fileName, firstLine); in dumpMethod()
136 free(className); in dumpMethod()
/art/test/071-dexfile/src/
DMain.java102 String className = e.nextElement(); in testDexFile() local
103 System.out.println(className); in testDexFile()
/art/runtime/jdwp/
Djdwp_event.cc124 std::string className; /* ClassMatch/ClassExclude */ member
476 if (!PatternMatch(pMod->classMatch.classPattern, basket.className)) { in ModsMatch()
481 if (PatternMatch(pMod->classMatch.classPattern, basket.className)) { in ModsMatch()
841 basket.className = Dbg::GetClassName(basket.locationClass.Get()); in PostLocationEvent()
864 VLOG(jdwp) << "Not checking breakpoints during invoke (" << basket.className << ")"; in PostLocationEvent()
939 basket.className = Dbg::GetClassName(basket.locationClass.Get()); in PostFieldEvent()
943 VLOG(jdwp) << "Not posting field event during invoke (" << basket.className << ")"; in PostFieldEvent()
1120 basket.className = Dbg::GetClassName(basket.locationClass.Get()); in PostException()
1127 VLOG(jdwp) << "Not posting exception hit during invoke (" << basket.className << ")"; in PostException()
1196 basket.className = Dbg::GetClassName(basket.locationClass.Get()); in PostClassPrepare()
[all …]
/art/runtime/interpreter/
Dunstarted_runtime.cc114 static void UnstartedRuntimeFindClass(Thread* self, Handle<mirror::String> className, in UnstartedRuntimeFindClass() argument
119 CHECK(className.Get() != nullptr); in UnstartedRuntimeFindClass()
120 std::string descriptor(DotToDescriptor(className->ToModifiedUtf8().c_str())); in UnstartedRuntimeFindClass()