Home
last modified time | relevance | path

Searched refs:CONTENT_URI (Results 1 – 25 of 29) sorted by relevance

12

/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/
DWeatherWidgetProvider.java98 r.registerContentObserver(WeatherDataProvider.CONTENT_URI, true, sDataObserver); in onEnabled()
116 final Cursor c = r.query(WeatherDataProvider.CONTENT_URI, null, null, null, in onReceive()
124 … final Uri uri = ContentUris.withAppendedId(WeatherDataProvider.CONTENT_URI, i); in onReceive()
130 r.registerContentObserver(WeatherDataProvider.CONTENT_URI, true, sDataObserver); in onReceive()
191 Cursor c = context.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null, in buildLayout()
DWeatherWidgetService.java116 mCursor = mContext.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null, null, in onDataSetChanged()
DWeatherDataProvider.java47 public static final Uri CONTENT_URI = field in WeatherDataProvider
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
DSyncAdapter.java222 Uri uri = FeedContract.Entry.CONTENT_URI; // Get all entries in updateLocalFeedData()
245 Uri existingUri = FeedContract.Entry.CONTENT_URI.buildUpon() in updateLocalFeedData()
263 Uri deleteUri = FeedContract.Entry.CONTENT_URI.buildUpon() in updateLocalFeedData()
275 batch.add(ContentProviderOperation.newInsert(FeedContract.Entry.CONTENT_URI) in updateLocalFeedData()
286 FeedContract.Entry.CONTENT_URI, // URI where data was modified in updateLocalFeedData()
DEntryListFragment.java216 FeedContract.Entry.CONTENT_URI, // URI in onCreateLoader()
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
DSyncAdapter.java222 Uri uri = FeedContract.Entry.CONTENT_URI; // Get all entries in updateLocalFeedData()
245 Uri existingUri = FeedContract.Entry.CONTENT_URI.buildUpon() in updateLocalFeedData()
263 Uri deleteUri = FeedContract.Entry.CONTENT_URI.buildUpon() in updateLocalFeedData()
275 batch.add(ContentProviderOperation.newInsert(FeedContract.Entry.CONTENT_URI) in updateLocalFeedData()
286 FeedContract.Entry.CONTENT_URI, // URI where data was modified in updateLocalFeedData()
DEntryListFragment.java216 FeedContract.Entry.CONTENT_URI, // URI in onCreateLoader()
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
DContactsFragment.java120 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION, in onCreateLoader()
165 ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI) in insertDummyContact()
171 op = ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in insertDummyContact()
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
DContactsFragment.java120 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION, in onCreateLoader()
165 ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI) in insertDummyContact()
171 op = ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in insertDummyContact()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/simple/
DSimpleTvInputSetupActivity.java84 getContentResolver().insert(TvContract.Channels.CONTENT_URI, values); in registerChannels()
92 getContentResolver().insert(TvContract.Channels.CONTENT_URI, values); in registerChannels()
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
DFeedContract.java64 public static final Uri CONTENT_URI = field in FeedContract.Entry
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
DFeedContract.java64 public static final Uri CONTENT_URI = field in FeedContract.Entry
DFeedProvider.java130 result = Uri.parse(FeedContract.Entry.CONTENT_URI + "/" + id); in insert()
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
DContentItem.java68 return Uri.parse("content://" + AssetProvider.CONTENT_URI + "/" + contentAssetFilePath); in getContentUri()
DAssetProvider.java36 public static String CONTENT_URI = "com.example.android.actionbarcompat.shareactionprovider"; field in AssetProvider
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
DContentItem.java68 return Uri.parse("content://" + AssetProvider.CONTENT_URI + "/" + contentAssetFilePath); in getContentUri()
DAssetProvider.java36 public static String CONTENT_URI = "com.example.android.actionbarcompat.shareactionprovider"; field in AssetProvider
/developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
DCalendarQueryService.java136 Uri.Builder builder = CalendarContract.Instances.CONTENT_URI.buildUpon(); in queryEvents()
163 Cursor contactCursor = contentResolver.query(Data.CONTENT_URI, in queryEvents()
202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in getProfilePicture()
/developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
DCalendarQueryService.java136 Uri.Builder builder = CalendarContract.Instances.CONTENT_URI.buildUpon(); in queryEvents()
163 Cursor contactCursor = contentResolver.query(Data.CONTENT_URI, in queryEvents()
202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in getProfilePicture()
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
DCalendarWatchFaceService.java111 && WearableCalendarContract.CONTENT_URI.equals(intent.getData())) {
255 WearableCalendarContract.Instances.CONTENT_URI.buildUpon(); in doInBackground()
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
DCalendarWatchFaceService.java111 && WearableCalendarContract.CONTENT_URI.equals(intent.getData())) {
255 WearableCalendarContract.Instances.CONTENT_URI.buildUpon(); in doInBackground()
/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/
DAssetProvider.java55 public static String CONTENT_URI = "com.example.android.justforus"; field in AssetProvider
DMainActivity.java267 mImageUri = Uri.parse("content://" + AssetProvider.CONTENT_URI + "/" + in Coupon()
/developers/samples/android/content/LoaderCursor/src/com/example/android/content/loadercursor/
DCursorLoaderListFragment.java191 baseUri = Contacts.CONTENT_URI; in onCreateLoader()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/
DSyncAdapter.java133 TvContract.Programs.CONTENT_URI) in insertPrograms()

12