/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | OverrideMethod.java | 52 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 …]
|
D | MethodAdapter.java | 39 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 …]
|
D | MethodListener.java | 39 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
|
D | DelegateClassAdapter.java | 76 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() 126 desc, signature, exceptions); in visitMethod() 141 desc, signature, exceptions); in visitMethod() 143 desc, signature, exceptions); in visitMethod()
|
D | AbstractClassAdapter.java | 25 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 …]
|
D | StubClassAdapter.java | 185 String signature, String superName, String[] interfaces) { in visit() argument 198 super.visit(version, access, name, signature, superName, interfaces); in visit() 215 String signature, String[] exceptions) { in visitMethod() argument 238 signature; in visitMethod() 259 MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod() 265 return super.visitMethod(access, name, desc, signature, exceptions); in visitMethod() 270 public FieldVisitor visitField(int access, String name, String desc, String signature, in visitField() argument 276 return super.visitField(access, name, desc, signature, value); in visitField()
|
D | DependencyFinder.java | 30 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 …]
|
/frameworks/base/tools/stats_log_api_gen/ |
D | native_writer.cpp | 90 vector<java_type_t> signature = signatureInfoMapIt->first; in write_native_stats_write_methods() local 93 if (find(signature.begin(), signature.end(), JAVA_TYPE_KEY_VALUE_PAIR) != signature.end()) { in write_native_stats_write_methods() 96 write_native_method_signature(out, "int stats_write", signature, attributionDecl, " {"); in write_native_stats_write_methods() 103 for (vector<java_type_t>::const_iterator arg = signature.begin(); in write_native_stats_write_methods() 104 arg != signature.end(); arg++) { in write_native_stats_write_methods() 147 for (vector<java_type_t>::const_iterator arg = signature.begin(); in write_native_stats_write_methods() 148 arg != signature.end(); arg++) { in write_native_stats_write_methods() 206 vector<java_type_t> signature = signature_it->first; in write_native_stats_write_non_chained_methods() local 208 if (find(signature.begin(), signature.end(), JAVA_TYPE_KEY_VALUE_PAIR) != signature.end()) { in write_native_stats_write_non_chained_methods() 212 write_native_method_signature(out, "int stats_write_non_chained", signature, in write_native_stats_write_non_chained_methods() [all …]
|
D | utils.cpp | 186 const vector<java_type_t>& signature, in write_native_method_signature() argument 190 for (vector<java_type_t>::const_iterator arg = signature.begin(); arg != signature.end(); in write_native_method_signature() 219 const vector<java_type_t>& signature, const AtomDecl& attributionDecl, in write_native_method_call() argument 222 for (vector<java_type_t>::const_iterator arg = signature.begin(); arg != signature.end(); in write_native_method_call() 315 vector<java_type_t> signature = signatureInfoMapIt->first; in write_java_non_chained_methods() local 317 for (vector<java_type_t>::const_iterator arg = signature.begin(); arg != signature.end(); in write_java_non_chained_methods() 334 for (vector<java_type_t>::const_iterator arg = signature.begin(); arg != signature.end(); in write_java_non_chained_methods() 357 vector<java_type_t> signature = signatureInfoMapIt->first; in write_java_work_source_methods() local 361 for (vector<java_type_t>::const_iterator arg = signature.begin(); arg != signature.end(); in write_java_work_source_methods() 384 for (vector<java_type_t>::const_iterator arg = signature.begin(); arg != signature.end(); in write_java_work_source_methods()
|
D | test_collation.cpp | 245 const vector<java_type_t>* signature; in TEST() local 258 signature = &(signatureInfoMapIt->first); in TEST() 260 EXPECT_EQ(1ul, signature->size()); in TEST() 261 EXPECT_EQ(JAVA_TYPE_INT, signature->at(0)); in TEST() 298 signature = &signatureInfoMapIt->first; in TEST() 300 EXPECT_EQ(1ul, signature->size()); in TEST() 301 EXPECT_EQ(JAVA_TYPE_STRING, signature->at(0)); in TEST() 315 const vector<java_type_t>* signature; in TEST() local 328 signature = &(signatureInfoMapIt->first); in TEST() 330 EXPECT_EQ(1ul, signature->size()); in TEST() [all …]
|
D | Collation.cpp | 286 int collate_atom(const Descriptor* atom, AtomDecl* atomDecl, vector<java_type_t>* signature) { in collate_atom() argument 403 signature->push_back(JAVA_TYPE_INT); in collate_atom() 405 signature->push_back(JAVA_TYPE_BYTE_ARRAY); in collate_atom() 407 signature->push_back(javaType); in collate_atom() 422 vector<java_type_t>* signature) { in get_non_chained_node() argument 445 signature->insert(signature->end(), attributionSignature.begin(), in get_non_chained_node() 453 signature->push_back(JAVA_TYPE_INT); in get_non_chained_node() 456 signature->push_back(javaType); in get_non_chained_node() 531 vector<java_type_t> signature; in collate_atoms() local 532 errorCount += collate_atom(atom, atomDecl.get(), &signature); in collate_atoms() [all …]
|
D | java_writer.cpp | 105 const vector<java_type_t>& signature = signatureInfoMapIt->first; in write_java_methods() local 108 for (vector<java_type_t>::const_iterator arg = signature.begin(); arg != signature.end(); in write_java_methods() 143 for (vector<java_type_t>::const_iterator arg = signature.begin(); arg != signature.end(); in write_java_methods() 263 for (vector<java_type_t>::const_iterator arg = signature.begin(); in write_java_methods() 264 arg != signature.end(); arg++) { in write_java_methods()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | SelectionSessionLogger.java | 32 static boolean isPlatformLocalTextClassifierSmartSelection(String signature) { in isPlatformLocalTextClassifierSmartSelection() argument 34 SelectionSessionLogger.SignatureParser.getClassifierId(signature)); in isPlatformLocalTextClassifierSmartSelection() 44 static String getClassifierId(@Nullable String signature) { in getClassifierId() argument 45 if (signature == null) { in getClassifierId() 48 final int end = signature.indexOf("|"); in getClassifierId() 50 return signature.substring(0, end); in getClassifierId()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | StatsdHiddenApiUsageLogger.java | 44 public void hiddenApiUsed(int sampledValue, String packageName, String signature, in hiddenApiUsed() argument 47 logUsage(packageName, signature, accessMethod, accessDenied); in hiddenApiUsed() 51 newLogUsage(signature, accessMethod, accessDenied); in hiddenApiUsed() 55 private void logUsage(String packageName, String signature, int accessMethod, in logUsage() argument 75 .addTaggedData(MetricsEvent.FIELD_HIDDEN_API_SIGNATURE, signature) in logUsage() 86 private void newLogUsage(String signature, int accessMethod, boolean accessDenied) { in newLogUsage() argument 104 FrameworkStatsLog.write(FrameworkStatsLog.HIDDEN_API_USED, uid, signature, in newLogUsage()
|
/frameworks/compile/libbcc/lib/ |
D | RSScriptGroupFusion.cpp | 53 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/tools/hiddenapi/ |
D | generate_hiddenapi_lists_test.py | 91 signature = 'Lcom/foo/bar/Baz;->method1()Lcom/bar/Baz;' 93 self.assertEqual(extract_package(signature), expected_package) 95 signature = 'Lcom/foo1/bar/MyClass;->method2()V' 97 self.assertEqual(extract_package(signature), expected_package) 99 signature = 'Lcom/foo_bar/baz/MyClass;->method3()V' 101 self.assertEqual(extract_package(signature), expected_package)
|
/frameworks/base/core/java/android/content/pm/ |
D | InstallationFile.java | 44 long lengthBytes, @Nullable byte[] metadata, @Nullable byte[] signature) { in InstallationFile() argument 50 mParcel.signature = signature; in InstallationFile() 92 return mParcel.signature; in getSignature()
|
/frameworks/base/core/jni/ |
D | android_os_incremental_IncrementalManager.cpp | 43 char signature[INCFS_MAX_SIGNATURE_SIZE]; in nativeUnsafeGetFileSignature() local 44 size_t size = sizeof(signature); in nativeUnsafeGetFileSignature() 45 if (IncFs_UnsafeGetSignatureByPath(path.c_str(), signature, &size) < 0) { in nativeUnsafeGetFileSignature() 51 env->SetByteArrayRegion(result, 0, size, (const jbyte*)signature); in nativeUnsafeGetFileSignature()
|
D | android_animation_PropertyValuesHolder.cpp | 54 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/tests/servicestests/src/com/android/server/pm/ |
D | PackageSignaturesTest.java | 359 for (Signature signature : signatures) { in testReadXmlWithPastSignerWithNoCapabilities() 360 String signatureValue = HexDump.toHexString(signature.toByteArray(), false); in testReadXmlWithPastSignerWithNoCapabilities() 362 previousSignature = signature; in testReadXmlWithPastSignerWithNoCapabilities() 404 for (Signature signature : signatures) { in verifyReadXmlReturnsExpectedSignaturesAndLineage() 405 String signatureValue = HexDump.toHexString(signature.toByteArray(), false); in verifyReadXmlReturnsExpectedSignaturesAndLineage() 411 mPackageSetting.signatures.mSigningDetails.hasCertificate(signature, in verifyReadXmlReturnsExpectedSignaturesAndLineage() 427 for (Signature signature : signatures) { in verifySignaturesContainExpectedValues() 429 if (signature != null) { in verifySignaturesContainExpectedValues() 430 signatureString = HexDump.toHexString(signature.toByteArray(), false); in verifySignaturesContainExpectedValues() 444 for (String signature : signatures) { in createSetOfSignatures() [all …]
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV4Verifier.java | 65 final V4Signature signature; in extractCertificates() local 69 signature = V4Signature.readFrom(signatureBytes); in extractCertificates() 71 if (!signature.isVersionSupported()) { in extractCertificates() 73 "v4 signature version " + signature.version + " is not supported"); in extractCertificates() 76 hashingInfo = V4Signature.HashingInfo.fromByteArray(signature.hashingInfo); in extractCertificates() 77 signingInfo = V4Signature.SigningInfo.fromByteArray(signature.signingInfo); in extractCertificates() 95 final byte[] signatureBytes = signingInfo.signature; in verifySigner()
|
/frameworks/base/services/core/java/com/android/server/signedconfig/ |
D | SignatureVerifier.java | 79 private boolean verifyWithPublicKey(PublicKey key, byte[] data, byte[] signature) in verifyWithPublicKey() argument 84 return verifier.verify(signature); in verifyWithPublicKey() 96 byte[] signature; in verifySignature() 98 signature = Base64.getDecoder().decode(base64Signature); in verifySignature() 111 if (verifyWithPublicKey(mDebugKey, data, signature)) { in verifySignature() 130 if (verifyWithPublicKey(mProdKey, data, signature)) { in verifySignature()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | SigXml.java | 44 private final byte[] signature; field in SigXml 47 List<X509Certificate> intermediateCerts, X509Certificate signerCert, byte[] signature) { in SigXml() argument 50 this.signature = signature; in SigXml() 75 CertUtils.verifyRsaSha256Signature(signerCert.getPublicKey(), signature, signedFileBytes); in verifyFileSignature() local
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | BackupUtils.java | 104 public static byte[] hashSignature(byte[] signature) { in hashSignature() argument 107 digest.update(signature); in hashSignature() 115 public static byte[] hashSignature(Signature signature) { in hashSignature() argument 116 return hashSignature(signature.toByteArray()); in hashSignature()
|
/frameworks/base/core/java/android/os/incremental/ |
D | V4Signature.java | 83 public final byte[] signature; field in V4Signature.SigningInfo 86 byte[] publicKey, int signatureAlgorithmId, byte[] signature) { in SigningInfo() argument 92 this.signature = signature; in SigningInfo() 105 byte[] signature = readBytes(buffer); in fromByteArray() 107 signatureAlgorithmId, signature); in fromByteArray()
|