Home
last modified time | relevance | path

Searched refs:execute (Results 1 – 25 of 44) sorted by relevance

12

/libcore/luni/src/test/java/tests/support/
DDatabaseCreator.java259 .execute("INSERT INTO " + PARENT_TABLE + " VALUES(1, 'test1')"); in fillParentTable()
260 statement.execute("INSERT INTO " + PARENT_TABLE + " VALUES(2,'test2')"); in fillParentTable()
262 .execute("INSERT INTO " + PARENT_TABLE + " VALUES(3, 'test3')"); in fillParentTable()
267 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
269 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
271 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
277 statement.execute("INSERT INTO " + FKCASCADE_TABLE in fillFKCascadeTable()
279 statement.execute("INSERT INTO " + FKCASCADE_TABLE in fillFKCascadeTable()
281 statement.execute("INSERT INTO " + FKCASCADE_TABLE in fillFKCascadeTable()
288 .execute("INSERT INTO " + SIMPLE_TABLE1 + " VALUES(1, 10, 20)"); in fillSimpleTable1()
[all …]
/libcore/luni/src/test/java/tests/java/sql/
DInsertFunctionalityTest.java64 .execute(DatabaseCreator.DROP_TABLE_PARENT); in createTestTables()
68 .execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in createTestTables()
72 .execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in createTestTables()
76 .execute(DatabaseCreator.DROP_TABLE_SIMPLE1); in createTestTables()
80 .execute(DatabaseCreator.DROP_TABLE_SIMPLE2); in createTestTables()
83 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
87 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
88 statement.execute(DatabaseCreator.CREATE_TABLE_FKSTRICT); in createTestTables()
89 statement.execute(DatabaseCreator.CREATE_TABLE_FKCASCADE); in createTestTables()
90 statement.execute(DatabaseCreator.CREATE_TABLE_SIMPLE2); in createTestTables()
[all …]
DDeleteFunctionalityTest.java67 .execute(DatabaseCreator.DROP_TABLE_PARENT); in createTestTables()
71 .execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in createTestTables()
75 .execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
82 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
83 statement.execute(DatabaseCreator.CREATE_TABLE_FKSTRICT); in createTestTables()
84 statement.execute(DatabaseCreator.CREATE_TABLE_FKCASCADE); in createTestTables()
85 statement.execute(DatabaseCreator.CREATE_TABLE5); in createTestTables()
93 statement.execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in deleteTestTables()
94 statement.execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in deleteTestTables()
[all …]
DUpdateFunctionalityTest2.java73 .execute(DatabaseCreator.DROP_TABLE_PARENT); in createTestTables()
77 .execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in createTestTables()
81 .execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in createTestTables()
85 .execute(DatabaseCreator.DROP_TABLE_SIMPLE1); in createTestTables()
89 .execute(DatabaseCreator.DROP_TABLE_SIMPLE3); in createTestTables()
92 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
96 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
97 statement.execute(DatabaseCreator.CREATE_TABLE_FKSTRICT); in createTestTables()
98 statement.execute(DatabaseCreator.CREATE_TABLE_FKCASCADE); in createTestTables()
99 statement.execute(DatabaseCreator.CREATE_TABLE_SIMPLE3); in createTestTables()
[all …]
DMultiThreadAccessTest.java76 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
82 statement.execute(DatabaseCreator.DROP_TABLE4); in createTestTables()
85 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
90 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
91 statement.execute(DatabaseCreator.CREATE_TABLE4); in createTestTables()
92 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
93 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
105 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
106 statement.execute(DatabaseCreator.DROP_TABLE2); in deleteTestTables()
[all …]
DUpdateFunctionalityTest.java72 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
75 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
83 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
84 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
85 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
94 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
95 statement.execute(DatabaseCreator.DROP_TABLE2); in deleteTestTables()
96 statement.execute(DatabaseCreator.DROP_TABLE3); in deleteTestTables()
DDatabaseMetaDataNotSupportedTest.java92 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
95 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
97 statement.execute(DROP_VIEW_QUERY); in createTestTables()
101 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
102 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
103 statement.execute(CREATE_VIEW_QUERY); in createTestTables()
112 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
113 statement.execute(DatabaseCreator.DROP_TABLE3); in deleteTestTables()
114 statement.execute(DROP_VIEW_QUERY); in deleteTestTables()
141 statement.execute(query); in test_allTablesAreSelectable()
[all …]
DSelectFunctionalityTest.java79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
83 .execute(DatabaseCreator.DROP_TABLE_SALESPEOPLE); in createTestTables()
87 .execute(DatabaseCreator.DROP_TABLE_CUSTOMERS); in createTestTables()
91 .execute(DatabaseCreator.DROP_TABLE_ORDERS); in createTestTables()
96 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
97 statement.execute(DatabaseCreator.CREATE_TABLE_SALESPEOPLE); in createTestTables()
98 statement.execute(DatabaseCreator.CREATE_TABLE_CUSTOMERS); in createTestTables()
99 statement.execute(DatabaseCreator.CREATE_TABLE_ORDERS); in createTestTables()
117 statement.execute(DatabaseCreator.DROP_TABLE2); in deleteTestTables()
118 statement.execute(DatabaseCreator.DROP_TABLE_SALESPEOPLE); in deleteTestTables()
[all …]
DStressTest.java66 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
69 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE2); in dropTestTables()
332 ps.execute();
DDatabaseMetaDataTest.java100 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
103 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
105 statement.execute(DROP_VIEW_QUERY); in createTestTables()
109 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
110 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
111 statement.execute(CREATE_VIEW_QUERY); in createTestTables()
120 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
121 statement.execute(DatabaseCreator.DROP_TABLE3); in deleteTestTables()
122 statement.execute(DROP_VIEW_QUERY); in deleteTestTables()
1591 statementForward.execute("create table companies(id integer not null);"); in test_supportsNonNullableColumns()
[all …]
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java88 st.execute(queries[i]); in setUp()
102 st.execute("drop table if exists type"); in tearDown()
129 st.execute("select * from zoo"); in testAddBatch()
185 assertFalse(ps.execute()); in testExecute()
190 assertTrue(ps.execute()); in testExecute()
204 assertFalse(ps.execute()); in testExecute()
207 st.execute("select family from zoo where id=2"); in testExecute()
220 conn.createStatement().execute("drop table if exists hutch"); in testExecute()
223 assertFalse(ps.execute()); in testExecute()
236 assertTrue(ps.execute()); in testExecute()
[all …]
DOldConnectionTest.java57 st.execute("select id, name from zoo"); in testCreateStatement_int_int()
77 st.execute("select id, name from zoo"); in testCreateStatement_int_int()
98 st.execute("select id, name from zoo"); in testCreateStatement_int_int()
120 st.execute("select name, family from zoo"); in testCreateStatement_int_int()
143 st.execute("select name, family from zoo"); in testCreateStatement_int_int()
190 st.execute("select id, name from zoo"); in testCreateStatement_int_int_int()
221 st.execute("select id, name from zoo"); in testCreateStatementIntIntIntNotSupported()
263 st.execute("select animals from zoo"); in testClearWarnings()
280 st.execute("select monkey from zoo"); in testClearWarnings()
314 st.execute("select animals from zoooo"); in testGetWarnings()
[all …]
DOldStatementTest.java81 st.execute("select animals from zoo"); in testClearWarnings()
111 st.execute("select animals from zoooo"); in testGetWarnings()
232 boolean res = st.execute(queries[i]); in testExecute()
255 st.execute(inc_queries[i]); in testExecute()
284 st.execute(queries[i], Statement.NO_GENERATED_KEYS); in testExecute_String_int()
303 st.execute(queries[i], Statement.RETURN_GENERATED_KEYS); in testExecute_String_int()
403 st.execute("select * from zoo;"); in testGetFetchSize()
542 st.execute(queries[i]); in testClose()
584 st.execute(queries[i], (int[]) array.elementAt(i)); in testExecute_String_intArray()
620 st.execute(queries[i], (String[]) array.elementAt(i)); in testExecute_String_StringArray()
[all …]
DOldSQLTest.java57 st.execute("drop table if exists zoo"); in tearDown()
81 st.execute(queries[i]); in createZoo()
DOldResultSetTest.java43 stForward.execute(selectAllAnimals); in setUp()
50 stForward.execute(DatabaseCreator.CREATE_TABLE_SIMPLE1); in setUp()
51 stForward.execute(selectEmptyTable); in setUp()
464 stForward.execute("insert into zoo values(8,null,null);"); in testWasNull()
465 stForward.execute(selectAllAnimals); in testWasNull()
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java24 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1()
25 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1()
26 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1()
35 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2()
36 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2()
37 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2()
56 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1()
57 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1()
58 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1()
67 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor2()
[all …]
DThreadPoolExecutorTest.java70 p.execute(task); in testExecute()
90 p.execute(new CheckedRunnable() { in testGetActiveCount()
152 p.execute(new CheckedRunnable() { in testGetCompletedTaskCount()
305 p.execute(new CheckedRunnable() { in testGetLargestPoolSize()
346 p.execute(new CheckedRunnable() { in testGetPoolSize()
372 p.execute(new CheckedRunnable() { in testGetTaskCount()
442 p.execute(new CheckedRunnable() { in testIsTerminated()
470 p.execute(new CheckedRunnable() { in testIsTerminating()
509 p.execute(tasks[i]); in testGetQueue()
541 p.execute(tasks[i]); in testRemove()
[all …]
DThreadPoolExecutorSubclassTest.java210 p.execute(task); in testExecute()
230 p.execute(new CheckedRunnable() { in testGetActiveCount()
286 p.execute(new CheckedRunnable() { in testGetCompletedTaskCount()
412 p.execute(new CheckedRunnable() { in testGetLargestPoolSize()
450 p.execute(new CheckedRunnable() { in testGetPoolSize()
476 p.execute(new CheckedRunnable() { in testGetTaskCount()
514 p.execute(new CheckedRunnable() { in testIsTerminated()
543 p.execute(new CheckedRunnable() { in testIsTerminating()
582 p.execute(tasks[i]); in testGetQueue()
614 p.execute(tasks[i]); in testRemove()
[all …]
DScheduledExecutorTest.java30 p.execute(task); in testExecute()
176 se.execute(null); in testExecuteNull()
287 p.execute(new CheckedRunnable() { in testGetActiveCount()
312 p.execute(new CheckedRunnable() { in testGetCompletedTaskCount()
355 p.execute(new CheckedRunnable() { in testGetLargestPoolSize()
380 p.execute(new CheckedRunnable() { in testGetPoolSize()
406 p.execute(new CheckedRunnable() { in testGetTaskCount()
478 p.execute(new CheckedRunnable() { in testIsTerminated()
503 p.execute(new CheckedRunnable() { in testIsTerminating()
DScheduledExecutorSubclassTest.java82 p.execute(task); in testExecute()
227 se.execute(null); in testExecuteNull()
337 p.execute(new CheckedRunnable() { in testGetActiveCount()
362 p.execute(new CheckedRunnable() { in testGetCompletedTaskCount()
405 p.execute(new CheckedRunnable() { in testGetLargestPoolSize()
430 p.execute(new CheckedRunnable() { in testGetPoolSize()
456 p.execute(new CheckedRunnable() { in testGetTaskCount()
527 p.execute(new CheckedRunnable() { in testIsTerminated()
552 p.execute(new CheckedRunnable() { in testIsTerminating()
/libcore/benchmarks/src/benchmarks/regression/
DSchemePrefixBenchmark.java29 @Override String execute(String spec) { in JAVA() method
60 @Override String execute(String spec) { in REGEX() method
71 abstract String execute(String spec); in execute() method in SchemePrefixBenchmark.Strategy
78 strategy.execute("http://android.com"); in timeSchemePrefix()
/libcore/luni/src/main/java/java/sql/
DStatement.java153 public boolean execute(String sql) throws SQLException; in execute() method
177 public boolean execute(String sql, int autoGeneratedKeys) in execute() method
201 public boolean execute(String sql, int[] columnIndexes) throws SQLException; in execute() method
224 public boolean execute(String sql, String[] columnNames) in execute() method
/libcore/luni/src/main/java/java/util/concurrent/
DAbstractExecutorService.java81 execute(ftask); in submit()
92 execute(ftask); in submit()
103 execute(ftask); in submit()
207 execute(f); in invokeAll()
246 execute((Runnable)futures.get(i)); in invokeAll()
DExecutor.java111 void execute(Runnable command); in execute() method
DExecutorCompletionService.java152 executor.execute(new QueueingFuture(f)); in submit()
159 executor.execute(new QueueingFuture(f)); in submit()

12