Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java271 final Uri uri1 = insertVoicemail(); in testUriPermissions() local
275 checkHasNoAccessToUri(uri1); in testUriPermissions()
279 mActor.addUriPermissions(uri1); in testUriPermissions()
280 checkHasReadOnlyAccessToUri(uri1); in testUriPermissions()
284 mActor.removeUriPermissions(uri1); in testUriPermissions()
292 final Uri uri1 = insertVoicemail(); in testUriPermissions_ReadAccess() local
296 checkHasNoAccessToUri(uri1); in testUriPermissions_ReadAccess()
299 checkHasReadAccessToUri(uri1); in testUriPermissions_ReadAccess()
307 final Uri uri1 = insertVoicemail(); in testUriPermissions_WriteAccess() local
310 checkHasNoAccessToUri(uri1); in testUriPermissions_WriteAccess()
[all …]
DContactsProvider2Test.java1065 Uri uri1 = TestUtil.maybeAddAccountQueryParameters(dataUri1, account1); in testRawContactDataQuery() local
1067 assertStoredValue(uri1, Data._ID, ContentUris.parseId(dataUri1)) ; in testRawContactDataQuery()
1759 Uri uri1 = Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, "408-111-1111"); in testPhoneLookupEnterprise_noCorpProfile() local
1762 assertEquals(0, getCount(uri1)); in testPhoneLookupEnterprise_noCorpProfile()
1771 Cursor c = mResolver.query(uri1, null, null, null, null); in testPhoneLookupEnterprise_noCorpProfile()
1806 Uri uri1 = Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, "408-111-1111"); in testPhoneLookupEnterprise_withCorpProfile() local
1810 assertEquals(0, getCount(uri1)); in testPhoneLookupEnterprise_withCorpProfile()
1862 Cursor c = mResolver.query(uri1, null, null, null, null); in testPhoneLookupEnterprise_withCorpProfile()
3574 Uri uri1 = TestUtil.maybeAddAccountQueryParameters(Groups.CONTENT_URI, account1); in testGroupQuery() local
3576 assertEquals(1, getCount(uri1, null, null)); in testGroupQuery()
[all …]
/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/apps/Browser/src/com/android/browser/
DTab.java338 Uri uri1 = Uri.parse(url);
340 return !uri1.getEncodedAuthority().equals(uri2.getEncodedAuthority());