HomeSort by relevance Sort by last modified time
    Searched full:contacts (Results 101 - 125 of 1870) sorted by null

1 2 3 45 6 7 8 91011>>

  /developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/res/values/
strings.xml 25 If executed on an Android M device, an additional option to access contacts is shown
32 <string name="contacts_string">Total number of contacts: %1$,d\nFirst contact:<b>%2$s</b></string>
33 <string name="contacts_none">No contacts stored on device.</string>
34 <string name="contacts_empty">Contacts not loaded.</string>
43 <string name="show_contacts">Show and add contacts</string>
44 <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>
46 <string name="permision_available_contacts">Contacts Permissions have been granted. Contacts screen can now be opened.</string>
49 <string name="permission_contacts_rationale">Contacts permissions are needed to demonstrate access.</string
    [all...]
  /packages/apps/Dialer/java/com/android/contacts/common/
ContactsUtils.java 17 package com.android.contacts.common;
19 import android.provider.ContactsContract.Contacts;
21 import com.android.contacts.common.compat.DirectoryCompat;
36 * <p>1. 2 profile query: content://com.android.contacts/phone_lookup_enterprise/1234567890
41 * content://com.android.contacts/phone_lookup_enterprise/1234567890?directory=1000000000 either
45 * content://com.android.contacts/phone_lookup_enterprise/1234567890?directory=1000000003
55 * user. It's a contract by ContactsProvider and check by Contacts.isEnterpriseDirectoryId and
56 * Contacts.isEnterpriseContactId. Currently, only 2 kinds of users can be detected from the
58 * contacts
68 if (contactId != null && contactId != 0L && Contacts.isEnterpriseContactId(contactId))
    [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/apps/Contacts/res/menu/
people_options.xml 17 xmlns:contacts="http://schemas.android.com/apk/res-auto">
22 contacts:showAsAction="ifRoom" />
34 contacts:showAsAction="ifRoom"/>
40 contacts:showAsAction="ifRoom"/>
46 contacts:showAsAction="ifRoom"/>
  /packages/apps/Contacts/src/com/android/contacts/editor/
PickRawContactDialogFragment.java 1 package com.android.contacts.editor;
19 import com.android.contacts.ContactPhotoManager;
20 import com.android.contacts.R;
21 import com.android.contacts.activities.ContactSelectionActivity;
22 import com.android.contacts.editor.PickRawContactLoader.RawContact;
23 import com.android.contacts.editor.PickRawContactLoader.RawContactsMetadata;
24 import com.android.contacts.list.UiIntentActions;
25 import com.android.contacts.logging.EditorEvent;
26 import com.android.contacts.logging.Logger;
27 import com.android.contacts.model.AccountTypeManager
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
AccountFilterUtil.java 17 package com.android.contacts.util;
29 import android.provider.ContactsContract.Contacts;
36 import com.android.contacts.R;
37 import com.android.contacts.activities.ContactEditorActivity;
38 import com.android.contacts.list.AccountFilterActivity;
39 import com.android.contacts.list.ContactListFilter;
40 import com.android.contacts.list.ContactListFilterController;
41 import com.android.contacts.model.AccountTypeManager;
42 import com.android.contacts.model.Contact;
43 import com.android.contacts.model.account.AccountDisplayInfo
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
NameDistanceTest.java 17 package com.android.providers.contacts.aggregation.util;
21 import com.android.providers.contacts.NameNormalizer;
22 import com.android.providers.contacts.util.Hex;
31 * adb shell am instrument -e class com.android.providers.contacts.NameDistanceTest -w \
32 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_IsSuperPrimaryName.java 17 package android.provider.cts.contacts;
27 import android.provider.ContactsContract.Contacts;
29 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact;
30 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData;
31 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
36 * aggregated contacts. Additionally, this needs to test the affect that aggregating contacts
71 // Setup: two raw contacts. One with a super primary name. One without.
94 // Execute: aggregate the two raw contacts together
97 // Sanity check: two contacts are aggregate
    [all...]
  /development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/
ContactsFragment.java 17 package com.example.android.system.runtimepermissions.contacts;
45 * This Fragment is only used to illustrate that access to the Contacts ContentProvider API has
50 * This fragments demonstrates a basic use case for accessing the Contacts Provider. The
52 * https://developer.android.com/training/contacts-provider/retrieve-names.html
56 private static final String TAG = "Contacts";
64 private static final String[] PROJECTION = {ContactsContract.Contacts._ID,
65 ContactsContract.Contacts.DISPLAY_NAME_PRIMARY};
69 private static final String ORDER = ContactsContract.Contacts.DISPLAY_NAME_PRIMARY + " ASC";
109 * Restart the Loader to query the Contacts content provider to display the first contact.
120 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION
    [all...]
  /docs/source.android.com/en/devices/tech/admin/
enterprise-telephony.html 42 to search for contacts that are supplied by the managed profile contacts
45 <li>Cross profile contact badging - Allows work contacts to be clearly
46 distinguished from personal contacts
55 The Android Open Source Project (AOSP) implementations of Dialer, Contacts, and
63 <li><strong>Adding badge to work contacts</strong>: see
72 for contacts in their Dialer Contacts and SMS/MMS Messaging apps.</p>
77 Cross profile contact search should be implemented using the Enterprise Contacts
78 API (<code>ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI</code> etc.
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/
SimCard.java 16 package com.android.contacts.model;
122 * Returns whether the contacts for this SIM card have been initialized.
129 * Returns whether this SIM card has any SIM contacts.
131 * A precondition of this method is that the contacts have been initialized.
135 throw new IllegalStateException("Contacts not loaded.");
141 * Returns the number of contacts stored on this SIM card.
143 * A precondition of this method is that the contacts have been initialized.
147 throw new IllegalStateException("Contacts not loaded.");
163 " isImported? " + isImported() + " contacts=" + mContacts);
169 * Returns the contacts for this SIM card or null if the contacts have not been initialized
    [all...]
  /packages/apps/Dialer/java/com/android/contacts/common/list/
DefaultContactListAdapter.java 16 package com.android.contacts.common.list;
26 import android.provider.ContactsContract.Contacts;
31 import com.android.contacts.common.compat.ContactsCompat;
32 import com.android.contacts.common.preference.ContactsPreferences;
36 /** A cursor adapter for the {@link ContactsContract.Contacts#CONTENT_TYPE} content type. */
55 loader.setUri(Contacts.CONTENT_URI);
73 sortOrder = Contacts.SORT_KEY_PRIMARY;
75 sortOrder += ", " + Contacts.SORT_KEY_PRIMARY;
79 sortOrder = Contacts.SORT_KEY_ALTERNATIVE;
81 sortOrder += ", " + Contacts.SORT_KEY_ALTERNATIVE
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsProvider2Test.java 17 package com.android.providers.contacts;
19 import static com.android.providers.contacts.TestUtils.createDatabaseSnapshot;
20 import static com.android.providers.contacts.TestUtils.cv;
21 import static com.android.providers.contacts.TestUtils.dumpCursor;
51 import android.provider.ContactsContract.Contacts;
80 import com.android.providers.contacts.ContactsActor.AlteringUserContext;
81 import com.android.providers.contacts.ContactsActor.MockUserManager;
82 import com.android.providers.contacts.ContactsDatabaseHelper.AggregationExceptionColumns;
83 import com.android.providers.contacts.ContactsDatabaseHelper.ContactsColumns;
84 import com.android.providers.contacts.ContactsDatabaseHelper.DataUsageStatColumns
8297 final VCardTestUriCreator contacts = createVCardTestContacts(); local
8332 final VCardTestUriCreator contacts = createVCardTestContacts(); local
8347 final VCardTestUriCreator contacts = createVCardTestContacts(); local
    [all...]
DirectoryTest.java 17 package com.android.providers.contacts;
19 import static com.android.providers.contacts.ContactsActor.PACKAGE_GREY;
28 import android.provider.ContactsContract.Contacts;
33 import com.android.providers.contacts.testutil.RawContactUtil;
41 * adb shell am instrument -e class com.android.providers.contacts.DirectoryTest -w \
42 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner
88 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter(
92 new String[]{Contacts._ID, Contacts.DISPLAY_NAME}, null, null, null);
113 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter
    [all...]
SqlInjectionDetectionTest.java 17 package com.android.providers.contacts;
19 import static com.android.providers.contacts.EvenMoreAsserts.assertThrows;
20 import static com.android.providers.contacts.TestUtils.cv;
27 import android.provider.ContactsContract.Contacts;
31 import com.android.providers.contacts.testutil.RawContactUtil;
38 * adb shell am instrument -e class com.android.providers.contacts.SqlInjectionDetectionTest -w \
39 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner
75 assertQueryThrows(Phone.CONTENT_URI, PHONE_ID_PROJECTION, ";delete from contacts", null);
87 assertQueryThrows(Phone.CONTENT_URI, PHONE_ID_PROJECTION, null, ";delete from contacts");
101 Builder builder = Contacts.CONTENT_FILTER_URI.buildUpon()
    [all...]
ContactsProvider2TransactionTest.java 17 package com.android.providers.contacts;
19 import static com.android.providers.contacts.TestUtils.cv;
27 import android.provider.ContactsContract.Contacts;
38 * the profile db and the contacts db.
69 // Make sure we only COMMIT on the contacts DB, but there was no transaction on the
80 // on the contacts db. AbstractContactsProvider does that to avoid deadlocks.
99 // Update all raw contacts.
103 // Make sure we only COMMIT on the contacts DB, but there was no transaction on the
109 // Update all profile raw contacts.
114 // on the contacts db. AbstractContactsProvider does that to avoid deadlocks
    [all...]
  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessorSdk5.java 23 import android.provider.ContactsContract.Contacts;
27 * An implementation of {@link ContactAccessor} that uses current Contacts API.
33 * <li>It sees contacts from multiple accounts.
34 * <li>It works with aggregated contacts. So for example, if the contact is the result
35 * of aggregation of two raw contacts from different accounts, it may return the name from
47 * Returns a Pick Contact intent using the Eclair "contacts" URI.
51 return new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI);
64 new String[]{Contacts._ID, Contacts.DISPLAY_NAME}, null, null, null);
  /frameworks/base/core/java/android/provider/
