/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppHandoverReceiver.java | 80 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + id); 82 if (D) Log.d(TAG, "Stopping handover transfer with Uri " + contentUri); 83 context.getContentResolver().delete(contentUri, null, null);
|
BluetoothOppReceiveFileInfo.java | 93 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + id); 96 Cursor metadataCursor = contentResolver.query(contentUri, new String[] { 176 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.setDataAndNormalize(contentUri);
|
BluetoothOppUtility.java | 305 final Uri contentUri = context.getContentResolver().insert(BluetoothShare.CONTENT_URI, 307 if (V) Log.v(TAG, "Insert contentUri: " + contentUri + " to device: " +
|
Constants.java | 276 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + id); 279 context.getContentResolver().update(contentUri, updateValues, null, null); 280 Constants.sendIntentIfCompleted(context, contentUri, status); 287 public static void sendIntentIfCompleted(Context context, Uri contentUri, int status) { 291 intent.setDataAndNormalize(contentUri);
|
BluetoothOppManager.java | 445 final Uri contentUri = mContext.getContentResolver().insert( 447 if (V) Log.v(TAG, "Insert contentUri: " + contentUri + " to device: " 464 final Uri contentUri = mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI, 466 if (V) Log.v(TAG, "Insert contentUri: " + contentUri + " to device: "
|
BluetoothOppNotification.java | 483 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + id); 494 intent.setDataAndNormalize(contentUri); 502 intent.setDataAndNormalize(contentUri);
|
BluetoothOppObexClientSession.java | 325 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); 331 mContext1.getContentResolver().update(contentUri, updateValues, null, null); 341 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); 390 mContext1.getContentResolver().update(contentUri, updateValues, null, null); 440 mContext1.getContentResolver().update(contentUri, updateValues, null, 470 mContext1.getContentResolver().update(contentUri, updateValues,
|
BluetoothOppObexServerSession.java | 292 Uri contentUri = mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI, values); 293 mLocalShareInfoId = Integer.parseInt(contentUri.getPathSegments().get(1)); 301 if (V) Log.v(TAG, "insert contentUri: " + contentUri); 367 contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); 370 mContext.getContentResolver().update(contentUri, updateValues, null, null); 445 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); 450 mContext.getContentResolver().update(contentUri, updateValues, null, null); 486 mContext.getContentResolver().update(contentUri, updateValues, null, null);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
DirectoryTest.java | 82 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter( 85 Cursor cursor = mResolver.query(contentUri, 107 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter( 111 Cursor cursor = mResolver.query(contentUri, 121 cursor = mResolver.query(contentUri,
|
ContactLookupKeyTest.java | 175 Uri contentUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 177 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 | 57 final Uri contentUri = Uri.parse(uriStr); 60 Cursor c = s.query(contentUri, null, null, selArgs, null); 64 c = s.query(contentUri, null, null, selArgs, null); 68 c = s.query(contentUri, null, null, selArgs, null); 72 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 | 43 Uri contentUri = MediaStore.Audio.Artists.Albums.getContentUri( 45 assertNotNull(c = mContentResolver.query(contentUri, null, null, null, null)); 48 contentUri = MediaStore.Audio.Artists.Albums.getContentUri( 50 assertNotNull(c = mContentResolver.query(contentUri, null, null, null, null));
|
ContactsContract_DataTest.java | 118 Uri contentUri = ContactsContract.CommonDataKinds.Contactables.CONTENT_URI; 120 assertCursorStoredValuesWithRawContactsFilter(contentUri, 136 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, contentUri, 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 | 103 String contentUri = "file".equals(uri.getScheme()) 106 mWebView.loadUrl(contentUri);
|
/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 | 265 String contentUri = null; 274 contentUri = c.getString(2); 290 values[i] = contentUri;
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
BaseImageList.java | 81 public Uri contentUri(long id) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ThumbnailLoadTask.java | 63 final Uri contentUri = attachment.contentUri; 68 if ((thumbnailUri != null || contentUri != null) 78 task.execute(thumbnailUri, contentUri); 79 } else if (thumbnailUri == null && contentUri == null) {
|
/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/UnifiedEmail/src/com/android/mail/compose/ |
AttachmentsView.java | 210 * @param contentUri 214 public Attachment generateLocalAttachment(Uri contentUri) throws AttachmentFailureException { 217 String contentType = contentResolver.getType(contentUri); 218 if (contentUri == null || TextUtils.isEmpty(contentUri.getPath())) { 228 attachment.contentUri = contentUri; 229 attachment.thumbnailUri = contentUri; 234 contentUri, new String[]{OpenableColumns.DISPLAY_NAME, OpenableColumns.SIZE}, 255 metadataCursor = getOptionalColumn(contentResolver, contentUri, [all...] |
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
ContactsListFragment.java | 457 Uri contentUri; 466 contentUri = ContactsQuery.CONTENT_URI; 470 contentUri = 479 contentUri, [all...] |