Home
last modified time | relevance | path

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

12

/packages/apps/Email/provider_src/com/android/email/provider/
DDBHelper.java82 "create trigger mailbox_delete before delete on " + Mailbox.TABLE_NAME +
84 " delete from " + Message.TABLE_NAME +
93 "create trigger account_delete before delete on " + Account.TABLE_NAME +
94 " begin delete from " + Mailbox.TABLE_NAME +
96 "; delete from " + HostAuth.TABLE_NAME +
98 "; delete from " + HostAuth.TABLE_NAME +
100 "; delete from " + Policy.TABLE_NAME +
105 "create trigger host_auth_delete after delete on " + HostAuth.TABLE_NAME +
106 " begin delete from " + Credential.TABLE_NAME +
108 " and (select count(*) from " + HostAuth.TABLE_NAME + " where " +
[all …]
DEmailProvider.java295 array.put(ACCOUNT_BASE >> BASE_SHIFT, Account.TABLE_NAME);
296 array.put(MAILBOX_BASE >> BASE_SHIFT, Mailbox.TABLE_NAME);
297 array.put(MESSAGE_BASE >> BASE_SHIFT, Message.TABLE_NAME);
298 array.put(ATTACHMENT_BASE >> BASE_SHIFT, Attachment.TABLE_NAME);
299 array.put(HOSTAUTH_BASE >> BASE_SHIFT, HostAuth.TABLE_NAME);
302 array.put(POLICY_BASE >> BASE_SHIFT, Policy.TABLE_NAME);
303 array.put(QUICK_RESPONSE_BASE >> BASE_SHIFT, QuickResponse.TABLE_NAME);
305 array.put(BODY_BASE >> BASE_SHIFT, Body.TABLE_NAME);
306 array.put(CREDENTIAL_BASE >> BASE_SHIFT, Credential.TABLE_NAME);
324 Message.UPDATED_TABLE_NAME + " select * from " + Message.TABLE_NAME + " where " +
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherSettings.java111 public static final String TABLE_NAME = "workspaceScreens"; field in LauncherSettings.WorkspaceScreens
117 ProviderConfig.AUTHORITY + "/" + TABLE_NAME);
131 public static final String TABLE_NAME = "favorites"; field in LauncherSettings.Favorites
137 ProviderConfig.AUTHORITY + "/" + TABLE_NAME);
148 "/" + TABLE_NAME + "/" + id); in getContentUri()
DWidgetPreviewLoader.java110 private static final String TABLE_NAME = "shortcut_and_widget_previews"; field in WidgetPreviewLoader.CacheDb
120 super(context, LauncherFiles.WIDGET_PREVIEWS_DB, DB_VERSION, TABLE_NAME); in CacheDb()
125 database.execSQL("CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " (" + in onCreateTable()
DIconCache.java801 private final static String TABLE_NAME = "icons"; field in IconCache.IconDB
815 TABLE_NAME); in IconDB()
820 db.execSQL("CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " (" + in onCreateTable()
DLauncherProvider.java74 static final String TABLE_FAVORITES = LauncherSettings.Favorites.TABLE_NAME;
75 static final String TABLE_WORKSPACE_SCREENS = LauncherSettings.WorkspaceScreens.TABLE_NAME;
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DSavedWallpaperImages.java108 Cursor result = db.query(ImageDb.TABLE_NAME,
173 Cursor result = db.query(ImageDb.TABLE_NAME,
200 db.delete(ImageDb.TABLE_NAME,
248 db.insert(ImageDb.TABLE_NAME, null, values);
253 final static String TABLE_NAME = "saved_wallpaper_images";
280 database.execSQL("CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " (" +
293 db.execSQL("ALTER TABLE " + TABLE_NAME + " ADD COLUMN " + COLUMN_EXTRAS + " TEXT;");
296 db.execSQL("DELETE FROM " + TABLE_NAME);
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java44 "CREATE TABLE " + Recordings.TABLE_NAME + "("
55 + Recordings.TABLE_NAME;
102 long id = db.insert(Recordings.TABLE_NAME, null, values); in insertRecordings()
120 int updated = db.update(Recordings.TABLE_NAME, values, Recordings._ID + " = ?", in updateRecordings()
142 int deleted = db.delete(Recordings.TABLE_NAME, WHERE_RECORDING_ID_EQUALS, in deleteRecordings()
DDvrContract.java29 public static final String TABLE_NAME = "recording"; field in DvrContract.Recordings
DAsyncDvrDbTask.java151 try (Cursor c = sDbHelper.query(Recordings.TABLE_NAME, ScheduledRecording.PROJECTION)) { in doInDvrBackground()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java37 private static final String TABLE_NAME = FileEntry.SCHEMA.getTableName(); field in FileCache
151 TABLE_NAME, ID_WHERE, new String[] {String.valueOf(file.id)}); in lookup()
168 Cursor cursor = mDbHelper.getReadableDatabase().query(TABLE_NAME, in queryDatabase()
185 mDbHelper.getWritableDatabase().update(TABLE_NAME, in updateLastAccess()
204 TABLE_NAME, PROJECTION_SIZE_SUM, in initialize()
220 TABLE_NAME, FREESPACE_PROJECTION, in freeSomeSpaceIfNeed()
238 mDbHelper.getWritableDatabase().delete(TABLE_NAME, in freeSomeSpaceIfNeed()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java96 qb.setTables(CellBroadcastDatabaseHelper.TABLE_NAME); in query()
200 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); in insertNewBroadcast()
220 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, in deleteBroadcast()
238 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, null, null); in deleteAllBroadcasts()
265 … 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/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/Launcher2/src/com/android/launcher2/
DWidgetPreviewLoader.java290 final static String TABLE_NAME = "shortcut_and_widget_previews"; field in WidgetPreviewLoader.CacheDb
304 database.execSQL("CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " (" + in onCreate()
316 db.execSQL("DELETE FROM " + TABLE_NAME); in onUpgrade()
368 db.insert(CacheDb.TABLE_NAME, null, values); in writeToDb()
378 db.delete(CacheDb.TABLE_NAME, null, null); in clearDb()
391 db.delete(CacheDb.TABLE_NAME, in removeFromDb()
416 result = db.query(CacheDb.TABLE_NAME, in readFromDb()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java470 public static final String TABLE_NAME = "Body"; field in EmailContent.Body
709 public static final String TABLE_NAME = "Message"; field in EmailContent.Message
836 + "SELECT " + MailboxColumns._ID + " FROM " + Mailbox.TABLE_NAME + ""
844 + "SELECT " + MailboxColumns._ID + " FROM " + Mailbox.TABLE_NAME
852 + "SELECT " + MailboxColumns._ID + " FROM " + Mailbox.TABLE_NAME
860 + "SELECT " + MailboxColumns._ID + " FROM " + Mailbox.TABLE_NAME
1331 public static final String TABLE_NAME = "Attachment"; field in EmailContent.Attachment
1405 + "SELECT " + MessageColumns._ID + " FROM " + Message.TABLE_NAME
DQuickResponse.java30 public static final String TABLE_NAME = "QuickResponse"; field in QuickResponse
DMessageStateChange.java22 public static final String TABLE_NAME = "MessageStateChange"; field in MessageStateChange
DMessageMove.java23 public static final String TABLE_NAME = "MessageMove"; field in MessageMove
DCredential.java20 public static final String TABLE_NAME = "Credential"; field in Credential
DHostAuth.java39 public static final String TABLE_NAME = "HostAuth"; field in HostAuth
DPolicy.java43 public static final String TABLE_NAME = "Policy"; field in Policy
DMailbox.java76 public static final String TABLE_NAME = "Mailbox"; field in Mailbox
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java153 db.update(Mailbox.TABLE_NAME, values, null, null); in setMinusOneToMessageCounts()
1814 + Message.TABLE_NAME + " (" + MessageColumns.TIMESTAMP + ");"; in testCreateIndex()
1815 String newStr = DBHelper.createIndex(Message.TABLE_NAME, MessageColumns.TIMESTAMP); in testCreateIndex()
2285 EmailProvider.deleteUnlinked(db, Mailbox.TABLE_NAME, MailboxColumns.ACCOUNT_KEY, in testCleanupOrphans()
2286 AccountColumns._ID, Account.TABLE_NAME); in testCleanupOrphans()
2287 EmailProvider.deleteUnlinked(db, Message.TABLE_NAME, MessageColumns.ACCOUNT_KEY, in testCleanupOrphans()
2288 AccountColumns._ID, Account.TABLE_NAME); in testCleanupOrphans()
2289 EmailProvider.deleteUnlinked(db, Policy.TABLE_NAME, PolicyColumns._ID, in testCleanupOrphans()
2290 AccountColumns.POLICY_KEY, Account.TABLE_NAME); in testCleanupOrphans()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java328 CalendarAlerts.TABLE_NAME, INVALID_CALENDARALERTS_SELECTOR, selectArg); in scheduleNextAlarmLocked()
529 db.delete(CalendarAlerts.TABLE_NAME, CalendarAlerts.STATE + "=" in removeScheduledAlarmsLocked()

12