HomeSort by relevance Sort by last modified time
    Searched refs:mContactId (Results 1 - 13 of 13) sorted by null

  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_PinnedPositionsTest.java 69 assertValuesForContact(i1.mContactId,
71 assertValuesForContact(i2.mContactId,
73 assertValuesForContact(i3.mContactId,
75 assertValuesForContact(i4.mContactId,
85 operations.add(newPinningOperation(i1.mContactId, 1, true));
86 operations.add(newPinningOperation(i3.mContactId, 3, true));
87 operations.add(newPinningOperation(i4.mContactId, 2, false));
90 assertValuesForContact(i1.mContactId,
92 assertValuesForContact(i2.mContactId,
94 assertValuesForContact(i3.mContactId,
    [all...]
ContactsContract_DeletedContacts.java 70 if (Long.parseLong(record[0]) == ids.mContactId) {
82 DeletedContactUtil.queryDeletedTimestampForContactId(mResolver, ids.mContactId));
105 beforeIds.add(createAndDeleteContact().mContactId);
106 beforeIds.add(createAndDeleteContact().mContactId);
112 afterIds.add(createAndDeleteContact().mContactId);
113 afterIds.add(createAndDeleteContact().mContactId);
114 afterIds.add(createAndDeleteContact().mContactId);
136 DeletedContactUtil.queryDeletedTimestampForContactId(mResolver, ids.mContactId));
ContactsContract_RawContactsTest.java 174 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
180 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
190 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
194 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime);
203 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
207 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime);
ContactsProvider2_AccountRemovalTest.java 110 long contactId = idList.get(0).mContactId;
146 ids1.mContactId = mergedContactId;
147 ids2.mContactId = mergedContactId;
187 ids.mContactId);
ContactsContract_ContactsTest.java 135 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, start);
148 List<String[]> records = RawContactUtil.queryByContactId(mResolver, ids.mContactId,
162 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
168 ContactUtil.update(mResolver, ids.mContactId, values);
170 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
337 ContactUtil.delete(mResolver, ids.mContactId);
339 assertFalse(ContactUtil.recordExistsForContactId(mResolver, ids.mContactId));
DatabaseAsserts.java 118 public long mContactId;
122 this.mContactId = contactId;
129 "mContactId=" + mContactId +
ContactsContract_DataTest.java 572 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
577 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
589 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
594 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
668 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
675 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
676 assertTrue("Expected contact " + ids.mContactId + " last updated to be greater than " +
    [all...]
  /developers/samples/android/content/SharingShortcuts/Application/src/main/java/com/example/android/sharingshortcuts/
SendMessageActivity.java 46 private int mContactId;
72 if (mContactId == Contact.INVALID_ID) {
82 mContactId = data.getIntExtra(Contact.ID, Contact.INVALID_ID);
85 if (mContactId == Contact.INVALID_ID) {
98 * text. {@link #mBody} and {@link #mContactId} are modified accordingly.
111 mContactId = Integer.valueOf(shortcutId);
114 mContactId = Contact.INVALID_ID;
125 if (mContactId != Contact.INVALID_ID) {
126 Contact contact = Contact.byId(mContactId);
157 getString(R.string.message_sent, mBody, Contact.byId(mContactId).getName())
    [all...]
  /developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/
SendMessageActivity.java 45 private int mContactId;
71 if (mContactId == Contact.INVALID_ID) {
81 mContactId = data.getIntExtra(Contact.ID, Contact.INVALID_ID);
84 if (mContactId == Contact.INVALID_ID) {
97 * text. {@link #mBody} and {@link #mContactId} are modified accordingly.
106 mContactId = intent.getIntExtra(Contact.ID, Contact.INVALID_ID);
116 if (mContactId != Contact.INVALID_ID) {
117 Contact contact = Contact.byId(mContactId);
148 getString(R.string.message_sent, mBody, Contact.byId(mContactId).getName()),
  /developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/
SendMessageActivity.java 45 private int mContactId;
71 if (mContactId == Contact.INVALID_ID) {
81 mContactId = data.getIntExtra(Contact.ID, Contact.INVALID_ID);
84 if (mContactId == Contact.INVALID_ID) {
97 * text. {@link #mBody} and {@link #mContactId} are modified accordingly.
106 mContactId = intent.getIntExtra(Contact.ID, Contact.INVALID_ID);
116 if (mContactId != Contact.INVALID_ID) {
117 Contact contact = Contact.byId(mContactId);
148 getString(R.string.message_sent, mBody, Contact.byId(mContactId).getName()),
  /development/samples/browseable/DirectShare/src/com.example.android.directshare/
SendMessageActivity.java 45 private int mContactId;
71 if (mContactId == Contact.INVALID_ID) {
81 mContactId = data.getIntExtra(Contact.ID, Contact.INVALID_ID);
84 if (mContactId == Contact.INVALID_ID) {
97 * text. {@link #mBody} and {@link #mContactId} are modified accordingly.
106 mContactId = intent.getIntExtra(Contact.ID, Contact.INVALID_ID);
116 if (mContactId != Contact.INVALID_ID) {
117 Contact contact = Contact.byId(mContactId);
148 getString(R.string.message_sent, mBody, Contact.byId(mContactId).getName()),
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
PresenceContact.java 39 String mContactId = null;
53 mContactId = contactId;
74 return mContactId;
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ContactsFacade.java 61 private String mContactId;
79 mContactId = (String) phone.getField("CONTACT_ID").get(null);
205 mContactId + " = ? and " + mPrimary + "=1",

Completed in 840 milliseconds