/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseStatementTest.java | 82 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test"); 83 statement.execute(); 88 statement.close(); 131 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); 134 statement.bindLong(1, i); 135 statement.execute(); 137 statement.close(); 153 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); 156 statement.bindString(1, Long.toHexString(i)); 157 statement 249 StatementTestThread(SQLiteDatabase db, SQLiteStatement statement) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 115 // Because SQLite statement execution can be reentrant, we keep track of how many 414 // Update prepared statement cache size. 441 // Returns true if the prepared statement cache contains the specified SQL. 463 * Prepares a statement for execution but does not bind its parameters or execute it. 466 * prior to execution of the statement. If the {@code outStatementInfo} argument 468 * with information about the statement. 470 * A prepared statement makes no reference to the arguments that may eventually 472 * such as SELECT or INSERT/UPDATE statements. If the statement is cacheable, 476 * provides a method to acquire a connection that already has a given SQL statement 477 * in its prepared statement cach 904 releasePreparedStatement(PreparedStatement statement) argument 927 finalizePreparedStatement(PreparedStatement statement) argument 972 bindArguments(PreparedStatement statement, Object[] bindArgs) argument 1016 throwIfStatementForbidden(PreparedStatement statement) argument 1031 applyBlockGuardPolicy(PreparedStatement statement) argument 1192 recyclePreparedStatement(PreparedStatement statement) argument [all...] |
H A D | SQLiteDatabase.java | 249 * Each prepared-statement is between 1K - 6K, depending on the complexity of the 250 * SQL statement & schema. A large SQL cache may use a significant amount of memory. 976 * Compiles an SQL statement into a reusable pre-compiled statement object. 978 * statement and fill in those values with {@link SQLiteProgram#bindString} 980 * statement. Statements may not return result sets larger than 1x1. 984 * @param sql The raw SQL statement, may contain ? for unknown values to be 1467 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); 1469 return statement.executeInsert(); 1471 statement [all...] |
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteConnection.cpp | 90 // Called each time a statement begins execution, when tracing is enabled. 97 // Called each time a statement finishes execution, when profiling is enabled. 288 sqlite3_stmt* statement; local 290 sql, sqlLength * sizeof(jchar), &statement, NULL); 309 ALOGV("Prepared statement %p on connection %p", statement, connection->db); 310 return reinterpret_cast<jint>(statement); 316 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 319 // whether any errors occurred while executing the statement. The statement itsel 328 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 336 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 344 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 352 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 368 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 379 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 390 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 401 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 416 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 430 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 441 executeNonQuery(JNIEnv* env, SQLiteConnection* connection, sqlite3_stmt* statement) argument 455 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 463 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 472 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 479 executeOneRowQuery(JNIEnv* env, SQLiteConnection* connection, sqlite3_stmt* statement) argument 490 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 502 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 552 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 573 copyRow(JNIEnv* env, CursorWindow* window, sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) argument 670 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl_language.h | 142 void (*import)(buffer_type* statement);
|
H A D | aidl.cpp | 89 buffer_type statement; member in struct:import_info 105 main_import_parsed(buffer_type* statement) argument 110 import->statement.lineno = statement->lineno; 111 import->statement.data = strdup(statement->data); 112 import->statement.extra = NULL; 114 import->neededClass = parse_import_statement(statement->data); 153 import_import_parsed(buffer_type* statement) argument 884 import->from, import->statement [all...] |
H A D | AST.cpp | 232 StatementBlock::Add(Statement* statement) argument 234 this->statements.push_back(statement);
|
H A D | AST.h | 125 void Add(Statement* statement);
|
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 964 * the same statement. 1048 if (DEBUG) Log.v(TAG, "insert statement is " + mInsertSQL); 1074 * @param allowReplace if true, the statement does "INSERT OR 1340 for (String statement : statements) { 1341 if (TextUtils.isEmpty(statement)) continue; 1342 db.execSQL(statement); 1349 * Returns one of the following which represent the type of the given SQL statement. 1359 * @param sql the SQL statement whose type is returned by this method
|