/frameworks/base/core/java/android/content/ |
D | ContentUris.java | 84 public static long parseId(Uri contentUri) { in parseId() argument 85 String last = contentUri.getLastPathSegment(); in parseId() 109 public static Uri withAppendedId(Uri contentUri, long id) { in withAppendedId() argument 110 return appendId(contentUri.buildUpon(), id).build(); in withAppendedId()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardComposer.java | 321 public boolean init(final Uri contentUri, final String selection, in init() argument 323 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); in init() 339 public boolean init(final Uri contentUri, final String selection, in init() argument 342 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, in init() 383 public boolean init(final Uri contentUri, final String[] projection, in init() argument 386 if (!ContactsContract.AUTHORITY.equals(contentUri.getAuthority())) { in init() 387 if (DEBUG) Log.d(LOG_TAG, "Unexpected contentUri: " + contentUri); in init() 395 if (!initInterCursorCreationPart(contentUri, projection, selection, selectionArgs, in init() 433 final Uri contentUri, final String[] projection, in initInterCursorCreationPart() argument 437 contentUri, projection, selection, selectionArgs, sortOrder); in initInterCursorCreationPart()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | RemotePlaybackClient.java | 245 public void play(Uri contentUri, String mimeType, Bundle metadata, in play() argument 247 playOrEnqueue(contentUri, mimeType, metadata, positionMillis, in play() 280 public void enqueue(Uri contentUri, String mimeType, Bundle metadata, in enqueue() argument 282 playOrEnqueue(contentUri, mimeType, metadata, positionMillis, in enqueue() 286 private void playOrEnqueue(Uri contentUri, String mimeType, Bundle metadata, in playOrEnqueue() argument 289 if (contentUri == null) { in playOrEnqueue() 298 intent.setDataAndType(contentUri, mimeType); in playOrEnqueue()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 635 private void restoreSettings(BackupDataInput data, Uri contentUri, in restoreSettings() argument 644 restoreSettings(settings, settings.length, contentUri, movedToGlobal); in restoreSettings() 647 private void restoreSettings(byte[] settings, int bytes, Uri contentUri, in restoreSettings() argument 650 Log.i(TAG, "restoreSettings: " + contentUri); in restoreSettings() 655 if (contentUri.equals(Settings.Secure.CONTENT_URI)) { in restoreSettings() 657 } else if (contentUri.equals(Settings.System.CONTENT_URI)) { in restoreSettings() 659 } else if (contentUri.equals(Settings.Global.CONTENT_URI)) { in restoreSettings() 662 throw new IllegalArgumentException("Unknown URI: " + contentUri); in restoreSettings() 701 : contentUri; in restoreSettings()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SearchRecentSuggestionsProviderTest.java | 381 Uri contentUri = Uri.parse(uriStr); in getQueryCursor() local 385 Cursor c = cr.query(contentUri, null, null, selArgs, null); in getQueryCursor()
|
/frameworks/base/docs/html/training/camera/ |
D | photobasics.jd | 218 Uri contentUri = Uri.fromFile(f); 219 mediaScanIntent.setData(contentUri);
|
/frameworks/base/docs/html/training/contacts-provider/ |
D | retrieve-names.jd | 797 Uri contentUri = Uri.withAppendedPath( 803 contentUri,
|
/frameworks/base/docs/html/guide/topics/media/ |
D | mediaplayer.jd | 738 Uri contentUri = ContentUris.withAppendedId( 743 mMediaPlayer.setDataSource(getApplicationContext(), contentUri);
|