Home
last modified time | relevance | path

Searched defs:uri (Results 1 – 25 of 77) sorted by relevance

1234

/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsFileProvider.java44 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
51 public Uri insert(Uri uri, ContentValues values) { in insert()
57 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
63 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
69 public String getType(Uri uri) { in getType()
75 public ParcelFileDescriptor openFile(Uri uri, String fileMode) throws FileNotFoundException { in openFile()
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
DAssetProvider.java46 public int delete(@NonNull Uri uri, String selection, String[] selectionArgs) { in delete()
52 public String getType(@NonNull Uri uri) { in getType()
58 public Uri insert(@NonNull Uri uri, ContentValues values) { in insert()
64 public Cursor query(@NonNull Uri uri, String[] projection, String selection, in query()
72 public int update(@NonNull Uri uri, ContentValues values, String selection, in update()
79 public AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode) in openAssetFile()
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/
DAssetProvider.java60 public String getType(Uri uri){ in getType()
79 public AssetFileDescriptor openAssetFile (Uri uri, String mode) in openAssetFile()
119 public Cursor query(Uri uri, String[] projection, String selection, in query()
127 public Uri insert(Uri uri, ContentValues contentValues) { in insert()
132 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
137 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DFileProvider.java48 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
90 public Uri insert(Uri uri, ContentValues values) { in insert()
96 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
102 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
108 public String getType(Uri uri) { in getType()
114 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
134 public void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, in writeDataToPipe()
DDocumentsSample.java284 final Uri uri = data != null ? data.getData() : null; in onActivityResult() local
389 Uri uri; in createDocument() local
406 private Uri renameDocument(ContentResolver resolver, Uri uri, String newName) { in renameDocument()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactOperations.java243 public ContactOperations updateServerId(long serverId, Uri uri) { in updateServerId()
257 public ContactOperations updateEmail(String email, String existingEmail, Uri uri) { in updateEmail()
279 public ContactOperations updateName(Uri uri, in updateName()
306 public ContactOperations updateDirtyFlag(boolean isDirty, Uri uri) { in updateDirtyFlag()
322 public ContactOperations updatePhone(String existingNumber, String phone, Uri uri) { in updatePhone()
331 public ContactOperations updateAvatar(String avatarUrl, Uri uri) { in updateAvatar()
351 public ContactOperations updateProfileAction(Integer userId, Uri uri) { in updateProfileAction()
379 private void addUpdateOp(Uri uri) { in addUpdateOp()
386 public static ContentProviderOperation.Builder newInsertCpo(Uri uri, in newInsertCpo()
393 public static ContentProviderOperation.Builder newUpdateCpo(Uri uri, in newUpdateCpo()
[all …]
DContactManager.java349 final Uri uri = ContentUris.withAppendedId(Data.CONTENT_URI, id); in updateContact() local
363 rawContact.getCellPhone(), uri); in updateContact() local
367 rawContact.getHomePhone(), uri); in updateContact() local
371 rawContact.getOfficePhone(), uri); in updateContact() local
376 c.getString(DataQuery.COLUMN_EMAIL_ADDRESS), uri); in updateContact() local
379 contactOp.updateAvatar(rawContact.getAvatarUrl(), uri); in updateContact() local
415 Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in updateContact() local
416 contactOp.updateServerId(rawContact.getServerContactId(), uri); in updateContact() local
484 final Uri uri = ContentUris.withAppendedId(Data.CONTENT_URI, id); in getRawContact() local
565 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in clearDirtyFlag() local
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryProvider.java89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
138 private Cursor getWord(Uri uri) { in getWord()
147 private Cursor refreshShortcut(Uri uri) { in refreshShortcut()
171 public String getType(Uri uri) { in getType()
189 public Uri insert(Uri uri, ContentValues values) { in insert()
194 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
199 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherDataProvider.java88 public synchronized Cursor query(Uri uri, String[] projection, String selection, in query()
104 public String getType(Uri uri) { in getType()
109 public Uri insert(Uri uri, ContentValues values) { in insert()
115 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
121 public synchronized int update(Uri uri, ContentValues values, String selection, in update()
/development/samples/NotePad/src/com/example/android/notepad/
DNotePadProvider.java226 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
289 c.setNotificationUri(getContext().getContentResolver(), uri); in query() local
302 public String getType(Uri uri) { in getType()
342 public String[] getStreamTypes(Uri uri, String mimeTypeFilter) { in getStreamTypes()
380 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) in openTypedAssetFile()
430 public void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, in writeDataToPipe()
466 public Uri insert(Uri uri, ContentValues initialValues) { in insert()
550 public int delete(Uri uri, String where, String[] whereArgs) { in delete()
636 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update()
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShare.java36 Uri uri = intent.getParcelableExtra(Intent.EXTRA_STREAM); in getShareUri() local
59 Uri uri = getShareUri(intent); in buildShareInfo() local
91 final Uri uri = getShareUri(getIntent()); in onCreate() local
/development/samples/training/threadsample/src/com/example/android/threadsample/
DDataProvider.java242 Uri uri, in query()
261 returnCursor.setNotificationUri(getContext().getContentResolver(), uri); in query() local
293 public String getType(Uri uri) { in getType()
306 public Uri insert(Uri uri, ContentValues values) { in insert()
352 public int bulkInsert(Uri uri, ContentValues[] insertValuesArray) { in bulkInsert()
427 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
447 public int update(Uri uri, ContentValues values, String selection, in update()
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/
DStorageClientFragment.java99 Uri uri = null; in onActivityResult() local
114 public void showImage(Uri uri) { in showImage()
147 private Bitmap getBitmapFromUri(Uri uri) { in getBitmapFromUri()
218 public void dumpImageMetaData(Uri uri) { in dumpImageMetaData()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssContentProvider.java122 public String getType(Uri uri) { in getType()
134 public Cursor query(Uri uri, String[] projection, String selection, in query()
165 c.setNotificationUri(getContext().getContentResolver(), uri); in query() local
170 public int update(Uri uri, ContentValues values, String whereClause) { in update()
194 public int delete(Uri uri, String where) { in delete()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java73 public String getType(Uri uri) { in getType()
92 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
111 c.setNotificationUri(ctx.getContentResolver(), uri); in query() local
122 public Uri insert(Uri uri, ContentValues values) { in insert()
148 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
180 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DXmlDocumentProvider.java173 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
304 public String getType(Uri uri) { in getType()
312 public Uri insert(Uri uri, ContentValues values) { in insert()
320 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
328 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderThrottle.java211 public Cursor query(Uri uri, String[] projection, String selection, in query()
246 c.setNotificationUri(getContext().getContentResolver(), uri); in query() local
254 public String getType(Uri uri) { in getType()
269 public Uri insert(Uri uri, ContentValues initialValues) { in insert()
305 public int delete(Uri uri, String where, String[] whereArgs) { in delete()
341 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update()
/development/tools/apkcheck/src/com/android/apkcheck/
DApiDescrHandler.java68 public void startElement(String uri, String localName, String qName, in startElement()
135 public void endElement(String uri, String localName, String qName) { in endElement()
/development/samples/browseable/DragAndDropAcrossApps/DropTarget/src/com.example.android/droptarget/
DImageDragListener.java79 Uri uri = item.getUri(); in processDrop() local
89 protected boolean setImageUri(View view, DragEvent event, Uri uri) { in setImageUri()
/development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/
DImageDragListener.java87 Uri uri = item.getUri(); in processDrop() local
97 protected boolean setImageUri(View view, DragEvent event, Uri uri) { in setImageUri()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DShortcutHelper.java164 final Uri uri = Uri.parse(urlAsString); in createShortcutForUrl() local
173 private ShortcutInfo.Builder setSiteInformation(ShortcutInfo.Builder b, Uri uri) { in setSiteInformation()
224 private Bitmap fetchFavicon(Uri uri) { in fetchFavicon()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DShortcutHelper.java167 final Uri uri = Uri.parse(urlAsString); in createShortcutForUrl() local
176 private ShortcutInfo.Builder setSiteInformation(ShortcutInfo.Builder b, Uri uri) { in setSiteInformation()
237 private Bitmap fetchFavicon(Uri uri) { in fetchFavicon()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailProviderHelper.java85 public Voicemail findVoicemailByUri(Uri uri); in findVoicemailByUri()
99 public int update(Uri uri, Voicemail voicemail); in update()
/development/samples/ApiDemos/src/com/example/android/apis/media/
DVideoViewDemo.java46 private void initPlayer(Uri uri) { in initPlayer()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactDetailActivity.java57 final Uri uri = getIntent().getData(); in onCreate() local

1234