/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/ |
H A D | PacNative.java | 34 private native boolean setProxyScriptNativeLocked(String script); argument 66 public synchronized boolean setCurrentProxyScript(String script) { argument 67 if (setProxyScriptNativeLocked(script)) { 68 Log.e(TAG, "Unable to parse proxy script.");
|
H A D | PacService.java | 89 public void setPacFile(String script) throws RemoteException { argument 94 mPacNative.setCurrentProxyScript(script);
|
/frameworks/rs/driver/ |
H A D | rsdBcc.h | 32 android::renderscript::Script *script, 47 android::renderscript::Script *script); 49 android::renderscript::Script *script); 51 android::renderscript::Script *script); 74 const android::renderscript::Script *script, 79 const android::renderscript::Script *script, 84 android::renderscript::Script *script); 88 const android::renderscript::Script *script,
|
H A D | rsdBcc.cpp | 39 ScriptC *script, 46 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createScript(script, resName, cacheDir, 51 script->mHal.drv = cs; 52 cs->populateScript(script); 38 rsdScriptInit(const Context *rsc, ScriptC *script, char const *resName, char const *cacheDir, uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) argument
|
/frameworks/rs/scriptc/ |
H A D | rs_core.rsh | 123 * Make a script to script call to launch work. One of the input or output is 128 * @param script The target script to call 131 * @param usrData The user definied params to pass to the root script. May be 140 rsForEach(rs_script script, rs_allocation input, 147 rsForEach(rs_script script, rs_allocation input, 152 * Make a script to script call to launch work. One of the input or output is 157 * @param script Th [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSCompiler.cpp | 35 RSScript &script = static_cast<RSScript &>(pScript); local 36 const RSInfo *info = script.getInfo(); 92 RSScript &script = static_cast<RSScript &>(pScript); local 93 const RSInfo *info = script.getInfo(); 94 llvm::Module &module = script.getSource().getModule(); 106 if (script.getEmbedInfo())
|
H A D | RSCompilerDriver.cpp | 218 // Associate script with its info 225 // Link RS script with Renderscript runtime. 228 ALOGE("Failed to link script '%s' with Renderscript runtime!", pScriptName); 377 // Load the bitcode and create script. 385 RSScript *script = new (std::nothrow) RSScript(*source); local 386 if (script == NULL) { 393 script->setLinkRuntimeCallback(pLinkRuntimeCallback); 397 script->setCompilerVersion(wrapper.getCompilerVersion()); 398 script->setOptimizationLevel(static_cast<RSScript::OptimizationLevel>( 402 // Compile the script [all...] |
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
H A D | JavaBridgeFieldsTest.java | 69 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { argument 70 executeJavaScript("testObject.setStringValue(" + script + ");");
|
H A D | JavaBridgeReturnValuesTest.java | 127 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { argument 128 executeJavaScript("testObject.setStringValue(" + script + ");"); 133 private boolean executeJavaScriptAndGetBooleanResult(String script) throws Throwable { argument 134 executeJavaScript("testObject.setBooleanValue(" + script + ");");
|
H A D | JavaBridgeTestBase.java | 105 protected void executeJavaScript(final String script) throws Throwable { argument 112 // frame. We don't want this behaviour, so wrap the script in 114 getWebView().loadUrl("javascript:(function() { " + script + " })()");
|
H A D | JavaBridgeBasicsTest.java | 94 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { argument 95 executeJavaScript("testController.setStringValue(" + script + ");"); 111 private void assertRaisesException(String script) throws Throwable { argument 113 script + ";" +
|
/frameworks/rs/ |
H A D | rsScriptIntrinsic.cpp | 30 mRSC->mHal.funcs.script.destroy(mRSC, this); 40 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e); 67 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
|
H A D | rsScriptC.cpp | 60 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); 61 mRSC->mHal.funcs.script.destroy(mRSC, this); 117 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); 140 rsc->setError(RS_ERROR_BAD_SCRIPT, "Attempted to run bad script"); 153 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this); 187 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); 197 rsc->setError(RS_ERROR_BAD_SCRIPT, "Calling invoke on bad script"); 205 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len); 298 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { 310 rsc->mHal.funcs.script [all...] |
H A D | rsScript.cpp | 53 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a); 62 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); 71 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len); 80 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, 92 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val); 97 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.cpp | 556 hb_script_t script; member in struct:android::ScriptRun 578 run->script = init_script; 585 const hb_script_t script = code_point_to_script(cp); local 587 if (script != current_script) { 593 run->script = script; 594 current_script = script; 596 } else if (script == HB_SCRIPT_INHERITED) { 605 if (run->script == HB_SCRIPT_INHERITED) 606 run->script 628 const hb_script_t script = code_point_to_script(cp); local 781 typefaceForScript(const SkPaint* paint, SkTypeface* typeface, hb_script_t script) argument 794 isComplexScript(hb_script_t script) argument [all...] |
H A D | TextLayoutCache.h | 209 hb_script_t script); 223 SkTypeface* setCachedTypeface(SkTypeface** typeface, hb_script_t script, SkTypeface::Style style); 226 bool isComplexScript(hb_script_t script);
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 684 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument 686 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", con, (RsScript)script, (RsAllocation)alloc, slot); 687 rsScriptBindAllocation(con, (RsScript)script, (RsAllocation)alloc, slot); 691 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 693 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); 694 rsScriptSetVarI(con, (RsScript)script, slot, val); 698 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 700 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); 701 rsScriptSetVarObj(con, (RsScript)script, slo 705 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument 712 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument 719 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument 726 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 736 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims) argument 751 nScriptSetTimeZone(JNIEnv *_env, jobject _this, RsContext con, jint script, jbyteArray timeZone) argument 774 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 784 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument 791 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument 802 nScriptForEachClipped(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 822 nScriptForEachClippedV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument [all...] |
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 976 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument 978 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", con, (RsScript)script, (RsAllocation)alloc, slot); 979 rsScriptBindAllocation(con, (RsScript)script, (RsAllocation)alloc, slot); 983 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 985 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); 986 rsScriptSetVarI(con, (RsScript)script, slot, val); 990 nScriptGetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument 992 LOG_API("nScriptGetVarI, con(%p), s(%p), slot(%i)", con, (void *)script, slot); 994 rsScriptGetVarV(con, (RsScript)script, slo 999 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 1006 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument 1013 nScriptGetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument 1022 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument 1029 nScriptGetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument 1038 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument 1045 nScriptGetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument 1054 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 1064 nScriptGetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 1074 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims) argument 1089 nScriptSetTimeZone(JNIEnv *_env, jobject _this, RsContext con, jint script, jbyteArray timeZone) argument 1112 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 1122 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument 1129 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument 1140 nScriptForEachClipped(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 1160 nScriptForEachClippedV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 1411 nContextBindRootScript(JNIEnv *_env, jobject _this, RsContext con, jint script) argument [all...] |
/frameworks/compile/mclinker/unittests/ |
H A D | LinkerTest.cpp | 54 LinkerScript script; local 55 Module module("test", script); 59 linker.emulate(script, config); 83 LinkerScript script; local 91 script.directories().insert(search_dir); 95 linker.emulate(script, config); 101 Module module("libplasma.so", script); 345 LinkerScript script; local 349 linker.emulate(script, config); 354 Module module(script); [all...] |
/frameworks/base/packages/services/PacProcessor/jni/ |
H A D | com_android_pacprocessor_PacNative.cpp | 88 jstring script) { 89 String16 script16 = jstringToString16(env, script); 92 ALOGE("V8 Parser not started when setting PAC script"); 97 ALOGE("Unable to set PAC script"); 112 ALOGE("V8 Parser not initialized when running PAC script"); 117 ALOGW("Attempting to run PAC with no script set"); 87 com_android_pacprocessor_PacNative_setProxyScriptNativeLocked(JNIEnv* env, jobject, jstring script) argument
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic.cpp | 97 mtls.script = this; 112 mtls->script = this;
|
H A D | rsCpuScript.cpp | 142 // This is required behavior to implement script instancing for the support 359 //ALOGE("rsdScriptInit %p %p", rsc, script); 435 // Attempt to just load the script from cache first if we can. 677 //rsdLookupRuntimeStub(script, "acos"); 704 void RsdCpuScriptImpl::populateScript(Script *script) { argument 709 script->mHal.info.exportedFunctionCount = info->getExportFuncNames().size(); 710 script->mHal.info.exportedVariableCount = info->getExportVarNames().size(); 711 script->mHal.info.exportedForeachFuncList = info->getExportForeachFuncs().array(); 712 script->mHal.info.exportedPragmaCount = info->getPragmas().size(); 713 script [all...] |
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectLinker.cpp | 334 const LinkerScript& script = m_pModule->getScript(); local 336 LinkerScript::DefSymMap::const_entry_iterator ie = script.defSymMap().end(); 338 for (it = script.defSymMap().begin(); it != ie; ++it) { 488 const LinkerScript& script = m_pModule->getScript(); local 490 LinkerScript::DefSymMap::const_entry_iterator ie = script.defSymMap().end(); 493 for (it = script.defSymMap().begin(); it != ie; ++it) {
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RenderScript.java | 242 native void rsnContextBindRootScript(int con, int script); argument 243 synchronized void nContextBindRootScript(int script) { argument 245 rsnContextBindRootScript(mContext, script); 610 native void rsnScriptBindAllocation(int con, int script, int alloc, int slot); argument 611 synchronized void nScriptBindAllocation(int script, int alloc, int slot) { argument 613 rsnScriptBindAllocation(mContext, script, alloc, slot); 615 native void rsnScriptSetTimeZone(int con, int script, byte[] timeZone); argument 616 synchronized void nScriptSetTimeZone(int script, byte[] timeZone) { argument 618 rsnScriptSetTimeZone(mContext, script, timeZone); 722 byte[] script, in 721 rsnScriptCCreate(int con, String resName, String cacheDir, byte[] script, int length) argument 723 nScriptCCreate(String resName, String cacheDir, byte[] script, int length) argument [all...] |
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | PacManager.java | 250 private boolean setCurrentProxyScript(String script) { argument 256 mProxyService.setPacFile(script); 257 mCurrentPac = script;
|