Searched refs:tableName (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/permission/src/android/permission/cts/ |
D | TvPermissionTest.java | 45 public void verifyInsert(Uri uri, String tableName) throws Exception { in verifyInsert() argument 49 fail("Accessing " + tableName + " table should require WRITE_EPG_DATA permission."); in verifyInsert() 55 public void verifyUpdate(Uri uri, String tableName) throws Exception { in verifyUpdate() argument 59 fail("Accessing " + tableName + " table should require WRITE_EPG_DATA permission."); in verifyUpdate() 65 public void verifyDelete(Uri uri, String tableName) throws Exception { in verifyDelete() argument 68 fail("Accessing " + tableName + " table should require WRITE_EPG_DATA permission."); in verifyDelete()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorJoinerTest.java | 226 private void createTable(String tableName, String columnNames) { in createTable() argument 227 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames in createTable() 232 private void addValuesIntoTable(String tableName, int start, int end) { in addValuesIntoTable() argument 234 mDatabase.execSQL("INSERT INTO " + tableName + "(number) VALUES ('" in addValuesIntoTable() 239 private void addValueIntoTable(String tableName, String value) { in addValueIntoTable() argument 240 mDatabase.execSQL("INSERT INTO " + tableName + "(number) VALUES ('" + value + "');"); in addValueIntoTable() 243 private void deleteValueFromTable(String tableName, String value) { in deleteValueFromTable() argument 244 mDatabase.execSQL("DELETE FROM " + tableName + " WHERE number = '" + value + "';"); in deleteValueFromTable() 247 private Cursor getCursor(String tableName, String selection, String[] columnNames) { in getCursor() argument 248 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number"); in getCursor()
|
D | MergeCursorTest.java | 340 private void createTable(String tableName, String columnNames) { in createTable() argument 341 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames in createTable() 346 private void addValuesIntoTable(String tableName, int start, int end) { in addValuesIntoTable() argument 348 mDatabase.execSQL("INSERT INTO " + tableName + "(number_1) VALUES ('" in addValuesIntoTable() 353 private Cursor getCursor(String tableName, String selection, String[] columnNames) { in getCursor() argument 354 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number_1"); in getCursor()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteCursorTest.java | 262 private void createTable(String tableName, String columnNames) { in createTable() argument 263 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " in createTable() 268 private void addValuesIntoTable(String tableName, int start, int end) { in addValuesIntoTable() argument 270 mDatabase.execSQL("INSERT INTO " + tableName + "(number_1) VALUES ('" + i + "');"); in addValuesIntoTable()
|