/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...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
InvisibleContactUtil.java | 1 package com.android.contacts.quickcontact; 8 import com.android.contacts.ContactSaveService; 9 import com.android.contacts.group.GroupMetaData; 10 import com.android.contacts.model.AccountTypeManager; 11 import com.android.contacts.model.Contact; 12 import com.android.contacts.model.RawContact; 13 import com.android.contacts.model.RawContactDelta; 14 import com.android.contacts.model.RawContactDeltaList; 15 import com.android.contacts.model.RawContactModifier; 16 import com.android.contacts.model.ValuesDelta [all...] |
/development/samples/browseable/RuntimePermissions/res/values/ |
strings.xml | 4 <string name="contacts_string">Total number of contacts: %1$,d\nFirst contact:<b>%2$s</b></string> 5 <string name="contacts_none">No contacts stored on device.</string> 6 <string name="contacts_empty">Contacts not loaded.</string> 15 <string name="show_contacts">Show and add contacts</string> 16 <string name="main_introduction">Click the buttons below to show a camera preview or access the contacts database.\nNote that the contacts option is only available on Android M to illustrate the use of optional, M-only permissions that are not requested on lower SDK platforms.</string> 18 <string name="permision_available_contacts">Contacts Permissions have been granted. Contacts screen can now be opened.</string> 21 <string name="permission_contacts_rationale">Contacts permissions are needed to demonstrate access.</string>
|
/packages/apps/Dialer/java/com/android/dialer/widget/res/values/ |
strings.xml | 24 <!-- [CHAR LIMIT=NONE] Shown when there are no contacts in the all contacts list. --> 25 <string name="all_contacts_empty">You don\'t have any contacts yet</string> 27 <!-- [CHAR LIMIT=NONE] Shown as an action when the all contacts list is empty --> 33 <!-- Shown as a prompt to turn on the contacts permission to show all contacts [CHAR LIMIT=NONE]--> 34 <string name="permission_no_contacts">To see your contacts, turn on the Contacts permission.</string> 37 <string name="add_contact_not_available">No contacts app available</string>
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
expected_groups.txt | 3 3 account_name=android.contacts.test.eclair@gmail.com 7 7 notes=System Group: My Contacts 10 10 system_id=Contacts 11 11 title=System Group: My Contacts 20 20 account_name=android.contacts.test.eclair@gmail.com 24 24 notes=Eclair Contacts 28 28 title=Eclair Contacts 37 37 account_name=android.contacts.test.eclair@gmail.com 54 54 account_name=android.contacts.test.eclair@gmail.com
|
/development/samples/ContactManager/ |
_index.html | 1 <p>A sample application that demonstrates how to manually query the system contacts provider using 4 well as manually insert contacts into a specific account.</p> 6 <p>In most cases, you will want to ask the existing Contacts activity to handle these tasks for you,
|
/external/autotest/client/site_tests/hardware_TouchScreenPowerCycles/ |
control | 7 PURPOSE = "Check whether there are spurious contacts." 8 CRITERIA = "Fails if there are any spurious contacts." 15 Check if there are any spurious contacts when power is cycled.
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_PhotoTest.java | 17 package android.provider.cts.contacts; 24 import android.provider.ContactsContract.Contacts; 25 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact; 26 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData; 27 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact; 66 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); 67 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); 68 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); 78 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); 79 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)) [all...] |
ContactsContract_DumpFileProviderTest.java | 17 package android.provider.cts.contacts; 27 private static final String URI_PREFIX = "content://com.android.contacts.dumpfile/"; 31 "../A-contacts-db.zip", // ".." is not allowed. 32 "/A-contacts-db.zip", // "/" is not allowed 33 "-contacts-db.zip", // no name prefix 34 "asdf-contacts-db.zip"}; 37 "1234567890abcdefABCDEF-contacts-db.zip", 38 "a-contacts-db.zip", 39 "0-contacts-db.zip", 40 "A-contacts-db.zip" [all...] |
ContactsContract_AggregationSuggestionsTest.java | 17 package android.provider.cts.contacts; 26 import android.provider.ContactsContract.Contacts; 27 import android.provider.ContactsContract.Contacts.AggregationSuggestions; 29 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact; 33 * CTS tests for {@link android.provider.ContactsContract.Contacts.AggregationSuggestions} APIs. 37 = new String[] {Contacts.DISPLAY_NAME, Contacts._ID}; 73 values.put(Contacts._ID, contactIds[0]); 74 values.put(Contacts.DISPLAY_NAME, "first1 last1"); 95 values.put(Contacts._ID, contactIds[0]) [all...] |
ContactsContract_DataTest.java | 17 package android.provider.cts.contacts; 36 import android.provider.ContactsContract.Contacts; 37 import android.provider.ContactsContract.Contacts.Entity; 42 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact; 43 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData; 44 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact; 99 Contacts.CUSTOM_RINGTONE, 100 Contacts.DISPLAY_NAME, 101 Contacts.DISPLAY_NAME_ALTERNATIVE, 102 Contacts.DISPLAY_NAME_SOURCE [all...] |
Contacts_ContactMethodsTest.java | 17 package android.provider.cts.contacts; 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 [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...] |
DefaultContactListAdapter.java | 16 package com.android.contacts.list; 27 import android.provider.ContactsContract.Contacts; 34 import com.android.contacts.compat.ContactsCompat; 35 import com.android.contacts.model.account.AccountWithDataSet; 36 import com.android.contacts.preference.ContactsPreferences; 42 * A cursor adapter for the {@link ContactsContract.Contacts#CONTENT_TYPE} content type. 49 // Contacts contacted within the last 3 days (in seconds) 52 // Contacts contacted within the last 7 days (in seconds) 55 // Contacts contacted within the last 14 days (in seconds) 58 // Contacts contacted within the last 30 days (in seconds [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
ContactLoaderTest.java | 17 package com.android.contacts.model; 24 import android.provider.ContactsContract.Contacts; 32 import com.android.contacts.compat.CompatUtils; 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; 38 import com.android.contacts.test.mocks.MockContentProvider; 39 import com.android.contacts.testing.InjectedServices [all...] |
/packages/apps/Contacts/src/com/android/contacts/extensions/ |
ExtendedPhoneDirectoriesManager.java | 3 package com.android.contacts.extensions; 7 import com.android.contacts.list.DirectoryPartition; 13 * {@link com.android.contacts.list.PhoneNumberListAdapter}. 17 * {@link com.android.contacts.list.PhoneNumberListAdapter}.
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
EventLogTags.logtags | 3 option java_package com.android.providers.contacts;
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
FakeSimContactDao.java | 16 package com.android.contacts.tests; 22 import com.android.contacts.database.SimContactDao; 23 import com.android.contacts.model.SimCard; 24 import com.android.contacts.model.SimContact; 25 import com.android.contacts.model.account.AccountWithDataSet; 68 public ContentProviderResult[] importContacts(List<SimContact> contacts, 94 List<SimContact> contacts) { 98 public FakeSimContactDao addSim(SimCard sim, SimContact... contacts) { 100 simContacts.put(sim, new ArrayList<>(Arrays.asList(contacts))); 104 public static FakeSimContactDao singleSimWithContacts(SimCard sim, SimContact... contacts) { [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
cdoexstr.h | 115 #define cdoAccount L"urn:schemas:contacts:account" 116 #define cdoBirthday L"urn:schemas:contacts:bday" 117 #define cdoCallbackPhone L"urn:schemas:contacts:callbackphone" 118 #define cdoChildrensNames L"urn:schemas:contacts:childrensnames" 119 #define cdoCommonName L"urn:schemas:contacts:cn" 120 #define cdoComputerNetworkName L"urn:schemas:contacts:computernetworkname" 121 #define cdoCustomerId L"urn:schemas:contacts:customerid" 122 #define cdoDepartment L"urn:schemas:contacts:department" 123 #define cdoDistinguishedName L"urn:schemas:contacts:dn" 124 #define cdoEmail1Address L"urn:schemas:contacts:email1 [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...] |
/packages/providers/ContactsProvider/res/values-en-rXC/ |
strings.xml | 20 <string name="app_label" msgid="3389954322874982620">"???????????????????????????????????????????????????????????????????????????????????????????????Contacts Storage??????"</string> 21 <string name="provider_label" msgid="6012150850819899907">"????????????????????????????????????????????????????????????????????????????????????????????????Contacts??????"</string> 22 <string name="upgrade_out_of_memory_notification_ticker" msgid="7638747231223520477">"????????????????????????????????????????????????????????????????????????????????????????????????Contacts upgrade needs more memory.??????"</string> 23 <string name="upgrade_out_of_memory_notification_title" msgid="8888171924684998531">"????????????????????????????????????????????????????????????????????????????????????????????????Upgrading storage for contacts??????"</string> 25 <string name="default_directory" msgid="93961630309570294">"??????????????????????????????????????????????????????????????????????????????????????????Contacts??????"</string> 28 <string name="debug_dump_title" msgid="4916885724165570279">"????????????????????????????????????????????????????????????????????????????????????????????????Copy contacts database??????"</string> 29 <string name="debug_dump_database_message" msgid="406438635002392290">"????????????????????????????????????????????????????????????????????????????????????????????You are about to 1) make a copy of your database which includes all contacts related information and all call log to the internal storage, and 2) email it. Remember to delete the copy as soon as you have successfully copied it off the device or the email is received.??????"</string> 33 <string name="debug_dump_email_subject" msgid="108188398416385976">"??????????????????????????????????????????????????????????????????????????????????????????Contacts Db attached??????"</string> 34 <string name="debug_dump_email_body" msgid="4577749800871444318">"???????????????????????????????????????????????????????????????????????????????????????????????Attached is my contacts database with all my contacts information. Handle with care.??????"</string [all...] |
/packages/providers/ContactsProvider/res/values-fr/ |
strings.xml | 20 <string name="app_label" msgid="3389954322874982620">"Liste des contacts"</string> 21 <string name="provider_label" msgid="6012150850819899907">"Contacts"</string> 22 <string name="upgrade_out_of_memory_notification_ticker" msgid="7638747231223520477">"La mise à jour des contacts requiert plus de mémoire."</string> 23 <string name="upgrade_out_of_memory_notification_title" msgid="8888171924684998531">"Mise à jour du stockage des contacts"</string> 25 <string name="default_directory" msgid="93961630309570294">"Contacts"</string> 28 <string name="debug_dump_title" msgid="4916885724165570279">"Copier la base de données de contacts"</string> 29 <string name="debug_dump_database_message" msgid="406438635002392290">"Vous êtes sur le point de 1) faire une copie de votre base de données (qui inclut toutes les données relatives aux contacts et l\'intégralité du journal d\'appels) dans la mémoire de stockage interne, puis de 2) l\'envoyer par e-mail. N\'oubliez pas de supprimer la copie une fois qu\'elle a été dupliquée ou dès que l\'e-mail a été reçu."</string> 33 <string name="debug_dump_email_subject" msgid="108188398416385976">"Base de données de contacts ci-jointe"</string> 34 <string name="debug_dump_email_body" msgid="4577749800871444318">"Veuillez trouver ci-joint ma base de données de contacts incluant toutes les coordonnées de mes contacts. Merci de la traiter avec précaution."</string [all...] |
/packages/providers/ContactsProvider/res/values-fr-rCA/ |
strings.xml | 20 <string name="app_label" msgid="3389954322874982620">"Liste des contacts"</string> 21 <string name="provider_label" msgid="6012150850819899907">"Contacts"</string> 22 <string name="upgrade_out_of_memory_notification_ticker" msgid="7638747231223520477">"La mise à jour des contacts requiert plus de mémoire."</string> 23 <string name="upgrade_out_of_memory_notification_title" msgid="8888171924684998531">"Mise à jour du stockage des contacts"</string> 25 <string name="default_directory" msgid="93961630309570294">"Contacts"</string> 28 <string name="debug_dump_title" msgid="4916885724165570279">"Copier la base de données de contacts"</string> 29 <string name="debug_dump_database_message" msgid="406438635002392290">"Vous êtes sur le point de 1) faire une copie de votre base de données (qui inclut toutes les données relatives aux contacts et l\'intégralité du journal d\'appels) dans la mémoire de stockage interne, puis de 2) l\'envoyer par courriel. N\'oubliez pas de supprimer la copie une fois qu\'elle a été dupliquée ou dès que le courriel a été reçu."</string> 33 <string name="debug_dump_email_subject" msgid="108188398416385976">"Base de données de contacts ci-jointe"</string> 34 <string name="debug_dump_email_body" msgid="4577749800871444318">"Veuillez trouver ci-joint ma base de données de contacts incluant toutes les coordonnées de mes contacts. Merci de la traiter avec précaution."</string [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...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
FrequentContactsCursorQueryData.java | 23 import android.provider.ContactsContract.Contacts; 31 * Helper for querying frequent (and/or starred) contacts. 77 // Some phones have a buggy implementation of the Contacts provider which crashes 78 // when we query for strequent (starred+frequent) contacts (b/17991485). 79 // If this happens, switch to just querying for frequent contacts. 80 return Contacts.CONTENT_FREQUENT_URI; 91 // contacts. This is the last-ditch effort; if this fails, we will display an 95 // TODO: Handle enterprise contacts post M once contacts provider supports it 96 return Contacts.CONTENT_STREQUENT_URI.buildUpon( [all...] |