/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseStatementTest.java | 82 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test"); in testExecuteStatement() local 83 statement.execute(); in testExecuteStatement() 88 statement.close(); in testExecuteStatement() 131 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); in testStatementLongBinding() local 134 statement.bindLong(1, i); in testStatementLongBinding() 135 statement.execute(); in testStatementLongBinding() 137 statement.close(); in testStatementLongBinding() 153 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); in testStatementStringBinding() local 156 statement.bindString(1, Long.toHexString(i)); in testStatementStringBinding() 157 statement.execute(); in testStatementStringBinding() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteConnection.java | 529 final Pair<String, Object[]> statement = mConfiguration.perConnectionSql.get(i); in executePerConnectionSqlFromConfiguration() local 530 final int type = DatabaseUtils.getSqlStatementType(statement.first); in executePerConnectionSqlFromConfiguration() 533 executeForString(statement.first, statement.second, null); in executePerConnectionSqlFromConfiguration() 536 execute(statement.first, statement.second, null); in executePerConnectionSqlFromConfiguration() 540 "Unsupported configuration statement: " + statement); in executePerConnectionSqlFromConfiguration() 686 final PreparedStatement statement = acquirePreparedStatement(sql); in prepare() local 689 outStatementInfo.numParameters = statement.mNumParameters; in prepare() 690 outStatementInfo.readOnly = statement.mReadOnly; in prepare() 693 mConnectionPtr, statement.mStatementPtr); in prepare() 700 mConnectionPtr, statement.mStatementPtr, i); in prepare() [all …]
|
D | SQLiteDatabase.java | 1979 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in insertWithOnConflict() local 1981 return statement.executeInsert(); in insertWithOnConflict() 1983 statement.close(); in insertWithOnConflict() 2008 SQLiteStatement statement = new SQLiteStatement(this, "DELETE FROM " + table + in delete() local 2011 return statement.executeUpdateDelete(); in delete() 2013 statement.close(); in delete() 2089 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in updateWithOnConflict() local 2091 return statement.executeUpdateDelete(); in updateWithOnConflict() 2093 statement.close(); in updateWithOnConflict() 2206 try (SQLiteStatement statement = new SQLiteStatement(this, sql, bindArgs)) { in executeSql() argument [all …]
|
D | SQLiteSession.java | 961 void releasePersistentStatement(@NonNull SQLiteConnection.PreparedStatement statement, in releasePersistentStatement() argument 963 mConnection.releasePreparedStatement(statement); in releasePersistentStatement()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | Statement.java | 111 Statement statement = (Statement) o; in equals() local 113 if (!mRelation.equals(statement.mRelation)) { in equals() 116 if (!mTarget.equals(statement.mTarget)) { in equals() 119 if (!mSource.equals(statement.mSource)) { in equals() 136 StringBuilder statement = new StringBuilder(); in toString() local 137 statement.append("Statement: "); in toString() 138 statement.append(mSource); in toString() 139 statement.append(", "); in toString() 140 statement.append(mTarget); in toString() 141 statement.append(", "); in toString() [all …]
|
/frameworks/base/core/jni/ |
D | android_database_SQLiteConnection.cpp | 380 sqlite3_stmt* statement; in nativePrepareStatement() local 382 sql, sqlLength * sizeof(jchar), &statement, NULL); in nativePrepareStatement() 401 ALOGV("Prepared statement %p on connection %p", statement, connection->db); in nativePrepareStatement() 402 return reinterpret_cast<jlong>(statement); in nativePrepareStatement() 408 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); in nativeFinalizeStatement() local 413 ALOGV("Finalized statement %p on connection %p", statement, connection->db); in nativeFinalizeStatement() 414 sqlite3_finalize(statement); in nativeFinalizeStatement() 419 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); in nativeGetParameterCount() local 421 return sqlite3_bind_parameter_count(statement); in nativeGetParameterCount() 426 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); in nativeIsReadOnly() local [all …]
|
D | android_database_SQLiteRawStatement.cpp | 135 sqlite3_stmt* statement = stmt(stmtPtr); in step() local 136 int err = sqlite3_step(statement); in step()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | AndroidTestingRunner.java | 20 import androidx.test.internal.runner.junit4.statement.RunAfters; 21 import androidx.test.internal.runner.junit4.statement.RunBefores; 22 import androidx.test.internal.runner.junit4.statement.UiThreadStatement; 56 final Statement statement = super.methodInvoker(method, test); in methodInvoker() local 57 return shouldRunOnUiThread(method) ? new UiThreadStatement(statement, true) : statement; in methodInvoker() 60 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { in withBefores() argument 63 return befores.isEmpty() ? statement : new RunBefores(method, statement, in withBefores() 67 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters() argument 70 return afters.isEmpty() ? statement : new RunAfters(method, statement, afters, in withAfters()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestRunner.java | 58 private Statement wrapStatement(Statement statement, FrameworkMethod method, Object target) { in wrapStatement() argument 60 statement = wrapper.apply(statement, describeChild(method)); in wrapStatement() 62 return statement; in wrapStatement() 73 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { in withBefores() argument 75 return statement; in withBefores() 82 return new RunBefores(statement, befores, target); in withBefores() 94 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters() argument 96 return statement; in withAfters() 103 return new RunAfters(statement, afters, target); in withAfters()
|
/frameworks/base/tools/aapt2/java/ |
D | ClassDefinition.cpp | 30 void MethodDefinition::AppendStatement(StringPiece statement) { in AppendStatement() argument 31 statements_.emplace_back(statement); in AppendStatement() 37 for (const auto& statement : statements_) { in Print() local 38 printer->Println(statement); in Print()
|
D | ClassDefinition.h | 218 void AppendStatement(android::StringPiece statement);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/ |
D | StatementParser.kt | 85 val statement = JsonParser.parse(reader) in <lambda>() constant 86 val delegate = statement.optString(StatementUtils.DELEGATE_FIELD_DELEGATE) in <lambda>() 91 val targetObject = statement.optJSONObject(StatementUtils.ASSET_DESCRIPTOR_FIELD_TARGET) in <lambda>() 95 val relations = statement.optJSONArray(StatementUtils.ASSET_DESCRIPTOR_FIELD_RELATION) in <lambda>()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_disconnect_race.cpp | 40 #define MY_ASSERT_TRUE(statement) \ argument 41 if (!(statement)) { \ 42 printf("ERROR line:%d - " #statement "\n", __LINE__); \
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/ |
D | DomainVerifier.kt | 114 val isVerified = result.statements.any { statement -> in <lambda>() method 115 (StatementUtils.RELATION.matches(statement.relation) && in <lambda>() 116 assetMatcher.matches(statement.target)) in <lambda>()
|
/frameworks/base/tests/PlatformCompatGating/test-rules/src/android/compat/testing/ |
D | PlatformCompatChangeRule.java | 73 protected Statement createStatementForConfig(final Statement statement, ChangeConfig config) { in createStatementForConfig() argument 74 return new CompatChangeStatement(statement, config); in createStatementForConfig()
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 55 TimedStatement(Statement statement, int warmUpIterations, int runs, in TimedStatement() argument 57 mStatement = statement; in TimedStatement()
|
/frameworks/base/core/proto/android/internal/ |
D | protolog.proto | 29 /* log statement identifier, created from message string and log level. */ 42 /* log statement identifier, created from message string and log level. */
|
/frameworks/base/tools/protologtool/ |
D | README.md | 39 …returns false the log statement is removed entirely from the resultant code. The real generated co… 108 ### Adding a new logging group or log statement 112 To add a new logging statement just add a new call to ProtoLog.x where x is a log level.
|
/frameworks/native/libs/ftl/ |
D | Android.bp | 44 "-Wno-gnu-statement-expression-from-macro-expansion",
|
/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/ |
D | SystemPreparer.java | 315 Statement statement = mTestRule.apply(base, description); in apply() field in SystemPreparer 317 return statement; in apply()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | ExitDesktopTaskTransitionHandlerTest.java | 22 import static androidx.test.internal.runner.junit4.statement.UiThreadStatement.runOnUiThread;
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/ |
D | README.md | 40 include a return statement at the end of the code block.
|
/frameworks/base/core/java/android/database/ |
D | DatabaseUtils.java | 1571 for (String statement : statements) { in createDbFromSqlStatements() 1572 if (TextUtils.isEmpty(statement)) continue; in createDbFromSqlStatements() 1573 db.execSQL(statement); in createDbFromSqlStatements()
|
/frameworks/av/services/mediaextractor/ |
D | NOTICE | 136 You may add Your own copyright statement to Your modifications and
|
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
D | NOTICE | 136 You may add Your own copyright statement to Your modifications and
|