Home
last modified time | relevance | path

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

/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactManager.java20 import com.example.android.samplesync.client.RawContact;
106 List<RawContact> rawContacts, long groupId, long lastSyncMarker) { in updateContacts()
111 final List<RawContact> newUsers = new ArrayList<RawContact>(); in updateContacts()
114 for (final RawContact rawContact : rawContacts) { in updateContacts()
174 public static List<RawContact> getDirtyContacts(Context context, Account account) { in getDirtyContacts()
176 List<RawContact> dirtyContacts = new ArrayList<RawContact>(); in getDirtyContacts()
202 RawContact rawContact = RawContact.createDeletedContact(rawContactId, in getDirtyContacts()
206 RawContact rawContact = getRawContact(context, rawContactId); in getDirtyContacts()
228 public static void updateStatusMessages(Context context, List<RawContact> rawContacts) { in updateStatusMessages()
231 for (RawContact rawContact : rawContacts) { in updateStatusMessages()
[all …]
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DRawContact.java30 final public class RawContact { class
178 public RawContact(String name, String fullName, String firstName, String lastName, in RawContact() method in RawContact
205 public static RawContact valueOf(JSONObject contact) { in valueOf()
227 return new RawContact(userName, null, firstName, lastName, cellPhone, in valueOf()
239 public static RawContact create(String fullName, String firstName, String lastName, in create()
243 return new RawContact(null, fullName, firstName, lastName, cellPhone, officePhone, in create()
255 public static RawContact createDeletedContact(long rawContactId, long serverContactId) in createDeletedContact()
257 return new RawContact(null, null, null, null, null, null, null, in createDeletedContact()
DNetworkUtilities.java160 public static List<RawContact> syncContacts( in syncContacts()
161 Account account, String authtoken, long serverSyncState, List<RawContact> dirtyContacts) in syncContacts()
165 for (RawContact rawContact : dirtyContacts) { in syncContacts()
174 final ArrayList<RawContact> serverDirtyList = new ArrayList<RawContact>(); in syncContacts()
202 RawContact rawContact = RawContact.valueOf(serverContacts.getJSONObject(i)); in syncContacts()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
DSyncAdapter.java20 import com.example.android.samplesync.client.RawContact;
83 List<RawContact> dirtyContacts; in onPerformSync()
84 List<RawContact> updatedContacts; in onPerformSync()