/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_PhotoTest.java | 64 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 …]
|
D | ContactsContract_TestDataBuilder.java | 95 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()
|
D | ContactsContract_RawContactsTest.java | 103 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri()); in testGetLookupUriBySourceId() 120 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri()); in testGetLookupUriByDisplayName()
|
D | ContactsContract_IsSuperPrimaryName.java | 118 mResolver.update(nonPrimaryName.getUri(), values, null, null); in testInner_displayNameFromIsSuperPrimary()
|
D | ContactsContract_ContactsTest.java | 97 Uri contactUri = contact.getUri();
|
D | ContactsContract_DataTest.java | 222 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/ |
D | ContentObservableTest.java | 77 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
|
D | ContentObserverTest.java | 81 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/ |
D | GrantUriPermission.java | 90 if (!perm.getUri().equals(uri)) { in verifyOutgoingPersisted() 92 "Expected " + uri + " but found " + perm.getUri()); in verifyOutgoingPersisted()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardManagerTest.java | 198 assertEquals(expectedItem.mUri.toString(), item.getUri().toString()); in assertClipItem() 200 assertNull(item.getUri()); in assertClipItem()
|
D | ImageCaptureActivity.java | 90 Uri filePath = clipData.getItemAt(0).getUri(); in getFileFromIntent()
|
D | ReadableFileReceiverActivity.java | 92 Uri filePath = clipData.getItemAt(i).getUri(); in getFilesFromIntent()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 65 final Uri uri = clipData != null ? clipData.getItemAt(0).getUri() : null; in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | AccessPermissionWithDiffSigTest.java | 89 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/ |
D | TestWebServer.java | 402 Log.i(TAG, requestLine.getMethod() + ": " + requestLine.getUri()); in getResponse() 403 String uriString = requestLine.getUri(); in getResponse() 619 String uriString = requestLine.getUri(); in isShutdownRequest()
|
D | CtsTestServer.java | 609 String uriString = requestLine.getUri(); in getResponse() 1060 String uriString = requestLine.getUri(); in isShutdownRequest()
|
/cts/suite/cts/deviceTests/browserbench/src/com/android/cts/browser/ |
D | BrowserBenchTest.java | 85 String uriString = URLDecoder.decode(requestLine.getUri(), "UTF-8"); in setUp()
|