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

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
QuickResponse.java 31 public static Uri CONTENT_URI;
35 CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/quickresponse");
36 ACCOUNT_ID_URI = Uri.parse(EmailContent.CONTENT_URI + "/quickresponse/account");
  /packages/apps/Dialer/src-N/com/android/dialer/compat/
BlockedNumbersSdkCompat.java 26 public static final Uri CONTENT_URI = BlockedNumbers.CONTENT_URI;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
HbpcdLookup.java 28 public static final Uri CONTENT_URI =
46 public static final Uri CONTENT_URI =
59 public static final Uri CONTENT_URI =
79 public static final Uri CONTENT_URI =
92 public static final Uri CONTENT_URI =
105 public static final Uri CONTENT_URI =
118 public static final Uri CONTENT_URI =
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLookupKeyTest.java 55 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId),
73 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.SOURCE_ID, "123");
76 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.SOURCE_ID, "4.5.6");
79 storeValue(RawContacts.CONTENT_URI, rawContactId3, RawContacts.SOURCE_ID, "http://foo?bar");
90 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId),
99 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.ACCOUNT_TYPE, "foo");
100 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.ACCOUNT_NAME, "FOO");
101 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.SOURCE_ID, "1");
104 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.ACCOUNT_TYPE, "bar");
105 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.ACCOUNT_NAME, "BAR")
    [all...]
LegacyContactsProviderTest.java 71 Uri uri = mResolver.insert(People.CONTENT_URI, values);
73 assertSelection(People.CONTENT_URI, values, "people", People._ID, ContentUris.parseId(uri));
80 Uri uri = mResolver.insert(People.CONTENT_URI, values);
83 assertSelection(People.CONTENT_URI, values, "people", People._ID, personId);
92 mResolver.update(People.CONTENT_URI, values, People._ID + "=" + personId, null);
99 Uri personId = mResolver.insert(People.CONTENT_URI, values);
116 mResolver.insert(People.CONTENT_URI, values);
120 mResolver.insert(People.CONTENT_URI, values);
124 mResolver.insert(People.CONTENT_URI, values);
135 Uri personUri = mResolver.insert(People.CONTENT_URI, values)
    [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);
  /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"
66 * Verifies that query(ContactsContract.Profile.CONTENT_URI) requires
74 getContext().getContentResolver().query(ContactsContract.Profile.CONTENT_URI,
76 fail("query(ContactsContract.Profile.CONTENT_URI) did not throw SecurityException"
84 * Verifies that insert(ContactsContract.Profile.CONTENT_URI) require
    [all...]
ProviderPermissionTest.java 38 assertReadingContentUriRequiresPermission(Contacts.People.CONTENT_URI,
48 assertWritingContentUriRequiresPermission(Contacts.People.CONTENT_URI,
58 assertReadingContentUriRequiresPermission(CallLog.CONTENT_URI,
68 assertWritingContentUriRequiresPermission(CallLog.CONTENT_URI,
84 getContext().getContentResolver().insert(Settings.System.CONTENT_URI, value);
TvPermissionTest.java 76 verifyInsert(TvContract.Channels.CONTENT_URI, "channels");
81 verifyUpdate(TvContract.Channels.CONTENT_URI, "channels");
86 verifyDelete(TvContract.Channels.CONTENT_URI, "channels");
91 verifyInsert(TvContract.Programs.CONTENT_URI, "programs");
96 verifyUpdate(TvContract.Programs.CONTENT_URI, "programs");
101 verifyDelete(TvContract.Programs.CONTENT_URI, "programs");
  /cts/tests/tests/permission2/src/android/permission2/cts/
ContactsProviderTest.java 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");
57 * Verifies that query(ContactsContract.Profile.CONTENT_URI) only requires
62 getContext().getContentResolver().query(ContactsContract.Profile.CONTENT_URI,
67 * Verifies that insert(ContactsContract.Profile.CONTENT_URI) only requires
74 getContext().getContentResolver().insert(ContactsContract.Profile.CONTENT_URI,
77 fail("insert(ContactsContract.Profile.CONTENT_URI) threw SecurityException")
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsMetadataProviderTest.java 41 public static final Uri CONTENT_URI = Uri.withAppendedPath(METADATA_AUTHORITY_URI,
46 getContext().getContentResolver().query(CONTENT_URI, null, null, null, null);
52 getContext().getContentResolver().insert(CONTENT_URI, new ContentValues());
58 getContext().getContentResolver().update(CONTENT_URI, new ContentValues(), null, null);
64 getContext().getContentResolver().delete(CONTENT_URI, null, null);
ContactsContractIntentsTest.java 41 intent.setData(ContactsContract.Contacts.CONTENT_URI);
47 intent.setData(ContactsContract.Contacts.CONTENT_URI);
53 intent.setData(ContactsContract.Contacts.CONTENT_URI);
BlockedNumberContractTest.java 74 BlockedNumbers.CONTENT_URI, getContentValues("1234567890")));
80 mContentResolver.query(BlockedNumbers.CONTENT_URI, null, null, null, null);
87 BlockedNumbers.CONTENT_URI, getContentValues("123"), null, null);
109 mContentResolver.getType(BlockedNumbers.CONTENT_URI));
112 ContentUris.withAppendedId(BlockedNumbers.CONTENT_URI, 0)));
166 ContentUris.withAppendedId(BlockedNumbers.CONTENT_URI, 1),
175 mContentResolver.insert(BlockedNumbers.CONTENT_URI, new ContentValues()));
184 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv));
193 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv));
204 BlockedNumbers.CONTENT_URI, getContentValues("123"), null, null)
    [all...]
  /development/samples/training/threadsample/src/com/example/android/threadsample/
