Home
last modified time | relevance | path

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

/packages/apps/Email/src/com/android/email/provider/
DDBHelper.java61 "create trigger mailbox_delete before delete on " + Mailbox.TABLE_NAME +
63 " delete from " + Message.TABLE_NAME +
72 "create trigger account_delete before delete on " + Account.TABLE_NAME +
73 " begin delete from " + Mailbox.TABLE_NAME +
75 "; delete from " + HostAuth.TABLE_NAME +
77 "; delete from " + HostAuth.TABLE_NAME +
79 "; delete from " + Policy.TABLE_NAME +
193 db.execSQL("create table " + Message.TABLE_NAME + createString); in createMessageTable()
206 db.execSQL(createIndex(Message.TABLE_NAME, columnName)); in createMessageTable()
212 db.execSQL("create trigger message_delete before delete on " + Message.TABLE_NAME + in createMessageTable()
[all …]
DEmailProvider.java224 Account.TABLE_NAME,
225 Mailbox.TABLE_NAME,
226 Message.TABLE_NAME,
227 Attachment.TABLE_NAME,
228 HostAuth.TABLE_NAME,
231 Policy.TABLE_NAME,
232 QuickResponse.TABLE_NAME,
234 Body.TABLE_NAME,
278 Message.UPDATED_TABLE_NAME + " select * from " + Message.TABLE_NAME + " where " +
285 Message.DELETED_TABLE_NAME + " select * from " + Message.TABLE_NAME + " where " +
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DShortcutRepositoryImplLog.java65 "SELECT " + Shortcuts.intent_key.fullName + " FROM " + Shortcuts.TABLE_NAME;
114 private static final String TABLES = ClickLog.TABLE_NAME + " INNER JOIN " +
115 Shortcuts.TABLE_NAME + " ON " + ClickLog.intent_key.fullName + " = " +
153 ClickLog.TABLE_NAME + " WHERE ";
188 final String tables = SourceStats.TABLE_NAME; in buildSourceRankingSql()
236 db.delete(Shortcuts.TABLE_NAME, Shortcuts.intent_key.fullName + " = ?", in removeFromHistory()
247 db.delete(ClickLog.TABLE_NAME, null, null); in clearHistory()
248 db.delete(Shortcuts.TABLE_NAME, null, null); in clearHistory()
249 db.delete(SourceStats.TABLE_NAME, null, null); in clearHistory()
362 db.delete(Shortcuts.TABLE_NAME, SHORTCUT_BY_ID_WHERE, whereArgs); in refreshShortcut()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java94 qb.setTables(CellBroadcastDatabaseHelper.TABLE_NAME); in query()
193 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); in insertNewBroadcast()
211 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, in deleteBroadcast()
232 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, null, null); in deleteAllBroadcasts()
260 … int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs); in markBroadcastRead()
DCellBroadcastDatabaseHelper.java44 static final String TABLE_NAME = "broadcasts"; field in CellBroadcastDatabaseHelper
63 db.execSQL("CREATE TABLE " + TABLE_NAME + " (" in onCreate()
89 db.execSQL("CREATE INDEX IF NOT EXISTS deliveryTimeIndex ON " + TABLE_NAME in createDeliveryTimeIndex()
128 db.execSQL("ALTER TABLE " + TABLE_NAME + " RENAME TO " + TEMP_TABLE_NAME); in onUpgrade()
324 db.insert(TABLE_NAME, null, cv); in upgradeMessageV1ToV2()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java37 private static final String TABLE_NAME = FileEntry.SCHEMA.getTableName(); field in FileCache
150 TABLE_NAME, ID_WHERE, new String[] {String.valueOf(file.id)}); in lookup()
167 Cursor cursor = mDbHelper.getReadableDatabase().query(TABLE_NAME, in queryDatabase()
184 mDbHelper.getWritableDatabase().update(TABLE_NAME, in updateLastAccess()
203 TABLE_NAME, PROJECTION_SIZE_SUM, in initialize()
219 TABLE_NAME, FREESPACE_PROJECTION, in freeSomeSpaceIfNeed()
237 mDbHelper.getWritableDatabase().delete(TABLE_NAME, in freeSomeSpaceIfNeed()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java46 private static final String TABLE_NAME = DownloadEntry.SCHEMA.getTableName(); field in DownloadCache
92 Cursor cursor = mDatabase.query(TABLE_NAME, QUERY_PROJECTION, in findEntryInDatabase()
154 mDatabase.update(TABLE_NAME, values, in updateLastAccess()
160 Cursor cursor = mDatabase.query(TABLE_NAME, in freeSomeSpaceIfNeed()
177 mDatabase.delete(TABLE_NAME, in freeSomeSpaceIfNeed()
199 return mDatabase.insert(TABLE_NAME, "", values); in insertEntry()
211 TABLE_NAME, SUM_PROJECTION, null, null, null, null, null); in initialize()
/packages/apps/Email/src/com/android/email/activity/
DRecentMailboxManager.java53 + " FROM " + Mailbox.TABLE_NAME
64 + " FROM " + Mailbox.TABLE_NAME
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java277 public static final String TABLE_NAME = "Body"; field in EmailContent.Body
531 public static final String TABLE_NAME = "Message"; field in EmailContent.Message
649 + "SELECT " + MailboxColumns.ID + " FROM " + Mailbox.TABLE_NAME + ""
657 + "SELECT " + MailboxColumns.ID + " FROM " + Mailbox.TABLE_NAME
665 + "SELECT " + MailboxColumns.ID + " FROM " + Mailbox.TABLE_NAME
673 + "SELECT " + MailboxColumns.ID + " FROM " + Mailbox.TABLE_NAME
1122 public static final String TABLE_NAME = "Attachment"; field in EmailContent.Attachment
1176 + "SELECT " + MessageColumns.ID + " FROM " + Message.TABLE_NAME
DQuickResponse.java38 public static final String TABLE_NAME = "QuickResponse"; field in QuickResponse
DHostAuth.java36 public static final String TABLE_NAME = "HostAuth"; field in HostAuth
DPolicy.java42 public static final String TABLE_NAME = "Policy"; field in Policy
DMailbox.java35 public static final String TABLE_NAME = "Mailbox"; field in Mailbox
DAccount.java42 public static final String TABLE_NAME = "Account"; field in Account
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java279 CalendarAlerts.TABLE_NAME, INVALID_CALENDARALERTS_SELECTOR, selectArg); in scheduleNextAlarmLocked()
483 db.delete(CalendarAlerts.TABLE_NAME, CalendarAlerts.STATE + "=" in removeScheduledAlarmsLocked()