/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ContactsContentObserver.java | 24 import android.provider.ContactsContract.Contacts; 36 * A content observer that listens to updates to content provider {@link Contacts#CONTENT_URI}. 56 Log.i(TAG, "No permission to read contacts. Not registering the observer."); 57 // do nothing if we do not have the permission to read contacts. 73 contentResolver.registerContentObserver(Contacts.CONTENT_URI, true, mContentObserver); 80 Log.i(TAG, "No permission to read contacts. Not updating the contacts."); 93 Log.d(TAG, "run() : Contacts have changed. Notifying listeners."); 103 Log.i(TAG, "No permission to read contacts. Marking contacts as not changed.") [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
ProfileAggregator.java | 16 package com.android.providers.contacts.aggregation; 21 import android.provider.ContactsContract.Contacts; 23 import com.android.providers.contacts.ContactLookupKey; 24 import com.android.providers.contacts.ContactsDatabaseHelper; 25 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 26 import com.android.providers.contacts.ContactsProvider2; 27 import com.android.providers.contacts.NameSplitter; 28 import com.android.providers.contacts.PhotoPriorityResolver; 29 import com.android.providers.contacts.TransactionContext; 30 import com.android.providers.contacts.aggregation.util.CommonNicknameCache [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
ContactResultsAdapter.java | 21 import android.provider.ContactsContract.Contacts; 33 * An adapter that will parse a list of contacts given by a {@link Cursor} that display the 49 * Sets the list of contacts that should be displayed. The given {@link Cursor} can be safely 56 int idColIdx = data.getColumnIndex(Contacts._ID); 57 int lookupColIdx = data.getColumnIndex(Contacts.LOOKUP_KEY); 58 int nameColIdx = data.getColumnIndex(Contacts.DISPLAY_NAME); 59 int photoUriColIdx = data.getColumnIndex(Contacts.PHOTO_URI); 61 Uri lookupUri = Contacts.getLookupUri( 99 // list of contacts not be limited.
|
/packages/apps/Dialer/java/com/android/dialer/main/impl/res/values/ |
strings.xml | 28 <!-- Text for a toolbar button that shows the user their contacts [CHAR LIMIT=NONE] --> 30 <!-- A11y announcement to let users know a button will let them search for contacts and places [CHAR LIMIT=NONE] --> 31 <string name="description_search">Search contacts and places</string> 33 <!-- Text for a toolbar button that shows the user their contacts [CHAR LIMIT=NONE] --> 34 <string name="contacts">Contacts</string> 35 <!-- A11y announcement to let users know a button will let them view their contacts [CHAR LIMIT=NONE] --> 36 <string name="description_contacts">View Contacts</string> 40 <!-- Tab text to show users their favorite contacts that they can call in 1 click [CHAR LIMIT=10] -->
|
/packages/providers/ContactsProvider/res/values-en-rAU/ |
strings.xml | 20 <string name="app_label" msgid="3389954322874982620">"Contacts Storage"</string> 21 <string name="provider_label" msgid="6012150850819899907">"Contacts"</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>
|
/packages/providers/ContactsProvider/res/values-en-rCA/ |
strings.xml | 20 <string name="app_label" msgid="3389954322874982620">"Contacts Storage"</string> 21 <string name="provider_label" msgid="6012150850819899907">"Contacts"</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>
|
/packages/providers/ContactsProvider/res/values-en-rGB/ |
strings.xml | 20 <string name="app_label" msgid="3389954322874982620">"Contacts Storage"</string> 21 <string name="provider_label" msgid="6012150850819899907">"Contacts"</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>
|
/packages/providers/ContactsProvider/res/values-en-rIN/ |
strings.xml | 20 <string name="app_label" msgid="3389954322874982620">"Contacts Storage"</string> 21 <string name="provider_label" msgid="6012150850819899907">"Contacts"</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>
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
EABContactManager.java | 59 public final static String COLUMN_ID = Contacts.Impl._ID; 66 Contacts.Impl.CONTACT_LAST_UPDATED_TIMESTAMP; 73 Contacts.Impl._ID, 74 Contacts.Impl.CONTACT_NUMBER, 75 Contacts.Impl.CONTACT_NAME, 76 Contacts.Impl.CONTACT_LAST_UPDATED_TIMESTAMP, 77 Contacts.Impl.VOLTE_CALL_SERVICE_CONTACT_ADDRESS, 78 Contacts.Impl.VOLTE_CALL_CAPABILITY, 79 Contacts.Impl.VOLTE_CALL_CAPABILITY_TIMESTAMP, 80 Contacts.Impl.VOLTE_CALL_AVAILABILITY [all...] |
PollingsQueue.java | 77 public synchronized void add(int type, List<Contacts.Item> list) { 82 List<Contacts.Item> contacts = new ArrayList<Contacts.Item>(); local 83 contacts.clear(); 85 Contacts.Item item = list.get(i); 88 for(int j = 0; j < contacts.size(); j++) { 89 Contacts.Item item0 = contacts.get(j); 102 Contacts.Item item0 = task.mContacts.get(k) [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
SimImportActivity.java | 16 package com.android.contacts.activities; 22 import com.android.contacts.AppCompatContactsActivity; 23 import com.android.contacts.R; 24 import com.android.contacts.SimImportFragment; 25 import com.android.contacts.model.SimCard;
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
Bindings.java | 17 package com.android.contacts.common; 20 import com.android.contacts.common.bindings.ContactsCommonBindings; 21 import com.android.contacts.common.bindings.ContactsCommonBindingsFactory; 22 import com.android.contacts.common.bindings.ContactsCommonBindingsStub; 25 /** Accessor for the contacts common bindings. */
|
/packages/apps/Dialer/java/com/android/contacts/common/compat/ |
ContactsCompat.java | 17 package com.android.contacts.common.compat; 23 import android.provider.ContactsContract.Contacts; 25 /** Compatibility class for {@link ContactsContract.Contacts} */ 30 Uri.withAppendedPath(Contacts.CONTENT_URI, "filter_enterprise"); 39 return Contacts.CONTENT_FILTER_URI;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PhotoPriorityResolverTest.java | 17 package com.android.providers.contacts; 27 * adb shell am instrument -e class com.android.providers.contacts.PhotoPriorityResolverTest -w \ 28 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner 37 // See the res/xml/contacts.xml file where this priority is specified. 39 resolver.resolvePhotoPriorityFromMetaData("com.android.providers.contacts.tests"));
|
/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...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
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...] |
ContactsContract_ContactCountsTest.java | 17 package android.provider.cts.contacts; 29 import android.provider.ContactsContract.Contacts; 31 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact; 32 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact; 42 final String[] TEST_PROJECTION = new String[] {Contacts.DISPLAY_NAME}; 61 final Cursor cursor = mResolver.query(Contacts.CONTENT_URI, TEST_PROJECTION, 65 assertFalse(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); 66 assertFalse(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); 74 final Uri uri = Contacts.CONTENT_URI.buildUpon() 75 .appendQueryParameter(Contacts.EXTRA_ADDRESS_BOOK_INDEX, "true").build() [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
EnterpriseContactsCursorWrapper.java | 17 package com.android.providers.contacts.enterprise; 28 import android.provider.ContactsContract.Contacts; 36 import com.android.providers.contacts.ContactsProvider2; 84 case Contacts.PHOTO_THUMBNAIL_URI: 90 case Contacts.PHOTO_URI: 109 case Contacts.LOOKUP_KEY: 114 return Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX + lookupKey; 130 return result + Contacts.ENTERPRISE_CONTACT_ID_BASE; 164 * Example: "content://com.android.contacts/contacts_corp/ID/photo" 169 final int thumbnailUriIndex = originalCursor.getColumnIndex(Contacts.PHOTO_THUMBNAIL_URI) [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
DirectoryContactUtil.java | 17 package com.android.contacts.quickcontact; 25 import com.android.contacts.ContactSaveService; 26 import com.android.contacts.R; 27 import com.android.contacts.model.Contact; 28 import com.android.contacts.model.account.AccountWithDataSet; 33 * Utility class to support adding directory contacts.
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
ContactUtil.java | 17 package com.android.providers.contacts.testutil; 27 * Convenience methods for operating on the Contacts table. 31 private static final Uri URI = ContactsContract.Contacts.CONTENT_URI; 46 ContactsContract.Contacts._ID 58 ContactsContract.Contacts.CONTACT_LAST_UPDATED_TIMESTAMP 61 Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId);
|
/development/samples/training/ContactsList/res/values/ |
strings.xml | 19 <string name="app_name">Contacts List</string> 20 <string name="activity_contacts_list">Contacts List</string> 22 <string name="contacts_list_search_results_title">Contacts List Search for \"%s\"</string> 23 <string name="app_description">This is a sample app, demonstrating use of the Android system Contacts Provider.</string> 29 <string name="no_contacts">No Contacts Found</string> 31 <string name="search_hint">Find contacts</string> 37 <!-- When using ContactsContract.Contacts#CONTENT_FILTER_URI to search contacts, a match occurs
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
ContactDeletionInteractionTest.java | 17 package com.android.contacts.interactions; 21 import android.provider.ContactsContract.Contacts; 22 import android.provider.ContactsContract.Contacts.Entity; 26 import com.android.contacts.ContactsApplication; 27 import com.android.contacts.R; 28 import com.android.contacts.model.AccountTypeManager; 29 import com.android.contacts.model.account.AccountType; 30 import com.android.contacts.model.account.BaseAccountType; 31 import com.android.contacts.test.FragmentTestActivity; 32 import com.android.contacts.test.IntegrationTestUtils [all...] |
/packages/apps/Contacts/res/values/ |
donottranslate_config.xml | 27 <string name="photo_file_provider_authority">com.android.contacts.files</string> 29 <!-- File Authority for AOSP Contacts files --> 30 <string name="contacts_file_provider_authority">com.android.contacts.files</string> 31 <!-- Flag indicating whether Contacts app is allowed to import contacts --> 58 <!-- Contacts preferences key for contact editor default account --> 66 <string name="exporting_vcard_filename" translatable="false">contacts.vcf</string> 68 <!-- Flag indicating whether Contacts app is allowed to export contacts --> 71 <!-- Flag indicating whether Contacts app is allowed to share contacts with devices outside -- [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
NoPermissionsLaunchSmokeTest.java | 1 package com.android.contacts; 3 import static com.android.contacts.util.PermissionsUtil.hasPermission; 30 * $ adb shell pm revoke com.android.contacts android.permission.READ_CONTACTS 31 * $ adb shell pm revoke com.android.contacts android.permission.WRITE_CONTACTS 32 * $ adb shell pm revoke com.android.contacts android.permission.GET_ACCOUNTS 33 * $ adb shell pm revoke com.android.contacts android.permission.READ_PHONE_STATE 34 * $ adb shell pm revoke com.android.contacts android.permission.READ_CALL_LOG 35 * $ adb shell pm revoke com.android.contacts android.permission.CALL_PHONE 37 * com.google.android.contacts.tests/android.support.test.runner.AndroidJUnitRunner \ 38 * -e class com.android.contacts.NoPermissionsLaunchSmokeTes [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
AllIntentsActivity.java | 17 package com.android.contacts.tests.allintents; 29 import android.provider.Contacts.ContactMethods; 30 import android.provider.Contacts.People; 31 import android.provider.Contacts.Phones; 36 import android.provider.ContactsContract.Contacts; 47 import com.android.contacts.group.GroupUtil; 48 import com.android.contacts.list.UiIntentActions; 49 import com.android.contacts.tests.R; 50 import com.android.contacts.tests.quickcontact.QuickContactTestsActivity; 55 * An activity that provides access to various modes of the contacts application [all...] |