Home
last modified time | relevance | path

Searched refs:signature (Results 1 – 25 of 92) sorted by relevance

1234

/art/tools/veridex/
Dhidden_api.h51 bool ShouldReport(const std::string& signature) const { in ShouldReport() argument
52 return api_list_filter_.Matches(GetApiList(signature)); in ShouldReport()
55 void AddSignatureSource(const std::string &signature, SignatureSource source) { in AddSignatureSource() argument
56 const auto type = GetApiClassName(signature); in AddSignatureSource()
71 SignatureSource GetSignatureSource(const std::string& signature) const { in GetSignatureSource() argument
72 auto it = source_.find(GetApiClassName(signature)); in GetSignatureSource()
76 bool IsInBoot(const std::string& signature) const { in IsInBoot() argument
77 return SignatureSource::BOOT == GetSignatureSource(signature); in IsInBoot()
95 void AddSignatureToApiList(const std::string& signature, hiddenapi::ApiList membership);
97 static std::string GetApiClassName(const std::string& signature) { in GetApiClassName() argument
[all …]
Dhidden_api.cc35 const std::string& signature = values[0]; in HiddenApi() local
49 AddSignatureToApiList(signature, membership); in HiddenApi()
50 size_t pos = signature.find("->"); in HiddenApi()
53 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi()
54 pos = signature.find('('); in HiddenApi()
57 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi()
59 pos = signature.find(':'); in HiddenApi()
62 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi()
69 void HiddenApi::AddSignatureToApiList(const std::string& signature, hiddenapi::ApiList membership) { in AddSignatureToApiList() argument
70 auto it = api_list_.find(signature); in AddSignatureToApiList()
[all …]
/art/tools/ahat/src/test/com/android/ahat/
DProguardMapTest.java75 assertEquals("(Lfoo/bar/Sludge;)V", frame.signature); in runOldProguardMap()
90 assertEquals("(Lfoo/bar/Sludge;)V", frame.signature); in runOldProguardMap()
115 assertEquals("()V", frame.signature); in runOldProguardMap()
121 assertEquals("()V", frame.signature); in runOldProguardMap()
127 assertEquals("(IF)V", frame.signature); in runOldProguardMap()
133 assertEquals("([IF)V", frame.signature); in runOldProguardMap()
140 assertEquals("(Lclass/not/in/Map;)V", frame.signature); in runOldProguardMap()
147 assertEquals("([Lclass/not/in/Map;)V", frame.signature); in runOldProguardMap()
153 assertEquals("(Lclass/with/only/Fields;)V", frame.signature); in runOldProguardMap()
159 assertEquals("()Lclass/with/only/Fields;", frame.signature); in runOldProguardMap()
[all …]
/art/tools/dexfuzz/src/dexfuzz/program/
DIdCreator.java47 private int findProtoIdInsertionPoint(String signature) { in findProtoIdInsertionPoint() argument
48 int returnTypeIdx = findTypeId(convertSignatureToReturnType(signature)); in findProtoIdInsertionPoint()
49 String[] parameterListStrings = convertSignatureToParameterList(signature); in findProtoIdInsertionPoint()
86 private int findMethodIdInsertionPoint(String className, String methodName, String signature) { in findMethodIdInsertionPoint() argument
89 int protoIdx = findProtoId(signature); in findMethodIdInsertionPoint()
169 private int createMethodId(String className, String methodName, String signature) { in createMethodId() argument
175 int protoIdx = findOrCreateProtoId(signature); in createMethodId()
194 int newMethodIdIdx = findMethodIdInsertionPoint(className, methodName, signature); in createMethodId()
208 className, methodName, signature, newMethodIdIdx)); in createMethodId()
218 private int findMethodId(String className, String methodName, String signature) { in findMethodId() argument
[all …]
/art/test/115-native-bridge/
Dexpected-stdout.txt7 name:booleanMethod, signature:(ZZZZZZZZZZ)Z, shorty:ZZZZZZZZZZZ.
8 name:byteMethod, signature:(BBBBBBBBBB)B, shorty:BBBBBBBBBBB.
9 name:charMethod, signature:(CCCCCCCCCC)C, shorty:CCCCCCCCCCC.
10 name:shortMethod, signature:(SSSSSSSSSS)S, shorty:SSSSSSSSSSS.
11 name:testCallStaticVoidMethodOnSubClassNative, signature:()V, shorty:V.
12 name:testFindClassOnAttachedNativeThread, signature:()V, shorty:V.
13 name:testFindFieldOnAttachedNativeThreadNative, signature:()V, shorty:V.
14 name:testGetMirandaMethodNative, signature:()Ljava/lang/reflect/Method;, shorty:L.
15 name:testNewStringObject, signature:()V, shorty:V.
16 name:testSignal, signature:()I, shorty:I.
[all …]
/art/runtime/
Druntime_intrinsics.cc36 const char* signature) in FindIntrinsicMethod() argument
45 ArtMethod* method = cls->FindClassMethod(method_name, signature, image_size); in FindIntrinsicMethod()
48 << class_name << " " << method_name << " " << signature; in FindIntrinsicMethod()
60 const char* signature) in InitializeIntrinsic() argument
62 ArtMethod* method = FindIntrinsicMethod(self, class_name, method_name, signature); in InitializeIntrinsic()
80 const char* signature) in IsIntrinsicInitialized() argument
82 ArtMethod* method = FindIntrinsicMethod(self, class_name, method_name, signature); in IsIntrinsicInitialized()
/art/test/647-jni-get-field-id/src/
DMain.java51 for (String signature : bad_class_names) { in testClassLoading()
53 get.invoke(null, TestClass.class, "bogus", signature); in testClassLoading()
61 System.out.println(" Error message for " + signature + ": " + ncdfe.getMessage()); in testClassLoading()
66 public static void testGetFieldId(Class<?> cls, String name, String signature) { in testGetFieldId() argument
67 System.out.println("getFieldId(" + cls + ", \"" + name + "\", \"" + signature + "\")"); in testGetFieldId()
69 boolean result = getFieldId(cls, name, signature); in testGetFieldId()
84 public static native boolean getFieldId(Class<?> cls, String name, String signature); in getFieldId() argument
/art/test/1939-proxy-frames/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1911-get-local-var-table/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1923-frame-pop/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1965-get-set-local-primitive-no-tables/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1916-get-set-current-frame/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1913-get-set-local-objects/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1935-get-set-current-frame-jit/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1967-get-set-local-bad-slot/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/jvmti-common/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1966-get-set-local-objects-no-table/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1926-missed-frame-pop/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1924-frame-pop-toggle/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1912-get-set-local-primitive/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1925-self-frame-pop/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1914-get-local-instance/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/1915-get-set-local-current-thread/src/art/
DLocals.java29 public final String signature; field in Locals.VariableDescription
38 this.signature = sig; in VariableDescription()
49 this.signature, in toString()
61 return Objects.equals(v.signature, signature) && in equals()
70 return Objects.hash(this.signature, this.name, this.generic_signature, this.slot, in hashCode()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
/art/test/674-hiddenapi/src-ex/
DJNI.java26 public static native boolean canDiscoverConstructor(Class<?> klass, String signature); in canDiscoverConstructor() argument
27 public static native boolean canInvokeConstructorA(Class<?> klass, String signature); in canInvokeConstructorA() argument
28 public static native boolean canInvokeConstructorV(Class<?> klass, String signature); in canInvokeConstructorV() argument
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DNewMethodCaller.java50 public String signature; field in NewMethodCaller.AssociatedMutation
68 signature, in getString()
80 signature = elements[6]; in parseString()
131 mutation.signature = "()V"; in generateMutation()
169 mutation.methodName, mutation.signature); in applyMutation()
180 mutation.className, mutation.methodName, mutation.signature, insertionPoint)); in applyMutation()

1234