HomeSort by relevance Sort by last modified time
    Searched defs:contentUri (Results 1 - 25 of 40) sorted by null

1 2

  /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.setData(contentUri);
BluetoothOppUtility.java 300 final Uri contentUri = context.getContentResolver().insert(BluetoothShare.CONTENT_URI,
302 if (V) Log.v(TAG, "Insert contentUri: " + contentUri + " to device: " +
Constants.java 265 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + id);
268 context.getContentResolver().update(contentUri, updateValues, null, null);
269 Constants.sendIntentIfCompleted(context, contentUri, status);
276 public static void sendIntentIfCompleted(Context context, Uri contentUri, int status) {
280 intent.setData(contentUri);
BluetoothOppManager.java 438 final Uri contentUri = mContext.getContentResolver().insert(
440 if (V) Log.v(TAG, "Insert contentUri: " + contentUri + " to device: "
457 final Uri contentUri = mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI,
459 if (V) Log.v(TAG, "Insert contentUri: " + contentUri + " to device: "
BluetoothOppNotification.java 483 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + id);
494 intent.setData(contentUri);
502 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 291 Uri contentUri = mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI, values);
292 mLocalShareInfoId = Integer.parseInt(contentUri.getPathSegments().get(1));
300 if (V) Log.v(TAG, "insert contentUri: " + contentUri);
366 contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId);
369 mContext.getContentResolver().update(contentUri, updateValues, null, null);
444 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId);
449 mContext.getContentResolver().update(contentUri, updateValues, null, null);
485 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);
761 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + share.mId);
764 mContext.getContentResolver().update(contentUri, updateValues, null, null);
    [all...]
  /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 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 42 Uri contentUri = MediaStore.Audio.Artists.Albums.getContentUri(
44 assertNotNull(mContentResolver.query(contentUri, null, null, null, null));
45 contentUri = MediaStore.Audio.Artists.Albums.getContentUri(
47 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/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 233 Uri contentUri =
252 intent.setData(contentUri);
262 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);

Completed in 838 milliseconds

1 2