Home
last modified time | relevance | path

Searched refs:RawContact (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactTest.java33 private RawContact buildRawContact() { in buildRawContact()
42 final RawContact contact = new RawContact(values); in buildRawContact()
48 private RawContact buildRawContact2() { in buildRawContact2()
57 final RawContact contact = new RawContact(values); in buildRawContact2()
64 final RawContact one = buildRawContact(); in testNotEquals()
65 final RawContact two = buildRawContact2(); in testNotEquals()
77 private RawContact.NamedDataItem buildNamedDataItem() { in buildNamedDataItem()
83 return new RawContact.NamedDataItem(uri, values); in buildNamedDataItem()
86 private RawContact.NamedDataItem buildNamedDataItem2() { in buildNamedDataItem2()
92 return new RawContact.NamedDataItem(uri, values); in buildNamedDataItem2()
DRawContactDeltaTests.java62 public static RawContact getRawContact(Context context, long contactId, long phoneId) { in getRawContact()
74 final RawContact before = new RawContact(contact); in getRawContact()
86 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesNone()
96 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesInsert()
114 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesUpdate()
128 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesDelete()
162 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffNone()
173 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffNoneInsert()
213 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffUpdateInsert()
262 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffNoneUpdate()
[all …]
DRawContactDeltaListTests.java100 final RawContact before = RawContactDeltaTests.getRawContact(context, rawContactId, in getUpdate()
126 final RawContact before = new RawContact(contact); in buildBeforeEntity()
DRawContactModifierTests.java173 final RawContact before = new RawContact(contact); in getRawContact()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContact.java50 final public class RawContact implements Parcelable { class
123 public static RawContact createFrom(Entity entity) { in createFrom()
127 RawContact rawContact = new RawContact(values); in createFrom()
137 public RawContact() { in RawContact() method in RawContact
141 public RawContact(ContentValues values) { in RawContact() method in RawContact
151 private RawContact(Parcel parcel) { in RawContact() method in RawContact
171 public static final Parcelable.Creator<RawContact> CREATOR
172 = new Parcelable.Creator<RawContact>() {
175 public RawContact createFromParcel(Parcel parcel) {
176 return new RawContact(parcel);
[all …]
DContact.java75 private ImmutableList<RawContact> mRawContacts;
348 public ImmutableList<RawContact> getRawContacts() { in getRawContacts()
382 for (RawContact rawContact : getRawContacts()) { in getFirstWritableRawContactId()
426 RawContact rawContact = mRawContacts.get(0); in getContentValues()
472 for (RawContact rawContact : getRawContacts()) { in areAllRawContactsSimAccounts()
485 /* package */ void setRawContacts(ImmutableList<RawContact> rawContacts) { in setRawContacts()
DContactLoader.java405 final RawContact rawContact = new RawContact(values); in loadEncodedContactEntity()
425 contact.setRawContacts(new ImmutableList.Builder<RawContact>() in loadEncodedContactEntity()
431 private static void processOneRecord(RawContact rawContact, JSONObject item, String mimetype) in processOneRecord()
471 RawContact rawContact = null; in loadContactEntity()
472 ImmutableList.Builder<RawContact> rawContactsBuilder = in loadContactEntity()
473 new ImmutableList.Builder<RawContact>(); in loadContactEntity()
482 rawContact = new RawContact(loadRawContactValues(cursor)); in loadContactEntity()
561 for (RawContact rawContact : contactData.getRawContacts()) { in loadThumbnailBinaryData()
774 for (RawContact rawContact : result.getRawContacts()) { in loadGroupMetaData()
824 final ImmutableList<RawContact> rawContacts = contactData.getRawContacts(); in computeFormattedPhoneNumbers()
[all …]
DRawContactDeltaList.java88 final RawContact before = nextObject instanceof Entity in addAll()
89 ? RawContact.createFrom((Entity) nextObject) in addAll()
90 : (RawContact) nextObject; in addAll()
DRawContactDelta.java89 public static RawContactDelta fromBefore(RawContact before) { in fromBefore()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DRawContact.java44 public final class RawContact implements Parcelable { class
47 public static final Parcelable.Creator<RawContact> CREATOR =
48 new Parcelable.Creator<RawContact>() {
51 public RawContact createFromParcel(Parcel parcel) {
52 return new RawContact(parcel);
56 public RawContact[] newArray(int i) {
57 return new RawContact[i];
66 public RawContact() { in RawContact() method in RawContact
70 public RawContact(ContentValues values) { in RawContact() method in RawContact
80 private RawContact(Parcel parcel) { in RawContact() method in RawContact
[all …]
DContactLoader.java176 final RawContact rawContact = new RawContact(values); in loadEncodedContactEntity()
196 contact.setRawContacts(new ImmutableList.Builder<RawContact>().add(rawContact).build()); in loadEncodedContactEntity()
200 private static void processOneRecord(RawContact rawContact, JSONObject item, String mimetype) in processOneRecord()
293 RawContact rawContact = null; in loadContactEntity()
294 ImmutableList.Builder<RawContact> rawContactsBuilder = in loadContactEntity()
295 new ImmutableList.Builder<RawContact>(); in loadContactEntity()
302 rawContact = new RawContact(loadRawContactValues(cursor)); in loadContactEntity()
373 for (RawContact rawContact : contactData.getRawContacts()) { in loadThumbnailBinaryData()
399 for (RawContact rawContact : contactData.getRawContacts()) { in loadInvitableAccountTypes()
598 for (RawContact rawContact : result.getRawContacts()) { in loadGroupMetaData()
[all …]
DContact.java65 private ImmutableList<RawContact> mRawContacts;
297 public ImmutableList<RawContact> getRawContacts() { in getRawContacts()
301 /* package */ void setRawContacts(ImmutableList<RawContact> rawContacts) { in setRawContacts()
332 RawContact rawContact = mRawContacts.get(0); in getContentValues()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactLoader.java109 final Map<Long, RawContact> rawContactMap = new HashMap<>(); in loadInBackground()
112 RawContact rawContact = new RawContact(); in loadInBackground()
206 public ArrayList<RawContact> rawContacts = new ArrayList<>();
214 in.readTypedList(rawContacts, RawContact.CREATOR); in RawContactsMetadata()
222 final RawContact rawContact = rawContacts.get(i); in trimReadOnly()
236 final RawContact rawContact = rawContacts.get(i); in getIndexOfFirstWritableAccount()
261 public static class RawContact implements Parcelable { class in PickRawContactLoader
262 public static final Parcelable.Creator<RawContact> CREATOR =
263 new Parcelable.Creator<RawContact>() {
265 public RawContact createFromParcel(Parcel source) {
[all …]
DContactEditorFragment.java77 import com.android.contacts.model.RawContact;
350 protected ImmutableList<RawContact> mRawContacts;
503 mRawContacts = ImmutableList.copyOf(savedState.<RawContact>getParcelableArrayList( in onCreate()
632 Lists.<RawContact>newArrayList() : Lists.newArrayList(mRawContacts)); in onSaveInstanceState()
1156 final RawContact rawContact = new RawContact(); in createNewRawContactDelta()
1195 ImmutableList<RawContact> rawContacts) { in setStateForExistingContact()
1252 final RawContact rawContact = new RawContact(); in createLocalRawContactDelta()
DPickRawContactDialogFragment.java22 import com.android.contacts.editor.PickRawContactLoader.RawContact;
99 final RawContact rawContact = mRawContactsMetadata.rawContacts.get(position); in getView()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java12 import com.android.contacts.model.RawContact;
52 final RawContact rawContact = (RawContact) contactData.getRawContacts().get(0); in isInvisibleAndAddable()
DQuickContactActivity.java133 import com.android.contacts.model.RawContact;
1230 for (RawContact rawContact : data.getRawContacts()) { in generateDataModelFromContact()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java39 import com.android.contacts.model.RawContact;
121 for (RawContact rawContact : contactData.getRawContacts()) { in getCompany()
/packages/apps/Contacts/
Dproguard.flags76 -keep class com.android.contacts.model.RawContact { *; }