HomeSort by relevance Sort by last modified time
    Searched full:rawcontact (Results 1 - 25 of 27) sorted by null

1 2

  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 20 import com.example.android.samplesync.client.RawContact;
106 List<RawContact> rawContacts, long groupId, long lastSyncMarker) {
111 final List<RawContact> newUsers = new ArrayList<RawContact>();
114 for (final RawContact rawContact : rawContacts) {
121 if (rawContact.getSyncState() > currentSyncMarker) {
122 currentSyncMarker = rawContact.getSyncState();
132 if (rawContact.getRawContactId() > 0) {
133 rawContactId = rawContact.getRawContactId()
    [all...]
ContactOperations.java 82 * @param rawContactId the unique Id of the existing rawContact
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
RawContact.java 27 * Represents a low-level contacts RawContact - or at least
28 * the fields of the RawContact that we care about.
30 final public class RawContact {
33 private static final String TAG = "RawContact";
136 * Convert the RawContact object into a JSON string. From the
172 Log.i(TAG, "Error converting RawContact to JSONObject" + ex.toString());
178 public RawContact(String name, String fullName, String firstName, String lastName,
200 * Creates and returns an instance of the RawContact from the provided JSON data.
203 * @return user The new instance of Sample RawContact created from the JSON data.
205 public static RawContact valueOf(JSONObject contact)
    [all...]
NetworkUtilities.java 160 public static List<RawContact> syncContacts(
161 Account account, String authtoken, long serverSyncState, List<RawContact> dirtyContacts)
165 for (RawContact rawContact : dirtyContacts) {
166 jsonContacts.add(rawContact.toJSONObject());
174 final ArrayList<RawContact> serverDirtyList = new ArrayList<RawContact>();
202 RawContact rawContact = RawContact.valueOf(serverContacts.getJSONObject(i))
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_GroupMembershipTest.java 61 TestRawContact rawContact = mBuilder.newRawContact().insert();
63 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE)
68 groupMembership.assertColumn(GroupMembership.RAW_CONTACT_ID, rawContact.getId());
79 TestRawContact rawContact = mBuilder.newRawContact()
88 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE)
93 groupMembership.assertColumn(GroupMembership.RAW_CONTACT_ID, rawContact.getId());
105 TestRawContact rawContact = mBuilder.newRawContact()
109 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE)
120 groupMembership.assertColumn(GroupMembership.RAW_CONTACT_ID, rawContact.getId());
ContactsContract_RawContactsTest.java 60 TestRawContact rawContact = mBuilder.newRawContact()
68 rawContact.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
72 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri());
77 lookupContact.getId(), rawContact.load().getContactId());
88 TestRawContact rawContact = mBuilder.newRawContact()
92 rawContact.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
96 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri());
101 lookupContact.getId(), rawContact.load().getContactId());
ContactsContract_PhotoTest.java 54 TestRawContact rawContact = mBuilder.newRawContact().insert();
55 TestData photoData = rawContact.newDataRow(Photo.CONTENT_ITEM_TYPE)
60 photoData.assertColumn(Photo.RAW_CONTACT_ID, rawContact.getId());
65 TestRawContact rawContact = mBuilder.newRawContact().insert();
66 TestData photoData = rawContact.newDataRow(Photo.CONTENT_ITEM_TYPE)
ContactsContract_DataTest.java 62 TestRawContact rawContact = mBuilder.newRawContact()
70 TestData data = rawContact.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
90 TestRawContact rawContact = mBuilder.newRawContact()
94 TestData data = rawContact.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
ContactsContract_ContactsTest.java 64 TestRawContact rawContact = mBuilder.newRawContact().insert().load();
65 TestContact contact = rawContact.getContact().load();
ContactsContract_TestDataBuilder.java 287 public NestedTestContact(TestRawContact rawContact) {
288 mRawContact = rawContact;
313 public TestData(TestRawContact rawContact, String mimeType) {
314 this.mRawContact = rawContact;
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionView.java 20 import com.android.contacts.editor.AggregationSuggestionEngine.RawContact;
61 private List<RawContact> mRawContacts = Lists.newArrayList();
116 for (RawContact rawContact : mRawContacts) {
117 String accountType = rawContact.accountType;
118 String dataSet = rawContact.dataSet;
141 for (RawContact rawContact : mRawContacts) {
142 rawContactIds.add(rawContact.rawContactId);
AggregationSuggestionEngine.java 57 public static final class RawContact {
79 public List<RawContact> rawContacts;
393 RawContact rawContact = new RawContact();
394 rawContact.rawContactId = rawContactId;
395 rawContact.accountName = mDataCursor.getString(DataQuery.ACCOUNT_NAME);
396 rawContact.accountType = mDataCursor.getString(DataQuery.ACCOUNT_TYPE);
397 rawContact.dataSet = mDataCursor.getString(DataQuery.DATA_SET);
398 suggestion.rawContacts.add(rawContact);
    [all...]
BaseRawContactEditorView.java 40 * RawContact represented through an {@link EntityDelta}.
112 * @return the RawContact ID that this editor is editing.
ContactEditorFragment.java     [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactLoaderUtils.java 56 // RawContact-Uri? Transform it to ContactUri
67 // Legacy Style? Convert to RawContact
70 // Legacy Format. Convert to RawContact-Uri and then lookup the contact
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
SyncAdapter.java 20 import com.example.android.samplesync.client.RawContact;
82 List<RawContact> dirtyContacts;
83 List<RawContact> updatedContacts;
  /frameworks/base/core/java/android/content/
Entity.java 31 * corresponds to that RawContact. The uri refers to the Data table uri for each row.
  /packages/apps/Contacts/tests/src/com/android/contacts/
EntityDeltaTests.java 358 // Insert a RawContact
379 // Insert a RawContact
  /frameworks/base/docs/html/resources/articles/
contacts.jd 157 the <code>RawContact</code> row. The mode constants available include: </p>
  /packages/apps/Contacts/src/com/android/contacts/
ContactLoader.java     [all...]
ContactSaveService.java 325 throw new IllegalStateException("Could not determine RawContact ID after save");
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
BaseContactsProvider2Test.java     [all...]
ContactsProvider2Test.java     [all...]
  /frameworks/opt/vcard/java/com/android/vcard/
VCardEntry.java     [all...]
  /frameworks/base/core/java/android/provider/
ContactsContract.java     [all...]

Completed in 1535 milliseconds

1 2