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

12

/frameworks/base/libs/hwui/tests/unit/
H A Dmain.cpp40 static void gtestSigHandler(int sig, siginfo_t* siginfo, void* context) { argument
47 struct sigaction sa = gSigChain[sig];
48 sigaction(sig, &sa, nullptr);
49 raise(sig);
63 for (auto sig : CRASH_SIGNALS) {
65 sigaction(sig, &sa, &old_sa);
66 gSigChain.insert(pair<int, struct sigaction>(sig, old_sa));
/frameworks/compile/libbcc/bcinfo/include/bcinfo/
H A DMetadataExtractor.h299 * \param sig - ForEach function signature to check.
301 static bool hasForEachSignatureIn(uint32_t sig) { argument
302 return sig & MD_SIG_In;
309 * \param sig - ForEach function signature to check.
311 static bool hasForEachSignatureOut(uint32_t sig) { argument
312 return sig & MD_SIG_Out;
319 * \param sig - ForEach function signature to check.
321 static bool hasForEachSignatureUsrData(uint32_t sig) { argument
322 return sig & MD_SIG_Usr;
329 * \param sig
331 hasForEachSignatureX(uint32_t sig) argument
341 hasForEachSignatureY(uint32_t sig) argument
351 hasForEachSignatureKernel(uint32_t sig) argument
361 hasForEachSignatureZ(uint32_t sig) argument
371 hasForEachSignatureCtxt(uint32_t sig) argument
[all...]
/frameworks/rs/rsov/compiler/
H A DWrapper_test.cpp74 constexpr uint32_t sig = local
77 EXPECT_FALSE(AddWrapper("foo", sig, 1, b, m.get()));
79 EXPECT_TRUE(AddWrapper("greyscale(vf4;", sig, 1, b, m.get()));
95 uint32_t sig = bcinfo::MD_SIG_Kernel | bcinfo::MD_SIG_In | bcinfo::MD_SIG_Out; local
97 EXPECT_FALSE(AddWrapper("foo", sig, 1, b, m.get()));
99 ASSERT_TRUE(AddWrapper("invert", sig, 1, b, m.get()));
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DDecoder.java39 byte sig = mBuf.get();
41 switch (sig) {
61 throw new DecoderException(sig, mBuf.position() - 1);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java169 String sig = new String(Base64.encode(signer.sign(), Base64.DEFAULT));
171 verifySignature(content, version, requiredHash, sig, createCertificate()));
172 return sig;
185 private void sendIntent(String contentPath, String version, String required, String sig) { argument
191 i.putExtra(EXTRA_SIGNATURE, sig);
195 private String runTest(String cert, String content, String version, String required, String sig) argument
200 sendIntent(contentPath, version, required, sig);
207 String sig = createSignature(content, version, required);
208 return runTest(cert, content, version, required, sig);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Ddecim54.c36 Word16 * sig, /* input: signal to downsampling */
91 Word16 * sig, /* input: signal to downsampling */
105 x = sig + i - NB_COEF_DOWN + 1;
90 Down_samp( Word16 * sig, Word16 * sig_d, Word16 L_frame_d ) argument
/frameworks/base/core/java/android/content/pm/
H A DSignature.java98 final byte[] sig = new byte[N / 2];
104 sig[sigIndex++] = (byte) ((hi << 4) | lo);
107 mSignature = sig;
128 byte[] sig = mSignature;
129 final int N = sig.length;
134 byte v = sig[j];
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageSignatures.java83 final Signature sig = signatures[i];
84 final int sigHash = sig.hashCode();
89 if (writtenSig.hashCode() == sigHash && writtenSig.equals(sig)) {
95 writtenSignatures.add(sig);
97 serializer.attribute(null, "key", sig.toCharsString());
182 Signature sig = readSignatures.get(idx);
183 if (sig != null) {
201 Signature sig = new Signature(key);
202 readSignatures.set(idx, sig);
203 signatures[pos] = sig;
[all...]
H A DPackageManagerServiceUtils.java433 for (Signature sig : s1) {
434 set1.add(sig);
437 for (Signature sig : s2) {
438 set2.add(sig);
456 for (Signature sig : packageSignatures.mSigningDetails.signatures) {
457 existingSet.add(sig);
460 for (Signature sig : parsedSignatures.signatures) {
462 Signature[] chainSignatures = sig.getChainSignatures();
467 scannedCompatSet.add(sig);
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAbstractClassAdapter.java143 String renameTypeSignature(String sig) { argument
144 if (sig == null) {
147 SignatureReader reader = new SignatureReader(sig);
150 sig = writer.toString();
151 return sig;
159 String renameFieldSignature(String sig) { argument
160 return renameTypeSignature(sig);
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DUtils.java104 for (Signature sig : signatures) {
105 result.add(computeNormalizedSha256Fingerprint(sig.toByteArray()));
/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DFullBackupUtils.java118 for (Signature sig : signatures) {
119 printer.println(sig.toCharsString());
/frameworks/multidex/library/test/src/androidx/multidex/
H A DZipEntryReader.java52 int sig = in.getInt();
53 if (sig != CENSIG) {
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DClientTest.java65 CheckBox sig = findViewById(R.id.sig);
76 sig.isChecked(), ftr.isChecked())) {
86 sig.isChecked(), ftr.isChecked());
/frameworks/base/core/java/android/util/apk/
H A DApkSignatureSchemeV3Verifier.java292 Signature sig = Signature.getInstance(jcaSignatureAlgorithm);
293 sig.initVerify(publicKey);
295 sig.setParameter(jcaSignatureAlgorithmParams);
297 sig.update(signedData);
298 sigVerified = sig.verify(bestSigAlgorithmSignatureBytes);
475 Signature sig = Signature.getInstance(sigAlgParams.first);
476 sig.initVerify(publicKey);
478 sig.setParameter(sigAlgParams.second);
480 sig.update(signedData);
481 if (!sig
[all...]
H A DApkSignatureSchemeV2Verifier.java279 Signature sig = Signature.getInstance(jcaSignatureAlgorithm);
280 sig.initVerify(publicKey);
282 sig.setParameter(jcaSignatureAlgorithmParams);
284 sig.update(signedData);
285 sigVerified = sig.verify(bestSigAlgorithmSignatureBytes);
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
H A DRemoteLayoutlibCallbackAdapter.java101 final Class[] sig = new Class[i];
102 System.arraycopy(constructorSignature, 0, sig, 0, k);
109 sig[j - 1] = findClass("android.util.AttributeSet");
113 sig[j - 1] = int.class;
118 constructorSignature = sig;
/frameworks/base/rs/java/android/renderscript/
H A DScript.java39 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { argument
43 mSig = sig;
51 protected KernelID createKernelID(int slot, int sig, Element ein, argument
58 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig);
63 k = new KernelID(id, mRS, this, slot, sig);
/frameworks/rs/
H A DrsScript.cpp122 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) argument
124 mHasKernelInput = (sig & 1) != 0;
125 mHasKernelOutput = (sig & 2) != 0;
149 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { argument
150 ScriptKernelID *kid = new ScriptKernelID(rsc, (Script *)vs, slot, sig);
H A DrsScript.h51 ScriptKernelID(Context *rsc, Script *s, int slot, int sig);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScript.java70 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { argument
74 mSig = sig;
84 * @param sig
90 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { argument
96 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig, mUseIncSupp);
101 k = new KernelID(id, mRS, this, slot, sig);
/frameworks/base/core/tests/coretests/src/android/provider/
H A DFontsContractE2ETest.java64 for (Signature sig : info.signatures) {
65 out.add(sig.toByteArray());
/frameworks/base/telephony/java/android/telephony/
H A DUiccAccessRule.java181 for (Signature sig : packageInfo.signatures) {
182 int accessStatus = getCarrierPrivilegeStatus(sig, packageInfo.packageName);
/frameworks/native/cmds/lshal/
H A DLshal.cpp187 void signalHandler(int sig) { argument
188 if (sig == SIGINT) {
/frameworks/base/tools/apilint/
H A Dapilint.py223 def __init__(self, sig, clazz, detail, error, rule, msg):
224 self.sig = sig
260 sig = "%s-%s-%s" % (clazz.fullname, repr(detail), msg)
261 sig = sig.replace(" deprecated ", " ")
263 failures[sig] = Failure(sig, clazz, detail, error, rule, msg)
909 sig = m.args[0:len(common_args)]
910 if not common_args.issubset(cluster(sig))
[all...]

Completed in 719 milliseconds

12