ContactsInternal.java 33 * Contacts related internal methods.
48 // Contacts URI matching table
50 matcher.addURI(ContactsContract.AUTHORITY, "contacts/lookup/*", CONTACTS_URI_LOOKUP);
51 matcher.addURI(ContactsContract.AUTHORITY, "contacts/lookup/*/#", CONTACTS_URI_LOOKUP_ID);
97 ? ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE //contact id will be ignored
108 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX)) {
112 if (!ContactsContract.Contacts.isEnterpriseContactId(contactId)) {
122 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX.length());
124 (contactId - ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE);
  /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/Contacts/src/com/android/contacts/preference/
DisplayOptionsPreferenceFragment.java 17 package com.android.contacts.preference;
35 import android.provider.ContactsContract.Contacts;
46 import com.android.contacts.ContactsUtils;
47 import com.android.contacts.R;
48 import com.android.contacts.SimImportService;
49 import com.android.contacts.compat.TelecomManagerUtil;
50 import com.android.contacts.compat.TelephonyManagerCompat;
51 import com.android.contacts.interactions.ExportDialogFragment;
52 import com.android.contacts.interactions.ImportDialogFragment;
53 import com.android.contacts.list.ContactListFilter
    [all...]
  /packages/providers/ContactsProvider/res/values/
strings.xml 23 <!-- This is the label for the application that stores contacts data -->
24 <string name="app_label">Contacts Storage</string>
27 <string name="provider_label">Contacts</string>
29 <!-- Ticker for the notification shown when updating contacts fails because of memory shortage -->
30 <string name="upgrade_out_of_memory_notification_ticker">Contacts upgrade needs more memory.</string>
32 <!-- Title for the notification shown when updating contacts fails because of memory shortage -->
33 <string name="upgrade_out_of_memory_notification_title">Upgrading storage for contacts</string>
35 <!-- Text for the notification shown when updating contacts fails because of memory shortage [CHAR_LIMIT=50] -->
39 <string name="default_directory">Contacts</string>
52 <string name="debug_dump_title">Copy contacts database</string
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ContactEditorSpringBoardActivity.java 1 package com.android.contacts.activities;
16 import com.android.contacts.AppCompatContactsActivity;
17 import com.android.contacts.ContactSaveService;
18 import com.android.contacts.R;
19 import com.android.contacts.editor.ContactEditorFragment;
20 import com.android.contacts.editor.EditorIntents;
21 import com.android.contacts.editor.PickRawContactDialogFragment;
22 import com.android.contacts.editor.PickRawContactLoader;
23 import com.android.contacts.editor.PickRawContactLoader.RawContactsMetadata;
24 import com.android.contacts.editor.SplitContactConfirmationDialogFragment
    [all...]
  /cts/tests/tests/permission2/src/android/permission2/cts/
ContactsProviderTest.java 26 * Verify that deprecated contacts permissions are not enforced.
31 * Verifies that query(ContactsContract.Contacts.CONTENT_URI) only requires
36 getContext().getContentResolver().query(ContactsContract.Contacts.CONTENT_URI,
41 * Verifies that insert(ContactsContract.Contacts.CONTENT_URI) only requires
47 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI,
50 fail("insert(ContactsContract.Contacts.CONTENT_URI) threw SecurityException");
  /packages/apps/Contacts/src/com/android/contacts/vcard/
ImportVCardDialogFragment.java 16 package com.android.contacts.vcard;
26 import com.android.contacts.R;
28 /** Asks for confirmation before importing contacts from a vcard. */
39 /** Invoked after the user has confirmed that contacts should be imported. */
42 /** Invoked after the user has rejected importing contacts. */
46 /** Displays the dialog asking for confirmation before importing contacts. */
  /packages/providers/ContactsProvider/tests/
AndroidManifest.xml 18 package="com.android.providers.contacts.tests"
27 <!-- Mock contacts sync adapter -->
35 android:resource="@xml/contacts" />
44 "adb shell am instrument -w com.android.providers.contacts.tests/android.test.InstrumentationTestRunner"
47 android:targetPackage="com.android.providers.contacts"
48 android:label="Contacts Provider Tests">

Completed in 1141 milliseconds

1 2 3 45 6 7 8 91011>>