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.java97 Uri expectedUri = AvrcpCoverArtProvider.getImageUri(mDevice1, mHandle1); in addNewImage_imageExists() local
102 Assert.assertEquals(expectedUri, uri); in addNewImage_imageExists()
108 Uri expectedUri = AvrcpCoverArtProvider.getImageUri(mDevice1, mHandle1); in addExistingImage_imageUpdated() local
113 Assert.assertEquals(expectedUri, uri); in addExistingImage_imageUpdated()
118 Assert.assertEquals(expectedUri, uri); in addExistingImage_imageUpdated()
/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/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java882 final Uri expectedUri = Telephony.Mms.CONTENT_URI.buildUpon() in insert() local
886 assertEquals(expectedUri, uri); in insert()
927 final Uri expectedUri = Telephony.Mms.CONTENT_URI.buildUpon() in insert() local
931 assertEquals(expectedUri, uri); in insert()
952 final Uri expectedUri = Telephony.Mms.CONTENT_URI.buildUpon() in update() local
956 assertEquals(expectedUri, uri); in update()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java693 private void assertRootPicked(Uri expectedUri) throws Exception { in assertRootPicked() argument
699 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/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DPermissionMonitorTest.java935 private ContentObserver expectRegisterContentObserver(Uri expectedUri) { in expectRegisterContentObserver() argument
939 argThat(uri -> uri.equals(expectedUri)), anyBoolean(), captor.capture()); in expectRegisterContentObserver()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java160 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri() local
165 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
177 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri() local
182 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
192 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithoutDirectoryToLocalUri() local
195 assertUriEquals(expectedUri, localUri); in testConvertEnterpriseUriWithoutDirectoryToLocalUri()