Home
last modified time | relevance | path

Searched refs:stmt (Results 1 – 15 of 15) sorted by relevance

/frameworks/support/room/runtime/src/main/java/androidx/room/
DEntityInsertionAdapter.java61 final SupportSQLiteStatement stmt = acquire(); in insert() local
63 bind(stmt, entity); in insert()
64 stmt.executeInsert(); in insert()
66 release(stmt); in insert()
76 final SupportSQLiteStatement stmt = acquire(); in insert() local
79 bind(stmt, entity); in insert()
80 stmt.executeInsert(); in insert()
83 release(stmt); in insert()
93 final SupportSQLiteStatement stmt = acquire(); in insert() local
96 bind(stmt, entity); in insert()
[all …]
DEntityDeletionOrUpdateAdapter.java67 final SupportSQLiteStatement stmt = acquire(); in handle() local
69 bind(stmt, entity); in handle()
70 return stmt.executeUpdateDelete(); in handle()
72 release(stmt); in handle()
83 final SupportSQLiteStatement stmt = acquire(); in handleMultiple() local
87 bind(stmt, entity); in handleMultiple()
88 total += stmt.executeUpdateDelete(); in handleMultiple()
92 release(stmt); in handleMultiple()
103 final SupportSQLiteStatement stmt = acquire(); in handleMultiple() local
107 bind(stmt, entity); in handleMultiple()
[all …]
DSharedSQLiteStatement.java69 final SupportSQLiteStatement stmt; in getStmt() local
74 stmt = mStmt; in getStmt()
77 stmt = createNewStatement(); in getStmt()
79 return stmt; in getStmt()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java425 SQLiteStatement stmt = null; in onUpgrade() local
431 stmt = db.compileStatement("INSERT INTO system(name,value)" in onUpgrade()
433 loadDefaultAnimationSettings(stmt); in onUpgrade()
437 if (stmt != null) stmt.close(); in onUpgrade()
460 SQLiteStatement stmt = null; in onUpgrade() local
462 stmt = db.compileStatement("INSERT OR IGNORE INTO secure(name,value)" in onUpgrade()
464 loadSecure35Settings(stmt); in onUpgrade()
468 if (stmt != null) stmt.close(); in onUpgrade()
503 SQLiteStatement stmt = null; in onUpgrade() local
505 stmt = db.compileStatement("INSERT OR IGNORE INTO system(name,value)" in onUpgrade()
[all …]
/frameworks/support/room/compiler/src/test/data/daoWriter/output/
DWriterDao.java50 public void bind(SupportSQLiteStatement stmt, User value) { in WriterDao_Impl()
51 stmt.bindLong(1, value.uid); in WriterDao_Impl()
53 stmt.bindNull(2); in WriterDao_Impl()
55 stmt.bindString(2, value.name); in WriterDao_Impl()
58 stmt.bindNull(3); in WriterDao_Impl()
60 stmt.bindString(3, value.getLastName()); in WriterDao_Impl()
62 stmt.bindLong(4, value.age); in WriterDao_Impl()
73 public void bind(SupportSQLiteStatement stmt, User value) { in WriterDao_Impl()
74 stmt.bindLong(1, value.uid); in WriterDao_Impl()
76 stmt.bindNull(2); in WriterDao_Impl()
[all …]
DUpdateDao.java37 public void bind(SupportSQLiteStatement stmt, User value) { in UpdateDao_Impl()
38 stmt.bindLong(1, value.uid); in UpdateDao_Impl()
40 stmt.bindNull(2); in UpdateDao_Impl()
42 stmt.bindString(2, value.name); in UpdateDao_Impl()
45 stmt.bindNull(3); in UpdateDao_Impl()
47 stmt.bindString(3, value.getLastName()); in UpdateDao_Impl()
49 stmt.bindLong(4, value.age); in UpdateDao_Impl()
50 stmt.bindLong(5, value.uid); in UpdateDao_Impl()
60 public void bind(SupportSQLiteStatement stmt, MultiPKeyEntity value) { in UpdateDao_Impl()
62 stmt.bindNull(1); in UpdateDao_Impl()
[all …]
DDeletionDao.java39 public void bind(SupportSQLiteStatement stmt, User value) { in DeletionDao_Impl()
40 stmt.bindLong(1, value.uid); in DeletionDao_Impl()
50 public void bind(SupportSQLiteStatement stmt, MultiPKeyEntity value) { in DeletionDao_Impl()
52 stmt.bindNull(1); in DeletionDao_Impl()
54 stmt.bindString(1, value.name); in DeletionDao_Impl()
57 stmt.bindNull(2); in DeletionDao_Impl()
59 stmt.bindString(2, value.lastName); in DeletionDao_Impl()
70 public void bind(SupportSQLiteStatement stmt, Book value) { in DeletionDao_Impl()
71 stmt.bindLong(1, value.bookId); in DeletionDao_Impl()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
DFieldSetter.kt25 val stmt = when (callType) { in writeSet() constant
30 stmt?.let { in writeSet()
31 builder.addStatement(stmt, ownerVar, name, inVar) in writeSet()
DFieldGetter.kt27 val stmt = when (callType) { in writeGet() constant
32 stmt?.let { in writeGet()
33 builder.addStatement(stmt, TypeName.get(type), outVar, ownerVar, name) in writeGet()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/verifier/
DDatabaseVerifier.kt98 val stmt = connection.createStatement() in <lambda>() constant
99 stmt.executeUpdate(stripLocalizeCollations(entity.createTableQuery)) in <lambda>()
105 val stmt = connection.prepareStatement(stripLocalizeCollations(sql)) in <lambda>() constant
106 QueryResultInfo(stmt.columnInfo()) in <lambda>()
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/verifier/
DDatabaseVerifierTest.kt58 val stmt = verifier.connection.createStatement() in <lambda>() constant
59 val rs = stmt.executeQuery("select * from sqlite_master WHERE type='table'") in <lambda>()
258 val stmt = connection.createStatement() in <lambda>() constant
259 val resultSet = stmt.executeQuery("PRAGMA table_info($tableName)") in <lambda>()
/frameworks/support/persistence/db-framework/src/main/java/androidx/sqlite/db/framework/
DFrameworkSQLiteDatabase.java235 SupportSQLiteStatement stmt = compileStatement(sql.toString());
236 SimpleSQLiteQuery.bind(stmt, bindArgs);
237 return stmt.executeUpdateDelete();
/frameworks/base/core/java/android/database/
DDatabaseUtils.java1119 SQLiteStatement stmt = getStatement(allowReplace); in insertInternal() local
1120 stmt.clearBindings(); in insertInternal()
1125 DatabaseUtils.bindObjectToProgram(stmt, i, e.getValue()); in insertInternal()
1131 long result = stmt.executeInsert(); in insertInternal()
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py355 stmt = "\n ".join([init,
357 return stmt
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...