Home
last modified time | relevance | path

Searched refs:uri2 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DUriUtils.java29 public static boolean areEqual(Uri uri1, Uri uri2) { in areEqual() argument
30 if (uri1 == null && uri2 == null) { in areEqual()
33 if (uri1 == null || uri2 == null) { in areEqual()
36 return uri1.equals(uri2); in areEqual()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java272 final Uri uri2 = insertVoicemail(); in testUriPermissions() local
276 checkHasNoAccessToUri(uri2); in testUriPermissions()
281 checkHasNoAccessToUri(uri2); in testUriPermissions()
DContactsProvider2Test.java1066 Uri uri2 = TestUtil.maybeAddAccountQueryParameters(dataUri2, account2); in testRawContactDataQuery() local
1068 assertStoredValue(uri2, Data._ID, ContentUris.parseId(dataUri2)) ; in testRawContactDataQuery()
1807 Uri uri2 = Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, "408-222-2222"); in testPhoneLookupEnterprise_withCorpProfile() local
1876 c = mResolver.query(uri2, null, null, null, null); in testPhoneLookupEnterprise_withCorpProfile()
3575 Uri uri2 = TestUtil.maybeAddAccountQueryParameters(Groups.CONTENT_URI, account2); in testGroupQuery() local
3577 assertEquals(1, getCount(uri2, null, null)); in testGroupQuery()
3579 assertStoredValue(uri2, Groups._ID + "=" + groupId2, null, Groups._ID, groupId2) ; in testGroupQuery()
3833 Uri uri2 = TestUtil.maybeAddAccountQueryParameters(Settings.CONTENT_URI, account2); in testSettingsQuery() local
3840 assertEquals(1, getCount(uri2, null, null)); in testSettingsQuery()
3844 assertStoredValue(uri2, Settings.SHOULD_SYNC, "1") ; in testSettingsQuery()
[all …]
/packages/apps/Browser/src/com/android/browser/
DTab.java339 Uri uri2 = Uri.parse(otherUrl);
340 return !uri1.getEncodedAuthority().equals(uri2.getEncodedAuthority());