Home
last modified time | relevance | path

Searched refs:uris (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Nfc/src/com/android/nfc/handover/
DPendingHandoverTransfer.java31 public Uri[] uris; field in PendingHandoverTransfer
35 boolean remoteActivating, Uri[] uris) { in PendingHandoverTransfer() argument
40 this.uris = uris; in PendingHandoverTransfer()
46 boolean remoteActivating, Uri[] uris) { in PendingHandoverTransfer() argument
51 this.uris = uris; in PendingHandoverTransfer()
58 Uri[] uris) { in forBluetoothDevice() argument
59 return new PendingHandoverTransfer(id, incoming, remoteDevice, remoteActivating, uris); in forBluetoothDevice()
63 int id, boolean incoming, String macAddress, boolean remoteActivating, Uri[] uris) { in forWifiDevice() argument
64 return new PendingHandoverTransfer(id, incoming, macAddress, remoteActivating, uris); in forWifiDevice()
82 Uri[] uris = null;
[all …]
DBluetoothOppHandover.java62 public BluetoothOppHandover(Context context, BluetoothDevice device, Uri[] uris, in BluetoothOppHandover() argument
66 mUris = uris; in BluetoothOppHandover()
120 ArrayList<Uri> uris = new ArrayList<Uri>(Arrays.asList(mUris)); in sendIntent() local
122 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris); in sendIntent()
DHandoverManager.java467 public void doHandoverUri(Uri[] uris, in doHandoverUri() argument
476 PendingHandoverTransfer transfer = registerBluetoothOutTransferLocked(data, uris); in doHandoverUri()
496 Uri[] uris) { in registerBluetoothOutTransferLocked() argument
498 mHandoverTransferId++, false, data.device, data.carrierActivating, uris); in registerBluetoothOutTransferLocked()
DHandoverTransfer.java143 mTotalCount = (pendingTransfer.uris != null) ? pendingTransfer.uris.length : 0; in HandoverTransfer()
156 mOutgoingUris = pendingTransfer.uris; in HandoverTransfer()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DActionModeHandler.java311 private void setNfcBeamPushUris(Uri[] uris) { in setNfcBeamPushUris() argument
314 mNfcAdapter.setBeamPushUris(uris, mActivity); in setNfcBeamPushUris()
325 final ArrayList<Uri> uris = new ArrayList<Uri>(); in computePanoramaSharingIntent() local
330 uris.add(manager.getContentUri(path)); in computePanoramaSharingIntent()
333 final int size = uris.size(); in computePanoramaSharingIntent()
338 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris); in computePanoramaSharingIntent()
342 intent.putExtra(Intent.EXTRA_STREAM, uris.get(0)); in computePanoramaSharingIntent()
356 final ArrayList<Uri> uris = new ArrayList<Uri>(); in computeSharingIntent() local
366 uris.add(manager.getContentUri(path)); in computeSharingIntent()
370 final int size = uris.size(); in computeSharingIntent()
[all …]
/packages/apps/Browser/src/com/android/browser/
DUploadHandler.java61 Uri[] uris; in onResult() local
64 uris = parseResult(resultCode, intent); in onResult()
65 mUploadMessage.onReceiveValue(uris); in onResult()
111 Uri[] uris = null; in parseResult() local
113 uris = new Uri[1]; in parseResult()
114 uris[0] = result; in parseResult()
116 return uris; in parseResult()
/packages/apps/Nfc/src/com/android/nfc/
DP2pLinkManager.java326 if (shareData.uris != null) { in onManualBeamInvoke()
327 mUrisToSend = shareData.uris; in onManualBeamInvoke()
468 mUrisToSend = shareData.uris; in prepareMessageToSend()
751 int doHandover(Uri[] uris) throws IOException { in doHandover() argument
771 mHandoverManager.doHandoverUri(uris, response); in doHandover()
787 Uri[] uris; in doInBackground() local
795 uris = mUrisToSend; in doInBackground()
803 if (uris != null) { in doInBackground()
806 int handoverResult = doHandover(uris); in doInBackground()
DBeamShareActivity.java170 final ArrayList<Uri> uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM); in parseShareIntentAndFinish() local
174 if (uris != null && uris.size() > 0) { in parseShareIntentAndFinish()
175 for (Uri uri : uris) { in parseShareIntentAndFinish()
/packages/apps/Mms/src/com/android/mms/data/
DContactList.java50 public static ContactList blockingGetByUris(Parcelable[] uris) { in blockingGetByUris() argument
52 if (uris != null && uris.length > 0) { in blockingGetByUris()
53 for (Parcelable p : uris) { in blockingGetByUris()
60 final List<Contact> contacts = Contact.getByPhoneUris(uris); in blockingGetByUris()
DContact.java173 public static List<Contact> getByPhoneUris(Parcelable[] uris) { in getByPhoneUris() argument
174 return sContactCache.getContactInfoForPhoneUris(uris); in getByPhoneUris()
621 public List<Contact> getContactInfoForPhoneUris(Parcelable[] uris) { in getContactInfoForPhoneUris() argument
622 if (uris.length == 0) { in getContactInfoForPhoneUris()
627 for (Parcelable p : uris) { in getContactInfoForPhoneUris()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppHandoverReceiver.java58 ArrayList<Uri> uris = new ArrayList<Uri>(); in onReceive() local
60 uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM); in onReceive()
61 if (mimeType != null && uris != null) { in onReceive()
63 uris, true); in onReceive()
DBluetoothOppLauncherActivity.java152 final ArrayList<Uri> uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM); in onCreate() local
153 if (mimeType != null && uris != null) { in onCreate()
154 if (V) Log.v(TAG, "Get ACTION_SHARE_MULTIPLE intent: uris " + uris + "\n Type= " in onCreate()
159 .saveSendingFileInfo(mimeType,uris, false); in onCreate()
DBluetoothOppManager.java264 public void saveSendingFileInfo(String mimeType, ArrayList<Uri> uris, boolean isHandover) { in saveSendingFileInfo() argument
270 for (Uri uri : uris) { in saveSendingFileInfo()
392 ArrayList<Uri> uris, boolean handoverInitiated) { in InsertShareInfoThread() argument
399 this.mUris = uris; in InsertShareInfoThread()
DBluetoothOppUtility.java136 ArrayList<String> uris = Lists.newArrayList(); in queryTransfersInBatch() local
156 uris.add(path.toString()); in queryTransfersInBatch()
160 return uris; in queryTransfersInBatch()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DImportProcessor.java195 List<Uri> uris = committer.getCreatedUris(); in runInternal() local
197 if (uris != null && uris.size() > 0) { in runInternal()
199 mListener.onImportFinished(mImportRequest, mJobId, uris.get(0)); in runInternal()
DImportVCardActivity.java750 final Uri[] uris = new Uri[length]; in importVCard() local
752 uris[i] = Uri.parse(uriStrings[i]); in importVCard()
754 importVCard(uris); in importVCard()
757 private void importVCard(final Uri[] uris) { in importVCard() argument
762 mVCardCacheThread = new VCardCacheThread(uris); in importVCard()
DVCardService.java203 final ArrayList<String> uris = new ArrayList<String>(); in handleImportRequest() local
206 uris.add(request.uri.toString()); in handleImportRequest()
211 uris.toString(), displayNames.toString())); in handleImportRequest()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DChangeNotifier.java36 public ChangeNotifier(MediaSet set, Uri[] uris, GalleryApp application) { in ChangeNotifier() argument
38 for (int i = 0; i < uris.length; i++) { in ChangeNotifier()
39 application.getDataManager().registerChangeNotifier(uris[i], this); in ChangeNotifier()
/packages/apps/Mms/src/com/android/mms/ui/
DComposeMessageActivity.java975 ArrayList<String> uris = in addCallAndContactMenuItems() local
980 for (String uri : uris) { in addCallAndContactMenuItems()
3040 final Parcelable[] uris = in processPickResult() local
3043 final int recipientCount = uris != null ? uris.length : 0; in processPickResult()
3076 list = ContactList.blockingGetByUris(uris); in processPickResult()
3278 final ArrayList<Parcelable> uris = extras.getParcelableArrayList(Intent.EXTRA_STREAM); in handleSendIntent() local
3280 int importCount = uris.size(); in handleSendIntent()
3298 Parcelable uri = uris.get(i); in handleSendIntent()
3403 Uri[] uris = new Uri[contacts.size()]; in launchMultiplePhonePicker() local
3407 uris[urisCount++] = contact.getPhoneUri(); in launchMultiplePhonePicker()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSecureConversationViewFragment.java214 final HashSet<Uri> uris = new HashSet<Uri>(); in markUnread() local
215 uris.add(message.uri); in markUnread()
216 activity.getConversationUpdater().markConversationMessagesUnread(mConversation, uris, in markUnread()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java353 public void addUriPermissions(Uri... uris) { in addUriPermissions() argument
354 mGrantedUriPermissions.addAll(Arrays.asList(uris)); in addUriPermissions()
357 public void removeUriPermissions(Uri... uris) { in removeUriPermissions() argument
358 mGrantedUriPermissions.removeAll(Arrays.asList(uris)); in removeUriPermissions()
/packages/apps/UnifiedEmail/src/com/android/mail/photo/
DMailPhotoViewController.java386 ArrayList<Parcelable> uris = new ArrayList<Parcelable>(); in shareAllAttachments() local
389 uris.add(Utils.normalizeUri(new Attachment(cursor).contentUri)); in shareAllAttachments()
392 mActionHandler.shareAttachments(uris); in shareAllAttachments()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1481 Uri[] uris = new Uri[len]; in testInsertNormalEvents() local
1502 uris[ii] = insertEvent(calId, event, cvs[ii]); in testInsertNormalEvents()
1509 assertNotNull(uris[i]); in testInsertNormalEvents()
1510 cursor = mResolver.query(uris[i], null, null, null, null); in testInsertNormalEvents()
1542 Uri[] uris = new Uri[len]; in testInsertRepeatingEvents() local
1551 uris[ii] = insertEvent(calId, event, cvs[ii]); in testInsertRepeatingEvents()
1558 assertNotNull(uris[i]); in testInsertRepeatingEvents()
1559 cursor = mResolver.query(uris[i], null, null, null, null); in testInsertRepeatingEvents()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java353 final Uri[] uris = new Uri[numIds]; in getCallLogEntryUris() local
355 uris[index] = ContentUris.withAppendedId(Calls.CONTENT_URI_WITH_VOICEMAIL, ids[index]); in getCallLogEntryUris()
357 return uris; in getCallLogEntryUris()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DAttachmentActionHandler.java236 public void shareAttachments(ArrayList<Parcelable> uris) { in shareAttachments() argument
243 Intent.EXTRA_STREAM, uris); in shareAttachments()

12