/art/tools/veridex/ |
D | hidden_api.h | 51 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 …]
|
D | hidden_api.cc | 34 const std::string& signature = values[0]; in HiddenApi() local 41 AddSignatureToApiList(signature, membership); in HiddenApi() 42 size_t pos = signature.find("->"); in HiddenApi() 45 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi() 46 pos = signature.find('('); in HiddenApi() 49 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi() 51 pos = signature.find(':'); in HiddenApi() 54 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi() 60 void HiddenApi::AddSignatureToApiList(const std::string& signature, hiddenapi::ApiList membership) { in AddSignatureToApiList() argument 61 auto it = api_list_.find(signature); in AddSignatureToApiList() [all …]
|
/art/tools/class2greylist/src/com/android/class2greylist/ |
D | UnsupportedAppUsageAnnotationHandler.java | 53 public final String signature; field in UnsupportedAppUsageAnnotationHandler.ClassMember 60 public ClassMember(String signature, boolean isBridgeMethod) { in ClassMember() argument 61 this.signature = signature; in ClassMember() 70 member -> !(member.isBridgeMethod && publicApis.contains(member.signature)), in UnsupportedAppUsageAnnotationHandler() 99 String signature = context.getMemberDescriptor(); in handleAnnotation() local 109 if (!isBridgeMethod && !signature.equals(expected)) { in handleAnnotation() 112 + "Generated: %s", expected, signature); in handleAnnotation() 129 signature = String.format("L%s;->%s", in handleAnnotation() 136 signature); in handleAnnotation() 150 signature); in handleAnnotation() [all …]
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | ProguardMapTest.java | 67 assertEquals("(Lfoo/bar/Sludge;)V", frame.signature); in proguardMap() 82 assertEquals("(Lfoo/bar/Sludge;)V", frame.signature); in proguardMap() 107 assertEquals("()V", frame.signature); in proguardMap() 113 assertEquals("()V", frame.signature); in proguardMap() 119 assertEquals("(IF)V", frame.signature); in proguardMap() 125 assertEquals("([IF)V", frame.signature); in proguardMap() 132 assertEquals("(Lclass/not/in/Map;)V", frame.signature); in proguardMap() 139 assertEquals("([Lclass/not/in/Map;)V", frame.signature); in proguardMap() 145 assertEquals("(Lclass/with/only/Fields;)V", frame.signature); in proguardMap() 151 assertEquals("()Lclass/with/only/Fields;", frame.signature); in proguardMap() [all …]
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | IdCreator.java | 47 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/ |
D | expected.txt | 7 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/ |
D | runtime_intrinsics.cc | 36 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/ |
D | Main.java | 51 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/674-hiddenapi/src-ex/ |
D | JNI.java | 26 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/class2greylist/test/src/com/android/class2greylist/ |
D | AnnotationPropertyWriterTest.java | 45 String signature = "foo"; in testExportPropertiesNoEscaping() local 50 mAnnotationPropertyWriter.consume(signature, annotationProperties, parsedFlags); in testExportPropertiesNoEscaping() 61 String signature = "foo"; in testExportPropertiesEscapeQuotes() local 66 mAnnotationPropertyWriter.consume(signature, annotationProperties, parsedFlags); in testExportPropertiesEscapeQuotes()
|
/art/test/1966-get-set-local-objects-no-table/src/art/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/1939-proxy-frames/src/art/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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/ |
D | Locals.java | 29 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()
|