/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");
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoWriteSecureSettingsPermissionTest.java | 33 assertWritingContentUriRequiresPermission(android.provider.Settings.Secure.CONTENT_URI,
|
WriteSocialStreamPermissionTest.java | 41 ContentUris.withAppendedId(RawContacts.CONTENT_URI, 1337), 52 mResolver.insert(StreamItems.CONTENT_URI, values);
|
ReadSocialStreamPermissionTest.java | 40 ContentUris.withAppendedId(RawContacts.CONTENT_URI, 1337), 51 ContentUris.withAppendedId(Contacts.CONTENT_URI, 1337), 73 mResolver.query(ContentUris.withAppendedId(StreamItems.CONTENT_URI, 1337),
|
/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...] |
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 | 35 * Verifies that query(ContactsContract.Contacts.CONTENT_URI) requires 43 getContext().getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, 45 fail("query(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException" 53 * Verifies that insert(ContactsContract.Contacts.CONTENT_URI) requires 61 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI, 63 fail("insert(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException" 71 * Verifies that query(ContactsContract.Profile.CONTENT_URI) requires 79 getContext().getContentResolver().query(ContactsContract.Profile.CONTENT_URI, 81 fail("query(ContactsContract.Profile.CONTENT_URI) did not throw SecurityException" 89 * Verifies that insert(ContactsContract.Profile.CONTENT_URI) require [all...] |
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,
|
TvPermissionTest.java | 87 verifyQuery(TvContract.Channels.CONTENT_URI, projection, "channels"); 92 verifyInsert(TvContract.Channels.CONTENT_URI, "channels"); 97 verifyUpdate(TvContract.Channels.CONTENT_URI, "channels"); 102 verifyDelete(TvContract.Channels.CONTENT_URI, "channels"); 108 verifyQuery(TvContract.Programs.CONTENT_URI, projection, "programs"); 113 verifyInsert(TvContract.Programs.CONTENT_URI, "programs"); 118 verifyUpdate(TvContract.Programs.CONTENT_URI, "programs"); 123 verifyDelete(TvContract.Programs.CONTENT_URI, "programs");
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContractIntentsTest.java | 41 intent.setData(ContactsContract.Contacts.CONTENT_URI); 47 intent.setData(ContactsContract.Contacts.CONTENT_URI); 53 intent.setData(ContactsContract.Contacts.CONTENT_URI);
|
Settings_SystemTest.java | 46 cr.delete(System.CONTENT_URI, selection, null); 49 cr.delete(System.CONTENT_URI, selection, null); 52 cr.delete(System.CONTENT_URI, selection, null); 55 cr.delete(System.CONTENT_URI, selection, null); 58 cr.delete(System.CONTENT_URI, selection, null); 71 Cursor c = cr.query(System.CONTENT_URI, null, null, null, null); 86 c = cr.query(System.CONTENT_URI, null, null, null, null); 102 c = cr.query(System.CONTENT_URI, null, null, null, null); 139 assertEquals(Uri.withAppendedPath(System.CONTENT_URI, name), uri);
|
/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...] |
VoicemailContract.java | 113 public static final Uri CONTENT_URI = 207 return Voicemails.CONTENT_URI.buildUpon() 215 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/status"); 318 return Status.CONTENT_URI.buildUpon()
|
/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/FMRadio/src/com/android/fmradio/ |
FmStation.java | 54 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/" + STATION); 98 context.getContentResolver().insert(Station.CONTENT_URI, values); 117 context.getContentResolver().insert(Station.CONTENT_URI, values); 127 context.getContentResolver().insert(Station.CONTENT_URI, values); 142 Station.CONTENT_URI, 157 Station.CONTENT_URI, 171 Station.CONTENT_URI, 189 Station.CONTENT_URI, 245 Station.CONTENT_URI, 278 Station.CONTENT_URI, [all...] |
/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/Contacts/tests/src/com/android/contacts/tests/allintents/ |
AllIntentsActivity.java | 154 new Intent(UI.LIST_DEFAULT, Contacts.CONTENT_URI)); 159 new Intent(UI.LIST_ALL_CONTACTS_ACTION, Contacts.CONTENT_URI)); 164 new Intent(UI.LIST_CONTACTS_WITH_PHONES_ACTION, Contacts.CONTENT_URI)); 169 new Intent(UI.LIST_STARRED_ACTION, Contacts.CONTENT_URI)); 174 new Intent(UI.LIST_FREQUENT_ACTION, Contacts.CONTENT_URI)); 179 new Intent(UI.LIST_STREQUENT_ACTION, Contacts.CONTENT_URI)); 184 new Intent(UI.LIST_GROUP_ACTION, Contacts.CONTENT_URI)); 189 new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI)); 194 new Intent(Intent.ACTION_PICK, People.CONTENT_URI)); 199 new Intent(Intent.ACTION_PICK, Phone.CONTENT_URI)); [all...] |
/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.
|
/packages/apps/Exchange/src/com/android/exchange/ |
Exchange.java | 35 getContentResolver().call(EmailContent.CONTENT_URI,
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
GroupsListLoader.java | 36 super(context, Groups.CONTENT_URI, COLUMNS, null, null, Groups.TITLE);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/content/ |
SharingSupportProvider.java | 34 public static final Uri CONTENT_URI = 52 if (uri.equals(Uri.withAppendedPath(CONTENT_URI, "foo.txt")) || 53 uri.equals(Uri.withAppendedPath(CONTENT_URI, "bar.txt"))) {
|