Home
last modified time | relevance | path

Searched refs:expectedUri (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java141 final Uri expectedUri = new Uri.Builder() in testUriBuilder_oemAuthority_intentPath_returnsValidSliceUri() local
149 assertThat(actualUri).isEqualTo(expectedUri); in testUriBuilder_oemAuthority_intentPath_returnsValidSliceUri()
154 final Uri expectedUri = new Uri.Builder() in testUriBuilder_oemAuthority_actionPath_returnsValidSliceUri() local
162 assertThat(actualUri).isEqualTo(expectedUri); in testUriBuilder_oemAuthority_actionPath_returnsValidSliceUri()
167 final Uri expectedUri = new Uri.Builder() in testUriBuilder_platformAuthority_intentPath_returnsValidSliceUri() local
175 assertThat(actualUri).isEqualTo(expectedUri); in testUriBuilder_platformAuthority_intentPath_returnsValidSliceUri()
180 final Uri expectedUri = new Uri.Builder() in testUriBuilder_platformAuthority_actionPath_returnsValidSliceUri() local
188 assertThat(actualUri).isEqualTo(expectedUri); in testUriBuilder_platformAuthority_actionPath_returnsValidSliceUri()
404 final Uri expectedUri = new Uri.Builder().appendPath(sliceData.getKey()).build(); in testContentIntent_includesUniqueData() local
409 assertThat(intentData).isEqualTo(expectedUri); in testContentIntent_includesUniqueData()
DSliceBroadcastReceiverTest.java148 final Uri expectedUri = new Uri.Builder() in toggleUpdate_synchronously_notifyChange_should_be_called() local
155 verify(resolver).notifyChange(expectedUri, null); in toggleUpdate_synchronously_notifyChange_should_be_called()
291 final Uri expectedUri = new Uri.Builder() in toggleUpdate_unavailableUriNotified() local
297 verify(resolver).notifyChange(eq(expectedUri), eq(null)); in toggleUpdate_unavailableUriNotified()
332 final Uri expectedUri = new Uri.Builder() in sliderUpdate_unavailableUriNotified() local
338 verify(resolver).notifyChange(eq(expectedUri), eq(null)); in sliderUpdate_unavailableUriNotified()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtStorageTest.java99 Uri expectedUri = AvrcpCoverArtProvider.getImageUri(mDevice1, mHandle1); in addNewImage_imageExists() local
104 Assert.assertEquals(expectedUri, uri); in addNewImage_imageExists()
110 Uri expectedUri = AvrcpCoverArtProvider.getImageUri(mDevice1, mHandle1); in addExistingImage_imageUpdated() local
115 Assert.assertEquals(expectedUri, uri); in addExistingImage_imageUpdated()
120 Assert.assertEquals(expectedUri, uri); in addExistingImage_imageUpdated()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java792 final Uri expectedUri = Telephony.Mms.CONTENT_URI.buildUpon() in insert() local
796 assertEquals(expectedUri, uri); in insert()
837 final Uri expectedUri = Telephony.Mms.CONTENT_URI.buildUpon() in insert() local
841 assertEquals(expectedUri, uri); in insert()
862 final Uri expectedUri = Telephony.Mms.CONTENT_URI.buildUpon() in update() local
866 assertEquals(expectedUri, uri); in update()
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporterTest.java248 private ArgumentMatcher<Uri> startsWithUriMatcher(Uri expectedUri) {
249 return argument -> argument.toString().startsWith(expectedUri.toString());
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java576 private void assertRootPicked(Uri expectedUri) throws Exception { in assertRootPicked() argument
582 assertEquals(expectedUri, root.getUri()); in assertRootPicked()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java705 private void assertRootPicked(Uri expectedUri) throws Exception { in assertRootPicked() argument
711 assertEquals(expectedUri, root.getUri()); in assertRootPicked()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java167 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri() local
172 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
184 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri() local
189 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
199 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithoutDirectoryToLocalUri() local
202 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithoutDirectoryToLocalUri()