Home
last modified time | relevance | path

Searched refs:tableName (Results 1 – 13 of 13) 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/apps/Email/src/com/android/email/provider/
DEmailProvider.java642 /*package*/ static void deleteMessageOrphans(SQLiteDatabase database, String tableName) { in deleteMessageOrphans() argument
645 Cursor c = database.query(tableName, ORPHANS_PROJECTION, null, null, null, null, null); in deleteMessageOrphans()
682 database.delete(tableName, WHERE_ID, bindArray); in deleteMessageOrphans()
705 String tableName = TABLE_NAMES[table]; in delete() local
755 result = db.delete(tableName, whereWithId(id, selection), selectionArgs); in delete()
790 result = db.delete(tableName, in delete()
819 result = db.delete(tableName, selection, selectionArgs); in delete()
1101 String tableName = TABLE_NAMES[table]; in query() local
1180 c = db.query(tableName, projection, in query()
1202 c = db.query(tableName, projection, whereWithId(id, selection), in query()
[all …]
DDBHelper.java148 static String createIndex(String tableName, String columnName) { in createIndex() argument
149 return "create index " + tableName.toLowerCase() + '_' + columnName in createIndex()
150 + " on " + tableName + " (" + columnName + ");"; in createIndex()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java76 public DbModifierWithNotification(String tableName, SQLiteDatabase db, Context context) { in DbModifierWithNotification() argument
77 this(tableName, db, null, context); in DbModifierWithNotification()
80 public DbModifierWithNotification(String tableName, InsertHelper insertHelper, in DbModifierWithNotification() argument
82 this(tableName, null, insertHelper, context); in DbModifierWithNotification()
85 private DbModifierWithNotification(String tableName, SQLiteDatabase db, in DbModifierWithNotification() argument
87 mTableName = tableName; in DbModifierWithNotification()
DVoicemailStatusTable.java54 public VoicemailStatusTable(String tableName, Context context, SQLiteOpenHelper dbHelper, in VoicemailStatusTable() argument
56 mTableName = tableName; in VoicemailStatusTable()
DVoicemailContentTable.java63 public VoicemailContentTable(String tableName, Context context, SQLiteOpenHelper dbHelper, in VoicemailContentTable() argument
66 mTableName = tableName; in VoicemailContentTable()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
DLocalDataTest.java413 String tableName = getTableName(uri); in query() local
414 if (tableName == null) return null; in query()
417 qb.setTables(tableName); in query()
444 String tableName = getTableName(uri); in delete() local
445 if (tableName == null) return 0; in delete()
446 int count = mDatabase.delete(tableName, whereClause, whereArgs); in delete()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarSyncTestingBase.java365 Set<String> columnsToSkip, String tableName) { in compareCursors() argument
369 assertEquals(tableName + " count failed to match", cursor1.getCount(), in compareCursors()
380 assertEquals("Row: " + row + " Table: " + tableName + ": " + cols[i] + in compareCursors()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java1597 private boolean hasAutoIncrement(SQLiteDatabase db, String tableName) { in hasAutoIncrement() argument
1600 tableName + "'"; in hasAutoIncrement()
1607 Log.d(TAG, "[MmsSmsDb] tableName: " + tableName + " hasAutoIncrement: " + in hasAutoIncrement()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DCalendarSyncAdapterTests.java269 private int countInsertOperationsForTable(CalendarOperations ops, String tableName) { in countInsertOperationsForTable() argument
275 if (segments.get(0).equalsIgnoreCase(tableName) && in countInsertOperationsForTable()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DCalendarSyncAdapterTests.java269 private int countInsertOperationsForTable(CalendarOperations ops, String tableName) { in countInsertOperationsForTable() argument
275 if (segments.get(0).equalsIgnoreCase(tableName) && in countInsertOperationsForTable()
/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.java1912 private static void updateDisplayName(SQLiteDatabase db, String tableName) { in updateDisplayName() argument
1917 Cursor cursor = db.query(tableName, columns, null, null, null, null, null); in updateDisplayName()
1930 db.update(tableName, values, "_id=" + rowId, null); in updateDisplayName()