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

  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_PeopleTest.java 125 int personId = cursor.getInt(PEOPLE_ID_INDEX);
127 mRowsAdded.add(People.addToMyContactsGroup(mContentResolver, personId));
133 cursor = People.queryGroups(mContentResolver, personId);
135 assertEquals(personId, cursor.getInt(MEMBERSHIP_PERSON_ID_INDEX));
149 personId = cursor.getInt(PEOPLE_ID_INDEX);
150 mRowsAdded.add(ContentUris.withAppendedId(People.CONTENT_URI, personId));
157 cursor = People.queryGroups(mContentResolver, personId);
159 assertEquals(personId, cursor.getInt(MEMBERSHIP_PERSON_ID_INDEX));
167 personId = cursor.getInt(PEOPLE_ID_INDEX);
174 mRowsAdded.add(People.addToGroup(mContentResolver, personId, groupId))
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
LegacyContactsProviderTest.java 81 long personId = ContentUris.parseId(uri);
83 assertSelection(People.CONTENT_URI, values, "people", People._ID, personId);
92 mResolver.update(People.CONTENT_URI, values, People._ID + "=" + personId, null);
99 Uri personId = mResolver.insert(People.CONTENT_URI, values);
100 mResolver.delete(personId, null, null);
102 Cursor c = mResolver.query(personId, null, People.NAME + "='John Doe'" , null, null);
142 long personId = ContentUris.parseId(personUri);
149 values.put(Organizations.PERSON_ID, personId);
156 values.put(Organizations.PERSON_ID, personId);
186 long personId = ContentUris.parseId(personUri)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
Face.java 30 public Face(String name, String personId, String rect) {
32 mPersonId = personId;
  /packages/apps/Contacts/src/com/android/contacts/list/
LegacyContactListAdapter.java 71 long personId = cursor.getLong(PERSON_ID_COLUMN_INDEX);
72 return ContentUris.withAppendedId(People.CONTENT_URI, personId);
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceContact.java 144 long personId = ID_UNDEFINED;
168 + " personId=" + personIdAtCursor
175 contacts.add(new VoiceContact(name, personId, primaryId,
183 personId = personIdAtCursor;
250 contacts.add(new VoiceContact(name, personId, primaryId,
  /frameworks/base/core/java/android/provider/
Contacts.java 444 * @param personId the person who was contacted
448 public static void markAsContacted(ContentResolver resolver, long personId) {
449 Uri uri = ContentUris.withAppendedId(CONTENT_URI, personId);
482 * @param personId the person to add to the group
488 public static Uri addToMyContactsGroup(ContentResolver resolver, long personId) {
494 return addToGroup(resolver, personId, groupId);
501 * @param personId the person to add to the group
508 public static Uri addToGroup(ContentResolver resolver, long personId, String groupName) {
526 return addToGroup(resolver, personId, groupId);
533 * @param personId the person to add to the grou
    [all...]
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 859 milliseconds