/packages/apps/Email/provider_src/com/android/email/provider/ |
D | DBHelper.java | 82 "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 …]
|
D | EmailProvider.java | 295 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/FMRadio/src/com/android/fmradio/ |
D | FmProvider.java | 47 private static final String TABLE_NAME = "StationList"; field in FmProvider 87 "CREATE TABLE " + TABLE_NAME + "(" in onCreate() 110 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); in onUpgrade() 130 rows = mSqlDb.delete(TABLE_NAME, selection, selectionArgs); in delete() 136 rows = mSqlDb.delete(TABLE_NAME, in delete() 166 long rowId = mSqlDb.insert(TABLE_NAME, null, v); in insert() 203 qb.setTables(TABLE_NAME); in query() 235 rows = mSqlDb.update(TABLE_NAME, values, selection, selectionArgs); in update() 240 rows = mSqlDb.update(TABLE_NAME, in update()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | SavedWallpaperImages.java | 74 Cursor result = db.query(ImageDb.TABLE_NAME, in loadThumbnailsAndImageIdList() 122 Cursor result = db.query(ImageDb.TABLE_NAME, in getImageFilenames() 149 db.delete(ImageDb.TABLE_NAME, in deleteImage() 174 db.insert(ImageDb.TABLE_NAME, null, values); in writeImage() 182 final static String TABLE_NAME = "saved_wallpaper_images"; field in SavedWallpaperImages.ImageDb 208 database.execSQL("CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " (" + in onCreate() 220 db.execSQL("DELETE FROM " + TABLE_NAME); in onUpgrade()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | FileCache.java | 37 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/Gallery2/src/com/android/gallery3d/data/ |
D | DownloadCache.java | 46 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/Launcher3/src/com/android/launcher3/ |
D | LauncherSettings.java | 111 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()
|
D | IconCache.java | 240 mIconDb.getWritableDatabase().delete(IconDB.TABLE_NAME, in removeIconsForPkg() 285 Cursor c = mIconDb.getReadableDatabase().query(IconDB.TABLE_NAME, in updateDBIcons() 334 mIconDb.getWritableDatabase().delete(IconDB.TABLE_NAME, in updateDBIcons() 366 mIconDb.getWritableDatabase().insertWithOnConflict(IconDB.TABLE_NAME, null, values, in addIconToDB() 681 mIconDb.getWritableDatabase().insertWithOnConflict(IconDB.TABLE_NAME, null, values, in preloadIcon() 686 Cursor c = mIconDb.getReadableDatabase().query(IconDB.TABLE_NAME, in getEntryFromDB() 754 mIconDb.getWritableDatabase().update(IconDB.TABLE_NAME, values, in run() 794 private final static String TABLE_NAME = "icons"; field in IconCache.IconDB 811 db.execSQL("CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " (" + in onCreate() 839 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); in clearDB()
|
D | WidgetPreviewLoader.java | 110 private static final String TABLE_NAME = "shortcut_and_widget_previews"; field in WidgetPreviewLoader.CacheDb 125 database.execSQL("CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " (" + in onCreate() 152 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); in clearDB() 181 mDb.getWritableDatabase().insertWithOnConflict(CacheDb.TABLE_NAME, null, values, in writeToDb() 198 mDb.getWritableDatabase().delete(CacheDb.TABLE_NAME, in removePackage() 241 c = mDb.getReadableDatabase().query(CacheDb.TABLE_NAME, in removeObsoletePreviews() 292 CacheDb.TABLE_NAME, in readFromDb()
|
D | LauncherProvider.java | 75 static final String TABLE_FAVORITES = LauncherSettings.Favorites.TABLE_NAME; 76 static final String TABLE_WORKSPACE_SCREENS = LauncherSettings.WorkspaceScreens.TABLE_NAME;
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 96 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()
|
D | CellBroadcastDatabaseHelper.java | 44 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/Launcher2/src/com/android/launcher2/ |
D | WidgetPreviewLoader.java | 290 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/ |
D | EmailContent.java | 470 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
|
D | QuickResponse.java | 30 public static final String TABLE_NAME = "QuickResponse"; field in QuickResponse
|
D | Credential.java | 20 public static final String TABLE_NAME = "Credential"; field in Credential
|
D | MessageStateChange.java | 22 public static final String TABLE_NAME = "MessageStateChange"; field in MessageStateChange
|
D | MessageMove.java | 23 public static final String TABLE_NAME = "MessageMove"; field in MessageMove
|
D | HostAuth.java | 39 public static final String TABLE_NAME = "HostAuth"; field in HostAuth
|
D | Policy.java | 43 public static final String TABLE_NAME = "Policy"; field in Policy
|
D | Mailbox.java | 76 public static final String TABLE_NAME = "Mailbox"; field in Mailbox
|
D | Account.java | 44 public static final String TABLE_NAME = "Account"; field in Account
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTests.java | 153 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/ |
D | CalendarAlarmManager.java | 328 CalendarAlerts.TABLE_NAME, INVALID_CALENDARALERTS_SELECTOR, selectArg); in scheduleNextAlarmLocked() 529 db.delete(CalendarAlerts.TABLE_NAME, CalendarAlerts.STATE + "=" in removeScheduledAlarmsLocked()
|