OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:insertstatement
(Results
1 - 3
of
3
) sorted by null
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SQLiteStatementTest.java
40
SQLiteStatement
insertStatement
= database.compileStatement("INSERT INTO `routine` (`name` ,`lastUsed` ) VALUES (?,?)");
41
insertStatement
.bindString(1, "Leg Press");
42
insertStatement
.bindLong(2, 0);
43
long pkeyOne =
insertStatement
.executeInsert();
44
insertStatement
.clearBindings();
45
insertStatement
.bindString(1, "Bench Press");
46
insertStatement
.bindLong(2, 1);
47
long pkeyTwo =
insertStatement
.executeInsert();
76
SQLiteStatement
insertStatement
= database.compileStatement("INSERT INTO `countme` (`name` ,`lastUsed` ) VALUES (?,?)");
77
insertStatement
.bindString(1, "Leg Press")
[
all
...]
/cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteDatabaseTest.java
339
SQLiteStatement
insertStatement
= mDatabase.compileStatement(sql);
340
DatabaseUtils.bindObjectToProgram(
insertStatement
, 1, name);
341
DatabaseUtils.bindObjectToProgram(
insertStatement
, 2, age);
342
DatabaseUtils.bindObjectToProgram(
insertStatement
, 3, address);
343
insertStatement
.execute();
344
insertStatement
.close();
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentResolver.java
24
private final List<
InsertStatement
> insertStatements = new ArrayList<
InsertStatement
>();
99
InsertStatement
insertStatement
= new
InsertStatement
(url, new ContentValues(values));
100
insertStatements.add(
insertStatement
);
298
public List<
InsertStatement
> getInsertStatements() {
344
public static class
InsertStatement
{
348
public
InsertStatement
(Uri uri, ContentValues contentValues) {
Completed in 352 milliseconds