Searched refs:uris (Results 1 - 25 of 29) sorted by relevance

12

/packages/apps/Nfc/src/com/android/nfc/handover/
H A DPendingHandoverTransfer.java29 public Uri[] uris; field in class:PendingHandoverTransfer
32 boolean remoteActivating, Uri[] uris) {
37 this.uris = uris;
48 Uri[] uris = null;
50 uris = new Uri[numUris];
51 in.readTypedArray(uris, Uri.CREATOR);
54 remoteActivating, uris);
74 dest.writeInt(uris != null ? uris
31 PendingHandoverTransfer(int id, boolean incoming, BluetoothDevice remoteDevice, boolean remoteActivating, Uri[] uris) argument
[all...]
H A DBluetoothOppHandover.java62 public BluetoothOppHandover(Context context, BluetoothDevice device, Uri[] uris, argument
66 mUris = uris;
128 ArrayList<Uri> uris = new ArrayList<Uri>(Arrays.asList(mUris));
130 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris);
H A DHandoverManager.java429 public void doHandoverUri(Uri[] uris, NdefMessage m) { argument
437 PendingHandoverTransfer transfer = registerOutTransferLocked(data, uris);
457 Uri[] uris) {
459 mHandoverTransferId++, false, data.device, data.carrierActivating, uris);
456 registerOutTransferLocked(BluetoothHandoverData data, Uri[] uris) argument
H A DHandoverTransfer.java114 ArrayList<Uri> mBtUris; // Received uris from Bluetooth OPP
130 mTotalCount = (pendingTransfer.uris != null) ? pendingTransfer.uris.length : 0;
318 Log.e(TAG, "Media storage not valid or no uris received.");
H A DHandoverService.java177 pendingTransfer.remoteDevice, pendingTransfer.uris,
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DChangeNotifier.java36 public ChangeNotifier(MediaSet set, Uri[] uris, GalleryApp application) { argument
38 for (int i = 0; i < uris.length; i++) {
39 application.getDataManager().registerChangeNotifier(uris[i], this);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppHandoverReceiver.java58 ArrayList<Uri> uris = new ArrayList<Uri>();
60 uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
61 if (mimeType != null && uris != null) {
63 uris, true);
H A DBluetoothOppLauncherActivity.java143 final ArrayList<Uri> uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
144 if (mimeType != null && uris != null) {
145 if (V) Log.v(TAG, "Get ACTION_SHARE_MULTIPLE intent: uris " + uris + "\n Type= "
150 .saveSendingFileInfo(mimeType,uris, false);
H A DBluetoothOppManager.java262 public void saveSendingFileInfo(String mimeType, ArrayList<Uri> uris, boolean isHandover) { argument
266 mUrisOfSendingFiles = uris;
268 for (Uri uri : uris) {
387 ArrayList<Uri> uris, boolean handoverInitiated) {
394 this.mUris = uris;
385 InsertShareInfoThread(BluetoothDevice device, boolean multiple, String typeOfSingleFile, String uri, String typeOfMultipleFiles, ArrayList<Uri> uris, boolean handoverInitiated) argument
H A DBluetoothOppUtility.java136 ArrayList<String> uris = Lists.newArrayList();
156 uris.add(path.toString());
160 return uris;
/packages/apps/Mms/src/com/android/mms/data/
H A DContactList.java48 * @param uris phone URI to create the ContactList
50 public static ContactList blockingGetByUris(Parcelable[] uris) { argument
52 if (uris != null && uris.length > 0) {
53 for (Parcelable p : uris) {
60 final List<Contact> contacts = Contact.getByPhoneUris(uris);
H A DContact.java172 public static List<Contact> getByPhoneUris(Parcelable[] uris) { argument
173 return sContactCache.getContactInfoForPhoneUris(uris);
613 public List<Contact> getContactInfoForPhoneUris(Parcelable[] uris) { argument
614 if (uris.length == 0) {
619 for (Parcelable p : uris) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DActionModeHandler.java311 private void setNfcBeamPushUris(Uri[] uris) { argument
314 mNfcAdapter.setBeamPushUris(uris, mActivity);
325 final ArrayList<Uri> uris = new ArrayList<Uri>();
330 uris.add(manager.getContentUri(path));
333 final int size = uris.size();
338 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris);
342 intent.putExtra(Intent.EXTRA_STREAM, uris.get(0));
356 final ArrayList<Uri> uris = new ArrayList<Uri>();
366 uris.add(manager.getContentUri(path));
370 final int size = uris
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DImportProcessor.java195 List<Uri> uris = committer.getCreatedUris();
197 if (uris != null && uris.size() > 0) {
199 mListener.onImportFinished(mImportRequest, mJobId, uris.get(0));
H A DVCardService.java203 final ArrayList<String> uris = new ArrayList<String>();
206 uris.add(request.uri.toString());
211 uris.toString(), displayNames.toString()));
H A DImportVCardActivity.java750 final Uri[] uris = new Uri[length];
752 uris[i] = Uri.parse(uriStrings[i]);
754 importVCard(uris);
757 private void importVCard(final Uri[] uris) { argument
762 mVCardCacheThread = new VCardCacheThread(uris);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSecureConversationViewFragment.java204 final HashSet<Uri> uris = new HashSet<Uri>();
205 uris.add(message.uri);
206 activity.getConversationUpdater().markConversationMessagesUnread(mConversation, uris,
/packages/apps/UnifiedEmail/src/com/android/mail/photo/
H A DMailPhotoViewActivity.java375 ArrayList<Parcelable> uris = new ArrayList<Parcelable>();
378 uris.add(Utils.normalizeUri(new Attachment(cursor).contentUri));
381 mActionHandler.shareAttachments(uris);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DAttachmentActionHandler.java223 public void shareAttachments(ArrayList<Parcelable> uris) { argument
230 Intent.EXTRA_STREAM, uris);
/packages/apps/Nfc/src/com/android/nfc/
H A DP2pLinkManager.java434 mUrisToSend = shareData.uris;
709 int doHandover(Uri[] uris) throws IOException { argument
729 mHandoverManager.doHandoverUri(uris, response);
745 Uri[] uris;
753 uris = mUrisToSend;
761 if (uris != null) {
764 int handoverResult = doHandover(uris);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsActor.java215 public void addUriPermissions(Uri... uris) { argument
216 mGrantedUriPermissions.addAll(Arrays.asList(uris));
219 public void removeUriPermissions(Uri... uris) { argument
220 mGrantedUriPermissions.removeAll(Arrays.asList(uris));
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DContactPhotoManager.java796 Set<String> photoIdsAsStrings, Set<Request> uris) {
799 uris.clear();
823 uris.add(request);
795 obtainPhotoIdsAndUrisToLoad(Set<Long> photoIds, Set<String> photoIdsAsStrings, Set<Request> uris) argument
/packages/apps/Dialer/src/com/android/dialer/
H A DCallDetailActivity.java364 Uri[] uris = new Uri[ids.length];
366 uris[index] = ContentUris.withAppendedId(Calls.CONTENT_URI_WITH_VOICEMAIL, ids[index]);
368 return uris;
/packages/apps/Mms/src/com/android/mms/ui/
H A DComposeMessageActivity.java975 ArrayList<String> uris =
980 for (String uri : uris) {
3037 final Parcelable[] uris =
3040 final int recipientCount = uris != null ? uris.length : 0;
3073 list = ContactList.blockingGetByUris(uris);
3275 final ArrayList<Parcelable> uris = extras.getParcelableArrayList(Intent.EXTRA_STREAM);
3277 int importCount = uris.size();
3295 Parcelable uri = uris.get(i);
3400 Uri[] uris
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DUpdateHandler.java180 final TreeSet<String> uris = new TreeSet<String>();
191 uris.add(metadataUri);
197 for (final String metadataUri : uris) {

Completed in 571 milliseconds

12