Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java427 SQLiteStatement stmt = null; in onUpgrade() local
433 stmt = db.compileStatement("INSERT INTO system(name,value)" in onUpgrade()
435 loadDefaultAnimationSettings(stmt); in onUpgrade()
439 if (stmt != null) stmt.close(); in onUpgrade()
462 SQLiteStatement stmt = null; in onUpgrade() local
464 stmt = db.compileStatement("INSERT OR IGNORE INTO secure(name,value)" in onUpgrade()
466 loadSecure35Settings(stmt); in onUpgrade()
470 if (stmt != null) stmt.close(); in onUpgrade()
505 SQLiteStatement stmt = null; in onUpgrade() local
507 stmt = db.compileStatement("INSERT OR IGNORE INTO system(name,value)" in onUpgrade()
[all …]
/frameworks/base/core/java/android/database/
DDatabaseUtils.java1212 SQLiteStatement stmt = getStatement(allowReplace); in insertInternal() local
1213 stmt.clearBindings(); in insertInternal()
1218 DatabaseUtils.bindObjectToProgram(stmt, i, e.getValue()); in insertInternal()
1224 long result = stmt.executeInsert(); in insertInternal()