Searched defs:script (Results 1 - 25 of 36) sorted by path

12

/frameworks/base/core/java/android/webkit/
H A DWebView.java884 * Note that JavaScript's same origin policy means that script running in a
955 * @param script the JavaScript to execute.
956 * @param resultCallback A callback to be invoked when the script execution
960 public void evaluateJavascript(String script, ValueCallback<String> resultCallback) { argument
962 if (TRACE) Log.d(LOGTAG, "evaluateJavascript=" + script);
963 mProvider.evaluateJavaScript(script, resultCallback);
H A DWebViewProvider.java121 public void evaluateJavaScript(String script, ValueCallback<String> resultCallback); argument
/frameworks/base/core/tests/overlaytests/
H A Dtestrunner.py571 # must be in the same directory as this script for compilation tasks to work
572 script = sys.argv[0] variable
573 dirname = os.path.dirname(script)
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1799 int script = memcmp(l.localeScript, r.localeScript, sizeof(l.localeScript)); local
1800 if (script) {
1801 return script;
1804 // The language, region and script are equal, so compare variants.
2354 // Don't consider the script & variants when deciding matches.
2356 // If we two configs differ only in their script or language, they
/frameworks/base/libs/androidfw/tests/
H A DConfigLocale_test.cpp115 const char* script, const char* variant, ResTable_config* out) {
125 if (script != NULL) {
126 memcpy(out->localeScript, script, 4);
114 fillIn(const char* lang, const char* country, const char* script, const char* variant, ResTable_config* out) argument
/frameworks/base/packages/services/PacProcessor/jni/
H A Dcom_android_pacprocessor_PacNative.cpp88 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/base/packages/services/PacProcessor/src/com/android/pacprocessor/
H A DPacNative.java34 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 DPacService.java89 public void setPacFile(String script) throws RemoteException { argument
94 mPacNative.setCurrentProxyScript(script);
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java264 native void rsnContextBindRootScript(long con, long script); argument
265 synchronized void nContextBindRootScript(long script) { argument
267 rsnContextBindRootScript(mContext, script);
593 native void rsnScriptBindAllocation(long con, long script, long alloc, int slot); argument
594 synchronized void nScriptBindAllocation(long script, long alloc, int slot) { argument
596 rsnScriptBindAllocation(mContext, script, alloc, slot);
598 native void rsnScriptSetTimeZone(long con, long script, byte[] timeZone); argument
599 synchronized void nScriptSetTimeZone(long script, byte[] timeZone) { argument
601 rsnScriptSetTimeZone(mContext, script, timeZone);
728 byte[] script, in
727 rsnScriptCCreate(long con, String resName, String cacheDir, byte[] script, int length) argument
729 nScriptCCreate(String resName, String cacheDir, byte[] script, int length) argument
[all...]
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp948 nScriptBindAllocation(JNIEnv *_env, jobject _this, jlong con, jlong script, jlong alloc, jint slot) argument
950 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", (RsContext)con, (RsScript)script, (RsAllocation)alloc, slot);
951 rsScriptBindAllocation((RsContext)con, (RsScript)script, (RsAllocation)alloc, slot);
955 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val) argument
957 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con, (void *)script, slot, val);
958 rsScriptSetVarI((RsContext)con, (RsScript)script, slot, val);
962 nScriptGetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument
964 LOG_API("nScriptGetVarI, con(%p), s(%p), slot(%i)", (RsContext)con, (void *)script, slot);
966 rsScriptGetVarV((RsContext)con, (RsScript)script, slo
971 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) argument
978 nScriptSetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) argument
985 nScriptGetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument
994 nScriptSetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, float val) argument
1001 nScriptGetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument
1010 nScriptSetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, double val) argument
1017 nScriptGetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument
1026 nScriptSetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) argument
1036 nScriptGetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) argument
1046 nScriptSetVarVE(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data, jlong elem, jintArray dims) argument
1061 nScriptSetTimeZone(JNIEnv *_env, jobject _this, jlong con, jlong script, jbyteArray timeZone) argument
1084 nScriptInvokeV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) argument
1094 nScriptForEach(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout) argument
1101 nScriptForEachV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout, jbyteArray params) argument
1112 nScriptForEachClipped(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
1132 nScriptForEachClippedV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
1155 nScriptForEachMultiClipped(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlongArray ains, jlong aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
1201 nScriptForEachMultiClippedV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlongArray ains, jlong aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
1518 nContextBindRootScript(JNIEnv *_env, jobject _this, jlong con, jlong script) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DPacManager.java247 private boolean setCurrentProxyScript(String script) { argument
253 mProxyService.setPacFile(script);
254 mCurrentPac = script;
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeBasicsTest.java94 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { argument
95 executeJavaScript("testController.setStringValue(" + script + ");");
111 private void assertRaisesException(String script) throws Throwable { argument
113 script + ";" +
H A DJavaBridgeFieldsTest.java69 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { argument
70 executeJavaScript("testObject.setStringValue(" + script + ");");
H A DJavaBridgeReturnValuesTest.java127 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 DJavaBridgeTestBase.java105 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 + " })()");
/frameworks/base/tools/aapt/
H A DAaptAssets.h64 char script[4]; member in struct:AaptLocaleValue
96 void setScript(const char* script);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSCompiler.cpp36 RSScript &script = static_cast<RSScript &>(pScript); local
37 llvm::Module &module = script.getSource().getModule();
93 RSScript &script = static_cast<RSScript &>(pScript); local
98 if (script.getEmbedInfo())
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp423 const LinkerScript& script = m_Module.getScript(); local
425 script.renameMap().find(pName);
426 if (script.renameMap().end() != renameSym)
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp211 // try to parse input as a linker script
213 ScriptFile script(ScriptFile::LDScript, **input,
215 if (getScriptReader()->readScript(m_Config, script)) {
217 script.activate(*m_pModule);
218 if (script.inputs().size() > 0) {
220 script.inputs());
483 LinkerScript& script = m_pModule->getScript(); local
484 LinkerScript::Assignments::iterator it, ie = script.assignments().end();
486 for (it = script.assignments().begin(); it != ie; ++it) {
702 LinkerScript& script local
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DAssignment.cpp81 LinkerScript& script = pModule.getScript(); local
85 script.assignments().push_back(std::make_pair((LDSymbol*)NULL, *this));
90 SectionMap::reference out = script.sectionMap().back();
94 SectionMap::iterator prev = script.sectionMap().begin() +
95 script.sectionMap().size() - 2;
123 script.assignments().push_back(std::make_pair((LDSymbol*)NULL, *this));
131 SectionMap::Output::reference in = script.sectionMap().back()->back();
159 script.assignments().push_back(std::make_pair((LDSymbol*)NULL, *this));
H A DEntryCmd.cpp36 LinkerScript& script = pModule.getScript(); local
37 if (!script.hasEntry())
38 script.setEntry(m_Entry);
H A DGroupCmd.cpp75 LinkerScript& script = pModule.getScript(); local
98 if (script.hasSysroot() &&
100 path = script.sysroot();
108 script.directories().find(token->name(), Input::Script);
129 path = script.directories().find(token->name(), Input::Archive);
133 path = script.directories().find(token->name(), Input::DynObj);
137 path = script.directories().find(token->name(), Input::Archive);
148 assert(0 && "Invalid script token in GROUP!");
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp2179 LinkerScript& script = pModule.getScript(); local
2184 outBegin = script.sectionMap().begin();
2185 outEnd = script.sectionMap().end();
2213 LinkerScript& script = pModule.getScript(); local
2217 LinkerScript::AddressMap::iterator addr, addrEnd = script.addressMap().end();
2221 outBegin = script.sectionMap().begin();
2222 outEnd = script.sectionMap().end();
2240 addr = script.addressMap().find(".bss");
2242 addr = script.addressMap().find(".data");
2244 addr = script
[all...]
/frameworks/compile/mclinker/tools/mcld/
H A Dmain.cpp52 mcld::ScriptOptions script; local
81 if (!script.parse(pScript))
118 mcld::LinkerScript script; local
120 mcld::Module module(script);
124 if (!ConfigLinker(argc, argv, "MCLinker\n", module, script, config, builder,
132 if (!linker.emulate(script, config)) {
/frameworks/compile/mclinker/unittests/
H A DELFBinaryReaderTest.cpp47 LinkerScript script; local
48 Module module("test", script);

Completed in 1238 milliseconds

12