/external/guice/examples/src/example/xml/ |
Phone.java | 5 Contacts contacts; field in class:Phone 7 public void setContacts(Contacts contacts) { 8 this.contacts = contacts; 11 public Contacts getContacts() { 12 return contacts;
|
Contacts.java | 3 public interface Contacts {
|
FlashMemory.java | 5 public class FlashMemory implements Contacts {
|
SimCard.java | 5 public class SimCard implements Contacts {
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
ContactsCursorLoader.java | 21 import android.provider.ContactsContract.Contacts; 34 Contacts._ID, // 0 35 Contacts.DISPLAY_NAME_PRIMARY, // 1 36 Contacts.PHOTO_ID, // 2 37 Contacts.PHOTO_THUMBNAIL_URI, // 3 38 Contacts.LOOKUP_KEY, // 4 44 Contacts.CONTENT_URI 46 .appendQueryParameter(Contacts.EXTRA_ADDRESS_BOOK_INDEX, "true") 51 Contacts.SORT_KEY_PRIMARY + " ASC");
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactsListLoader.java | 22 import android.provider.ContactsContract.Contacts; 29 Contacts._ID, // 0 30 Contacts.DISPLAY_NAME_PRIMARY, // 1 31 Contacts.DISPLAY_NAME_ALTERNATIVE, // 2 32 Contacts.SORT_KEY_PRIMARY, // 3 33 Contacts.STARRED, // 4 34 Contacts.TIMES_CONTACTED, // 5 35 Contacts.CONTACT_PRESENCE, // 6 36 Contacts.PHOTO_ID, // 7 37 Contacts.LOOKUP_KEY, // [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactTileLoaderFactory.java | 16 package com.android.contacts; 23 import android.provider.ContactsContract.Contacts; 29 * {@link com.android.contacts.list.ContactTileView}. 48 // contacts._id because the query is performed on the data table. In order to obtain the 54 Contacts._ID, // ..........................................0 55 Contacts.DISPLAY_NAME, // .................................1 56 Contacts.STARRED, // ......................................2 57 Contacts.PHOTO_URI, // ....................................3 58 Contacts.LOOKUP_KEY, // ...................................4 59 Contacts.CONTACT_PRESENCE, // ............................. [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ContactsDictionaryConstants.java | 20 import android.provider.ContactsContract.Contacts; 23 * Constants related to Contacts Content Provider. 27 * Projections for {@link Contacts.CONTENT_URI} 29 public static final String[] PROJECTION = { BaseColumns._ID, Contacts.DISPLAY_NAME, 30 Contacts.TIMES_CONTACTED, Contacts.LAST_TIME_CONTACTED, Contacts.IN_VISIBLE_GROUP }; 34 * Frequency for contacts information into the dictionary 40 * Do not attempt to query contacts if there are more than this many entries. 46 * Contacts & ContactsContract.Profile [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/ |
ContactTileLoaderFactory.java | 16 package com.android.contacts.common; 23 import android.provider.ContactsContract.Contacts; 27 * Used to create {@link CursorLoader} which finds contacts information from the strequents table. 29 * <p>Only returns contacts with phone numbers. 34 * The _ID field returned for strequent items actually contains data._id instead of contacts._id 41 Contacts._ID, 42 Contacts.DISPLAY_NAME_PRIMARY, 43 Contacts.STARRED, 44 Contacts.PHOTO_URI, 45 Contacts.LOOKUP_KEY [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_ContactsTest.java | 17 package android.provider.cts.contacts; 31 import android.provider.ContactsContract.Contacts; 34 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact; 35 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact; 36 import android.provider.cts.contacts.account.StaticAccountAuthenticator; 68 assertEquals(0, contact.getLong(Contacts.LAST_TIME_CONTACTED)); 69 assertEquals(0, contact.getLong(Contacts.TIMES_CONTACTED)); 71 assertEquals(0, rawContact.getLong(Contacts.LAST_TIME_CONTACTED)); 72 assertEquals(0, rawContact.getLong(Contacts.TIMES_CONTACTED)); 75 Contacts.markAsContacted(mResolver, contact.getId()) [all...] |
ContactsContract_FrequentsStrequentsTest.java | 17 package android.provider.cts.contacts; 29 import android.provider.ContactsContract.Contacts; 33 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact; 34 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact; 38 * CTS tests for {@link android.provider.ContactsContract.Contacts#CONTENT_FREQUENT_URI}, 39 * {@link android.provider.ContactsContract.Contacts#CONTENT_STREQUENT_URI} and 40 * {@link android.provider.ContactsContract.Contacts#CONTENT_STREQUENT_FILTER_URI} apis. 47 Contacts._ID, 48 Contacts.HAS_PHONE_NUMBER, 49 Contacts.NAME_RAW_CONTACT_ID [all...] |
ContactsContract_PinnedPositionsTest.java | 17 package android.provider.cts.contacts; 19 import static android.provider.cts.contacts.ContactUtil.newContentValues; 30 import android.provider.ContactsContract.Contacts; 33 import android.provider.cts.contacts.CommonDatabaseUtils; 34 import android.provider.cts.contacts.ContactUtil; 35 import android.provider.cts.contacts.DatabaseAsserts; 36 import android.provider.cts.contacts.RawContactUtil; 59 * values are correctly propogated to the contact's constituent raw contacts. 70 newContentValues(Contacts.PINNED, unpinned, Contacts.STARRED, 0)) [all...] |
ContactsContract_SearchSnippetsTest.java | 17 package android.provider.cts.contacts; 30 import android.provider.ContactsContract.Contacts; 34 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact; 35 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact; 46 Contacts._ID, 53 cv1.put(Contacts.DISPLAY_NAME, "Hot Tamale"); 57 cv2.put(Contacts.DISPLAY_NAME, "Cold Tamago"); 61 cv3.put(Contacts.DISPLAY_NAME, "John Doe"); 82 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() 90 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon( [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
ContactListAdapter.java | 16 package com.android.contacts.common.list; 22 import android.provider.ContactsContract.Contacts; 26 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest; 27 import com.android.contacts.common.R; 28 import com.android.contacts.common.preference.ContactsPreferences; 31 * A cursor adapter for the {@link ContactsContract.Contacts#CONTENT_TYPE} content type. Also 45 return uri.buildUpon().appendQueryParameter(Contacts.EXTRA_ADDRESS_BOOK_INDEX, "true").build(); 51 Uri uri = Contacts.getLookupUri(contactId, lookupKey); 179 Contacts._ID, // 0 180 Contacts.DISPLAY_NAME_PRIMARY, // [all...] |
/packages/apps/Contacts/src/com/android/contacts/compat/ |
ContactsCompat.java | 17 package com.android.contacts.compat; 21 import android.provider.ContactsContract.Contacts; 23 import com.android.contacts.ContactsUtils; 26 * Compatibility class for {@link ContactsContract.Contacts} 37 Uri.withAppendedPath(Contacts.CONTENT_URI, "filter_enterprise"); 39 // Copied from ContactsContract.Contacts#ENTERPRISE_CONTACT_ID_BASE, which is hidden. 46 return Contacts.CONTENT_FILTER_URI; 50 * Return {@code true} if a contact ID is from the contacts provider on the enterprise profile. 54 return Contacts.isEnterpriseContactId(contactId); 56 // copied from ContactsContract.Contacts.isEnterpriseContactI [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
QuickContactsDemo.java | 26 import android.provider.ContactsContract.Contacts; 35 Contacts._ID, // 0 36 Contacts.DISPLAY_NAME, // 1 37 Contacts.STARRED, // 2 38 Contacts.TIMES_CONTACTED, // 3 39 Contacts.CONTACT_PRESENCE, // 4 40 Contacts.PHOTO_ID, // 5 41 Contacts.LOOKUP_KEY, // 6 42 Contacts.HAS_PHONE_NUMBER, // 7 58 String select = "((" + Contacts.DISPLAY_NAME + " NOTNULL) AND ( [all...] |
LoaderCursor.java | 29 import android.provider.ContactsContract.Contacts; 43 * Demonstration of the use of a CursorLoader to load and display contacts 88 new String[] { Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS }, 163 // These are the Contacts rows that we will retrieve. 165 Contacts._ID, 166 Contacts.DISPLAY_NAME, 167 Contacts.CONTACT_STATUS, 168 Contacts.CONTACT_PRESENCE, 169 Contacts.PHOTO_ID [all...] |
LoaderRetained.java | 31 import android.provider.ContactsContract.Contacts; 45 * Demonstration of the use of a CursorLoader to load and display contacts 93 new String[] { Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS }, 168 // These are the Contacts rows that we will retrieve. 170 Contacts._ID, 171 Contacts.DISPLAY_NAME, 172 Contacts.CONTACT_STATUS, 173 Contacts.CONTACT_PRESENCE, 174 Contacts.PHOTO_ID [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List2.java | 21 import android.provider.ContactsContract.Contacts; 37 Cursor c = getContentResolver().query(Contacts.CONTENT_URI, 47 new String[] {Contacts.DISPLAY_NAME}, 54 Contacts._ID, 55 Contacts.DISPLAY_NAME
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactLookupKeyTest.java | 17 package com.android.providers.contacts; 22 import android.provider.ContactsContract.Contacts; 26 import com.android.providers.contacts.ContactLookupKey.LookupKeySegment; 27 import com.android.providers.contacts.testutil.RawContactUtil; 36 * adb shell am instrument -e class com.android.providers.contacts.ContactLookupKeyTest -w \ 37 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner 55 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId), 56 Contacts.LOOKUP_KEY, expectedLookupKey); 59 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, expectedLookupKey); 60 assertStoredValue(lookupUri, Contacts._ID, contactId) [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
Queries.java | 24 import android.provider.ContactsContract.Contacts; 32 Contacts.DISPLAY_NAME, // 0 38 Contacts.PHOTO_THUMBNAIL_URI, // 6 39 Contacts.DISPLAY_NAME_SOURCE, // 7 40 Contacts.LOOKUP_KEY, // 8 52 Contacts.DISPLAY_NAME, // 0 58 Contacts.PHOTO_THUMBNAIL_URI, // 6 59 Contacts.DISPLAY_NAME_SOURCE, // 7 60 Contacts.LOOKUP_KEY, // 8
|
/packages/apps/Dialer/java/com/android/contacts/common/compat/ |
ContactsCompat.java | 17 package com.android.contacts.common.compat; 23 import android.provider.ContactsContract.Contacts; 26 /** Compatibility class for {@link ContactsContract.Contacts} */ 31 Uri.withAppendedPath(Contacts.CONTENT_URI, "filter_enterprise"); 32 // Copied from ContactsContract.Contacts#ENTERPRISE_CONTACT_ID_BASE, which is hidden. 42 return Contacts.CONTENT_FILTER_URI; 46 * Return {@code true} if a contact ID is from the contacts provider on the enterprise profile. 50 return Contacts.isEnterpriseContactId(contactId); 52 // copied from ContactsContract.Contacts.isEnterpriseContactId
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/ |
CursorFragment.java | 26 import android.provider.ContactsContract.Contacts; 61 new String[] { Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS }, 104 // These are the Contacts rows that we will retrieve. 106 Contacts._ID, 107 Contacts.DISPLAY_NAME, 108 Contacts.CONTACT_STATUS, 109 Contacts.CONTACT_PRESENCE, 110 Contacts.PHOTO_ID, 111 Contacts.LOOKUP_KEY [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
PeopleActivityTest.java | 17 package com.android.contacts.activities; 23 import android.provider.ContactsContract.Contacts; 30 import com.android.contacts.ContactPhotoManager; 31 import com.android.contacts.ContactsApplication; 32 import com.android.contacts.model.AccountTypeManager; 33 import com.android.contacts.model.account.AccountType; 34 import com.android.contacts.model.account.AccountWithDataSet; 35 import com.android.contacts.model.account.BaseAccountType; 36 import com.android.contacts.test.mocks.ContactsMockContext; 37 import com.android.contacts.test.mocks.MockAccountTypeManager [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactListAdapter.java | 16 package com.android.contacts.list; 22 import android.provider.ContactsContract.Contacts; 30 import com.android.contacts.ContactPhotoManager.DefaultImageRequest; 31 import com.android.contacts.R; 32 import com.android.contacts.compat.ContactsCompat; 33 import com.android.contacts.preference.ContactsPreferences; 39 * A cursor adapter for the {@link ContactsContract.Contacts#CONTENT_TYPE} content type. 45 Contacts._ID, // 0 46 Contacts.DISPLAY_NAME_PRIMARY, // 1 47 Contacts.CONTACT_PRESENCE, // [all...] |