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

  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
ContactsTest.java 96 private class ContactInfo { // Not static to access outer world.
104 public ContactInfo(String contactId, String displayName, String photoUri,
168 ContactInfo contactInfo = getContactInfoFromPhoneLookupUri(false /*isEnterprise*/,
170 assertNotNull(contactInfo);
171 assertEquals(PRIMARY_CONTACT_DISPLAY_NAME, contactInfo.displayName);
172 contactInfo.assertNoPhotoUri();
173 assertFalse(contactInfo.hasPhotoId());
174 assertFalse(isEnterpriseContactId(contactInfo.contactId));
176 contactInfo = getContactInfoFromEmailLookupUri(false /*isEnterprise*/
    [all...]
  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessorSdk3_4.java 55 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) {
56 ContactInfo contactInfo = new ContactInfo();
61 contactInfo.setDisplayName(cursor.getString(0));
73 contactInfo.setPhoneNumber(cursor.getString(0));
79 return contactInfo;
ContactAccessorSdk5.java 58 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) {
59 ContactInfo contactInfo = new ContactInfo();
68 contactInfo.setDisplayName(cursor.getString(1));
80 contactInfo.setPhoneNumber(cursor.getString(0));
86 return contactInfo;
BusinessCardActivity.java 99 AsyncTask<Uri, Void, ContactInfo> task = new AsyncTask<Uri, Void, ContactInfo>() {
102 protected ContactInfo doInBackground(Uri... uris) {
107 protected void onPostExecute(ContactInfo result) {
118 protected void bindView(ContactInfo contactInfo) {
120 displayNameView.setText(contactInfo.getDisplayName());
123 phoneNumberView.setText(contactInfo.getPhoneNumber());

Completed in 133 milliseconds