/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/base/core/java/android/provider/ |
D | DrmStore.java | 152 Uri contentUri = null; in addDrmFile() local 154 contentUri = DrmStore.Audio.CONTENT_URI; in addDrmFile() 156 contentUri = DrmStore.Images.CONTENT_URI; in addDrmFile() 161 if (contentUri != null) { in addDrmFile() 167 Uri uri = cr.insert(contentUri, values); in addDrmFile()
|
/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/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 499 private void restoreSettings(BackupDataInput data, Uri contentUri) { in restoreSettings() argument 507 restoreSettings(settings, settings.length, contentUri); in restoreSettings() 510 private void restoreSettings(byte[] settings, int bytes, Uri contentUri) { in restoreSettings() argument 512 Log.i(TAG, "restoreSettings: " + contentUri); in restoreSettings() 517 if (contentUri.equals(Settings.Secure.CONTENT_URI)) { in restoreSettings() 519 } else if (contentUri.equals(Settings.System.CONTENT_URI)) { in restoreSettings() 522 throw new IllegalArgumentException("Unknown URI: " + contentUri); in restoreSettings() 563 getContentResolver().insert(contentUri, contentValues); in restoreSettings()
|
/frameworks/base/core/java/android/webkit/ |
D | JWebCoreJavaBridge.java | 289 public void storeFilePathForContentUri(String path, String contentUri) { in storeFilePathForContentUri() argument 293 mContentUriToFilePathMap.put(contentUri, path); in storeFilePathForContentUri()
|
/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/guide/topics/media/ |
D | mediaplayer.jd | 739 Uri contentUri = ContentUris.withAppendedId( 744 mMediaPlayer.setDataSource(getApplicationContext(), contentUri);
|