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

1 2 3 4 5 6 7 891011>>

  /packages/experimental/LoaderApp/res/values/
strings.xml 26 <!-- Title for the activity that shows contacts. This is the name
28 <string name="contactsList">Contacts</string>
55 <!-- Title for the activity that shows only starred contacts -->
58 <!-- Title for the activity that shows only frequently contacted contacts -->
61 <!-- Title for the activity that shows a mix of starred contacts and frequently contacted
62 contacts. -->
80 <!-- Hint text in the search box when the user hits the Search key while in the contacts app -->
81 <string name="searchHint">Search contacts</string>
83 <!-- Menu item to search contacts -->
110 <!-- Menu item used to send an SMS or MMS message to a specific phone number or a contacts default phone number --
    [all...]
  /developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/
MainActivity.java 33 import com.example.android.system.runtimepermissions.contacts.ContactsFragment;
42 * Contacts permissions (({@link android.Manifest.permission#READ_CONTACTS} and ({@link
43 * android.Manifest.permission#WRITE_CONTACTS})) are requested when the 'Show and Add Contacts'
45 * clicked to display the first contact in the contacts database and to add a dummy contact
71 * For example the camera cannot be opened or an empty list of contacts is returned. No special
87 * Id to identify a contacts permission request.
92 * Permissions required to read and write contacts. Used by the {@link ContactsFragment}.
168 Log.i(TAG, "Show contacts button pressed. Checking permissions.");
175 // Contacts permissions have not been granted.
181 // Contact permissions have been granted. Show the contacts fragment
    [all...]
  /developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/
MainActivity.kt 28 import com.example.android.system.runtimepermissions.contacts.ContactsFragment
44 * Contacts permissions (([android.Manifest.permission.READ_CONTACTS] and ([ ][android.Manifest.permission.WRITE_CONTACTS])) are requested when the 'Show and Add Contacts'
46 * clicked to display the first contact in the contacts database and to add a dummy contact
73 * For example the camera cannot be opened or an empty list of contacts is returned. No special
139 Log.i(TAG, "Show contacts button pressed. Checking permissions.")
144 // Contacts permissions have not been granted.
148 // Contact permissions have been granted. Show the contacts fragment.
156 * Requests the Contacts permissions.
167 Log.i(TAG, "Displaying contacts permission rationale to provide additional context."
    [all...]
  /developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/
MainActivity.java 33 import com.example.android.system.runtimepermissions.contacts.ContactsFragment;
42 * Contacts permissions (({@link android.Manifest.permission#READ_CONTACTS} and ({@link
43 * android.Manifest.permission#WRITE_CONTACTS})) are requested when the 'Show and Add Contacts'
45 * clicked to display the first contact in the contacts database and to add a dummy contact
71 * For example the camera cannot be opened or an empty list of contacts is returned. No special
87 * Id to identify a contacts permission request.
92 * Permissions required to read and write contacts. Used by the {@link ContactsFragment}.
168 Log.i(TAG, "Show contacts button pressed. Checking permissions.");
175 // Contacts permissions have not been granted.
181 // Contact permissions have been granted. Show the contacts fragment
    [all...]
  /developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/
MainActivity.kt 28 import com.example.android.system.runtimepermissions.contacts.ContactsFragment
44 * Contacts permissions (([android.Manifest.permission.READ_CONTACTS] and ([ ][android.Manifest.permission.WRITE_CONTACTS])) are requested when the 'Show and Add Contacts'
46 * clicked to display the first contact in the contacts database and to add a dummy contact
73 * For example the camera cannot be opened or an empty list of contacts is returned. No special
139 Log.i(TAG, "Show contacts button pressed. Checking permissions.")
144 // Contacts permissions have not been granted.
148 // Contact permissions have been granted. Show the contacts fragment.
156 * Requests the Contacts permissions.
167 Log.i(TAG, "Displaying contacts permission rationale to provide additional context."
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
SimImportService.java 16 package com.android.contacts;
33 import com.android.contacts.activities.PeopleActivity;
34 import com.android.contacts.database.SimContactDao;
35 import com.android.contacts.model.SimCard;
36 import com.android.contacts.model.SimContact;
37 import com.android.contacts.model.account.AccountWithDataSet;
38 import com.android.contacts.util.ContactsNotificationChannelsUtil;
129 * Starts an import of the contacts from the sim into the target account
136 * @param contacts the contacts to impor
176 final ArrayList<SimContact> contacts = local
    [all...]
  /packages/providers/ContactsProvider/tests/assets/upgradeTest/
contacts2_1108.sql 15 CREATE TABLE contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name_raw_contact_id INTEGER REFERENCES raw_contacts(_id),photo_id INTEGER REFERENCES data(_id),photo_file_id INTEGER REFERENCES photo_files(_id),custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 0,has_phone_number INTEGER NOT NULL DEFAULT 0,lookup TEXT,status_update_id INTEGER REFERENCES data(_id),contact_last_updated_timestamp INTEGER); table
17 CREATE TABLE raw_contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,backup_id TEXT,raw_contact_is_read_only INTEGER NOT NULL DEFAULT 0,version INTEGER NOT NULL DEFAULT 1,dirty INTEGER NOT NULL DEFAULT 0,deleted INTEGER NOT NULL DEFAULT 0,metadata_dirty INTEGER NOT NULL DEFAULT 0,contact_id INTEGER REFERENCES contacts(_id),aggregation_mode INTEGER NOT NULL DEFAULT 0,aggregation_needed INTEGER NOT NULL DEFAULT 1,custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 0,display_name TEXT,display_name_alt TEXT,display_name_source INTEGER NOT NULL DEFAULT 0,phonetic_name TEXT,phonetic_name_style TEXT,sort_key TEXT COLLATE PHONEBOOK,phonebook_label TEXT,phonebook_bucket INTEGER,sort_key_alt TEXT COLLATE PHONEBOOK,phonebook_label_alt TEXT,phonebook_bucket_alt INTEGER,name_verified INTEGER NOT NULL DEFAULT 0,sync1 TEXT, sync2 TEXT, sync3 TEXT, sync4 TEXT );
39 INSERT INTO "groups" VALUES(1,NULL,1,NULL,1,0,'My Contacts',NULL,NULL,'Contacts',0,1,1,1,0,1,NULL,NULL,NULL,NULL);
50 INSERT INTO "directories" VALUES(0,'com.android.providers.contacts','com.android.contacts',2130968582,'com.android.providers.contacts:string/default_directory',NULL,NULL,NULL,0,2,3);
51 INSERT INTO "directories" VALUES(1,'com.android.providers.contacts','com.android.contacts',2130968583,'com.android.providers.contacts:string/local_invisible_directory',NULL,NULL,NULL,0,2,3)
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
EnterprisePolicyGuardTest.java 16 package com.android.providers.contacts.enterprise;
54 Uri.parse("content://com.android.contacts/contacts/" + CONTACT_ID + "/photo");
56 .parse("content://com.android.contacts/contacts/" + CONTACT_ID + "/display_photo");
58 Uri.parse("content://com.android.contacts/contacts/filter/" + CONTACT_NAME);
60 .parse("content://com.android.contacts/data/phones/filter/" + CONTACT_NAME);
62 "content://com.android.contacts/data/callables/filter/" + CONTACT_NAME);
64 .parse("content://com.android.contacts/data/emails/filter/" + CONTACT_NAME)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
DummyGalProvider.java 17 package android.provider.cts.contacts;
26 import android.provider.ContactsContract.Contacts;
29 import android.provider.cts.contacts.account.StaticAccountAuthenticator;
42 public static final String AUTHORITY = "android.provider.cts.contacts.dgp";
67 sURIMatcher.addURI(AUTHORITY, "contacts/filter/*", GAL_FILTER);
69 // sURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/entities", GAL_CONTACT);
70 // sURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/#/entities", GAL_CONTACT_WITH_ID);
126 * See com.android.providers.contacts.ContactDirectoryManager.
196 projection = new String[]{Contacts.DISPLAY_NAME};
204 if (Contacts.DISPLAY_NAME.equals(column))
    [all...]
ContactsContract_DeletedContacts.java 17 package android.provider.cts.contacts;
19 import static android.provider.cts.contacts.DatabaseAsserts.ContactIdPair;
26 import android.provider.cts.contacts.CommonDatabaseUtils;
27 import android.provider.cts.contacts.DatabaseAsserts;
28 import android.provider.cts.contacts.DeletedContactUtil;
29 import android.provider.cts.contacts.RawContactUtil;
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
SmsMmsContacts.java 27 import android.provider.ContactsContract.Contacts;
55 private static final String[] CONTACT_PROJECTION = {Contacts._ID, Contacts.DISPLAY_NAME};
56 private static final String CONTACT_SEL_VISIBLE = Contacts.IN_VISIBLE_GROUP + "=1";
58 Arrays.asList(CONTACT_PROJECTION).indexOf(Contacts._ID);
60 Arrays.asList(CONTACT_PROJECTION).indexOf(Contacts.DISPLAY_NAME);
63 * Get a contacts phone number based on the canonical addresses id of the contact.
141 * Lookup a contacts name in the Android Contacts database.
174 selection += "AND " + ContactsContract.Contacts.DISPLAY_NAME + " like ?"
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupMembersAdapter.java 16 package com.android.contacts.group;
24 import android.provider.ContactsContract.Contacts;
30 import com.android.contacts.R;
31 import com.android.contacts.list.ContactListItemView;
32 import com.android.contacts.list.MultiSelectEntryContactListAdapter;
33 import com.android.contacts.preference.ContactsPreferences;
89 return Contacts.getLookupUri(contactId, lookupKey);
112 .appendQueryParameter(Contacts.EXTRA_ADDRESS_BOOK_INDEX, "true")
129 ? Contacts.SORT_KEY_PRIMARY : Contacts.SORT_KEY_ALTERNATIVE)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/preference/
ContactsPreferenceActivity.java 17 package com.android.contacts.preference;
36 import com.android.contacts.R;
37 import com.android.contacts.editor.SelectAccountDialogFragment;
38 import com.android.contacts.interactions.ImportDialogFragment;
39 import com.android.contacts.list.ProviderStatusWatcher;
40 import com.android.contacts.model.account.AccountWithDataSet;
41 import com.android.contacts.preference.DisplayOptionsPreferenceFragment.ProfileListener;
42 import com.android.contacts.preference.DisplayOptionsPreferenceFragment.ProfileQuery;
43 import com.android.contacts.util.AccountSelectionUtil;
46 * Contacts settings
    [all...]
  /packages/apps/Dialer/java/com/android/contacts/common/res/values/
donottranslate_config.xml 18 <!-- Flag indicating whether Contacts app is allowed to import contacts -->
39 <!-- Contacts preferences key for contact editor default account -->
42 <!-- Contacts preferences key for contact editor anything saved -->
63 <string name="exporting_vcard_filename" translatable="false">contacts.vcf</string>
77 <!-- If true, enable the "import contacts from SIM" feature if the device
83 <!-- Flag indicating whether Contacts app is allowed to export contacts -->
86 <!-- Flag indicating whether Contacts app is allowed to share contacts with devices outside --
    [all...]
  /frameworks/base/core/java/android/content/
UriMatcher.java 54 sURIMatcher.addURI("contacts", "people", PEOPLE);
55 sURIMatcher.addURI("contacts", "people/#", PEOPLE_ID);
56 sURIMatcher.addURI("contacts", "people/#/phones", PEOPLE_PHONES);
57 sURIMatcher.addURI("contacts", "people/#/phones/#", PEOPLE_PHONES_ID);
58 sURIMatcher.addURI("contacts", "people/#/contact_methods", PEOPLE_CONTACTMETHODS);
59 sURIMatcher.addURI("contacts", "people/#/contact_methods/#", PEOPLE_CONTACTMETHODS_ID);
60 sURIMatcher.addURI("contacts", "deleted_people", DELETED_PEOPLE);
61 sURIMatcher.addURI("contacts", "phones", PHONES);
62 sURIMatcher.addURI("contacts", "phones/filter/*", PHONES_FILTER);
63 sURIMatcher.addURI("contacts", "phones/#", PHONES_ID)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ShowOrCreateActivity.java 17 package com.android.contacts.activities;
29 import android.provider.ContactsContract.Contacts;
37 import com.android.contacts.ContactsActivity;
38 import com.android.contacts.ContactsUtils;
39 import com.android.contacts.R;
40 import com.android.contacts.util.ImplicitIntentsUtil;
41 import com.android.contacts.util.NotifyingAsyncQueryHandler;
44 * Handle several edge cases around showing or possibly creating contacts in
49 * <li>If no matching contacts found, will prompt user with dialog to add to a
54 * <li>If more than one matching found, show list of matching contacts usin
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
FrequentContactsCursorBuilder.java 31 * A cursor builder that takes the frequent contacts cursor and aggregate it with the all contacts
32 * cursor to fill in contact details such as phone numbers and strip away invalid contacts.
47 * Sets the frequent contacts cursor as soon as it is loaded, or null if it's reset.
56 * Sets the all contacts cursor as soon as it is loaded, or null if it's reset.
73 * Attempt to build the cursor records from the frequent and all contacts cursor if they
82 // Frequent contacts cursor has one record per contact, plus it doesn't contain info
84 // would like to populate it with information from the all contacts cursor.
101 // Second, go through the all contacts cursor once and retrieve all information
103 // contacts list only contains phone contacts, this step will ensure that we filte
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ContactsFacade.java 48 * Provides access to contacts related functionality.
52 private static final Uri CONTACTS_URI = ContactsContract.Contacts.CONTENT_URI;
73 ContactsContract.Contacts.CONTENT_URI, true, mContactsStatusReceiver);
84 Log.e(TAG, "Unable to get field from Contacts Database");
89 return ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id);
93 description = "Displays a list of contacts to pick from.",
121 @Rpc(description = "Returns a List of all possible attributes for contacts.")
149 @Rpc(description = "Returns a List of all contacts.", returns = "a List of contacts as Maps")
152 List<JSONObject> contacts = new ArrayList<JSONObject>() local
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/activities/
SimImportActivityTest.java 16 package com.android.contacts.activities;
18 import static com.android.contacts.tests.ContactsMatchers.DataCursor.hasMimeType;
19 import static com.android.contacts.tests.ContactsMatchers.hasRowMatching;
20 import static com.android.contacts.tests.ContactsMatchers.hasValueForColumn;
53 import com.android.contacts.SimImportService;
54 import com.android.contacts.database.SimContactDao;
55 import com.android.contacts.database.SimContactDaoImpl;
56 import com.android.contacts.model.SimCard;
57 import com.android.contacts.model.SimContact;
58 import com.android.contacts.model.account.AccountWithDataSet
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator2.java 17 package com.android.providers.contacts.aggregation;
19 import static com.android.providers.contacts.aggregation.util.RawContactMatcher.SCORE_THRESHOLD_PRIMARY;
20 import static com.android.providers.contacts.aggregation.util.RawContactMatcher.SCORE_THRESHOLD_SECONDARY;
21 import static com.android.providers.contacts.aggregation.util.RawContactMatcher.SCORE_THRESHOLD_SUGGEST;
28 import android.provider.ContactsContract.Contacts.AggregationSuggestions;
36 import com.android.providers.contacts.ContactsDatabaseHelper;
37 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
38 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
39 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupType;
40 import com.android.providers.contacts.ContactsDatabaseHelper.PhoneLookupColumns
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/interactions/
ImportDialogFragment.java 17 package com.android.contacts.interactions;
37 import com.android.contacts.R;
38 import com.android.contacts.activities.SimImportActivity;
39 import com.android.contacts.compat.CompatUtils;
40 import com.android.contacts.compat.PhoneNumberUtilsCompat;
41 import com.android.contacts.database.SimContactDao;
42 import com.android.contacts.editor.SelectAccountDialogFragment;
43 import com.android.contacts.model.AccountTypeManager;
44 import com.android.contacts.model.SimCard;
45 import com.android.contacts.model.SimContact
84 final List<SimContact> contacts = sim.getContacts(); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
DataAction.java 17 package com.android.contacts.quickcontact;
32 import com.android.contacts.CallUtil;
33 import com.android.contacts.ContactsUtils;
34 import com.android.contacts.MoreContactUtils;
35 import com.android.contacts.R;
36 import com.android.contacts.model.account.AccountType.EditType;
37 import com.android.contacts.model.dataitem.DataItem;
38 import com.android.contacts.model.dataitem.DataKind;
39 import com.android.contacts.model.dataitem.EmailDataItem;
40 import com.android.contacts.model.dataitem.ImDataItem
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
GlobalSearchSupport.java 17 package com.android.providers.contacts;
29 import android.provider.ContactsContract.Contacts;
36 import com.android.providers.contacts.ContactsDatabaseHelper.AggregatedPresenceColumns;
37 import com.android.providers.contacts.ContactsDatabaseHelper.ContactsColumns;
38 import com.android.providers.contacts.ContactsDatabaseHelper.Tables;
39 import com.android.providers.contacts.ContactsDatabaseHelper.Views;
44 * Support for global search integration for Contacts.
146 return Contacts.getLookupUri(contactId, lookupKey).toString();
230 + Contacts._ID + ", "
231 + Contacts.LOOKUP_KEY + ",
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
ContactsProviderTest.java 30 * Verifies that query(ContactsContract.Contacts.CONTENT_URI) requires
38 getContext().getContentResolver().query(ContactsContract.Contacts.CONTENT_URI,
40 fail("query(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException"
48 * Verifies that insert(ContactsContract.Contacts.CONTENT_URI) requires
56 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI,
58 fail("insert(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException"
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionView.java 17 package com.android.contacts.editor;
21 import android.provider.ContactsContract.Contacts;
29 import com.android.contacts.ContactPhotoManager;
30 import com.android.contacts.R;
31 import com.android.contacts.editor.AggregationSuggestionEngine.Suggestion;
101 Contacts.getLookupUri(mSuggestion.contactId, mSuggestion.contactLookupKey),

Completed in 3113 milliseconds

1 2 3 4 5 6 7 891011>>