Home
last modified time | relevance | path

Searched refs:TABLE_NAME (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java51 private static final String TABLE_NAME = "test"; field in DatabaseUtilsTest
63 mDatabase.execSQL("CREATE TABLE " + TABLE_NAME + " (_id INTEGER PRIMARY KEY, " + in setUp()
116 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, in testBindObjectToProgram()
121 String sql = "INSERT INTO " + TABLE_NAME + " (name, age, address) VALUES (?, ?, ?);"; in testBindObjectToProgram()
129 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null); in testBindObjectToProgram()
140 String sqls = "CREATE TABLE " + TABLE_NAME + " (_id INTEGER PRIMARY KEY, name TEXT);\n" in testCreateDbFromSqlStatements()
141 + "INSERT INTO " + TABLE_NAME + " (name) VALUES ('Mike');\n"; in testCreateDbFromSqlStatements()
149 Cursor cursor = db.query(TABLE_NAME, PROJECTION, null, null, null, null, null); in testCreateDbFromSqlStatements()
158 mDatabase.execSQL("INSERT INTO " + TABLE_NAME + " (name, age, address)" + in testCursorDoubleToContentValues()
160 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, in testCursorDoubleToContentValues()
[all …]
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteCursorTest.java39 private static final String TABLE_NAME = "test"; field in SQLiteCursorTest
51 createTable(TABLE_NAME, TABLE_COLUMNS); in setUp()
52 addValuesIntoTable(TABLE_NAME, DEFAULT_TABLE_VALUE_BEGINS, TEST_COUNT); in setUp()
64 TEST_SQL, TABLE_NAME, null); in testConstructor()
66 new SQLiteCursor(mDatabase, cursorDriver, TABLE_NAME, null); in testConstructor()
143 final String DELETE = "DELETE FROM " + TABLE_NAME + " WHERE number_1 ="; in testRequery()
205 SQLiteCursor cursor = (SQLiteCursor) mDatabase.query(TABLE_NAME, null, SELECTION, in testSetSelectionArguments()
232 SQLiteCursor cursor = (SQLiteCursor) mDatabase.query(TABLE_NAME, null, null, in getCursor()
DSQLiteDatabaseTest.java54 private static final String TABLE_NAME = "test"; field in SQLiteDatabaseTest
374 int count = mDatabase.delete(TABLE_NAME, "name = 'Mike'", null); in testDelete()
377 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, in testDelete()
393 count = mDatabase.delete(TABLE_NAME, "name = ?", new String[] { "Jack" }); in testDelete()
396 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, in testDelete()
411 count = mDatabase.delete(TABLE_NAME, null, null); in testDelete()
414 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null); in testDelete()
427 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, in testExecSQL()
440 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null); in testExecSQL()
456 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null); in testExecSQL()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java86 private static final String TABLE_NAME = "results"; field in TestResultsProvider
117 db.execSQL("CREATE TABLE " + TABLE_NAME + " (" in onCreate()
128 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); in onUpgrade()
137 query.setTables(TABLE_NAME); in query()
167 long id = db.insert(TABLE_NAME, null, values); in insert()
204 int numUpdated = db.update(TABLE_NAME, values, selection, selectionArgs); in update()
215 int numDeleted = db.delete(TABLE_NAME, selection, selectionArgs); in delete()
/cts/tools/dex-tools/dex/
Dclasses.out.dex62368 public static final java.lang.String TABLE_NAME
62678 public static final java.lang.String TABLE_NAME
62796 public static final java.lang.String TABLE_NAME
62917 public static final java.lang.String TABLE_NAME
62964 public static final java.lang.String TABLE_NAME
63031 public static final java.lang.String TABLE_NAME