Searched defs:sig (Results 1 - 18 of 18) sorted by relevance

/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/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/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/native/cmds/lshal/
H A DLshal.cpp187 void signalHandler(int sig) { argument
188 if (sig == SIGINT) {
/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/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);
H A DRenderScript.java847 native long rsnScriptKernelIDCreate(long con, long sid, int slot, int sig); argument
848 synchronized long nScriptKernelIDCreate(long sid, int slot, int sig) { argument
850 return rsnScriptKernelIDCreate(mContext, sid, slot, 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/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 DrsHidlAdaptation.cpp936 RsScriptKernelID RsHidlAdaptation::ScriptKernelIDCreate (RsContext context, RsScript script, int slot, int sig) argument
940 uint64_t kernelID = GetIContextHandle(context)->scriptKernelIDCreate(_script, slot, sig);
H A DrsApiStubs.cpp567 extern "C" RsScriptKernelID rsScriptKernelIDCreate (RsContext ctxWrapper, RsScript sid, int slot, int sig) argument
569 return RS_DISPATCH(ctxWrapper, ScriptKernelIDCreate, sid, slot, 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);
H A DRenderScript.java810 native long rsnScriptKernelIDCreate(long con, long sid, int slot, int sig, boolean mUseInc); argument
811 synchronized long nScriptKernelIDCreate(long sid, int slot, int sig, boolean mUseInc) { argument
817 return rsnScriptKernelIDCreate(curCon, sid, slot, sig, mUseInc);
/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/base/core/jni/
H A Dandroid_util_Process.cpp1065 void android_os_Process_sendSignal(JNIEnv* env, jobject clazz, jint pid, jint sig) argument
1068 ALOGI("Sending signal. PID: %" PRId32 " SIG: %" PRId32, pid, sig);
1069 kill(pid, sig);
1073 void android_os_Process_sendSignalQuiet(JNIEnv* env, jobject clazz, jint pid, jint sig) argument
1076 kill(pid, sig);
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp1913 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jint sig, jboolean mUseInc) argument
1915 LOG_API("nScriptKernelIDCreate, con(%p) script(%p), slot(%i), sig(%i)", (RsContext)con,
1916 (void *)sid, slot, sig);
1919 slot, sig);
1922 slot, sig);
1929 LOG_API("nScriptInvokeIDCreate, con(%p) script(%p), slot(%i), sig(%i)", con,
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2269 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jint sig) argument
2272 ALOGD("nScriptKernelIDCreate, con(%p) script(%p), slot(%i), sig(%i)", (RsContext)con,
2273 (void *)sid, slot, sig);
2275 return (jlong)(uintptr_t)rsScriptKernelIDCreate((RsContext)con, (RsScript)sid, slot, sig);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java25820 signalPersistentProcesses(int sig) argument
[all...]

Completed in 181 milliseconds