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

1 2

  /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);
  /frameworks/base/core/tests/coretests/src/android/content/
ObserverNodeTest.java 37 Uri[] uris = new Uri[] { local
51 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root, 0, 0);
52 for(int i = 1; i < uris.length; i++) {
53 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root, 0, 0);
59 root.collectObserversLocked(uris[i], 0, null, false, calls);
67 Uri[] uris = new Uri[] { local
79 for(int i = 0; i < uris.length; i++) {
80 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root, 0, 0);
85 for (int i = uris.length - 1; i >=0; --i) {
86 root.collectObserversLocked(uris[i], 0, null, false, 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...]
  /external/bluetooth/glib/tests/
uri-test.c 145 /* URIs with backslashes come from some nonstandard application, but accept them anyhow */
419 gchar **uris; local
422 uris = g_uri_list_extract_uris (list);
424 if (g_strv_length (uris) != 3)
427 " expected %d uris, but got %d\n",
428 3, g_strv_length (uris));
434 if (safe_strcmp (uris[j], expected_uris[j]))
438 expected_uris[j], uris[j]);
443 g_strfreev (uris);
445 uris = g_uri_list_extract_uris ("# just hot air\r\n# more hot air")
    [all...]
bookmarkfile-test.c 40 gchar **uris; local
45 uris = g_bookmark_file_get_uris (bookmark, &uris_len);
55 if (!g_bookmark_file_has_item (bookmark, uris[i]))
57 g_print ("URI/bookmark mismatch: bookmark for '%s' does not exist\n", uris[i]);
62 g_strfreev (uris);
  /packages/apps/Mms/src/com/android/mms/data/
ContactList.java 45 * Returns a ContactList for the corresponding recipient URIs passed in. This method will
46 * always block to query provider. The given URIs could be the phone data URIs or tel URI
49 * @param uris phone URI to create the ContactList
51 public static ContactList blockingGetByUris(Parcelable[] uris) {
53 if (uris != null && uris.length > 0) {
54 for (Parcelable p : uris) {
61 final List<Contact> contacts = Contact.getByPhoneUris(uris);
Contact.java 169 public static List<Contact> getByPhoneUris(Parcelable[] uris) {
170 return sContactCache.getContactInfoForPhoneUris(uris);
601 * Get CacheEntry list for given phone URIs. This method will do single one query to
602 * get expected contacts from provider. Be sure passed in URIs are not null and contains
603 * only valid URIs.
605 public List<Contact> getContactInfoForPhoneUris(Parcelable[] uris) {
606 if (uris.length == 0) {
611 for (Parcelable p : uris) {
    [all...]
  /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/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppLauncherActivity.java 108 ArrayList<Uri> uris = new ArrayList<Uri>(); local
110 uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
111 if (mimeType != null && uris != null) {
112 if (V) Log.v(TAG, "Get ACTION_SHARE_MULTIPLE intent: uris " + uris + "\n Type= "
114 BluetoothOppManager.getInstance(this).saveSendingFileInfo(mimeType, uris);
116 Log.e(TAG, "type is null; or sending files URIs are null");
BluetoothOppManager.java 212 public void saveSendingFileInfo(String mimeType, ArrayList<Uri> uris) {
216 mUrisOfSendingFiles = uris;
328 String typeOfSingleFile, String uri, String typeOfMultipleFiles, ArrayList<Uri> uris) {
335 this.mUris = uris;
BluetoothOppUtility.java 126 ArrayList<String> uris = Lists.newArrayList(); local
146 uris.add(path.toString());
150 return uris;
  /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/Contacts/src/com/android/contacts/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 197 final ArrayList<String> uris = new ArrayList<String>(); local
200 uris.add(request.uri.toString());
205 uris.toString(), displayNames.toString()));
ImportVCardActivity.java 264 // Uris given from caller applications may not be opened twice: consider when
433 * app local storage, as we cannot guarantee other types of Uris can be read
752 final Uri[] uris = new Uri[length]; local
754 uris[i] = Uri.parse(uriStrings[i]);
756 importVCard(uris);
759 private void importVCard(final Uri[] uris) {
763 mVCardCacheThread = new VCardCacheThread(uris);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
ActionModeHandler.java 218 final ArrayList<Uri> uris = new ArrayList<Uri>();
229 uris.add(manager.getContentUri(path));
233 final int size = uris.size();
238 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris);
241 intent.putExtra(Intent.EXTRA_STREAM, uris.get(0));
  /system/media/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/bluetooth/glib/gio/
gdesktopappinfo.c 567 GList *uris = *uri_list; local
605 if (uris)
607 uri = uris->data;
626 uris = uris->next;
635 while (uris)
637 uri = uris->data;
658 uris = uris->next;
660 if (uris != NULL && expanded
1111 GList *uris; local
    [all...]
gappinfo.h 67 * @supports_uris: Indicates whether the application specified supports launching URIs.
69 * @launch_uris: Launches an application with a list of URIs.
107 GList *uris,
152 GList *uris,
gappinfo.c 39 * As of GLib 2.20, URIs will always be converted to POSIX paths
49 * unmodified to the application. Some URIs, such as
51 * path (in gvfs there's no FUSE mount for it); such URIs will be
84 * of a particular URIs. Different launcher applications (e.g. file
487 * Some URIs can be changed when passed through a GFile (for instance
488 * unsupported uris with strange formats like mailto:), so if you have
514 * Checks if the application supports reading files and directories from URIs.
516 * Returns: %TRUE if the @appinfo supports URIs.
555 * @uris: a #GList containing URIs to launch.
    [all...]
  /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
  /external/bluetooth/glib/gio/tests/
g-file.c 52 const char *uris[] = {"file:///", local
70 while (uris[i])
72 file = g_file_new_for_uri (uris[i++]);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java 206 public void addUriPermissions(Uri... uris) {
207 mGrantedUriPermissions.addAll(Arrays.asList(uris));
210 public void removeUriPermissions(Uri... uris) {
211 mGrantedUriPermissions.removeAll(Arrays.asList(uris));

Completed in 705 milliseconds

1 2