Home
last modified time | relevance | path

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

12345

/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DOverrideMethod.java52 public static void setMethodListener(String signature, MethodListener listener) { in setMethodListener() argument
54 sMethods.remove(signature); in setMethodListener()
56 sMethods.put(signature, listener); in setMethodListener()
74 public static void invokeV(String signature, boolean isNative, Object caller) { in invokeV() argument
75 MethodListener i = sMethods.get(signature); in invokeV()
77 i.onInvokeV(signature, isNative, caller); in invokeV()
79 sDefaultListener.onInvokeV(signature, isNative, caller); in invokeV()
87 public static int invokeI(String signature, boolean isNative, Object caller) { in invokeI() argument
88 MethodListener i = sMethods.get(signature); in invokeI()
90 return i.onInvokeI(signature, isNative, caller); in invokeI()
[all …]
DMethodAdapter.java39 public void onInvokeV(String signature, boolean isNative, Object caller) { in onInvokeV() argument
48 public int onInvokeI(String signature, boolean isNative, Object caller) { in onInvokeI() argument
49 onInvokeV(signature, isNative, caller); in onInvokeI()
59 public long onInvokeL(String signature, boolean isNative, Object caller) { in onInvokeL() argument
60 onInvokeV(signature, isNative, caller); in onInvokeL()
70 public float onInvokeF(String signature, boolean isNative, Object caller) { in onInvokeF() argument
71 onInvokeV(signature, isNative, caller); in onInvokeF()
81 public double onInvokeD(String signature, boolean isNative, Object caller) { in onInvokeD() argument
82 onInvokeV(signature, isNative, caller); in onInvokeD()
92 public Object onInvokeA(String signature, boolean isNative, Object caller) { in onInvokeA() argument
[all …]
DMethodListener.java39 void onInvokeV(String signature, boolean isNative, Object caller); in onInvokeV() argument
46 int onInvokeI(String signature, boolean isNative, Object caller); in onInvokeI() argument
53 long onInvokeL(String signature, boolean isNative, Object caller); in onInvokeL() argument
60 float onInvokeF(String signature, boolean isNative, Object caller); in onInvokeF() argument
67 double onInvokeD(String signature, boolean isNative, Object caller); in onInvokeD() argument
74 Object onInvokeA(String signature, boolean isNative, Object caller); in onInvokeA() argument
DAbstractClassAdapter.java25 import org.objectweb.asm.signature.SignatureReader;
26 import org.objectweb.asm.signature.SignatureVisitor;
27 import org.objectweb.asm.signature.SignatureWriter;
168 public void visit(int version, int access, String name, String signature, in visit() argument
172 signature = renameTypeSignature(signature); in visit()
179 super.visit(version, access, name, signature, superName, interfaces); in visit()
196 String signature, String[] exceptions) { in visitMethod() argument
198 signature = renameTypeSignature(signature); in visitMethod()
199 MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
211 String signature, Object value) { in visitField() argument
[all …]
DDelegateClassAdapter.java76 public FieldVisitor visitField(int access, String name, String desc, String signature, in visitField() argument
83 return super.visitField(access, name, desc, signature, value); in visitField()
88 String signature, String[] exceptions) { in visitMethod() argument
98 return super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
112 MethodVisitor mwDelegate = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
135 desc, signature, exceptions); in visitMethod()
137 desc, signature, exceptions); in visitMethod()
DDependencyFinder.java30 import org.objectweb.asm.signature.SignatureReader;
31 import org.objectweb.asm.signature.SignatureVisitor;
338 public void considerSignature(String signature) { in considerSignature() argument
339 if (signature != null) { in considerSignature()
340 SignatureReader sr = new SignatureReader(signature); in considerSignature()
398 String signature, String superName, String[] interfaces) { in visit() argument
402 if (signature != null) { in visit()
403 considerSignature(signature); in visit()
461 String signature, Object value) { in visitField() argument
467 considerSignature(signature); in visitField()
[all …]
DTransformClassAdapter.java64 String signature, String superName, String[] interfaces) { in visit() argument
75 super.visit(version, access, name, signature, superName, interfaces); in visit()
92 String signature, String[] exceptions) { in visitMethod() argument
128 MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
134 return super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
DAsmAnalyzer.java27 import org.objectweb.asm.signature.SignatureReader;
28 import org.objectweb.asm.signature.SignatureVisitor;
475 public void considerSignature(String signature) { in considerSignature() argument
476 if (signature != null) { in considerSignature()
477 SignatureReader sr = new SignatureReader(signature); in considerSignature()
521 String signature, String superName, String[] interfaces) { in visit() argument
525 if (signature != null) { in visit()
526 considerSignature(signature); in visit()
584 String signature, Object value) { in visitField() argument
590 considerSignature(signature); in visitField()
[all …]
DClassHasNativeVisitor.java49 public void visit(int version, int access, String name, String signature, in visit() argument
72 String signature, Object value) { in visitField() argument
85 String signature, String[] exceptions) { in visitMethod() argument
DPromoteFieldClassAdapter.java42 public FieldVisitor visitField(int access, String name, String desc, String signature, in visitField() argument
49 return super.visitField(access, name, desc, signature, value); in visitField()
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/jdwp/
DJDWPClassDataRetriever.java111 String signature = reply.getNextValueAsString(); in retrieveImpl() local
117 classes.put(typeID, signature); in retrieveImpl()
121 arrayClasses.put(typeID, signature); in retrieveImpl()
131 String signature = entry.getValue(); in retrieveImpl() local
133 if (!checkClass(typeID, signature, result)) { in retrieveImpl()
134 System.err.println("Issue investigating " + signature); in retrieveImpl()
141 String signature = entry.getValue(); in retrieveImpl() local
143 if (!checkArrayClass(typeID, signature, result)) { in retrieveImpl()
144 System.err.println("Issue investigating " + signature); in retrieveImpl()
160 private boolean checkClass(long typeID, String signature, Map<String, String> result) { in checkClass() argument
[all …]
/frameworks/compile/libbcc/lib/Renderscript/
DRSScriptGroupFusion.cpp53 uint32_t* signature) { in getFunction() argument
69 if (signature != nullptr) { in getFunction()
70 *signature = metadata.getExportForEachSignatureList()[slot]; in getFunction()
96 uint32_t signature = 0; in getFusedFuncSig() local
108 signature = metadata.getExportForEachSignatureList()[slot]; in getFusedFuncSig()
109 if (signature & ~ExpectedSignatureBits) { in getFusedFuncSig()
111 source->getName().c_str(), slot, signature); in getFusedFuncSig()
116 firstSignature = signature; in getFusedFuncSig()
119 *retSig |= signature; in getFusedFuncSig()
126 if (!bcinfo::MetadataExtractor::hasForEachSignatureOut(signature)) { in getFusedFuncSig()
[all …]
/frameworks/base/core/jni/
Dandroid_animation_PropertyValuesHolder.cpp54 char *signature = new char[parameterCount + 4]; in getMultiparameterMethod() local
55 signature[0] = '('; in getMultiparameterMethod()
56 memset(&(signature[1]), parameterType, parameterCount); in getMultiparameterMethod()
57 strcpy(&(signature[parameterCount + 1]), ")V"); in getMultiparameterMethod()
58 jmethodID mid = env->GetMethodID(targetClass, nativeString, signature); in getMultiparameterMethod()
59 delete[] signature; in getMultiparameterMethod()
/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java94 public static byte[] hashSignature(byte[] signature) { in hashSignature() argument
97 digest.update(signature); in hashSignature()
105 public static byte[] hashSignature(Signature signature) { in hashSignature() argument
106 return hashSignature(signature.toByteArray()); in hashSignature()
/frameworks/av/drm/mediadrm/plugins/clearkey/
DDrmPlugin.h198 Vector<uint8_t>& signature) { in sign() argument
202 UNUSED(signature); in sign()
210 const Vector<uint8_t>& signature, bool& match) { in verify() argument
214 UNUSED(signature); in verify()
224 Vector<uint8_t>& signature) { in signRSA() argument
229 UNUSED(signature); in signRSA()
/frameworks/opt/net/wifi/service/jni/
Djni_helper.cpp509 void JNIHelper::reportEvent(jclass cls, const char *method, const char *signature, ...) in reportEvent() argument
512 va_start(params, signature); in reportEvent()
514 jmethodID methodID = mEnv->GetStaticMethodID(cls, method, signature); in reportEvent()
529 void JNIHelper::callMethod(jobject obj, const char *method, const char *signature, ...) in callMethod() argument
532 va_start(params, signature); in callMethod()
535 jmethodID methodID = mEnv->GetMethodID(cls, method, signature); in callMethod()
550 jboolean JNIHelper::callStaticMethod(jclass cls, const char *method, const char *signature, ...) in callStaticMethod() argument
553 va_start(params, signature); in callStaticMethod()
555 jmethodID methodID = mEnv->GetStaticMethodID(cls, method, signature); in callStaticMethod()
577 const char *className, const char *signature, ...) in createObjectWithArgs() argument
[all …]
Djni_helper.h97 void reportEvent(jclass cls, const char *method, const char *signature, ...);
99 JNIObject<jobject> createObjectWithArgs(const char *className, const char *signature, ...);
102 void callMethod(jobject obj, const char *method, const char *signature, ...);
113 jboolean callStaticMethod(jclass cls, const char *method, const char *signature, ...);
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DStubMethodAdapterTest.java86 public void visit(int version, int access, String name, String signature, String superName, in visit() argument
88 super.visit(version, access, mClassName, signature, superName, in visit()
93 public MethodVisitor visitMethod(int access, String name, String desc, String signature, in visitMethod() argument
101 super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DMffFilterTestCase.java138 Signature signature = filter.getSignature(); in connectInputPorts() local
139 for (Entry<String, PortInfo> inputPortEntry : signature.getInputPorts().entrySet()) { in connectInputPorts()
148 Signature signature = filter.getSignature(); in connectOutputPorts() local
151 for (Entry<String, PortInfo> outputPortEntry : signature.getOutputPorts().entrySet()) { in connectOutputPorts()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSignatureSpiBase.java321 byte[] signature; in engineSign()
328 signature = mMessageStreamer.doFinal( in engineSign()
337 return signature; in engineSign()
341 protected final boolean engineVerify(byte[] signature) throws SignatureException { in engineVerify() argument
356 signature, in engineVerify()
DKeyStoreCryptoOperationChunkedStreamer.java209 byte[] signature, byte[] additionalEntropy) throws KeyStoreException { in doFinal() argument
220 OperationResult opResult = mKeyStoreStream.finish(signature, additionalEntropy); in doFinal()
337 public OperationResult finish(byte[] signature, byte[] additionalEntropy) { in finish() argument
338 return mKeyStore.finish(mOperationToken, null, signature, additionalEntropy); in finish()
/frameworks/av/media/libmedia/
DIDrm.cpp470 Vector<uint8_t> &signature) { in sign()
482 readVector(reply, signature); in sign()
490 Vector<uint8_t> const &signature, in verify()
498 writeVector(data, signature); in verify()
512 Vector<uint8_t> &signature) { in signRSA()
525 readVector(reply, signature); in signRSA()
876 Vector<uint8_t> sessionId, keyId, message, signature; in onTransact() local
880 uint32_t result = sign(sessionId, keyId, message, signature); in onTransact()
881 writeVector(reply, signature); in onTransact()
889 Vector<uint8_t> sessionId, keyId, message, signature; in onTransact() local
[all …]
/frameworks/compile/mclinker/lib/LD/
DELFObjectReader.cpp121 ResolveInfo* signature = m_pELFReader->readSignature( in readSections() local
125 if (signature->nameSize() == 0 && in readSections()
126 ResolveInfo::Section == signature->type()) { in readSections()
131 signatures().insert(signature->name(), exist); in readSections()
150 ResolveInfo::Destroy(signature); in readSections()
/frameworks/base/core/tests/coretests/src/android/graphics/
DPaintTest.java146 final String signature = in testHasGlyph_variationSelectors() local
152 assertTrue(signature + " is expected to be true", p.hasGlyph(testString)); in testHasGlyph_variationSelectors()
154 assertFalse(signature + " is expected to be false", p.hasGlyph(testString)); in testHasGlyph_variationSelectors()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c376 unsigned char signature[SHA1_HASH_SIZE]; in FwdLockFile_CheckDataIntegrity() member
396 HMAC_Final(&pSession->signingContext, pData->signature, &signatureSize); in FwdLockFile_CheckDataIntegrity()
398 result = memcmp(pData->signature, pSession->dataSignature, SHA1_HASH_SIZE) == 0; in FwdLockFile_CheckDataIntegrity()
417 unsigned char signature[SHA1_HASH_SIZE]; in FwdLockFile_CheckHeaderIntegrity() local
425 HMAC_Final(&pSession->signingContext, signature, &signatureSize); in FwdLockFile_CheckHeaderIntegrity()
427 result = memcmp(signature, pSession->headerSignature, SHA1_HASH_SIZE) == 0; in FwdLockFile_CheckHeaderIntegrity()

12345