HomeSort by relevance Sort by last modified time
    Searched refs:CONTENT_URI (Results 1 - 25 of 442) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/permission2/src/android/permission2/cts/
NoWriteSecureSettingsPermissionTest.java 33 assertWritingContentUriRequiresPermission(android.provider.Settings.Secure.CONTENT_URI,
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLookupKeyTest.java 54 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId),
72 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.SOURCE_ID, "123");
75 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.SOURCE_ID, "4.5.6");
78 storeValue(RawContacts.CONTENT_URI, rawContactId3, RawContacts.SOURCE_ID, "http://foo?bar");
89 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId),
98 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.ACCOUNT_TYPE, "foo");
99 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.ACCOUNT_NAME, "FOO");
100 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.SOURCE_ID, "1");
103 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.ACCOUNT_TYPE, "bar");
104 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.ACCOUNT_NAME, "BAR")
    [all...]
SqlInjectionDetectionTest.java 49 assertQueryValid(Phone.CONTENT_URI, PHONE_ID_PROJECTION,
57 assertQueryThrows(IllegalArgumentException.class, Phone.CONTENT_URI,
65 assertQueryThrows(SQLiteException.class, Phone.CONTENT_URI, PHONE_ID_PROJECTION,
73 assertQueryThrows(SQLiteException.class, Phone.CONTENT_URI,
85 assertQueryValid(Phone.CONTENT_URI,
88 final Cursor c = mResolver.query(Phone.CONTENT_URI, PHONE_ID_PROJECTION, null, null, null);
GroupsTest.java 149 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI,
158 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI,
171 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI,
186 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
201 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
211 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI,
242 final Cursor cursor = mResolver.query(Contacts.CONTENT_URI, new String[] {
252 return ContentProviderOperation.newAssertQuery(Contacts.CONTENT_URI).withSelection(
262 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
267 final Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId)
    [all...]
LegacyContactsProviderTest.java 73 Uri uri = mResolver.insert(People.CONTENT_URI, values);
75 assertSelection(People.CONTENT_URI, values, "people", People._ID, ContentUris.parseId(uri));
82 Uri uri = mResolver.insert(People.CONTENT_URI, values);
85 assertSelection(People.CONTENT_URI, values, "people", People._ID, personId);
94 mResolver.update(People.CONTENT_URI, values, People._ID + "=" + personId, null);
101 Uri personId = mResolver.insert(People.CONTENT_URI, values);
118 mResolver.insert(People.CONTENT_URI, values);
122 mResolver.insert(People.CONTENT_URI, values);
126 mResolver.insert(People.CONTENT_URI, values);
137 Uri personUri = mResolver.insert(People.CONTENT_URI, values)
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
ProviderPermissionTest.java 37 assertReadingContentUriRequiresPermission(Contacts.People.CONTENT_URI,
47 assertWritingContentUriRequiresPermission(Contacts.People.CONTENT_URI,
57 assertReadingContentUriRequiresPermission(CallLog.CONTENT_URI,
67 assertWritingContentUriRequiresPermission(CallLog.CONTENT_URI,
77 assertWritingContentUriRequiresPermission(android.provider.Settings.System.CONTENT_URI,
  /packages/apps/Contacts/src/com/android/contacts/
ContactsLiveFolders.java 29 public static final Uri CONTENT_URI =
40 setResult(RESULT_OK, createLiveFolder(this, CONTENT_URI,
52 public static final Uri CONTENT_URI =
63 setResult(RESULT_OK, createLiveFolder(this, CONTENT_URI,
75 public static final Uri CONTENT_URI =
86 setResult(RESULT_OK, createLiveFolder(this, CONTENT_URI,
104 new Intent(Intent.ACTION_VIEW, Contacts.CONTENT_URI));
  /frameworks/base/core/java/android/provider/
BrowserContract.java 218 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "bookmarks");
224 Uri.withAppendedPath(CONTENT_URI, "folder");
245 * The MIME type of {@link #CONTENT_URI} providing a directory of bookmarks.
250 * The MIME type of a {@link #CONTENT_URI} of a single bookmark.
317 * Directory under {@link Bookmarks#CONTENT_URI}
319 public static final Uri CONTENT_URI =
356 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "history");
359 * The MIME type of {@link #CONTENT_URI} providing a directory of browser history items.
364 * The MIME type of a {@link #CONTENT_URI} of a single browser history item.
379 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "searches")
    [all...]
SocialContract.java 157 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "activities");
164 Uri.withAppendedPath(CONTENT_URI, "authored_by");
175 * The MIME type of {@link #CONTENT_URI} providing a directory of social
181 * The MIME type of a {@link #CONTENT_URI} subdirectory of a single
VoicemailContract.java 113 public static final Uri CONTENT_URI =
201 return Voicemails.CONTENT_URI.buildUpon()
209 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/status");
312 return Status.CONTENT_URI.buildUpon()
UserDictionary.java 40 public static final Uri CONTENT_URI =
50 public static final Uri CONTENT_URI =
54 * The MIME type of {@link #CONTENT_URI} providing a directory of words.
59 * The MIME type of a {@link #CONTENT_URI} sub-directory of a single word.
133 Uri result = resolver.insert(CONTENT_URI, values);
Telephony.java 186 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER);
191 return cr.query(CONTENT_URI, projection, where,
198 public static final Uri CONTENT_URI =
325 public static final Uri CONTENT_URI =
347 return addMessageToUri(resolver, CONTENT_URI, address, body,
359 public static final Uri CONTENT_URI =
379 return addMessageToUri(resolver, CONTENT_URI, address, body,
391 public static final Uri CONTENT_URI =
411 return addMessageToUri(resolver, CONTENT_URI, address, body,
439 public static final Uri CONTENT_URI
    [all...]
Applications.java 41 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
77 Uri searchUri = CONTENT_URI.buildUpon().appendPath(SEARCH_PATH).appendPath(query).build();
111 return Applications.CONTENT_URI.buildUpon()
  /packages/apps/Email/tests/src/com/android/email/provider/
AccountBackupRestoreTests.java 102 assertEquals(2, EmailContent.count(mMockContext, Account.CONTENT_URI));
103 assertEquals(4, EmailContent.count(mMockContext, HostAuth.CONTENT_URI));
110 cr.delete(Account.CONTENT_URI, null, null);
111 cr.delete(HostAuth.CONTENT_URI, null, null);
114 assertEquals(0, EmailContent.count(mMockContext, Account.CONTENT_URI));
115 assertEquals(0, EmailContent.count(mMockContext, HostAuth.CONTENT_URI));
123 assertEquals(2, EmailContent.count(mMockContext, Account.CONTENT_URI));
124 assertEquals(4, EmailContent.count(mMockContext, HostAuth.CONTENT_URI));
127 Cursor c = cr.query(Account.CONTENT_URI, Account.CONTENT_PROJECTION, null, null, "_id ASC");
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 147 new Intent(UI.LIST_DEFAULT, Contacts.CONTENT_URI));
152 new Intent(UI.LIST_ALL_CONTACTS_ACTION, Contacts.CONTENT_URI));
157 new Intent(UI.LIST_CONTACTS_WITH_PHONES_ACTION, Contacts.CONTENT_URI));
162 new Intent(UI.LIST_STARRED_ACTION, Contacts.CONTENT_URI));
167 new Intent(UI.LIST_FREQUENT_ACTION, Contacts.CONTENT_URI));
172 new Intent(UI.LIST_STREQUENT_ACTION, Contacts.CONTENT_URI));
177 new Intent(UI.LIST_GROUP_ACTION, Contacts.CONTENT_URI));
182 new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI));
187 new Intent(Intent.ACTION_PICK, People.CONTENT_URI));
192 new Intent(Intent.ACTION_PICK, Phone.CONTENT_URI));
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
GroupsListLoader.java 36 super(context, Groups.CONTENT_URI, COLUMNS, null, null, Groups.TITLE);
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppLiveFolder.java 47 public static final Uri CONTENT_URI = Uri
58 setResult(RESULT_OK, createLiveFolder(this, CONTENT_URI, this
73 Constants.ACTION_OPEN, BluetoothShare.CONTENT_URI));
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
UtilityMediumTests.java 146 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
152 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
159 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
166 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
179 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
185 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
192 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
199 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
214 mMockContext, Account.CONTENT_URI, DISPLAY_NAME_PROJECTION,
220 mMockContext, Account.CONTENT_URI, DISPLAY_NAME_PROJECTION
    [all...]
  /development/samples/NotePad/tests/src/com/example/android/notepad/
NotePadProviderTest.java 49 Uri.withAppendedPath(NotePad.Notes.CONTENT_URI, "invalid");
165 String mimeType = mMockResolver.getType(NotePad.Notes.CONTENT_URI);
191 assertNull(mMockResolver.getStreamTypes(NotePad.Notes.CONTENT_URI, MIME_TYPES_ALL));
225 mimeType = mMockResolver.getStreamTypes(NotePad.Notes.CONTENT_URI, MIME_TYPES_ALL);
289 NotePad.Notes.CONTENT_URI,
447 NotePad.Notes.CONTENT_URI, // the URI for the main data table
465 NotePad.Notes.CONTENT_URI, // the URI for the main data table
480 NotePad.Notes.CONTENT_URI, // the URI for the main data table
500 NotePad.Notes.CONTENT_URI, // the URI for the main data table
577 NotePad.Notes.CONTENT_URI, // the base URI for the tabl
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsTest.java 90 mProvider.delete(People.CONTENT_URI, PeopleColumns.NAME + " = ?",
100 Uri uri = mProvider.insert(People.CONTENT_URI, value);
101 Cursor cursor = mProvider.query(People.CONTENT_URI,
124 cursor = mProvider.query(People.CONTENT_URI, PEOPLE_PROJECTION,
139 cursor = mProvider.query(People.CONTENT_URI, PEOPLE_PROJECTION,
172 Uri uri = mProvider.insert(Groups.CONTENT_URI, value);
173 Cursor cursor = mProvider.query(Groups.CONTENT_URI,
189 cursor = mProvider.query(Groups.CONTENT_URI, GROUPS_PROJECTION,
236 mProvider.insert(Photos.CONTENT_URI, value);
271 Uri peopleUri = mProvider.insert(People.CONTENT_URI, value)
    [all...]
Settings_SystemTest.java 115 Cursor c = cr.query(System.CONTENT_URI, null, null, null, null);
134 c = cr.query(System.CONTENT_URI, null, null, null, null);
149 cr.delete(System.CONTENT_URI, selection, null);
152 cr.delete(System.CONTENT_URI, selection, null);
155 cr.delete(System.CONTENT_URI, selection, null);
158 cr.delete(System.CONTENT_URI, selection, null);
161 cr.delete(System.CONTENT_URI, selection, null);
163 c = cr.query(System.CONTENT_URI, null, null, null, null);
222 assertEquals(Uri.withAppendedPath(System.CONTENT_URI, name), uri);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
QuickResponse.java 40 public static final Uri CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI
43 EmailContent.CONTENT_URI + "/quickresponse/account");
68 mBaseUri = CONTENT_URI;
78 mBaseUri = CONTENT_URI;
88 mBaseUri = CONTENT_URI;
  /packages/apps/Contacts/src/com/android/contacts/list/
ProviderStatusLoader.java 79 Cursor cursor = mContext.getContentResolver().query(ProviderStatus.CONTENT_URI,
99 resolver.registerContentObserver(ProviderStatus.CONTENT_URI, false, this);
125 mContext.getContentResolver().update(ProviderStatus.CONTENT_URI, values, null, null);
  /frameworks/base/core/tests/coretests/src/android/content/
ContentResolverTest.java 38 mContentResolver.query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null);
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
ExportTestResolver.java 27 addProvider(RawContacts.CONTENT_URI.getAuthority(), mProvider);

Completed in 595 milliseconds

1 2 3 4 5 6 7 8 91011>>