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

1 2 3 4 5

  /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),
  /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);
ContactsTest.java 88 mProvider.delete(People.CONTENT_URI, PeopleColumns.NAME + " = ?",
98 Uri uri = mProvider.insert(People.CONTENT_URI, value);
99 Cursor cursor = mProvider.query(People.CONTENT_URI,
122 cursor = mProvider.query(People.CONTENT_URI, PEOPLE_PROJECTION,
137 cursor = mProvider.query(People.CONTENT_URI, PEOPLE_PROJECTION,
170 Uri uri = mProvider.insert(Groups.CONTENT_URI, value);
171 Cursor cursor = mProvider.query(Groups.CONTENT_URI,
187 cursor = mProvider.query(Groups.CONTENT_URI, GROUPS_PROJECTION,
234 mProvider.insert(Photos.CONTENT_URI, value);
269 Uri peopleUri = mProvider.insert(People.CONTENT_URI, value)
    [all...]
UserDictionary_WordsTest.java 69 Cursor cursor = mContentResolver.query(UserDictionary.Words.CONTENT_URI, WORDS_PROJECTION,
72 mAddedBackup.add(Uri.withAppendedPath(UserDictionary.Words.CONTENT_URI,
93 Cursor cursor = mContentResolver.query(UserDictionary.Words.CONTENT_URI, WORDS_PROJECTION,
96 mAddedBackup.add(Uri.withAppendedPath(UserDictionary.Words.CONTENT_URI,
SettingsTest.java 51 cr.acquireContentProviderClient(Settings.System.CONTENT_URI);
60 provider.insert(Settings.System.CONTENT_URI, value);
61 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION,
76 provider.update(Settings.System.CONTENT_URI, value,
78 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION,
88 provider.delete(Settings.System.CONTENT_URI,
90 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION,
180 cr.acquireContentProviderClient(Settings.Secure.CONTENT_URI);
186 cursor = provider.query(Settings.Global.CONTENT_URI, SECURE_PROJECTION,
  /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);
  /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());
  /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"))) {
  /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/content/src/android/content/cts/
AsyncQueryHandlerTest.java 82 mResolver.insert(DummyProvider.CONTENT_URI, values0);
86 mResolver.insert(DummyProvider.CONTENT_URI, values1);
90 mResolver.insert(DummyProvider.CONTENT_URI, values2);
95 mResolver.delete(DummyProvider.CONTENT_URI, null, null);
116 startInsert(INSERT_TOKEN_1, INSERT_COOKIE, DummyProvider.CONTENT_URI, values1, NO_CANCEL);
121 assertEquals(DummyProvider.CONTENT_URI, (Uri) mAsyncHandler.getResult());
125 startInsert(INSERT_TOKEN_2, INSERT_COOKIE, DummyProvider.CONTENT_URI, values2, CANCELABLE);
132 cursor = mResolver.query(DummyProvider.CONTENT_URI, PROJECTIONS, null, null, ORDER_BY);
148 startQuery(QUERY_TOKEN_1, QUERY_COOKIE, DummyProvider.CONTENT_URI,
173 startQuery(QUERY_TOKEN_2, QUERY_COOKIE, DummyProvider.CONTENT_URI,
    [all...]
  /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
FeedContract.java 64 public static final Uri CONTENT_URI =
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
FeedContract.java 64 public static final Uri CONTENT_URI =
  /development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
FeedContract.java 64 public static final Uri CONTENT_URI =
  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessorSdk5.java 51 return new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI);
75 cursor = contentResolver.query(Phone.CONTENT_URI,
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 65 final Cursor cursor = resolver.query(Groups.CONTENT_URI, new String[] { Groups._ID },
87 final Uri newGroupUri = resolver.insert(Groups.CONTENT_URI, contentValues);
179 final Cursor c = resolver.query(DirtyQuery.CONTENT_URI,
338 resolver.query(DataQuery.CONTENT_URI, DataQuery.PROJECTION, DataQuery.SELECTION,
349 final Uri uri = ContentUris.withAppendedId(Data.CONTENT_URI, id);
415 Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
446 context.getContentResolver().insert(Settings.CONTENT_URI, values);
474 resolver.query(DataQuery.CONTENT_URI, DataQuery.PROJECTION, DataQuery.SELECTION,
484 final Uri uri = ContentUris.withAppendedId(Data.CONTENT_URI, id);
547 batchOperation.add(ContactOperations.newInsertCpo(StatusUpdates.CONTENT_URI,
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactUtil.java 34 private static final Uri URI = ContactsContract.Contacts.CONTENT_URI;
64 Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId);
134 Assert.assertEquals(1, resolver.update(AggregationExceptions.CONTENT_URI, values, null,
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
SharingSupport.java 81 .setStream(Uri.parse(SharingSupportProvider.CONTENT_URI + "/foo.txt"))
104 .addStream(Uri.parse(SharingSupportProvider.CONTENT_URI + "/foo.txt"))
105 .addStream(Uri.parse(SharingSupportProvider.CONTENT_URI + "/bar.txt"))
  /development/samples/ApiDemos/src/com/example/android/apis/view/
AutoComplete5.java 35 Cursor cursor = content.query(Contacts.CONTENT_URI,

Completed in 717 milliseconds

1 2 3 4 5