Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java45 private final ContentValues mContentValues; field in DataItem
49 mContentValues = values; in DataItem()
95 return mContentValues; in getContentValues()
99 return mContentValues.getAsLong(Data.RAW_CONTACT_ID); in getRawContactId()
103 mContentValues.put(Data.RAW_CONTACT_ID, rawContactId); in setRawContactId()
108 return mContentValues.getAsLong(Data._ID); in getId()
113 return mContentValues.getAsString(Data.MIMETYPE); in getMimeType()
117 mContentValues.put(Data.MIMETYPE, mimeType); in setMimeType()
121 Integer primary = mContentValues.getAsInteger(Data.IS_PRIMARY); in isPrimary()
126 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java46 private final ContentValues mContentValues; field in DataItem
50 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/Dialer/java/com/android/contacts/common/model/
DRawContact.java238 list.add(dataItem.mContentValues); in getContentValues()
248 list.add(DataItem.createFrom(dataItem.mContentValues)); in getDataItems()
259 sb.append("\n -> ").append(namedDataItem.mContentValues); in toString()
309 public final ContentValues mContentValues; field in RawContact.NamedDataItem
313 this.mContentValues = values; in NamedDataItem()
318 this.mContentValues = parcel.readParcelable(ContentValues.class.getClassLoader()); in NamedDataItem()
329 parcel.writeParcelable(mContentValues, i); in writeToParcel()
334 return Objects.hash(mUri, mContentValues); in hashCode()
348 && Objects.equals(mContentValues, other.mContentValues); in equals()
/packages/apps/Contacts/src/com/android/contacts/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/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java236 private final ContentValues mContentValues; field in MockContentProvider.Insert
251 mContentValues = Preconditions.checkNotNull(contentValues); in Insert()
267 return mUri.equals(uri) && mContentValues.equals(contentValues); in equals()
282 Objects.equals(mContentValues, insert.mContentValues) && in equals()
288 return Objects.hash(mUri, mContentValues, mResultUri, mAnyNumberOfTimes, mIsExecuted); in hashCode()
295 ", mContentValues=" + mContentValues + in toString()
376 private final ContentValues mContentValues; field in MockContentProvider.Update
396 mContentValues = Preconditions.checkNotNull(contentValues); in Update()
427 return mUri.equals(uri) && mContentValues.equals(contentValues) && in equals()
444 Objects.equals(mContentValues, update.mContentValues) && in equals()
[all …]