Searched defs:exec (Results 1 - 7 of 7) sorted by relevance

/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
H A DExecutorsTest.java26 private final ExecutorService exec; field in class:ExecutorsTest.TimedCallable
30 TimedCallable(ExecutorService exec, Callable<T> func, long msecs) { argument
31 this.exec = exec;
37 Future<T> ftask = exec.submit(func);
H A DJSR166TestCase.java304 public void joinPool(ExecutorService exec) { argument
306 exec.shutdown();
307 assertTrue(exec.awaitTermination(LONG_DELAY_MS, TimeUnit.MILLISECONDS));
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
H A DProcessManager.java172 static native int exec(String[] command, String[] environment, method in class:ProcessManager
179 Process exec(String[] taintedCommand, String[] taintedEnvironment, File workingDirectory, method in class:ProcessManager
196 // Check we're not passing null Strings to the native exec.
224 pid = exec(command, environment, workingPath, in, out, err, redirectErrorStream);
226 IOException wrapper = new IOException("Error running exec()."
H A DRuntime.java125 * this method is equivalent to calling {@code exec(progArray, null, null)}.
140 public Process exec(String[] progArray) throws java.io.IOException { method in class:Runtime
141 return exec(progArray, null, null);
148 * {@code exec(progArray, envp, null)}.
166 public Process exec(String[] progArray, String[] envp) throws java.io.IOException { method in class:Runtime
167 return exec(progArray, envp, null);
194 public Process exec(String[] progArray, String[] envp, File directory) throws IOException { method in class:Runtime
196 return ProcessManager.getInstance().exec(progArray, envp, directory, false);
203 * equivalent to calling {@code exec(prog, null, null)}.
217 public Process exec(Strin method in class:Runtime
241 public Process exec(String prog, String[] envp) throws java.io.IOException { method in class:Runtime
268 public Process exec(String prog, String[] envp, File directory) throws java.io.IOException { method in class:Runtime
[all...]
/dalvik/libcore/sql/src/test/java/tests/java/sql/
H A DQueryTimeoutTest.java146 private static void exec(Connection connection, String queryString, method in class:QueryTimeoutTest
175 private static void exec(Connection connection, String queryString) method in class:QueryTimeoutTest
177 exec(connection, queryString, Collections.EMPTY_SET);
185 exec(conn, "drop table if exists " + tablePrefix + "_orig;", ignore);
186 exec(conn, "drop table if exists " + tablePrefix + "_copy;", ignore);
195 exec(conn, "create table " + tablePrefix + "_orig (a int)");
197 exec(conn, "create table " + tablePrefix + "_copy (a int)");
200 exec(conn, "insert into " + tablePrefix + "_orig"
439 notes = "test timeout with st.exec()",
494 "exec di
[all...]
/dalvik/libcore/sql/src/main/java/SQLite/
H A DDatabase.java16 * Internal last error code for exec() methods.
90 public void exec(String sql, SQLite.Callback cb) throws SQLite.Exception { method in class:Database
109 * db.exec("select * from sqlite_master where type like '%q'",
122 public void exec(String sql, SQLite.Callback cb, method in class:Database
210 exec(sql, ret);
238 exec(sql, ret, args);
267 exec(sql, tbl, args);
358 * any of the exec() methods. The value is valid
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/
H A DJDBCConnection.java36 * Timeout for Database.exec()
106 db.exec("PRAGMA short_column_names = off;", null);
107 db.exec("PRAGMA full_column_names = on;", null);
108 db.exec("PRAGMA empty_result_callbacks = on;", null);
110 db.exec("PRAGMA show_datatypes = on;", null);
212 db.exec("COMMIT", null);
268 db.exec("ROLLBACK", null);
278 db.exec("ROLLBACK", null);
419 public void exec(String sql, SQLite.Callback cb) method in class:DatabaseX
421 super.exec(sq
427 public void exec(String sql, SQLite.Callback cb, String args[]) method in class:DatabaseX
[all...]

Completed in 169 milliseconds