Home
last modified time | relevance | path

Searched refs:mContentValues (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DDataItem.java48 private final ContentValues mContentValues; field in DataItem
52 mContentValues = values; in DataItem()
98 return mContentValues; in getContentValues()
102 mContentValues.put(Data.RAW_CONTACT_ID, rawContactId); in setRawContactId()
106 return mContentValues.getAsLong(Data.RAW_CONTACT_ID); in getRawContactId()
113 return mContentValues.getAsLong(Data._ID); in getId()
120 return mContentValues.getAsString(Data.MIMETYPE); in getMimeType()
124 mContentValues.put(Data.MIMETYPE, mimeType); in setMimeType()
128 Integer primary = mContentValues.getAsInteger(Data.IS_PRIMARY); in isPrimary()
133 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContact.java70 public final ContentValues mContentValues; field in RawContact.NamedDataItem
74 this.mContentValues = values; in NamedDataItem()
79 this.mContentValues = parcel.readParcelable(ContentValues.class.getClassLoader()); in NamedDataItem()
90 parcel.writeParcelable(mContentValues, i); in writeToParcel()
109 return Objects.hashCode(mUri, mContentValues); in hashCode()
119 Objects.equal(mContentValues, other.mContentValues); in equals()
328 list.add(dataItem.mContentValues); in getContentValues()
338 list.add(DataItem.createFrom(dataItem.mContentValues)); in getDataItems()
349 sb.append("\n -> ").append(namedDataItem.mContentValues); in toString()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockContentProvider.java203 private final ContentValues mContentValues; field in MockContentProvider.Insert
218 mContentValues = Preconditions.checkNotNull(contentValues); in Insert()
234 return mUri.equals(uri) && mContentValues.equals(contentValues); in equals()
249 Objects.equals(mContentValues, insert.mContentValues) && in equals()
255 return Objects.hash(mUri, mContentValues, mResultUri, mAnyNumberOfTimes, mIsExecuted); in hashCode()
262 ", mContentValues=" + mContentValues + in toString()
343 private final ContentValues mContentValues; field in MockContentProvider.Update
363 mContentValues = Preconditions.checkNotNull(contentValues); in Update()
394 return mUri.equals(uri) && mContentValues.equals(contentValues) && in equals()
411 Objects.equals(mContentValues, update.mContentValues) && in equals()
[all …]
/packages/apps/Email/provider_src/com/android/email/service/
DPop3Service.java208 private final ContentValues mContentValues = new ContentValues(); field in Pop3Service.FetchCallback
217 mContentValues.put(AttachmentColumns.UI_DOWNLOADED_SIZE, bytesRead); in report()
218 mResolver.update(mAttachmentUri, mContentValues, null, null); in report()