Home
last modified time | relevance | path

Searched refs:tableName (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java296 String tableName = mTableName; in createTables() local
297 Utils.assertTrue(tableName != null); in createTables()
301 sql.append(tableName); in createTables()
335 sql.append(tableName); in createTables()
339 sql.append(tableName); in createTables()
350 String ftsTableName = tableName + FULL_TEXT_INDEX_SUFFIX; in createTables()
390 sql.append(tableName); in createTables()
392 sql.append(tableName); in createTables()
401 sql.append(tableName); in createTables()
403 sql.append(tableName); in createTables()
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupDatabaseHelper.java171 String tableName = parser.getAttributeValue(null, "name"); in initDatabase() local
172 loadTable(db, parser, tableName); in initDatabase()
192 private void loadTable(SQLiteDatabase db, XmlPullParser parser, String tableName) in loadTable() argument
199 if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_IDD)) { in loadTable()
201 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_LOOKUP_TABLE)) { in loadTable()
203 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_SID_CONFLICT)) { in loadTable()
205 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_SID_RANGE)) { in loadTable()
207 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_NANP_AREA_CODE)) { in loadTable()
209 } else if (tableName.equalsIgnoreCase( in loadTable()
213 Log.e(TAG, "unrecognized table name" + tableName); in loadTable()
[all …]
DMmsSmsDatabaseHelper.java1853 private boolean hasAutoIncrement(SQLiteDatabase db, String tableName) { in hasAutoIncrement() argument
1856 tableName + "'"; in hasAutoIncrement()
1863 Log.d(TAG, "[MmsSmsDb] tableName: " + tableName + " hasAutoIncrement: " + in hasAutoIncrement()
DTelephonyProvider.java281 private void createCarriersTable(SQLiteDatabase db, String tableName) { in createCarriersTable() argument
283 if (DBG) log("dbh.createCarriersTable: " + tableName); in createCarriersTable()
284 db.execSQL("CREATE TABLE " + tableName + in createCarriersTable()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java80 public DbModifierWithNotification(String tableName, SQLiteDatabase db, Context context) { in DbModifierWithNotification() argument
81 this(tableName, db, null, context); in DbModifierWithNotification()
84 public DbModifierWithNotification(String tableName, InsertHelper insertHelper, in DbModifierWithNotification() argument
86 this(tableName, null, insertHelper, context); in DbModifierWithNotification()
89 private DbModifierWithNotification(String tableName, SQLiteDatabase db, in DbModifierWithNotification() argument
91 mTableName = tableName; in DbModifierWithNotification()
DVoicemailStatusTable.java61 public VoicemailStatusTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, in VoicemailStatusTable() argument
63 mTableName = tableName; in VoicemailStatusTable()
DVoicemailContentTable.java86 public VoicemailContentTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, in VoicemailContentTable() argument
89 mTableName = tableName; in VoicemailContentTable()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseDatabaseHelperUpgradeTest.java72 public TableStructure(SQLiteDatabase db, String tableName) { in TableStructure() argument
73 mName = tableName; in TableStructure()
74 try (final Cursor cursor = db.rawQuery("PRAGMA table_info(" + tableName + ");", null)) { in TableStructure()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseHelper.java681 final String tableName = tableCursor.getString(0); in dropAllTables() local
684 if (tableName.startsWith("android_") || tableName.startsWith("sqlite_")) { in dropAllTables()
688 db.execSQL(dropPrefix + tableName); in dropAllTables()
691 LogUtil.d(LogUtil.BUGLE_TAG, "unable to drop table " + tableName + " " in dropAllTables()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DSQLiteCacheHelper.java24 public SQLiteCacheHelper(Context context, String name, int version, String tableName) { in SQLiteCacheHelper() argument
25 mTableName = tableName; in SQLiteCacheHelper()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java83 public Cursor query(String tableName, String[] projections) { in query() argument
86 builder.setTables(tableName); in query()
/packages/apps/Email/provider_src/com/android/email/provider/
DDBHelper.java208 static String createIndex(String tableName, String columnName) { in createIndex() argument
209 return "create index " + tableName.toLowerCase() + '_' + columnName in createIndex()
210 + " on " + tableName + " (" + columnName + ");"; in createIndex()
440 final String tableName) { in createMessageChangeLogTableIndices() argument
441 db.execSQL(createIndex(tableName, MessageChangeLogTable.MESSAGE_KEY)); in createMessageChangeLogTableIndices()
442 db.execSQL(createIndex(tableName, MessageChangeLogTable.ACCOUNT_KEY)); in createMessageChangeLogTableIndices()
451 final String tableName) { in createMessageChangeLogTableTriggers() argument
453 db.execSQL("create trigger " + tableName + "_delete_message before delete on " in createMessageChangeLogTableTriggers()
454 + Message.TABLE_NAME + " for each row begin delete from " + tableName in createMessageChangeLogTableTriggers()
459 db.execSQL("create trigger " + tableName + "_delete_account before delete on " in createMessageChangeLogTableTriggers()
[all …]
DEmailProvider.java581 public static void deleteMessageOrphans(SQLiteDatabase database, String tableName) { in deleteMessageOrphans() argument
584 Cursor c = database.query(tableName, ORPHANS_PROJECTION, null, null, null, null, null); in deleteMessageOrphans()
621 database.delete(tableName, WHERE_ID, bindArray); in deleteMessageOrphans()
643 final String tableName = TABLE_NAMES.valueAt(table); in delete() local
662 Cursor findCursor = db.query(tableName, Message.ID_COLUMN_PROJECTION, selection, in delete()
725 result = db.delete(tableName, whereWithId(id, selection), selectionArgs); in delete()
739 result = db.delete(tableName, in delete()
753 result = db.delete(tableName, selection, selectionArgs); in delete()
1306 String tableName = TABLE_NAMES.valueAt(table); in query() local
1380 c = db.query(tableName, projection, in query()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java520 public DatabaseHelper(Context context, String tableName) { in DatabaseHelper() argument
521 super(context, tableName, null, DATABASE_VERSION); in DatabaseHelper()
529 private boolean tableExists(String tableName) { in tableExists() argument
532 "tbl_name = ?", new String[] {tableName}, in tableExists()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnDictionaryImpl.java299 protected void createDictionaryTable( String tableName ) { in createDictionaryTable() argument
300 String sqlStr = "create table if not exists " + tableName + in createDictionaryTable()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2000 private static void updateDisplayName(SQLiteDatabase db, String tableName) { in updateDisplayName() argument
2005 Cursor cursor = db.query(tableName, columns, null, null, null, null, null); in updateDisplayName()
2018 db.update(tableName, values, "_id=" + rowId, null); in updateDisplayName()