/frameworks/compile/libbcc/bcinfo/include/bcinfo/ |
D | MetadataExtractor.h | 301 static bool hasForEachSignatureIn(uint32_t sig) { in hasForEachSignatureIn() argument 302 return sig & MD_SIG_In; in hasForEachSignatureIn() 311 static bool hasForEachSignatureOut(uint32_t sig) { in hasForEachSignatureOut() argument 312 return sig & MD_SIG_Out; in hasForEachSignatureOut() 321 static bool hasForEachSignatureUsrData(uint32_t sig) { in hasForEachSignatureUsrData() argument 322 return sig & MD_SIG_Usr; in hasForEachSignatureUsrData() 331 static bool hasForEachSignatureX(uint32_t sig) { in hasForEachSignatureX() argument 332 return sig & MD_SIG_X; in hasForEachSignatureX() 341 static bool hasForEachSignatureY(uint32_t sig) { in hasForEachSignatureY() argument 342 return sig & MD_SIG_Y; in hasForEachSignatureY() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | main.cpp | 38 static void gtestSigHandler(int sig, siginfo_t* siginfo, void* context) { in gtestSigHandler() argument 45 struct sigaction sa = gSigChain[sig]; in gtestSigHandler() 46 sigaction(sig, &sa, nullptr); in gtestSigHandler() 47 raise(sig); in gtestSigHandler() 61 for (auto sig : CRASH_SIGNALS) { in main() local 63 sigaction(sig, &sa, &old_sa); in main() 64 gSigChain.insert(pair<int, struct sigaction>(sig, old_sa)); in main()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSignatures.java | 82 final Signature sig = signatures[i]; in writeCertsListXml() local 83 final int sigHash = sig.hashCode(); in writeCertsListXml() 88 if (writtenSig.hashCode() == sigHash && writtenSig.equals(sig)) { in writeCertsListXml() 94 writtenSignatures.add(sig); in writeCertsListXml() 96 serializer.attribute(null, "key", sig.toCharsString()); in writeCertsListXml() 101 serializer.attribute(null, "flags", Integer.toString(sig.getFlags())); in writeCertsListXml() 180 Signature sig = readSignatures.get(idx); in readCertsListXml() local 181 if (sig != null) { in readCertsListXml() 182 signatures.add(sig); in readCertsListXml() 199 Signature sig = new Signature(key); in readCertsListXml() local [all …]
|
D | PackageManagerServiceUtils.java | 443 for (Signature sig : s1) { in compareSignatures() 444 set1.add(sig); in compareSignatures() 447 for (Signature sig : s2) { in compareSignatures() 448 set2.add(sig); in compareSignatures() 466 for (Signature sig : packageSignatures.mSigningDetails.signatures) { in matchSignaturesCompat() 467 existingSet.add(sig); in matchSignaturesCompat() 470 for (Signature sig : parsedSignatures.signatures) { in matchSignaturesCompat() 472 Signature[] chainSignatures = sig.getChainSignatures(); in matchSignaturesCompat() 477 scannedCompatSet.add(sig); in matchSignaturesCompat()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 169 String sig = new String(Base64.encode(signer.sign(), Base64.DEFAULT)); in createSignature() local 171 verifySignature(content, version, requiredHash, sig, createCertificate())); in createSignature() 172 return sig; in createSignature() 185 private void sendIntent(String contentPath, String version, String required, String sig) { in sendIntent() argument 191 i.putExtra(EXTRA_SIGNATURE, sig); in sendIntent() 195 private String runTest(String cert, String content, String version, String required, String sig) in runTest() argument 200 sendIntent(contentPath, version, required, sig); in runTest() 207 String sig = createSignature(content, version, required); in runTestWithoutSig() local 208 return runTest(cert, content, version, required, sig); in runTestWithoutSig()
|
/frameworks/base/core/java/android/content/pm/ |
D | Signature.java | 113 final byte[] sig = new byte[N / 2]; in Signature() 119 sig[sigIndex++] = (byte) ((hi << 4) | lo); in Signature() 122 mSignature = sig; in Signature() 159 byte[] sig = mSignature; in toChars() 160 final int N = sig.length; in toChars() 165 byte v = sig[j]; in toChars()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV3Verifier.java | 292 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in verifySigner() local 293 sig.initVerify(publicKey); in verifySigner() 295 sig.setParameter(jcaSignatureAlgorithmParams); in verifySigner() 297 sig.update(signedData); in verifySigner() 298 sigVerified = sig.verify(bestSigAlgorithmSignatureBytes); in verifySigner() 475 Signature sig = Signature.getInstance(sigAlgParams.first); in verifyProofOfRotationStruct() local 476 sig.initVerify(publicKey); in verifyProofOfRotationStruct() 478 sig.setParameter(sigAlgParams.second); in verifyProofOfRotationStruct() 480 sig.update(signedData); in verifyProofOfRotationStruct() 481 if (!sig.verify(signature)) { in verifyProofOfRotationStruct()
|
D | ApkSignatureSchemeV2Verifier.java | 279 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in verifySigner() local 280 sig.initVerify(publicKey); in verifySigner() 282 sig.setParameter(jcaSignatureAlgorithmParams); in verifySigner() 284 sig.update(signedData); in verifySigner() 285 sigVerified = sig.verify(bestSigAlgorithmSignatureBytes); in verifySigner()
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
D | Decoder.java | 39 byte sig = mBuf.get(); in readObject() 41 switch (sig) { in readObject() 61 throw new DecoderException(sig, mBuf.position() - 1); in readObject()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AbstractClassAdapter.java | 143 String renameTypeSignature(String sig) { in renameTypeSignature() argument 144 if (sig == null) { in renameTypeSignature() 147 SignatureReader reader = new SignatureReader(sig); in renameTypeSignature() 150 sig = writer.toString(); in renameTypeSignature() 151 return sig; in renameTypeSignature() 159 String renameFieldSignature(String sig) { in renameFieldSignature() argument 160 return renameTypeSignature(sig); in renameFieldSignature()
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/ |
D | RemoteLayoutlibCallbackAdapter.java | 97 final Class[] sig = new Class[i]; in createNewInstance() 98 System.arraycopy(constructorSignature, 0, sig, 0, k); in createNewInstance() 105 sig[j - 1] = findClass("android.util.AttributeSet"); in createNewInstance() 109 sig[j - 1] = int.class; in createNewInstance() 114 constructorSignature = sig; in createNewInstance()
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | ClientTest.java | 65 CheckBox sig = findViewById(R.id.sig); in onCreate() 76 sig.isChecked(), ftr.isChecked())) { in onCreate() 86 sig.isChecked(), ftr.isChecked()); in onCreate()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | decim54.c | 36 Word16 * sig, /* input: signal to downsampling */ 91 Word16 * sig, /* input: signal to downsampling */ in Down_samp() argument 105 x = sig + i - NB_COEF_DOWN + 1; in Down_samp()
|
/frameworks/base/cmds/statsd/src/ |
D | main.cpp | 47 void sigHandler(int sig) { in sigHandler() argument 51 ALOGW("statsd terminated on receiving signal %d.", sig); in sigHandler()
|
/frameworks/rs/ |
D | rsScript.cpp | 122 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID() argument 124 mHasKernelInput = (sig & 1) != 0; in ScriptKernelID() 125 mHasKernelOutput = (sig & 2) != 0; in ScriptKernelID() 149 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { in rsi_ScriptKernelIDCreate() argument 150 ScriptKernelID *kid = new ScriptKernelID(rsc, (Script *)vs, slot, sig); in rsi_ScriptKernelIDCreate()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | Utils.java | 104 for (Signature sig : signatures) { in getCertFingerprintsFromPackageManager() 105 result.add(computeNormalizedSha256Fingerprint(sig.toByteArray())); in getCertFingerprintsFromPackageManager()
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | ZipEntryReader.java | 52 int sig = in.getInt(); in readEntry() local 53 if (sig != CENSIG) { in readEntry()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Script.java | 40 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { in KernelID() argument 44 mSig = sig; in KernelID() 52 protected KernelID createKernelID(int slot, int sig, Element ein, in createKernelID() argument 59 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); in createKernelID() 64 k = new KernelID(id, mRS, this, slot, sig); in createKernelID()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Script.java | 70 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { in KernelID() argument 74 mSig = sig; in KernelID() 90 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { in createKernelID() argument 96 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig, mUseIncSupp); in createKernelID() 101 k = new KernelID(id, mRS, this, slot, sig); in createKernelID()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractE2ETest.java | 64 for (Signature sig : info.signatures) { 65 out.add(sig.toByteArray()); in sig.toByteArray()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 150 for (Signature sig : signatures) { in getManifestBytes() 151 printer.println(sig.toCharsString()); in getManifestBytes()
|
/frameworks/base/telephony/java/android/telephony/ |
D | UiccAccessRule.java | 188 for (Signature sig : signatures) { in getCarrierPrivilegeStatus() 189 int accessStatus = getCarrierPrivilegeStatus(sig, packageInfo.packageName); in getCarrierPrivilegeStatus()
|
/frameworks/native/cmds/lshal/ |
D | Lshal.cpp | 193 void signalHandler(int sig) { in signalHandler() argument 194 if (sig == SIGINT) { in signalHandler()
|
/frameworks/base/tools/hiddenapi/ |
D | generate_hiddenapi_lists.py | 371 should_add_signature_to_list = lambda sig,lists: extract_package( argument 372 sig) in packages_needing_list and not lists
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 710 byte[] sig = new byte[SOCK_SIGNAL_SIZE]; in waitSocketSignal() 711 int ret = readAll(is, sig); in waitSocketSignal() 715 ByteBuffer bb = ByteBuffer.wrap(sig); in waitSocketSignal()
|