Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/compile/libbcc/bcinfo/include/bcinfo/
DMetadataExtractor.h301 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/
Dmain.cpp36 static void gtestSigHandler(int sig, siginfo_t* siginfo, void* context) { in gtestSigHandler() argument
43 struct sigaction sa = gSigChain[sig]; in gtestSigHandler()
44 sigaction(sig, &sa, nullptr); in gtestSigHandler()
45 raise(sig); in gtestSigHandler()
59 for (auto sig : CRASH_SIGNALS) { in main() local
61 sigaction(sig, &sa, &old_sa); in main()
62 gSigChain.insert(pair<int, struct sigaction>(sig, old_sa)); in main()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSignatures.java82 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 sig.writeToXmlAttributeBytesHex(serializer, null, "key"); in writeCertsListXml()
101 serializer.attributeInt(null, "flags", sig.getFlags()); in writeCertsListXml()
175 Signature sig = readSignatures.get(index); in readCertsListXml() local
176 if (sig != null) { in readCertsListXml()
183 signatures.add(new Signature(sig)); in readCertsListXml()
185 signatures.add(sig); in readCertsListXml()
[all …]
DPackageManagerServiceUtils.java482 for (Signature sig : s1) { in compareSignatures()
483 set1.add(sig); in compareSignatures()
486 for (Signature sig : s2) { in compareSignatures()
487 set2.add(sig); in compareSignatures()
517 for (Signature sig : packageSignatures.mSigningDetails.signatures) { in matchSignaturesCompat()
518 existingSet.add(sig); in matchSignaturesCompat()
521 for (Signature sig : parsedSignatures.signatures) { in matchSignaturesCompat()
523 Signature[] chainSignatures = sig.getChainSignatures(); in matchSignaturesCompat()
528 scannedCompatSet.add(sig); in matchSignaturesCompat()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java169 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/util/apk/
DApkSignatureSchemeV4Verifier.java119 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in verifySigner() local
120 sig.initVerify(publicKey); in verifySigner()
122 sig.setParameter(jcaSignatureAlgorithmParams); in verifySigner()
124 sig.update(signedData); in verifySigner()
125 sigVerified = sig.verify(signatureBytes); in verifySigner()
DApkSignatureSchemeV2Verifier.java273 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in verifySigner() local
274 sig.initVerify(publicKey); in verifySigner()
276 sig.setParameter(jcaSignatureAlgorithmParams); in verifySigner()
278 sig.update(signedData); in verifySigner()
279 sigVerified = sig.verify(bestSigAlgorithmSignatureBytes); in verifySigner()
DApkSignatureSchemeV3Verifier.java287 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in verifySigner() local
288 sig.initVerify(publicKey); in verifySigner()
290 sig.setParameter(jcaSignatureAlgorithmParams); in verifySigner()
292 sig.update(signedData); in verifySigner()
293 sigVerified = sig.verify(bestSigAlgorithmSignatureBytes); in verifySigner()
DSourceStampVerifier.java315 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in verifySourceStampSignature() local
316 sig.initVerify(publicKey); in verifySourceStampSignature()
318 sig.setParameter(jcaSignatureAlgorithmParams); in verifySourceStampSignature()
320 sig.update(data); in verifySourceStampSignature()
321 sigVerified = sig.verify(bestSigAlgorithmSignatureBytes); in verifySourceStampSignature()
DApkSigningBlockUtils.java861 Signature sig = Signature.getInstance(sigAlgParams.first); in verifyProofOfRotationStruct() local
862 sig.initVerify(publicKey); in verifyProofOfRotationStruct()
864 sig.setParameter(sigAlgParams.second); in verifyProofOfRotationStruct()
866 sig.update(signedData); in verifyProofOfRotationStruct()
867 if (!sig.verify(signature)) { in verifyProofOfRotationStruct()
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DDecoder.java39 byte sig = mBuf.get(); in readObject()
41 switch (sig) { in readObject()
61 throw new DecoderException(sig, mBuf.position() - 1); in readObject()
/frameworks/base/core/java/android/content/pm/
DSignature.java117 final byte[] sig = new byte[N / 2]; in Signature()
123 sig[sigIndex++] = (byte) ((hi << 4) | lo); in Signature()
126 mSignature = sig; in Signature()
178 byte[] sig = mSignature; in toChars()
179 final int N = sig.length; in toChars()
184 byte v = sig[j]; in toChars()
/frameworks/base/tools/apilint/
Ddeprecated_at_birth.py226 def __init__(self, sig, clazz, detail, error, rule, msg): argument
227 self.sig = sig
263 sig = "%s-%s-%s" % (clazz.fullname, repr(detail), msg)
264 sig = sig.replace(" deprecated ", " ")
266 failures[sig] = Failure(sig, clazz, detail, error, rule, msg)
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DAbstractClassAdapter.java143 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/
DRemoteLayoutlibCallbackAdapter.java97 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/
DClientTest.java65 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/codecs/amrwb/enc/src/
Ddecim54.c36 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/rs/
DrsScript.cpp122 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/multidex/library/test/src/androidx/multidex/
DZipEntryReader.java52 int sig = in.getInt(); in readEntry() local
53 if (sig != CENSIG) { in readEntry()
/frameworks/base/rs/java/android/renderscript/
DScript.java45 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { in KernelID() argument
49 mSig = sig; in KernelID()
57 protected KernelID createKernelID(int slot, int sig, Element ein, in createKernelID() argument
64 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); in createKernelID()
69 k = new KernelID(id, mRS, this, slot, sig); in createKernelID()
/frameworks/rs/support/java/src/androidx/renderscript/
DScript.java75 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { in KernelID() argument
79 mSig = sig; in KernelID()
95 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { in createKernelID() argument
101 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig, mUseIncSupp); in createKernelID()
106 k = new KernelID(id, mRS, this, slot, sig); in createKernelID()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DAppMetadataBackupWriter.java150 for (Signature sig : signatures) { in getManifestBytes()
151 printer.println(sig.toCharsString()); in getManifestBytes()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java64 for (Signature sig : info.signatures) {
65 out.add(sig.toByteArray()); in sig.toByteArray()
/frameworks/native/cmds/lshal/
DLshal.cpp194 void signalHandler(int sig) { in signalHandler() argument
195 if (sig == SIGINT) { in signalHandler()
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java229 for (Signature sig : signatures) { in getCarrierPrivilegeStatus()
230 int accessStatus = getCarrierPrivilegeStatus(sig, packageInfo.packageName); in getCarrierPrivilegeStatus()

12