/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
DatabaseAuthorizer.h | 54 int createTable(const String& tableName); 55 int createTempTable(const String& tableName); 56 int dropTable(const String& tableName); 57 int dropTempTable(const String& tableName); 58 int allowAlterTable(const String& databaseName, const String& tableName); 60 int createIndex(const String& indexName, const String& tableName); 61 int createTempIndex(const String& indexName, const String& tableName); 62 int dropIndex(const String& indexName, const String& tableName); 63 int dropTempIndex(const String& indexName, const String& tableName); 65 int createTrigger(const String& triggerName, const String& tableName); [all...] |
DatabaseAuthorizer.cpp | 126 int DatabaseAuthorizer::createTable(const String& tableName) 132 return denyBasedOnTableName(tableName); 135 int DatabaseAuthorizer::createTempTable(const String& tableName) 143 return denyBasedOnTableName(tableName); 146 int DatabaseAuthorizer::dropTable(const String& tableName) 151 return updateDeletesBasedOnTableName(tableName); 154 int DatabaseAuthorizer::dropTempTable(const String& tableName) 162 return updateDeletesBasedOnTableName(tableName); 165 int DatabaseAuthorizer::allowAlterTable(const String&, const String& tableName) 171 return denyBasedOnTableName(tableName); [all...] |
DatabaseBackendBase.cpp | 358 String tableName(infoTableName); 359 if (!m_sqliteDatabase.tableExists(tableName)) { 362 if (!m_sqliteDatabase.executeCommand("CREATE TABLE " + tableName + " (key TEXT NOT NULL ON CONFLICT FAIL UNIQUE ON CONFLICT REPLACE,value TEXT NOT NULL ON CONFLICT FAIL);")) {
|
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/translate/ |
ITranslatorService.aidl | 34 boolean checkTable(String tableName); 37 * Translates text into braille according to the give tableName. 40 byte[] translate(String text, String tableName); 46 String backTranslate(in byte[] cells, String tableName);
|
TranslatorManager.java | 108 * table specified by {@code tableName}. 111 public BrailleTranslator getTranslator(String tableName) { 115 if (localService.checkTable(tableName)) { 116 return new BrailleTranslatorImpl(tableName);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
DatabaseTableView.js | 30 WebInspector.DatabaseTableView = function(database, tableName) 35 this.tableName = tableName; 56 * @param {string} tableName 59 _escapeTableName: function(tableName) 61 return tableName.replace(/\"/g, "\"\""); 66 this.database.executeSql("SELECT * FROM \"" + this._escapeTableName(this.tableName) + "\"", this._queryFinished.bind(this), this._queryError.bind(this)); 76 this._emptyView = new WebInspector.EmptyView(WebInspector.UIString("The ?%s?\ntable is empty.", this.tableName)); 91 errorMsgElement.textContent = WebInspector.UIString("An error occurred trying to\nread the ?%s? table.", this.tableName);
|
ResourcesPanel.js | 468 * @param {string=} tableName 470 _showDatabase: function(database, tableName) 476 if (tableName) { 482 view = tableViews[tableName]; 484 view = new WebInspector.DatabaseTableView(database, tableName); 485 tableViews[tableName] = view; 622 for (var tableName in tableViews) { 623 if (!(tableName in tableNamesHash)) { 624 if (self.visibleView === tableViews[tableName]) 626 delete tableViews[tableName]; [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
AggregatorStorage.java | 37 DBHelper(Context context, String tableName, String tableCmd) { 39 mTableName = tableName;
|
AggregatorRecordStorage.java | 57 public AggregatorRecordStorage(Context context, String tableName, String [] columnNames) { 62 mTableName = tableName; 64 String tableCmd = "create table " + tableName + "( " + columnNames[0] + 71 mDbHelper = new DBHelper(context, tableName, tableCmd); 74 throw new RuntimeException("Can't open table: " + tableName);
|
/cts/tests/tests/database/src/android/database/cts/ |
CursorJoinerTest.java | 226 private void createTable(String tableName, String columnNames) { 227 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames 232 private void addValuesIntoTable(String tableName, int start, int end) { 234 mDatabase.execSQL("INSERT INTO " + tableName + "(number) VALUES ('" 239 private void addValueIntoTable(String tableName, String value) { 240 mDatabase.execSQL("INSERT INTO " + tableName + "(number) VALUES ('" + value + "');"); 243 private void deleteValueFromTable(String tableName, String value) { 244 mDatabase.execSQL("DELETE FROM " + tableName + " WHERE number = '" + value + "';"); 247 private Cursor getCursor(String tableName, String selection, String[] columnNames) { 248 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number") [all...] |
MergeCursorTest.java | 308 byte[] blob, String tablename) { 314 mDatabase.execSQL("CREATE TABLE " + tablename + " (_id INTEGER PRIMARY KEY," 318 String sql = "INSERT INTO " + tablename + " (string_text, double_number, int_number," 322 sql = "INSERT INTO " + tablename + " (string_text) VALUES ('" + COLUMN_FOR_NULL_TEST + "')"; 340 private void createTable(String tableName, String columnNames) { 341 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames 346 private void addValuesIntoTable(String tableName, int start, int end) { 348 mDatabase.execSQL("INSERT INTO " + tableName + "(number_1) VALUES ('" 353 private Cursor getCursor(String tableName, String selection, String[] columnNames) { 354 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number_1") [all...] |
/external/javasqlite/src/main/java/SQLite/ |
Shell.java | 24 String tableName; 57 s.tableName = tableName; 156 tableName = ""; 160 tableName = Shell.sql_quote_dbl(str); 162 tableName = Shell.sql_quote(str); 262 tname = tableName; 283 tname = tableName;
|
/libcore/luni/src/test/java/tests/java/sql/ |
DeleteFunctionalityTest.java | 64 String tableName = userTab.getString("TABLE_NAME"); 65 if (tableName.equals(DatabaseCreator.PARENT_TABLE)) { 68 } else if (tableName 72 } else if (tableName 76 } else if (tableName
|
InsertFunctionalityTest.java | 61 String tableName = userTab.getString("TABLE_NAME"); 62 if (tableName.equals(DatabaseCreator.PARENT_TABLE)) { 65 } else if (tableName 69 } else if (tableName 73 } else if (tableName 77 } else if (tableName 81 } else if (tableName
|
UpdateFunctionalityTest2.java | 70 String tableName = userTab.getString("TABLE_NAME"); 71 if (tableName.equals(DatabaseCreator.PARENT_TABLE)) { 74 } else if (tableName 78 } else if (tableName 82 } else if (tableName 86 } else if (tableName 90 } else if (tableName
|
UpdateFunctionalityTest.java | 70 String tableName = userTab.getString("TABLE_NAME"); 71 if (tableName.equals(DatabaseCreator.TEST_TABLE1)) { 73 } else if (tableName 76 } else if (tableName
|
MultiThreadAccessTest.java | 74 String tableName = userTab.getString("TABLE_NAME"); 75 if (tableName.equals(DatabaseCreator.TEST_TABLE1)) { 77 } else if (tableName 80 } else if (tableName 83 } else if (tableName
|
StressTest.java | 64 String tableName = userTab.getString("TABLE_NAME"); 65 if (tableName.equals(DatabaseCreator.TEST_TABLE2)) {
|
SelectFunctionalityTest.java | 77 String tableName = userTab.getString("TABLE_NAME"); 78 if (tableName.equals(DatabaseCreator.TEST_TABLE2)) { 80 } else if (tableName 84 } else if (tableName 88 } else if (tableName
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
EntrySchema.java | 296 String tableName = mTableName; 297 Utils.assertTrue(tableName != null); 301 sql.append(tableName); 335 sql.append(tableName); 339 sql.append(tableName); 350 String ftsTableName = tableName + FULL_TEXT_INDEX_SUFFIX; 390 sql.append(tableName); 392 sql.append(tableName); 401 sql.append(tableName); 403 sql.append(tableName); [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DbModifierWithNotification.java | 76 public DbModifierWithNotification(String tableName, SQLiteDatabase db, Context context) { 77 this(tableName, db, null, context); 80 public DbModifierWithNotification(String tableName, InsertHelper insertHelper, 82 this(tableName, null, insertHelper, context); 85 private DbModifierWithNotification(String tableName, SQLiteDatabase db, 87 mTableName = tableName;
|
VoicemailStatusTable.java | 54 public VoicemailStatusTable(String tableName, Context context, SQLiteOpenHelper dbHelper, 56 mTableName = tableName;
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteCursorTest.java | 219 private void createTable(String tableName, String columnNames) { 220 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " 225 private void addValuesIntoTable(String tableName, int start, int end) { 227 mDatabase.execSQL("INSERT INTO " + tableName + "(number_1) VALUES ('" + i + "');");
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarSyncTestingBase.java | 365 Set<String> columnsToSkip, String tableName) { 369 assertEquals(tableName + " count failed to match", cursor1.getCount(), 380 assertEquals("Row: " + row + " Table: " + tableName + ": " + cols[i] +
|
/packages/apps/Email/src/com/android/email/provider/ |
DBHelper.java | 185 static String createIndex(String tableName, String columnName) { 186 return "create index " + tableName.toLowerCase() + '_' + columnName 187 + " on " + tableName + " (" + columnName + ");"; 403 * @param tableName The name of this particular table. 406 final String tableName) { 407 db.execSQL(createIndex(tableName, MessageChangeLogTable.MESSAGE_KEY)); 408 db.execSQL(createIndex(tableName, MessageChangeLogTable.ACCOUNT_KEY)); 414 * @param tableName The name of this particular table. 417 final String tableName) { 419 db.execSQL("create trigger " + tableName + "_delete_message before delete on [all...] |