/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | ResourceException.java | 30 public ResourceException(String message, Uri uri1, Uri uri2, Exception e) { in ResourceException() argument 31 super(String.format(message, uri1.toString(), uri2.toString()), e); in ResourceException() 42 public ResourceException(String message, Uri uri1, Uri uri2) { in ResourceException() argument 43 super(message.format(uri1.toString(), uri2.toString())); in ResourceException()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | UriUtils.java | 32 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/apps/Dialer/java/com/android/dialer/util/ |
D | UriUtils.java | 32 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/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpCoverArtStorageTest.java | 132 Uri uri2 = mAvrcpCoverArtStorage.addImage(mDevice1, mHandle2, mImage2); in addTwoImageSameDevice_bothExist() local 138 Assert.assertEquals(expectedUri2, uri2); in addTwoImageSameDevice_bothExist() 149 Uri uri2 = mAvrcpCoverArtStorage.addImage(mDevice2, mHandle1, mImage1); in addTwoImageDifferentDevices_bothExist() local 155 Assert.assertEquals(expectedUri2, uri2); in addTwoImageDifferentDevices_bothExist()
|
D | AvrcpItemTest.java | 77 Uri uri2 = Uri.parse("content://somewhereelse"); in buildAvrcpItem() local 228 Uri uri2 = Uri.parse("content://somewhereelse"); in updateCoverArtLocation() local 236 item.setCoverArtLocation(uri2); in updateCoverArtLocation() 237 Assert.assertEquals(uri2, item.getCoverArtLocation()); in updateCoverArtLocation()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | VoicemailProviderTest.java | 512 final Uri uri2 = insertVoicemail(); in testUriPermissions() local 516 checkHasNoAccessToUri(uri2); in testUriPermissions() 521 checkHasNoAccessToUri(uri2); in testUriPermissions()
|
D | ContactsProvider2Test.java | 1332 Uri uri2 = TestUtil.maybeAddAccountQueryParameters(dataUri2, account2); in testRawContactDataQuery() local 1334 assertStoredValue(uri2, Data._ID, ContentUris.parseId(dataUri2)) ; in testRawContactDataQuery() 2267 Uri uri2 = Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, "408-222-2222"); in testPhoneLookupEnterprise_withCorpProfile() local 2336 c = mResolver.query(uri2, null, null, null, null); in testPhoneLookupEnterprise_withCorpProfile() 4285 Uri uri2 = TestUtil.maybeAddAccountQueryParameters(Groups.CONTENT_URI, account2); in testGroupQuery() local 4287 assertEquals(1, getCount(uri2, null, null)); in testGroupQuery() 4289 assertStoredValue(uri2, Groups._ID + "=" + groupId2, null, Groups._ID, groupId2) ; in testGroupQuery() 4543 Uri uri2 = TestUtil.maybeAddAccountQueryParameters(Settings.CONTENT_URI, account2); in testSettingsQuery() local 4550 assertEquals(1, getCount(uri2, null, null)); in testSettingsQuery() 4554 assertStoredValue(uri2, Settings.SHOULD_SYNC, "1") ; in testSettingsQuery() [all …]
|