Home
last modified time | relevance | path

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

12

/frameworks/base/services/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()
/frameworks/base/core/java/android/content/pm/
DSignature.java75 final byte[] sig = new byte[N / 2]; in Signature()
81 sig[sigIndex++] = (byte) ((hi << 4) | lo); in Signature()
84 mSignature = sig; in Signature()
105 byte[] sig = mSignature; in toChars()
106 final int N = sig.length; in toChars()
111 byte v = sig[j]; in toChars()
/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/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DRenameClassAdapter.java199 String renameTypeSignature(String sig) { in renameTypeSignature() argument
200 if (sig == null) { in renameTypeSignature()
203 SignatureReader reader = new SignatureReader(sig); in renameTypeSignature()
206 sig = writer.toString(); in renameTypeSignature()
207 return sig; in renameTypeSignature()
215 String renameFieldSignature(String sig) { in renameFieldSignature() argument
216 if (sig == null) { in renameFieldSignature()
219 SignatureReader reader = new SignatureReader(sig); in renameFieldSignature()
222 sig = writer.toString(); in renameFieldSignature()
223 return sig; in renameFieldSignature()
/frameworks/base/graphics/java/android/renderscript/
DScript.java38 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { in KernelID() argument
42 mSig = sig; in KernelID()
58 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { in createKernelID() argument
64 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); in createKernelID()
69 k = new KernelID(id, mRS, this, slot, sig); in createKernelID()
DRenderScript.java570 native int rsnScriptKernelIDCreate(int con, int sid, int slot, int sig); in rsnScriptKernelIDCreate() argument
571 synchronized int nScriptKernelIDCreate(int sid, int slot, int sig) { in nScriptKernelIDCreate() argument
573 return rsnScriptKernelIDCreate(mContext, sid, slot, sig); in nScriptKernelIDCreate()
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DScript.java38 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { in KernelID() argument
42 mSig = sig; in KernelID()
58 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { in createKernelID() argument
64 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); in createKernelID()
69 k = new KernelID(id, mRS, this, slot, sig); in createKernelID()
DRenderScript.java428 native int rsnScriptKernelIDCreate(int con, int sid, int slot, int sig); in rsnScriptKernelIDCreate() argument
429 synchronized int nScriptKernelIDCreate(int sid, int slot, int sig) { in nScriptKernelIDCreate() argument
431 return rsnScriptKernelIDCreate(mContext, sid, slot, sig); in nScriptKernelIDCreate()
/frameworks/support/renderscript/v8/rs_support/
DrsScript.cpp89 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID() argument
94 mHasKernelInput = (sig & 1) != 0; in ScriptKernelID()
95 mHasKernelOutput = (sig & 2) != 0; in ScriptKernelID()
131 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { in rsi_ScriptKernelIDCreate() argument
132 return new ScriptKernelID(rsc, (Script *)vs, slot, sig); in rsi_ScriptKernelIDCreate()
DrsScript.h29 ScriptKernelID(Context *rsc, Script *s, int slot, int sig);
Drs.spec297 param int sig
/frameworks/rs/
DrsScript.cpp89 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID() argument
94 mHasKernelInput = (sig & 1) != 0; in ScriptKernelID()
95 mHasKernelOutput = (sig & 2) != 0; in ScriptKernelID()
131 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { in rsi_ScriptKernelIDCreate() argument
132 return new ScriptKernelID(rsc, (Script *)vs, slot, sig); in rsi_ScriptKernelIDCreate()
DrsScript.h34 ScriptKernelID(Context *rsc, Script *s, int slot, int sig);
/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/base/core/java/android/os/
DRecoverySystem.java264 Signature sig = Signature.getInstance(alg); in verifyPackage() local
265 sig.initVerify(cert); in verifyPackage()
282 sig.update(buffer, 0, read); in verifyPackage()
304 if (!sig.verify(sigInfo.getEncryptedDigest())) { in verifyPackage()
/frameworks/rs/driver/
DrsdBcc.cpp181 uint32_t sig = mtls->sig; in wc_xy() local
228 uint32_t sig = mtls->sig; in wc_x() local
393 uint32_t sig = mtls->sig; in rsdScriptLaunchThreads() local
440 mtls.sig = drv->mExecutable->getInfo().getExportForeachFuncs()[slot].second; in rsdScriptInvokeForEach()
DrsdScriptGroup.cpp130 mtls.sig = drv->mExecutable->getInfo().getExportForeachFuncs()[slot].second; in rsdScriptGroupExecute()
DrsdBcc.h146 uint32_t sig; member
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdBcc.cpp366 uint32_t sig = mtls->sig; in wc_xy() local
397 uint32_t sig = mtls->sig; in wc_x() local
542 uint32_t sig = mtls->sig; in rsdScriptLaunchThreads() local
585 mtls.sig = drv->mForEachSignatures[slot]; in rsdScriptInvokeForEach()
DrsdScriptGroup.cpp117 mtls.sig = drv->mForEachSignatures[slot]; in rsdScriptGroupExecute()
DrsdBcc.h144 uint32_t sig; member
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java468 byte [] sig = new byte[SOCK_SIGNAL_SIZE]; in waitSocketSignal()
469 int ret = readAll(is, sig); in waitSocketSignal()
471 ByteBuffer bb = ByteBuffer.wrap(sig); in waitSocketSignal()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp839 void android_os_Process_sendSignal(JNIEnv* env, jobject clazz, jint pid, jint sig) in android_os_Process_sendSignal() argument
842 ALOGI("Sending signal. PID: %d SIG: %d", pid, sig); in android_os_Process_sendSignal()
843 kill(pid, sig); in android_os_Process_sendSignal()
847 void android_os_Process_sendSignalQuiet(JNIEnv* env, jobject clazz, jint pid, jint sig) in android_os_Process_sendSignalQuiet() argument
850 kill(pid, sig); in android_os_Process_sendSignalQuiet()
/frameworks/base/services/java/com/android/server/
DPackageManagerBackupAgent.java322 for (Signature sig : sigs) { in writeSignatureArray()
323 byte[] flat = sig.toByteArray(); in writeSignatureArray()

12