/frameworks/base/libs/hwui/tests/unit/ |
H A D | main.cpp | 40 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 D | MetadataExtractor.h | 299 * \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 D | Wrapper_test.cpp | 74 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 D | Decoder.java | 39 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 D | CertPinInstallReceiverTest.java | 169 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 D | decim54.c | 36 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 D | Signature.java | 98 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 D | PackageSignatures.java | 83 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 D | PackageManagerServiceUtils.java | 433 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 D | AbstractClassAdapter.java | 143 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 D | Utils.java | 104 for (Signature sig : signatures) { 105 result.add(computeNormalizedSha256Fingerprint(sig.toByteArray()));
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
H A D | FullBackupUtils.java | 118 for (Signature sig : signatures) { 119 printer.println(sig.toCharsString());
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
H A D | ZipEntryReader.java | 52 int sig = in.getInt(); 53 if (sig != CENSIG) {
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | ClientTest.java | 65 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 D | ApkSignatureSchemeV3Verifier.java | 292 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 D | ApkSignatureSchemeV2Verifier.java | 279 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 D | RemoteLayoutlibCallbackAdapter.java | 101 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 D | Script.java | 39 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 D | rsScript.cpp | 122 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 D | rsScript.h | 51 ScriptKernelID(Context *rsc, Script *s, int slot, int sig);
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | Script.java | 70 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 D | FontsContractE2ETest.java | 64 for (Signature sig : info.signatures) { 65 out.add(sig.toByteArray());
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | UiccAccessRule.java | 181 for (Signature sig : packageInfo.signatures) { 182 int accessStatus = getCarrierPrivilegeStatus(sig, packageInfo.packageName);
|
/frameworks/native/cmds/lshal/ |
H A D | Lshal.cpp | 187 void signalHandler(int sig) { argument 188 if (sig == SIGINT) {
|
/frameworks/base/tools/apilint/ |
H A D | apilint.py | 223 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...] |