HomeSort by relevance Sort by last modified time
    Searched refs:uris (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/apache-http/src/org/apache/http/impl/client/
RedirectLocations.java 39 * A collection of URIs that were used as redirects.
43 private final Set<URI> uris; field in class:RedirectLocations
47 this.uris = new HashSet<URI>();
54 return this.uris.contains(uri);
61 this.uris.add(uri);
68 return this.uris.remove(uri);
  /packages/apps/Nfc/src/com/android/nfc/handover/
PendingHandoverTransfer.java 13 public Uri[] uris; field in class:PendingHandoverTransfer
16 boolean remoteActivating, Uri[] uris) {
21 this.uris = uris;
32 Uri[] uris = null;
34 uris = new Uri[numUris];
35 in.readTypedArray(uris, Uri.CREATOR);
38 remoteActivating, uris);
58 dest.writeInt(uris != null ? uris.length : 0)
    [all...]
BluetoothOppHandover.java 62 public BluetoothOppHandover(Context context, BluetoothDevice device, Uri[] uris,
66 mUris = uris;
128 ArrayList<Uri> uris = new ArrayList<Uri>(Arrays.asList(mUris)); local
130 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris);
  /frameworks/base/core/java/android/nfc/
BeamShareData.java 9 * Allows bundling NdefMessage, Uris and flags in a single
16 public final Uri[] uris; field in class:BeamShareData
19 public BeamShareData(NdefMessage msg, Uri[] uris, int flags) {
21 this.uris = uris;
32 int urisLength = (uris != null) ? uris.length : 0;
36 dest.writeTypedArray(uris, 0);
45 Uri[] uris = null;
49 uris = new Uri[numUris]
    [all...]
NfcActivityManager.java 112 Uri[] uris = null; field in class:NfcActivityManager.NfcActivityState
133 uris = null;
140 if (uris != null) {
141 for (Uri uri : uris) {
193 public void setNdefPushContentUri(Activity activity, Uri[] uris) {
197 state.uris = uris;
277 Uri[] uris; local
286 uris = state.uris;
    [all...]
NfcAdapter.java 594 * If multiple URIs are sent, the {@link android.content.Intent} will refer
638 * @param uris an array of Uri(s) to push over Android Beam
641 public void setBeamPushUris(Uri[] uris, Activity activity) {
645 if (uris != null) {
646 for (Uri uri : uris) {
657 mNfcActivityManager.setNdefPushContentUri(activity, uris);
674 * If multiple URIs are sent, the {@link android.content.Intent} will refer
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/content/
ObserverNodeTest.java 41 Uri[] uris = new Uri[] { local
55 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root,
57 for(int i = 1; i < uris.length; i++) {
58 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root,
65 root.collectObserversLocked(uris[i], 0, null, false, myUserHandle, calls);
75 Uri[] uris = new Uri[] { local
87 for(int i = 0; i < uris.length; i++) {
88 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root,
94 for (int i = uris.length - 1; i >=0; --i) {
95 root.collectObserversLocked(uris[i], 0, null, false, myUserHandle, calls)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
URITest.java 28 private URI[] uris; field in class:URITest
31 if (uris != null) {
32 return uris;
35 uris = new URI[] {
81 return uris;
617 // test URIs with host names with different casing
623 // test URIs with one undefined component
629 // test URIs with one undefined component
726 // test URIs with empty string authority
732 // test URIs with port numbe
749 URI[] uris = getUris(); local
827 URI[] uris = getUris(); local
851 URI[] uris = getUris(); local
872 URI[] uris = getUris(); local
897 URI[] uris = getUris(); local
942 URI[] uris = getUris(); local
966 URI[] uris = getUris(); local
995 URI[] uris = getUris(); local
1021 URI[] uris = getUris(); local
1047 URI[] uris = getUris(); local
1075 URI[] uris = getUris(); local
1106 URI[] uris = getUris(); local
1133 URI[] uris = getUris(); local
1154 URI[] uris = getUris(); local
1187 URI[] uris = getUris(); local
1433 URI[] uris = null; local
1723 URI[] uris = getUris(); local
1774 URI[] uris = getUris(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ChangeNotifier.java 36 public ChangeNotifier(MediaSet set, Uri[] uris, GalleryApp application) {
38 for (int i = 0; i < uris.length; i++) {
39 application.getDataManager().registerChangeNotifier(uris[i], this);
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppHandoverReceiver.java 58 ArrayList<Uri> uris = new ArrayList<Uri>(); local
60 uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
61 if (mimeType != null && uris != null) {
63 uris, true);
BluetoothOppLauncherActivity.java 143 final ArrayList<Uri> uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM); local
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);
160 Log.e(TAG, "type is null; or sending files URIs are null");
BluetoothOppManager.java 262 public void saveSendingFileInfo(String mimeType, ArrayList<Uri> uris, boolean isHandover) {
266 mUrisOfSendingFiles = uris;
268 for (Uri uri : uris) {
387 ArrayList<Uri> uris, boolean handoverInitiated) {
394 this.mUris = uris;
BluetoothOppUtility.java 136 ArrayList<String> uris = Lists.newArrayList(); local
156 uris.add(path.toString());
160 return uris;
  /packages/apps/Mms/src/com/android/mms/data/
ContactList.java 44 * Returns a ContactList for the corresponding recipient URIs passed in. This method will
45 * always block to query provider. The given URIs could be the phone data URIs or tel URI
48 * @param uris phone URI to create the ContactList
50 public static ContactList blockingGetByUris(Parcelable[] uris) {
52 if (uris != null && uris.length > 0) {
53 for (Parcelable p : uris) {
60 final List<Contact> contacts = Contact.getByPhoneUris(uris);
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
CtsTestTest.java 182 Collection<String> uris = new ArrayList<String>(1); local
183 uris.add(PACKAGE_NAME);
184 EasyMock.expect(mMockPlan.getTestUris()).andReturn(uris);
199 Collection<String> uris = new ArrayList<String>(1); local
200 uris.add(PACKAGE_NAME);
201 EasyMock.expect(mMockPlan.getTestUris()).andReturn(uris);
220 Collection<String> uris = new ArrayList<String>(1); local
221 uris.add(PACKAGE_NAME);
222 EasyMock.expect(mMockPlan.getTestUris()).andReturn(uris);
  /development/samples/BusinessCard/src/com/example/android/businesscard/
BusinessCardActivity.java 102 protected ContactInfo doInBackground(Uri... uris) {
103 return mContactAccessor.loadContact(getContentResolver(), uris[0]);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
ActionModeHandler.java 311 private void setNfcBeamPushUris(Uri[] uris) {
314 mNfcAdapter.setBeamPushUris(uris, mActivity);
325 final ArrayList<Uri> uris = new ArrayList<Uri>(); local
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>(); local
366 uris.add(manager.getContentUri(path));
370 final int size = uris.size()
    [all...]
  /external/chromium/chrome/browser/tab_contents/
web_drag_dest_gtk.cc 163 gchar** uris = gtk_selection_data_get_uris(data); local
164 if (uris) {
166 for (gchar** uri_iter = uris; *uri_iter; uri_iter++) {
185 g_strfreev(uris);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ImportProcessor.java 195 List<Uri> uris = committer.getCreatedUris(); local
197 if (uris != null && uris.size() > 0) {
199 mListener.onImportFinished(mImportRequest, mJobId, uris.get(0));
203 "Created Uris is null or 0 length " +
VCardService.java 203 final ArrayList<String> uris = new ArrayList<String>(); local
206 uris.add(request.uri.toString());
211 uris.toString(), displayNames.toString()));
  /frameworks/wilhelm/tests/sandbox/
multithread.c 102 //const char * const uris[4] = {"wav/frog.wav", "wav/bach.wav", "wav/8days.wav", "wav/help16.wav"};
103 const char * const uris[4] = {"wav/frog.wav", "wav/frog.wav", "wav/frog.wav", "wav/frog.wav"}; variable
147 ta->mURI = (SLchar *) uris[(r >> 1) & 3];
  /external/chromium/chrome/browser/ui/gtk/bookmarks/
bookmark_utils_gtk.cc 347 gchar** uris = reinterpret_cast<gchar**>(malloc(sizeof(gchar*) * local
356 uris[i] = const_cast<gchar*>(url.spec().c_str());
358 uris[nodes.size()] = NULL;
360 gtk_selection_data_set_uris(selection_data, uris);
361 free(uris);
  /libcore/luni/src/main/java/org/xml/sax/helpers/
ParserAdapter.java 159 private static final String XMLNS_URIs = FEATURES + "xmlns-uris";
193 uris = value;
222 return uris;
556 if (uris)
710 if (uris)
830 private boolean uris = false;
826 private boolean uris = false; field in class:ParserAdapter
  /packages/apps/Nfc/src/com/android/nfc/
P2pLinkManager.java 432 mUrisToSend = shareData.uris;
707 int doHandover(Uri[] uris) throws IOException {
727 mHandoverManager.doHandoverUri(uris, response);
743 Uri[] uris; local
751 uris = mUrisToSend;
759 if (uris != null) {
762 int handoverResult = doHandover(uris);
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentResolver.java 307 List<Uri> uris = new ArrayList<Uri>();
309 uris.add(deleteStatement.getUri());
311 return uris;

Completed in 2133 milliseconds

1 2 3