/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/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/ContactsCommon/src/com/android/contacts/common/ |
ContactTileLoaderFactory.java | 16 package com.android.contacts.common; 25 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...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_FrequentsStrequentsTest.java | 31 import android.provider.ContactsContract.Contacts; 37 import android.provider.cts.contacts.DatabaseAsserts; 43 * CTS tests for {@link android.provider.ContactsContract.Contacts#CONTENT_FREQUENT_URI}, 44 * {@link android.provider.ContactsContract.Contacts#CONTENT_STREQUENT_URI} and 45 * {@link android.provider.ContactsContract.Contacts#CONTENT_STREQUENT_FILTER_URI} apis. 52 Contacts._ID, 53 Contacts.HAS_PHONE_NUMBER, 54 Contacts.NAME_RAW_CONTACT_ID, 55 Contacts.IS_USER_PROFILE, 56 Contacts.CUSTOM_RINGTONE [all...] |
ContactsContract_ContactsTest.java | 31 import android.provider.ContactsContract.Contacts; 34 import android.provider.cts.contacts.ContactUtil; 35 import android.provider.cts.contacts.DatabaseAsserts; 36 import android.provider.cts.contacts.RawContactUtil; 37 import android.provider.cts.contacts.account.StaticAccountAuthenticator; 68 long oldLastContacted = contact.getLong(Contacts.LAST_TIME_CONTACTED); 70 Contacts.markAsContacted(mResolver, contact.getId()); 73 long lastContacted = contact.getLong(Contacts.LAST_TIME_CONTACTED); 77 Contacts.markAsContacted(mResolver, contact.getId()); 80 lastContacted = contact.getLong(Contacts.LAST_TIME_CONTACTED) [all...] |
ContactsContract_PinnedPositionsTest.java | 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)); 72 newContentValues(Contacts.PINNED, unpinned, Contacts.STARRED, 0)) [all...] |
ContactsContract_PhotoTest.java | 25 import android.provider.ContactsContract.Contacts; 64 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); 65 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); 66 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); 76 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); 77 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); 78 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); 85 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); 86 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); 87 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)) [all...] |
Contacts_ContactMethodsTest.java | 20 import android.provider.Contacts; 21 import android.provider.Contacts.ContactMethods; 56 String display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, 62 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, 66 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, 70 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, 75 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_IM, 79 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_ORGANIZATION, 83 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_PHONE, 87 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_POSTAL [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
ContactsCompat.java | 17 package com.android.contacts.common.compat; 21 import android.provider.ContactsContract.Contacts; 23 import com.android.contacts.common.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...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListAdapter.java | 16 package com.android.contacts.common.list; 22 import android.provider.ContactsContract.Contacts; 29 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest; 30 import com.android.contacts.common.R; 31 import com.android.contacts.common.compat.ContactsCompat; 32 import com.android.contacts.common.preference.ContactsPreferences; 35 * A cursor adapter for the {@link ContactsContract.Contacts#CONTENT_TYPE} content type. 43 Contacts._ID, // 0 44 Contacts.DISPLAY_NAME_PRIMARY, // 1 45 Contacts.CONTACT_PRESENCE, // [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
|
/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 }, 103 // These are the Contacts rows that we will retrieve. 105 Contacts._ID, 106 Contacts.DISPLAY_NAME, 107 Contacts.CONTACT_STATUS, 108 Contacts.CONTACT_PRESENCE, 109 Contacts.PHOTO_ID, 110 Contacts.LOOKUP_KEY [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
PeopleActivityTest.java | 17 package com.android.contacts.activities; 25 import android.provider.ContactsContract.Contacts; 34 import com.android.contacts.ContactsApplication; 35 import com.android.contacts.R; 36 import com.android.contacts.common.ContactPhotoManager; 37 import com.android.contacts.common.testing.InjectedServices; 38 import com.android.contacts.common.test.mocks.ContactsMockContext; 39 import com.android.contacts.common.test.mocks.MockContentProvider; 40 import com.android.contacts.common.test.mocks.MockContentProvider.Query; 41 import com.android.contacts.interactions.TestLoaderManager [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
ContactLoaderTest.java | 17 package com.android.contacts.common.model; 24 import android.provider.ContactsContract.Contacts; 32 import com.android.contacts.common.compat.CompatUtils; 33 import com.android.contacts.common.model.AccountTypeManager; 34 import com.android.contacts.common.model.account.AccountType; 35 import com.android.contacts.common.model.account.AccountWithDataSet; 36 import com.android.contacts.common.model.account.BaseAccountType; 37 import com.android.contacts.common.testing.InjectedServices; 38 import com.android.contacts.common.test.mocks.ContactsMockContext; 39 import com.android.contacts.common.test.mocks.MockContentProvider [all...] |
/developers/samples/android/content/LoaderCursor/src/com/example/android/content/loadercursor/ |
CursorLoaderListFragment.java | 26 import android.provider.ContactsContract.Contacts; 41 * display a list of contacts accessed through a {@link Cursor}. 74 Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS 172 // These are the Contacts rows that we will retrieve. 174 Contacts._ID, 175 Contacts.DISPLAY_NAME, 176 Contacts.CONTACT_STATUS, 177 Contacts.LOOKUP_KEY, 188 baseUri = Uri.withAppendedPath(Contacts.CONTENT_FILTER_URI [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
ContactsTableUtil.java | 17 package com.android.providers.contacts.database; 19 import static android.provider.ContactsContract.Contacts; 20 import static com.android.providers.contacts.ContactsDatabaseHelper.Tables; 29 import com.android.providers.contacts.util.Clock; 34 * Methods for operating on the contacts table. 44 final String table = Tables.CONTACTS; 47 Contacts.HAS_PHONE_NUMBER + 51 Contacts.NAME_RAW_CONTACT_ID + 55 Contacts.CONTACT_LAST_UPDATED_TIMESTAMP)); 60 values.put(Contacts.CONTACT_LAST_UPDATED_TIMESTAMP [all...] |