/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationLauncher.java | 51 Uri contentUri = intent.getData(); 52 launchApplication(contentUri);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
DirectoryTest.java | 79 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter( 82 Cursor cursor = mResolver.query(contentUri, 103 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter( 107 Cursor cursor = mResolver.query(contentUri, 117 cursor = mResolver.query(contentUri,
|
ContactLookupKeyTest.java | 174 Uri contentUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 176 Contacts.getLookupUri(mResolver, contentUri).toString());
|
ContactDirectoryManagerTest.java | 508 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter( 513 cursor = mResolver.query(contentUri, 548 Uri contentUri = AggregationExceptions.CONTENT_URI.buildUpon().appendQueryParameter( 553 assertProjection(contentUri, new String[]{
|
/cts/tests/tests/content/src/android/content/cts/ |
SearchRecentSuggestionsProviderTest.java | 104 final Uri contentUri = Uri.parse(uriStr); 107 Cursor c = s.query(contentUri, null, null, selArgs, null); 111 c = s.query(contentUri, null, null, selArgs, null); 115 c = s.query(contentUri, null, null, selArgs, null); 119 c = s.query(contentUri, null, null, selArgs, null);
|
ClipboardManagerTest.java | 83 Uri contentUri = Uri.parse("content://cts/test/for/clipboardmanager"); 85 "ContentUriLabel", contentUri); 88 new ExpectedClipItem(null, null, contentUri));
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Artists_AlbumsTest.java | 54 Uri contentUri = MediaStore.Audio.Artists.Albums.getContentUri( 56 assertNotNull(mContentResolver.query(contentUri, null, null, null, null)); 57 contentUri = MediaStore.Audio.Artists.Albums.getContentUri( 59 assertNotNull(mContentResolver.query(contentUri, null, null, null, null));
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
MessageTestUtils.java | 40 * .text("<body>").uriImg(contentUri).text("</body>").build("</html"); 65 public static Uri contentUri(long attachmentId, Account account) { 236 * @param contentUri content uri object 239 public TextBuilder addUidImg(Uri contentUri) { 240 return addTag("img", "src", contentUri.toString());
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
HTMLViewerActivity.java | 102 String contentUri = "file".equals(uri.getScheme()) 107 contentUri += "?" + intentType; 109 mWebView.loadUrl(contentUri);
|
/frameworks/base/core/java/android/provider/ |
DrmStore.java | 152 Uri contentUri = null; 154 contentUri = DrmStore.Audio.CONTENT_URI; 156 contentUri = DrmStore.Images.CONTENT_URI; 161 if (contentUri != null) { 167 Uri uri = cr.insert(contentUri, values);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppReceiveFileInfo.java | 93 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + id); 96 Cursor metadataCursor = contentResolver.query(contentUri, new String[] { 171 context.getContentResolver().update(contentUri, updateValues, null, null);
|
BluetoothOppTransferHistory.java | 180 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + sessionId); 181 BluetoothOppUtility.updateVisibilityToHidden(this, contentUri); 249 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + sessionId); 250 BluetoothOppUtility.updateVisibilityToHidden(this, contentUri); 277 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + sessionId); 278 BluetoothOppTransferInfo transInfo = BluetoothOppUtility.queryRecord(this, contentUri); 286 BluetoothOppUtility.updateVisibilityToHidden(this, contentUri); 288 transInfo.mTimeStamp, contentUri); 292 in.setData(contentUri);
|
BluetoothOppUtility.java | 295 final Uri contentUri = context.getContentResolver().insert(BluetoothShare.CONTENT_URI, 297 if (V) Log.v(TAG, "Insert contentUri: " + contentUri + " to device: " +
|
Constants.java | 195 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + id); 198 context.getContentResolver().update(contentUri, updateValues, null, null); 199 Constants.sendIntentIfCompleted(context, contentUri, status); 206 public static void sendIntentIfCompleted(Context context, Uri contentUri, int status) { 210 intent.setData(contentUri);
|
BluetoothOppManager.java | 382 final Uri contentUri = mContext.getContentResolver().insert( 384 if (V) Log.v(TAG, "Insert contentUri: " + contentUri + " to device: " 398 final Uri contentUri = mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI, 400 if (V) Log.v(TAG, "Insert contentUri: " + contentUri + " to device: "
|
BluetoothOppNotification.java | 445 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + id); 456 intent.setData(contentUri); 464 intent.setData(contentUri);
|
BluetoothOppObexClientSession.java | 323 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); 329 mContext1.getContentResolver().update(contentUri, updateValues, null, null); 339 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); 388 mContext1.getContentResolver().update(contentUri, updateValues, null, null); 438 mContext1.getContentResolver().update(contentUri, updateValues, null, 468 mContext1.getContentResolver().update(contentUri, updateValues,
|
BluetoothOppObexServerSession.java | 279 Uri contentUri = mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI, values); 280 mLocalShareInfoId = Integer.parseInt(contentUri.getPathSegments().get(1)); 288 if (V) Log.v(TAG, "insert contentUri: " + contentUri); 353 contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); 356 mContext.getContentResolver().update(contentUri, updateValues, null, null); 431 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); 436 mContext.getContentResolver().update(contentUri, updateValues, null, null); 472 mContext.getContentResolver().update(contentUri, updateValues, null, null);
|
BluetoothOppTransfer.java | 301 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + share.mId); 305 mContext.getContentResolver().update(contentUri, updateValues, null, null); 333 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + info.mId); 351 mContext.getContentResolver().update(contentUri, updateValues, null, null); 352 Constants.sendIntentIfCompleted(mContext, contentUri, info.mStatus); 758 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + share.mId); 761 mContext.getContentResolver().update(contentUri, updateValues, null, null); [all...] |
/packages/apps/Email/src/com/android/email/ |
AttachmentInfo.java | 190 * resolve from attachmentUri to contentUri) 194 Uri contentUri = getUriForIntent(context, accountId); 196 intent.setDataAndType(contentUri, mContentType); 203 Uri contentUri = AttachmentUtilities.getAttachmentUri(accountId, mId); 205 contentUri = AttachmentUtilities.resolveAttachmentIdToContentUri( 206 context.getContentResolver(), contentUri); 209 return contentUri;
|
/packages/apps/Email/src/com/android/email/provider/ |
AttachmentProvider.java | 261 String contentUri = null; 270 contentUri = c.getString(2); 286 values[i] = contentUri;
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
BaseImageList.java | 81 public Uri contentUri(long id) {
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadNotification.java | 218 Uri contentUri = 237 intent.setData(contentUri); 247 intent.setData(contentUri);
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
SearchRecentSuggestionsProviderTest.java | 381 Uri contentUri = Uri.parse(uriStr); 385 Cursor c = cr.query(contentUri, null, null, selArgs, null);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
AttachmentProviderTests.java | 471 * - in DB, with not-null contentUri 472 * - in DB, with null contentUri 491 // Test with existing attachement and contentUri != null 496 Uri contentUri = AttachmentUtilities.resolveAttachmentIdToContentUri( 499 assertEquals("file:///path/to/file", contentUri.toString()); 502 // Test with existing attachement and contentUri == null 505 Uri contentUri = AttachmentUtilities.resolveAttachmentIdToContentUri( 507 // When contentUri is null should return input 508 assertEquals(attachmentUri, contentUri);
|