Home | History | Annotate | Download | only in provider

Lines Matching refs:BodyColumns

87 import com.android.emailcommon.provider.EmailContent.BodyColumns;
335 "select " + BodyColumns.MESSAGE_KEY + " from " + Body.TABLE_NAME +
339 " where " + BodyColumns.MESSAGE_KEY + " in " + '(' + ORPHAN_BODY_MESSAGE_ID_SELECT + ')';
342 " where " + BodyColumns.MESSAGE_KEY + '=';
915 dbValues.remove(BodyColumns.HTML_CONTENT);
916 dbValues.remove(BodyColumns.TEXT_CONTENT);
923 if (!values.containsKey(BodyColumns.MESSAGE_KEY)) {
927 final long messageId = values.getAsLong(BodyColumns.MESSAGE_KEY);
1391 if (map.containsKey(BodyColumns.HTML_CONTENT) ||
1392 map.containsKey(BodyColumns.TEXT_CONTENT)) {
1398 cv.put(BodyColumns.HTML_CONTENT_URI, "@" + uriWithColumn("bodyHtml",
1399 BodyColumns.MESSAGE_KEY));
1400 cv.put(BodyColumns.TEXT_CONTENT_URI, "@" + uriWithColumn("bodyText",
1401 BodyColumns.MESSAGE_KEY));
2119 updateValues.remove(BodyColumns.HTML_CONTENT);
2120 updateValues.remove(BodyColumns.TEXT_CONTENT);
2125 if (values.containsKey(BodyColumns.HTML_CONTENT) ||
2126 values.containsKey(BodyColumns.TEXT_CONTENT)) {
2128 if (values.containsKey(BodyColumns.MESSAGE_KEY)) {
2129 messageId = values.getAsLong(BodyColumns.MESSAGE_KEY);
2133 "select " + BodyColumns.MESSAGE_KEY +
2135 " where " + BodyColumns._ID + "=" + Long
2146 updateValues.remove(BodyColumns.HTML_CONTENT);
2147 updateValues.remove(BodyColumns.TEXT_CONTENT);
2156 insertValues.put(BodyColumns.MESSAGE_KEY, selectionArgs[0]);
2160 if (values.containsKey(BodyColumns.HTML_CONTENT) ||
2161 values.containsKey(BodyColumns.TEXT_CONTENT)) {
2163 if (values.containsKey(BodyColumns.MESSAGE_KEY)) {
2164 messageIds = new long[] {values.getAsLong(BodyColumns.MESSAGE_KEY)};
2165 } else if (values.containsKey(BodyColumns._ID)) {
2166 final long bodyId = values.getAsLong(BodyColumns._ID);
2168 "select " + BodyColumns.MESSAGE_KEY +
2170 " where " + BodyColumns._ID + "=" + Long
2175 final String proj[] = {BodyColumns.MESSAGE_KEY};
2316 emptyValues.putNull(BodyColumns.HTML_CONTENT);
2317 emptyValues.putNull(BodyColumns.TEXT_CONTENT);
2326 * @param cv {@link ContentValues} containing {@link BodyColumns#HTML_CONTENT} and/or
2327 * {@link BodyColumns#TEXT_CONTENT}. Inserting a null or empty value will delete the
2333 if (cv.containsKey(BodyColumns.HTML_CONTENT)) {
2334 final String htmlContent = cv.getAsString(BodyColumns.HTML_CONTENT);
2342 if (cv.containsKey(BodyColumns.TEXT_CONTENT)) {
2343 final String textContent = cv.getAsString(BodyColumns.TEXT_CONTENT);
3150 " ON " + BodyColumns.MESSAGE_KEY + "=" + Message.TABLE_NAME + "." +
4991 .withSelection(BodyColumns.MESSAGE_KEY + "=?",