Home
last modified time | relevance | path

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

12

/frameworks/compile/libbcc/include/bcinfo/
DMetadataExtractor.h249 static bool hasForEachSignatureIn(uint32_t sig) { in hasForEachSignatureIn() argument
250 return sig & MD_SIG_In; in hasForEachSignatureIn()
259 static bool hasForEachSignatureOut(uint32_t sig) { in hasForEachSignatureOut() argument
260 return sig & MD_SIG_Out; in hasForEachSignatureOut()
269 static bool hasForEachSignatureUsrData(uint32_t sig) { in hasForEachSignatureUsrData() argument
270 return sig & MD_SIG_Usr; in hasForEachSignatureUsrData()
279 static bool hasForEachSignatureX(uint32_t sig) { in hasForEachSignatureX() argument
280 return sig & MD_SIG_X; in hasForEachSignatureX()
289 static bool hasForEachSignatureY(uint32_t sig) { in hasForEachSignatureY() argument
290 return sig & MD_SIG_Y; in hasForEachSignatureY()
[all …]
/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.java224 String sig = parser.getAttributeValue(null, "signature"); in readSignerOrThrow() local
225 pb.addSignature(sig); in readSignerOrThrow()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java167 String sig = new String(Base64.encode(signer.sign(), Base64.DEFAULT)); in createSignature() local
169 verifySignature(content, version, requiredHash, sig, createCertificate())); in createSignature()
170 return sig; in createSignature()
183 private void sendIntent(String contentPath, String version, String required, String sig) { in sendIntent() argument
189 i.putExtra(EXTRA_SIGNATURE, sig); in sendIntent()
193 private String runTest(String cert, String content, String version, String required, String sig) in runTest() argument
198 sendIntent(contentPath, version, required, sig); in runTest()
205 String sig = createSignature(content, version, required); in runTestWithoutSig() local
206 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.java144 String renameTypeSignature(String sig) { in renameTypeSignature() argument
145 if (sig == null) { in renameTypeSignature()
148 SignatureReader reader = new SignatureReader(sig); in renameTypeSignature()
151 sig = writer.toString(); in renameTypeSignature()
152 return sig; in renameTypeSignature()
160 String renameFieldSignature(String sig) { in renameFieldSignature() argument
161 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);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScript.java68 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { in KernelID() argument
72 mSig = sig; in KernelID()
88 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { in createKernelID() argument
94 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig, mUseIncSupp); in createKernelID()
99 k = new KernelID(id, mRS, this, slot, sig); in createKernelID()
DRenderScript.java770 native long rsnScriptKernelIDCreate(long con, long sid, int slot, int sig, boolean mUseInc); in rsnScriptKernelIDCreate() argument
771 synchronized long nScriptKernelIDCreate(long sid, int slot, int sig, boolean mUseInc) { in nScriptKernelIDCreate() argument
777 return rsnScriptKernelIDCreate(curCon, sid, slot, sig, mUseInc); in nScriptKernelIDCreate()
/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()
51 protected KernelID createKernelID(int slot, int sig, Element ein, in createKernelID() argument
58 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); in createKernelID()
63 k = new KernelID(id, mRS, this, slot, sig); in createKernelID()
DRenderScript.java813 native long rsnScriptKernelIDCreate(long con, long sid, int slot, int sig); in rsnScriptKernelIDCreate() argument
814 synchronized long nScriptKernelIDCreate(long sid, int slot, int sig) { in nScriptKernelIDCreate() argument
816 return rsnScriptKernelIDCreate(mContext, sid, slot, sig); in nScriptKernelIDCreate()
/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/packages/StatementService/src/com/android/statementservice/retriever/
DUtils.java104 for (Signature sig : signatures) { in getCertFingerprintsFromPackageManager()
105 result.add(computeNormalizedSha256Fingerprint(sig.toByteArray())); in getCertFingerprintsFromPackageManager()
/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)
844 sig = m.args[0:len(common_args)]
845 if not common_args.issubset(cluster(sig)):
848 locked_sig = sig
849 elif locked_sig != sig:
/frameworks/base/core/java/android/os/
DRecoverySystem.java272 Signature sig = Signature.getInstance(alg); in verifyPackage() local
273 sig.initVerify(cert); in verifyPackage()
290 sig.update(buffer, 0, read); in verifyPackage()
312 if (!sig.verify(sigInfo.getEncryptedDigest())) { in verifyPackage()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp892 void android_os_Process_sendSignal(JNIEnv* env, jobject clazz, jint pid, jint sig) in android_os_Process_sendSignal() argument
895 ALOGI("Sending signal. PID: %" PRId32 " SIG: %" PRId32, pid, sig); in android_os_Process_sendSignal()
896 kill(pid, sig); in android_os_Process_sendSignal()
900 void android_os_Process_sendSignalQuiet(JNIEnv* env, jobject clazz, jint pid, jint sig) in android_os_Process_sendSignalQuiet() argument
903 kill(pid, sig); in android_os_Process_sendSignalQuiet()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java642 byte [] sig = new byte[SOCK_SIGNAL_SIZE]; in waitSocketSignal()
643 int ret = readAll(is, sig); in waitSocketSignal()
646 ByteBuffer bb = ByteBuffer.wrap(sig); in waitSocketSignal()
/frameworks/rs/cpu_ref/
DrsCpuCore.h60 uint32_t sig; member
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java295 for (Signature sig : signatures) { in getCarrierPrivilegeStatus()
296 int accessStatus = getCarrierPrivilegeStatus(sig, pInfo.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.java787 String sig = getJniMangledName(signature).replace('.', '_').replace('/', '_'); in emitJniCode() local
789 out.print("__" + sig); in emitJniCode()
790 outName += "__" + sig; in emitJniCode()

12