/packages/apps/Contacts/src/com/android/contacts/util/ |
UriUtils.java | 29 public static boolean areEqual(Uri uri1, Uri uri2) { 30 if (uri1 == null && uri2 == null) { 33 if (uri1 == null || uri2 == null) { 36 return uri1.equals(uri2);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
CookieStoreTest.java | 88 URI uri2 = new URI("http://.test.unit.org"); local 90 cookieStore.add(uri2, cookie3); 91 list = cookieStore.get(uri2); 101 cookieStore.add(uri2, cookie4); 104 assertFalse(cookieStore.remove(uri2, cookie4)); 109 cookieStore.add(uri2, cookie4); 110 list = cookieStore.get(uri2); 116 list = cookieStore.get(uri2); 150 URI uri2 = new URI("http://get.uri2.test.org") local 219 URI uri2 = new URI("http:\/\/getcookies2.test.org"); local 273 URI uri2 = new URI("http:\/\/geturis2.test.com"); local 299 URI uri2 = new URI("http:\/\/remove2.test.com"); local 385 URI uri2 = new URI("http:\/\/removeAll2.test.com"); local [all...] |
URITest.java | 615 URI uri, uri2; local 619 uri2 = new URI("http://aBc.CoM/root/news"); 620 assertEquals("TestA", 0, uri.compareTo(uri2)); 621 assertEquals("TestB", 0, uri.compareTo(uri2)); 625 uri2 = new URI("http://abc.com/root/news"); 626 assertTrue("TestC", uri.compareTo(uri2) > 0); 627 assertTrue("TestD", uri2.compareTo(uri) < 0); 631 uri2 = new URI("http://abc.com/root/news"); 632 assertTrue("TestE", uri.compareTo(uri2) > 0); 633 assertTrue("TestF", uri2.compareTo(uri) < 0) 728 URI uri2 = new URI(uri.getScheme(), uri.getAuthority(), uri.getPath(), local 805 URI uri2 = uri.normalize(); local 1400 URI uri1 = null, uri2 = null; local 1417 URI uri1 = null, uri2 = null; local 1651 URI uri1 = null, uri2 = null; local [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentUrisTest.java | 39 private Uri uri2 = Uri.parse("content://" + AUTHORITY + "/" + PATH2); field in class:ContentUrisTest 61 result = ContentUris.withAppendedId(uri2, CODE2); 110 assertNotNull(actually = ContentUris.withAppendedId(uri2, CODE2)); 145 b = uri2.buildUpon();
|
UriMatcherTest.java | 44 private Uri uri2 = Uri.parse("content://" + sAuthority + "/" + sPath2); field in class:UriMatcherTest 77 assertEquals(sCode2, mUriMatcher.match(uri2)); 110 assertEquals(-1, mUriMatcher.match(uri2)); 120 assertEquals(sCode2, mUriMatcher.match(uri2));
|
IntentFilterTest.java | 421 Uri uri2 = Uri.parse("http://" + HOST + i + 10 + ":" + PORT + i + 10); local 422 assertFalse(mIntentFilter.hasDataAuthority(uri2)); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
NamespaceMappings.java | 172 String uri2 = lookupNamespace(prefix); local 173 if (uri2 != null && uri2.equals(uri)) 490 String uri2 = lookupNamespace(prefix); local 491 if (uri2 != null && uri2.equals(uri))
|
/external/bluetooth/glib/gio/win32/ |
gwinhttpfile.c | 296 char *uri2 = g_winhttp_file_get_uri (file2); local 297 gboolean retval = g_str_equal (uri1, uri2); 300 g_free (uri2);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VoicemailProviderTest.java | 236 final Uri uri2 = insertVoicemail(); local 240 checkHasNoAccessToUri(uri2); 242 // Just grant permission to uri1. uri1 should pass but uri2 should still fail. 245 checkHasNoAccessToUri(uri2);
|
ContactsProvider2Test.java | 854 Uri uri2 = maybeAddAccountQueryParameters(dataUri2, account2); local 2046 Uri uri2 = maybeAddAccountQueryParameters(Groups.CONTENT_URI, account2); local 2214 Uri uri2 = maybeAddAccountQueryParameters(Settings.CONTENT_URI, account2); local 4267 Uri uri2 = maybeAddAccountQueryParameters(RawContacts.CONTENT_URI, account2); local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
Tab.java | 563 Uri uri2 = Uri.parse(otherUrl); 564 return !uri1.getEncodedAuthority().equals(uri2.getEncodedAuthority()); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
FileTest.java | 2160 URI uri2 = f.toURI(); local [all...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTests.java | 318 final Uri uri2 = account2.getShortcutSafeUri(); local 324 uri2.getPathSegments().toArray()); 327 assertEquals(account2Id, Account.getAccountIdFromShortcutSafeUri(mMockContext, uri2)); [all...] |
/prebuilt/common/ecj/ |
ecj.jar | |