DataProviderContract.java 25 public static final Uri CONTENT_URI = Uri.parse(SCHEME + "://" + AUTHORITY);
56 Uri.withAppendedPath(CONTENT_URI, PICTUREURL_TABLE_NAME);
87 Uri.withAppendedPath(CONTENT_URI, DATE_TABLE_NAME);
  /frameworks/opt/photoviewer/src/com/android/ex/photo/provider/
PhotoContract.java 40 public static final String CONTENT_URI = "contentUri";
63 PhotoViewColumns.CONTENT_URI,
  /frameworks/base/core/java/android/provider/
BrowserContract.java 254 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "bookmarks");
304 Uri.withAppendedPath(CONTENT_URI, "folder");
328 * The MIME type of {@link #CONTENT_URI} providing a directory of bookmarks.
333 * The MIME type of a {@link #CONTENT_URI} of a single bookmark.
408 * Directory under {@link Bookmarks#CONTENT_URI}
410 public static final Uri CONTENT_URI =
447 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "history");
450 * The MIME type of {@link #CONTENT_URI} providing a directory of browser history items.
455 * The MIME type of a {@link #CONTENT_URI} of a single browser history item.
470 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "searches")
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/compat/
CallableCompat.java 28 Uri.withAppendedPath(Callable.CONTENT_URI, "filter_enterprise");
PhoneCompat.java 28 Uri.withAppendedPath(Phone.CONTENT_URI, "filter_enterprise");
  /packages/apps/Dialer/src-pre-N/com/android/dialer/compat/
BlockedNumbersSdkCompat.java 24 public static final Uri CONTENT_URI = null;
  /cts/tests/tests/database/src/android/database/cts/
ContentObservableTest.java 26 private static final Uri CONTENT_URI = Uri.parse("content://uri");
99 mContentObservable.dispatchChange(false, CONTENT_URI);
101 assertEquals(CONTENT_URI, mObserver.getUri());
105 mContentObservable.dispatchChange(true, CONTENT_URI);
108 mContentObservable.dispatchChange(true, CONTENT_URI);
110 assertEquals(CONTENT_URI, mObserver.getUri());
115 mContentObservable.dispatchChange(false, CONTENT_URI);
ContentObserverTest.java 28 private static final Uri CONTENT_URI = Uri.parse("content://uri");
78 contentObserver.dispatchChange(true, CONTENT_URI);
81 assertEquals(CONTENT_URI, contentObserver.getUri());
87 contentObserver.dispatchChange(false, CONTENT_URI);
90 assertEquals(CONTENT_URI, contentObserver.getUri());
101 contentObserver.dispatchChange(true, CONTENT_URI);
104 assertEquals(CONTENT_URI, contentObserver.getUri());
110 contentObserver.dispatchChange(false, CONTENT_URI);
113 assertEquals(CONTENT_URI, contentObserver.getUri());
  /packages/apps/Email/tests/src/com/android/email/provider/
AccountBackupRestoreTests.java 98 assertEquals(2, EmailContent.count(mMockContext, Account.CONTENT_URI));
99 assertEquals(4, EmailContent.count(mMockContext, HostAuth.CONTENT_URI));
106 cr.delete(Account.CONTENT_URI, null, null);
107 cr.delete(HostAuth.CONTENT_URI, null, null);
110 assertEquals(0, EmailContent.count(mMockContext, Account.CONTENT_URI));
111 assertEquals(0, EmailContent.count(mMockContext, HostAuth.CONTENT_URI));
119 assertEquals(2, EmailContent.count(mMockContext, Account.CONTENT_URI));
120 assertEquals(4, EmailContent.count(mMockContext, HostAuth.CONTENT_URI));
123 Cursor c = cr.query(Account.CONTENT_URI, Account.CONTENT_PROJECTION, null, null, "_id ASC");
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DevicePolicyUtilsTest.java 65 assertEquals("expected: " + Phone.CONTENT_URI + " value = " + uri,
66 Phone.CONTENT_URI, uri);
72 assertEquals("expected: " + Phone.CONTENT_URI + " value = " + uri,
73 Phone.CONTENT_URI, uri);
79 assertEquals("expected: " + Phone.CONTENT_URI + " value = " + uri,
80 Phone.CONTENT_URI, uri);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
ConversationImagePartsView.java 41 + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.CONTENT_URI
45 + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.CONTENT_URI
46 + " as " + Columns.CONTENT_URI + ", "
80 static final String CONTENT_URI = PhotoViewColumns.CONTENT_URI;
93 PhotoViewColumns.CONTENT_URI,
  /packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
PartnerBookmarksContract.java 71 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "bookmarks");
77 Uri.withAppendedPath(CONTENT_URI, "folder");
88 * The MIME type of {@link #CONTENT_URI} providing a directory of bookmarks.
93 * The MIME type of a {@link #CONTENT_URI} of a single bookmark.

Completed in 2680 milliseconds

1 2 3 4 5 6 7 8 91011>>