Home
last modified time | relevance | path

Searched refs:getUri (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_PhotoTest.java64 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddPhoto()
65 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddPhoto()
66 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddPhoto()
76 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddPhoto()
77 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddPhoto()
78 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddPhoto()
85 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddEmptyPhoto()
86 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddEmptyPhoto()
87 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddEmptyPhoto()
94 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddEmptyPhoto()
[all …]
DContactsContract_TestDataBuilder.java95 public Uri getUri() { in getUri() method in ContactsContract_TestDataBuilder.Builder
137 int count = mProvider.delete(getUri(), null, null); in delete()
138 assertEquals("Wrong number of rows deleted for " + getUri(), 1, count); in delete()
142 Uri uri = getUri().buildUpon() in deletePermanently()
155 mCursor = mProvider.query(getUri(), null, null, null, null, null); in load()
DContactsContract_RawContactsTest.java103 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri()); in testGetLookupUriBySourceId()
120 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri()); in testGetLookupUriByDisplayName()
DContactsContract_IsSuperPrimaryName.java118 mResolver.update(nonPrimaryName.getUri(), values, null, null); in testInner_displayNameFromIsSuperPrimary()
DContactsContract_ContactsTest.java97 Uri contactUri = contact.getUri();
DContactsContract_DataTest.java222 Uri lookupUri = Data.getContactLookupUri(mResolver, data.getUri()); in testGetLookupUriBySourceId()
417 Uri lookupUri = Data.getContactLookupUri(mResolver, data.getUri()); in testGetLookupUriByDisplayName()
/cts/tests/tests/database/src/android/database/cts/
DContentObservableTest.java77 assertNull(mObserver.getUri()); in testDispatchChange()
86 assertNull(mObserver.getUri()); in testDispatchChange()
101 assertEquals(CONTENT_URI, mObserver.getUri()); in testDispatchChangeWithUri()
110 assertEquals(CONTENT_URI, mObserver.getUri()); in testDispatchChangeWithUri()
152 protected Uri getUri() { in getUri() method in ContentObservableTest.MyContentObserver
DContentObserverTest.java81 assertEquals(CONTENT_URI, contentObserver.getUri()); in testContentObserverWithUri()
90 assertEquals(CONTENT_URI, contentObserver.getUri()); in testContentObserverWithUri()
104 assertEquals(CONTENT_URI, contentObserver.getUri()); in testContentObserverWithUri()
113 assertEquals(CONTENT_URI, contentObserver.getUri()); in testContentObserverWithUri()
211 protected Uri getUri() { in getUri() method in ContentObserverTest.MyContentObserverWithUri
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DGrantUriPermission.java90 if (!perm.getUri().equals(uri)) { in verifyOutgoingPersisted()
92 "Expected " + uri + " but found " + perm.getUri()); in verifyOutgoingPersisted()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerTest.java198 assertEquals(expectedItem.mUri.toString(), item.getUri().toString()); in assertClipItem()
200 assertNull(item.getUri()); in assertClipItem()
DImageCaptureActivity.java90 Uri filePath = clipData.getItemAt(0).getUri(); in getFileFromIntent()
DReadableFileReceiverActivity.java92 Uri filePath = clipData.getItemAt(i).getUri(); in getFilesFromIntent()
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DIntentReceiverActivity.java65 final Uri uri = clipData != null ? clipData.getItemAt(0).getUri() : null; in onCreate()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java89 Uri uri = item.getUri(); in assertReadingClipNotAllowed()
179 Uri uri = item.getUri(); in assertWritingClipNotAllowed()
580 grantIntent.setData(clip.getItemAt(0).getUri()); in grantClipUriPermission()
585 Uri uri = clip.getItemAt(i).getUri(); in grantClipUriPermission()
627 Uri uri = item.getUri(); in assertReadingClipAllowed()
743 Uri uri = item.getUri(); in assertWritingClipAllowed()
1353 assertEquals("unexpected uri", uri, perm.getUri()); in assertPersistedUriPermission()
/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java402 Log.i(TAG, requestLine.getMethod() + ": " + requestLine.getUri()); in getResponse()
403 String uriString = requestLine.getUri(); in getResponse()
619 String uriString = requestLine.getUri(); in isShutdownRequest()
DCtsTestServer.java609 String uriString = requestLine.getUri(); in getResponse()
1060 String uriString = requestLine.getUri(); in isShutdownRequest()
/cts/suite/cts/deviceTests/browserbench/src/com/android/cts/browser/
DBrowserBenchTest.java85 String uriString = URLDecoder.decode(requestLine.getUri(), "UTF-8"); in setUp()