/frameworks/support/persistence/db/src/main/java/android/arch/persistence/db/ |
H A D | SimpleSQLiteQuery.java | 53 public void bindTo(SupportSQLiteProgram statement) { argument 54 bind(statement, mBindArgs); 58 * Binds the given arguments into the given sqlite statement. 60 * @param statement The sqlite statement 63 public static void bind(SupportSQLiteProgram statement, Object[] bindArgs) { argument 70 bind(statement, i + 1, arg); 74 private static void bind(SupportSQLiteProgram statement, int index, Object arg) { argument 77 statement.bindNull(index); 79 statement [all...] |
H A D | SupportSQLiteQuery.java | 33 * Callback to bind the query parameters to the compiled statement. 35 * @param statement The compiled statement 37 void bindTo(SupportSQLiteProgram statement); argument
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | Statement.java | 22 * An immutable value type representing a statement, consisting of a source, target, and relation. 60 * Returns the source asset of the statement. 68 * Returns the target asset of the statement. 76 * Returns the relation of the statement. 89 * Statement statement = Statement.create(asset, relation); 106 Statement statement = (Statement) o; 108 if (!mRelation.equals(statement.mRelation)) { 111 if (!mTarget.equals(statement.mTarget)) { 114 if (!mSource.equals(statement.mSource)) { 131 StringBuilder statement [all...] |
H A D | StatementParser.java | 67 * Parses a single JSON statement. 77 * Parses a single JSON statement. This method guarantees that exactly one JSON object 85 JSONObject statement = JsonParser.parse(reader); 87 if (statement.optString(Utils.DELEGATE_FIELD_DELEGATE, null) != null) { 88 delegates.add(statement.optString(Utils.DELEGATE_FIELD_DELEGATE)); 90 JSONObject targetObject = statement.optJSONObject(Utils.ASSET_DESCRIPTOR_FIELD_TARGET); 96 JSONArray relations = statement.optJSONArray(Utils.ASSET_DESCRIPTOR_FIELD_RELATION);
|
/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 422 // Update prepared statement cache size. 449 // Returns true if the prepared statement cache contains the specified SQL. 471 * Prepares a statement for execution but does not bind its parameters or execute it. 474 * prior to execution of the statement. If the {@code outStatementInfo} argument 476 * with information about the statement. 478 * A prepared statement makes no reference to the arguments that may eventually 480 * such as SELECT or INSERT/UPDATE statements. If the statement is cacheable, 484 * provides a method to acquire a connection that already has a given SQL statement 485 * in its prepared statement cach 912 releasePreparedStatement(PreparedStatement statement) argument 935 finalizePreparedStatement(PreparedStatement statement) argument 980 bindArguments(PreparedStatement statement, Object[] bindArgs) argument 1024 throwIfStatementForbidden(PreparedStatement statement) argument 1039 applyBlockGuardPolicy(PreparedStatement statement) argument 1200 recyclePreparedStatement(PreparedStatement statement) argument [all...] |
H A D | SQLiteDatabase.java | 258 * Each prepared-statement is between 1K - 6K, depending on the complexity of the 259 * SQL statement & schema. A large SQL cache may use a significant amount of memory. 1054 * Compiles an SQL statement into a reusable pre-compiled statement object. 1056 * statement and fill in those values with {@link SQLiteProgram#bindString} 1058 * statement. Statements may not return result sets larger than 1x1. 1062 * @param sql The raw SQL statement, may contain ? for unknown values to be 1546 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); 1548 return statement.executeInsert(); 1550 statement [all...] |
/frameworks/base/tests/testables/src/android/testing/ |
H A D | AndroidTestingRunner.java | 17 import android.support.test.internal.runner.junit4.statement.RunAfters; 18 import android.support.test.internal.runner.junit4.statement.RunBefores; 19 import android.support.test.internal.runner.junit4.statement.UiThreadStatement; 56 final Statement statement = super.methodInvoker(method, test); 57 return shouldRunOnUiThread(method) ? new UiThreadStatement(statement, true) : statement; 60 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { argument 63 return befores.isEmpty() ? statement : new RunBefores(method, statement, 67 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteConnection.cpp | 93 // Called each time a statement begins execution, when tracing is enabled. 100 // Called each time a statement finishes execution, when profiling is enabled. 302 sqlite3_stmt* statement; local 304 sql, sqlLength * sizeof(jchar), &statement, NULL); 323 ALOGV("Prepared statement %p on connection %p", statement, connection->db); 324 return reinterpret_cast<jlong>(statement); 330 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 333 // whether any errors occurred while executing the statement. The statement itsel 341 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 348 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 355 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 362 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 378 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 389 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 400 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 411 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 426 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 440 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 451 executeNonQuery(JNIEnv* env, SQLiteConnection* connection, sqlite3_stmt* statement) argument 465 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 473 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 482 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 489 executeOneRowQuery(JNIEnv* env, SQLiteConnection* connection, sqlite3_stmt* statement) argument 500 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 512 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 562 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 583 copyRow(JNIEnv* env, CursorWindow* window, sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) argument 680 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local [all...] |
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/ |
H A D | SharedSQLiteStatement.java | 30 * statement until it is released. 43 * Creates an SQLite prepared statement that can be re-used across threads. If it is in use, 46 * @param database The database to create the statement in. 76 // it is in use, create a one off statement 83 * Call this to get the statement. Must call {@link #release(SupportSQLiteStatement)} once done. 91 * Must call this when statement will not be used anymore. 93 * @param statement The statement that was returned from acquire. 95 public void release(SupportSQLiteStatement statement) { argument 96 if (statement [all...] |
H A D | EntityDeletionOrUpdateAdapter.java | 51 * Binds the entity into the given statement. 53 * @param statement The SQLite statement that prepared for the query returned from 57 protected abstract void bind(SupportSQLiteStatement statement, T entity); argument
|
H A D | EntityInsertionAdapter.java | 47 * Binds the entity into the given statement. 49 * @param statement The SQLite statement that prepared for the query returned from 53 protected abstract void bind(SupportSQLiteStatement statement, T entity); argument
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
H A D | WakeLockRule.java | 37 public Statement apply(final Statement statement, Description description) { argument 44 statement.evaluate();
|
/frameworks/base/tools/aapt2/java/ |
H A D | ClassDefinition.cpp | 29 void MethodDefinition::AppendStatement(const StringPiece& statement) { argument 30 statements_.push_back(statement.to_string()); 36 for (const auto& statement : statements_) { 37 *out << prefix << " " << statement << "\n"; local
|
H A D | ClassDefinition.h | 176 // Appends a single statement to the method. It should include no newlines or else 178 void AppendStatement(const android::StringPiece& statement);
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/parser/ |
H A D | SqlParser.kt | 33 statement: ParseTree) : SQLiteBaseVisitor<Void?>() { 41 queryType = (0..statement.childCount - 1).map { 42 findQueryType(statement.getChild(it)) 45 statement.accept(this) 48 private fun findQueryType(statement: ParseTree): QueryType { 49 return when (statement) { 65 is TerminalNode -> when (statement.text) { 149 val statement = statements.first() 150 return QueryVisitor(input, syntaxErrors, statement).createParsedQuery()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
H A D | TimedStatement.java | 55 TimedStatement(Statement statement, int warmUpIterations, int runs, argument 57 mStatement = statement;
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
H A D | DirectStatementService.java | 239 for (Statement statement : statements.getStatements()) { 240 if (relation.matches(statement.getRelation()) 241 && target.matches(statement.getTarget())) {
|
/frameworks/support/persistence/db-framework/src/main/java/android/arch/persistence/db/framework/ |
H A D | FrameworkSQLiteDatabase.java | 194 SupportSQLiteStatement statement = compileStatement(query); 195 SimpleSQLiteQuery.bind(statement, whereArgs); 196 return statement.executeUpdateDelete();
|
/frameworks/support/room/runtime/src/test/java/android/arch/persistence/room/ |
H A D | InvalidationTrackerTest.java | 73 final SupportSQLiteStatement statement = mock(SupportSQLiteStatement.class); 76 doReturn(statement).when(sqliteDb).compileStatement(eq(InvalidationTracker.CLEANUP_SQL));
|
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 993 * the same statement. 1077 if (DEBUG) Log.v(TAG, "insert statement is " + mInsertSQL); 1103 * @param allowReplace if true, the statement does "INSERT OR 1369 for (String statement : statements) { 1370 if (TextUtils.isEmpty(statement)) continue; 1371 db.execSQL(statement); 1378 * Returns one of the following which represent the type of the given SQL statement. 1388 * @param sql the SQL statement whose type is returned by this method
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | doclava.jar | META-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ... |