Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBroadcastReceiverTest.java120 final Uri expectedUri = buildUri(key); in toggleUpdate_synchronously_notifyChange_should_be_called() local
131 .setData(expectedUri); in toggleUpdate_synchronously_notifyChange_should_be_called()
141 verify(resolver).notifyChange(expectedUri, null); in toggleUpdate_synchronously_notifyChange_should_be_called()
252 final Uri expectedUri = buildUri(key); in toggleUpdate_unavailableUriNotified() local
263 .setData(expectedUri); in toggleUpdate_unavailableUriNotified()
270 verify(resolver).notifyChange(expectedUri, null); in toggleUpdate_unavailableUriNotified()
286 final Uri expectedUri = buildUri(key); in sliderUpdate_unavailableUriNotified() local
301 .setData(expectedUri); in sliderUpdate_unavailableUriNotified()
308 verify(resolver).notifyChange(eq(expectedUri), eq(null)); in sliderUpdate_unavailableUriNotified()
DSlicesDatabaseAccessorTest.java222 final Uri expectedUri = new Uri.Builder() in getSliceUris_publicSlice_returnPublicUri() local
231 assertThat(uri).containsExactly(expectedUri); in getSliceUris_publicSlice_returnPublicUri()
240 final Uri expectedUri = new Uri.Builder() in getSliceUris_nonPublicSlice_returnNonPublicUri() local
249 assertThat(uri).containsExactly(expectedUri); in getSliceUris_nonPublicSlice_returnNonPublicUri()
DSettingsSliceProviderTest.java428 final Uri expectedUri = new Uri.Builder() in getDescendantUris_oemSliceNoPath_notContainPrivateUri() local
437 assertThat(descendants).doesNotContain(expectedUri); in getDescendantUris_oemSliceNoPath_notContainPrivateUri()
549 final Uri expectedUri = new Uri.Builder() in getDescendantUris_privateSlicesNotNeeded_notContainPrivateSliceUri() local
558 assertThat(descendants).doesNotContain(expectedUri); in getDescendantUris_privateSlicesNotNeeded_notContainPrivateSliceUri()
DSliceBuilderUtilsTest.java351 final Uri expectedUri = new Uri.Builder().appendPath(sliceData.getKey()).build(); in testContentIntent_includesUniqueData() local
356 assertThat(intentData).isEqualTo(expectedUri); in testContentIntent_includesUniqueData()
/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.java841 final Uri expectedUri = Telephony.Mms.CONTENT_URI.buildUpon() in insert() local
845 assertEquals(expectedUri, uri); in insert()
886 final Uri expectedUri = Telephony.Mms.CONTENT_URI.buildUpon() in insert() local
890 assertEquals(expectedUri, uri); in insert()
911 final Uri expectedUri = Telephony.Mms.CONTENT_URI.buildUpon() in update() local
915 assertEquals(expectedUri, uri); in update()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DBeeperTest.java219 private void assertPlayedViaRingtoneManager(Uri expectedUri) { in assertPlayedViaRingtoneManager() argument
221 assertThat(ShadowRingtoneManager.getRingtoneUri()).isEqualTo(expectedUri); in assertPlayedViaRingtoneManager()
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporterTest.java268 private ArgumentMatcher<Uri> startsWithUriMatcher(Uri expectedUri) {
269 return argument -> argument.toString().startsWith(expectedUri.toString());
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java688 private void assertRootPicked(Uri expectedUri) throws Exception { in assertRootPicked() argument
694 assertEquals(expectedUri, root.getUri()); in assertRootPicked()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java669 private void assertRootPicked(Uri expectedUri) throws Exception { in assertRootPicked() argument
675 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()