Home
last modified time | relevance | path

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

12

/frameworks/compile/libbcc/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.cpp44 static void gtestSigHandler(int sig, siginfo_t* siginfo, void* context) { in gtestSigHandler() argument
52 struct sigaction sa = gSigChain[sig]; in gtestSigHandler()
53 sigaction(sig, &sa, nullptr); in gtestSigHandler()
54 raise(sig); in gtestSigHandler()
124 for (auto sig : CRASH_SIGNALS) { in main() local
126 sigaction(sig, &sa, &old_sa); in main()
127 gSigChain.insert(pair<int, struct sigaction>(sig, old_sa)); in main()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSignatures.java57 final Signature sig = mSignatures[i]; in writeXml() local
58 final int sigHash = sig.hashCode(); in writeXml()
63 if (pastSig.hashCode() == sigHash && pastSig.equals(sig)) { in writeXml()
69 pastSignatures.add(sig); in writeXml()
71 serializer.attribute(null, "key", sig.toCharsString()); in writeXml()
111 Signature sig = pastSignatures.get(idx); in readXml() local
112 if (sig != null) { in readXml()
131 Signature sig = new Signature(key); in readXml() local
132 pastSignatures.set(idx, sig); in readXml()
133 mSignatures[pos] = sig; in readXml()
DSELinuxMMAC.java207 String sig = parser.getAttributeValue(null, "signature"); in readSignerOrThrow() local
208 pb.addSignature(sig); in readSignerOrThrow()
/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/content/pm/
DSignature.java98 final byte[] sig = new byte[N / 2]; in Signature()
104 sig[sigIndex++] = (byte) ((hi << 4) | lo); in Signature()
107 mSignature = sig; in Signature()
128 byte[] sig = mSignature; in toChars()
129 final int N = sig.length; in toChars()
134 byte v = sig[j]; in toChars()
/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/tools/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/av/media/libstagefright/codecs/amrwbenc/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/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java65 CheckBox sig = (CheckBox) findViewById(R.id.sig); in onCreate()
76 sig.isChecked(), ftr.isChecked())) { in onCreate()
86 sig.isChecked(), ftr.isChecked()); in onCreate()
/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()
152 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { in rsi_ScriptKernelIDCreate() argument
153 ScriptKernelID *kid = new ScriptKernelID(rsc, (Script *)vs, slot, sig); in rsi_ScriptKernelIDCreate()
DrsScript.h51 ScriptKernelID(Context *rsc, Script *s, int slot, int sig);
Drs.spec491 param int sig
/frameworks/base/tools/apilint/
Dapilint.py209 def __init__(self, sig, clazz, detail, error, rule, msg): argument
210 self.sig = sig
246 sig = "%s-%s-%s" % (clazz.fullname, repr(detail), msg)
247 sig = sig.replace(" deprecated ", " ")
249 failures[sig] = Failure(sig, clazz, detail, error, rule, msg)
857 sig = m.args[0:len(common_args)]
858 if not common_args.issubset(cluster(sig)):
861 locked_sig = sig
862 elif locked_sig != sig:
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DUtils.java104 for (Signature sig : signatures) { in getCertFingerprintsFromPackageManager()
105 result.add(computeNormalizedSha256Fingerprint(sig.toByteArray())); in getCertFingerprintsFromPackageManager()
/frameworks/multidex/library/test/src/android/support/multidex/
DZipEntryReader.java52 int sig = in.getInt(); in readEntry() local
53 if (sig != CENSIG) { in readEntry()
/frameworks/base/rs/java/android/renderscript/
DScript.java39 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { in KernelID() argument
43 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/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScript.java70 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()
DRenderScript.java798 native long rsnScriptKernelIDCreate(long con, long sid, int slot, int sig, boolean mUseInc); in rsnScriptKernelIDCreate() argument
799 synchronized long nScriptKernelIDCreate(long sid, int slot, int sig, boolean mUseInc) { in nScriptKernelIDCreate() argument
805 return rsnScriptKernelIDCreate(curCon, sid, slot, sig, mUseInc); in nScriptKernelIDCreate()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java305 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in verifySigner() local
306 sig.initVerify(publicKey); in verifySigner()
308 sig.setParameter(jcaSignatureAlgorithmParams); in verifySigner()
310 sig.update(signedData); in verifySigner()
311 sigVerified = sig.verify(bestSigAlgorithmSignatureBytes); in verifySigner()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java643 byte [] sig = new byte[SOCK_SIGNAL_SIZE]; in waitSocketSignal()
644 int ret = readAll(is, sig); in waitSocketSignal()
647 ByteBuffer bb = ByteBuffer.wrap(sig); in waitSocketSignal()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp1033 void android_os_Process_sendSignal(JNIEnv* env, jobject clazz, jint pid, jint sig) in android_os_Process_sendSignal() argument
1036 ALOGI("Sending signal. PID: %" PRId32 " SIG: %" PRId32, pid, sig); in android_os_Process_sendSignal()
1037 kill(pid, sig); in android_os_Process_sendSignal()
1041 void android_os_Process_sendSignalQuiet(JNIEnv* env, jobject clazz, jint pid, jint sig) in android_os_Process_sendSignalQuiet() argument
1044 kill(pid, sig); in android_os_Process_sendSignalQuiet()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java343 for (Signature sig : signatures) { in getCarrierPrivilegeStatus()
344 int accessStatus = getCarrierPrivilegeStatus(sig, packageInfo.packageName); in getCarrierPrivilegeStatus()
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc1584 typename C::String sig("("); in parse_function_type() local
1622 if (sig.size() > 1) in parse_function_type()
1623 sig += ", "; in parse_function_type()
1624 sig += db.names[k].move_full(); in parse_function_type()
1630 sig += ")"; in parse_function_type()
1634 sig += " &"; in parse_function_type()
1637 sig += " &&"; in parse_function_type()
1643 db.names.back().second.insert(0, sig); in parse_function_type()
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java835 String sig = getJniMangledName(signature).replace('.', '_').replace('/', '_'); in emitJniCode() local
837 out.print("__" + sig); in emitJniCode()
838 outName += "__" + sig; in emitJniCode()

12