Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DUriUtils.java32 public static boolean areEqual(Uri uri1, Uri uri2) { in areEqual() argument
33 if (uri1 == null && uri2 == null) { in areEqual()
36 if (uri1 == null || uri2 == null) { in areEqual()
39 return uri1.equals(uri2); in areEqual()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java351 final Uri uri1 = insertVoicemail(); in testUriPermissions() local
355 checkHasNoAccessToUri(uri1); in testUriPermissions()
359 mActor.addUriPermissions(uri1); in testUriPermissions()
360 checkHasReadOnlyAccessToUri(uri1); in testUriPermissions()
364 mActor.removeUriPermissions(uri1); in testUriPermissions()
372 final Uri uri1 = insertVoicemail(); in testUriPermissions_ReadAccess() local
376 checkHasNoAccessToUri(uri1); in testUriPermissions_ReadAccess()
379 checkHasReadAccessToUri(uri1); in testUriPermissions_ReadAccess()
387 final Uri uri1 = insertVoicemail(); in testUriPermissions_WriteAccess() local
390 checkHasNoAccessToUri(uri1); in testUriPermissions_WriteAccess()
[all …]
DContactsProvider2Test.java1270 Uri uri1 = TestUtil.maybeAddAccountQueryParameters(dataUri1, account1); in testRawContactDataQuery() local
1272 assertStoredValue(uri1, Data._ID, ContentUris.parseId(dataUri1)) ; in testRawContactDataQuery()
1996 Uri uri1 = Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, "408-111-1111"); in testPhoneLookupEnterprise_noCorpProfile() local
1999 assertEquals(0, getCount(uri1)); in testPhoneLookupEnterprise_noCorpProfile()
2008 Cursor c = mResolver.query(uri1, null, null, null, null); in testPhoneLookupEnterprise_noCorpProfile()
2025 Uri uri1 = Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, "408-111-1111"); in testPhoneLookupEnterprise_withCorpProfile_nullResult() local
2028 assertEquals(0, getCount(uri1)); in testPhoneLookupEnterprise_withCorpProfile_nullResult()
2037 Cursor c = mResolver.query(uri1, null, null, null, null); in testPhoneLookupEnterprise_withCorpProfile_nullResult()
2205 Uri uri1 = Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, "408-111-1111"); in testPhoneLookupEnterprise_withCorpProfile() local
2209 assertEquals(0, getCount(uri1)); in testPhoneLookupEnterprise_withCorpProfile()
[all …]