/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_PhotoTest.java | 66 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddPhoto() 67 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddPhoto() 68 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddPhoto() 78 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddPhoto() 79 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddPhoto() 80 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddPhoto() 87 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddEmptyPhoto() 88 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddEmptyPhoto() 89 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddEmptyPhoto() 96 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddEmptyPhoto() [all …]
|
D | ContactsContract_AllUriTest.java | 240 private static Uri getUri(String[] path) { in getUri() method in ContactsContract_AllUriTest 351 final Uri uri = getUri(path); in testSelect() 366 final Uri uri = getUri(path); in testNoHiddenColumns() 432 final Uri uri = getUri(path); in testSelectWithSelection() 491 final Uri uri = getUri(path); in testSelectWithAllArgs() 508 final Uri uri = getUri(path); in testNonSelect() 588 final Uri uri = getUri(path); in testProhibitedColumns() 627 final Uri uri = getUri(path); in testAllOperations() 670 final Uri uri = getUri(path); in testAllFileOperations()
|
D | ContactsContract_TestDataBuilder.java | 96 public Uri getUri() { in getUri() method in ContactsContract_TestDataBuilder.Builder 138 int count = mProvider.delete(getUri(), null, null); in delete() 139 assertEquals("Wrong number of rows deleted for " + getUri(), 1, count); in delete() 146 Uri uri = getUri().buildUpon() in deletePermanently() 159 mCursor = mProvider.query(getUri(), null, null, null, null, null); in load()
|
D | ContactsContract_RawContactsTest.java | 98 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri()); in testGetLookupUriBySourceId() 115 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri()); in testGetLookupUriByDisplayName()
|
D | ContactsContract_IsSuperPrimaryName.java | 118 mResolver.update(nonPrimaryName.getUri(), values, null, null); in testInner_displayNameFromIsSuperPrimary()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceBuilderTest.java | 54 assertEquals(BASE_URI, s.getUri()); in testInt() 72 assertEquals(BASE_URI, s.getUri()); in testIcon() 90 assertEquals(BASE_URI, s.getUri()); in testText() 108 assertEquals(BASE_URI, s.getUri()); in testLong() 126 assertEquals(BASE_URI, s.getUri()); in testRemoteInput() 144 assertEquals(BASE_URI, s.getUri()); in testBundle() 164 assertEquals(BASE_URI, s.getUri()); in testActionSubtype() 183 assertEquals(BASE_URI, s.getUri()); in testSubsliceSubtype() 198 assertEquals(BASE_URI, s.getUri()); in testSpec() 210 assertEquals(BASE_URI, s.getUri()); in testCallerNeeded() [all …]
|
D | SliceBindingTest.java | 75 assertEquals(BASE_URI, s.getUri()); in testSliceUri() 82 assertEquals(uri, s.getUri()); in testSubSlice() 89 assertTrue(item.getSlice().getUri().toString().startsWith(uri.toString())); in testSubSlice() 90 assertNotEquals(uri, item.getSlice().getUri()); in testSubSlice() 98 assertEquals(uri, s.getUri()); in testText() 112 assertEquals(uri, s.getUri()); in testIcon() 136 assertEquals(uri, s.getUri()); in testAction() 159 assertEquals(uri, s.getUri()); in testInt() 172 assertEquals(uri, s.getUri()); in testTimestamp() 186 assertEquals(uri, s.getUri()); in testHints() [all …]
|
/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/tests/app/src/android/app/cts/ |
D | PersonTest.java | 45 assertEquals(TEST_URI, person.getUri()); in testPerson_builder() 58 assertNull(person.getUri()); in testPerson_builder_defaults() 76 assertEquals(TEST_URI, result.getUri()); in testToBuilder() 102 assertEquals(person.getUri(), result.getUri()); in testPerson_parcelable()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | RemoteActionTest.java | 52 assertEquals(icon.getUri(), result.getIcon().getUri()); in testParcel() 73 assertEquals(icon.getUri(), result.getIcon().getUri()); in testClone()
|
/cts/tests/tests/telephony/src/android/telephony/embms/cts/ |
D | MbmsDownloadFlowTest.java | 81 String file2RelativePath = CtsDownloadService.FILE_INFO_2.getUri().getPath().substring( in testFileInSubdirectoryDownloadFlow() 113 String relativePath = fileInfo.getUri().getPath().substring( in testMultiFileDownloadFlow() 145 assertEquals(fileInfo.getUri().getLastPathSegment(), in checkFileContentIntegrity()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | FontsContractTest.java | 195 assertNotNull(font.getUri()); in querySingleFont() 212 assertNotNull(font.getUri()); in queryMultipleFont() 230 assertNotNull(font.getUri()); in queryAttributes() 238 assertNotNull(font.getUri()); in queryAttributes() 326 assertNotNull(font.getUri()); in queryMandatoryFieldsOnly()
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
D | UtilsProvider.java | 107 if (!perm.getUri().equals(uri)) { in verifyOutgoingPersisted() 109 "Expected " + uri + " but found " + perm.getUri()); in verifyOutgoingPersisted()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 160 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType() 164 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType() 168 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ImageCaptureActivity.java | 90 Uri filePath = clipData.getItemAt(0).getUri(); in getFileFromIntent()
|
D | ReadableFileReceiverActivity.java | 92 Uri filePath = clipData.getItemAt(i).getUri(); in getFilesFromIntent()
|
D | ClipboardManagerTest.java | 306 assertEquals(expectedItem.mUri.toString(), item.getUri().toString()); in assertClipItem() 308 assertNull(item.getUri()); in assertClipItem()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | AccessPermissionWithDiffSigTest.java | 116 Uri uri = item.getUri(); in assertReadingClipNotAllowed() 210 Uri uri = item.getUri(); in assertWritingClipNotAllowed() 547 grantIntent.setData(clip.getItemAt(0).getUri()); in grantClipUriPermission() 552 Uri uri = clip.getItemAt(i).getUri(); in grantClipUriPermission() 600 Uri uri = item.getUri(); in assertReadingClipAllowed() 716 Uri uri = item.getUri(); in assertWritingClipAllowed() 1326 assertEquals("unexpected uri", uri, perm.getUri()); in assertPersistedUriPermission() 1625 assertEquals(expectedItem.getUri(), actualItem.getUri()); in assertClipDataEquals()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | UsbIncidentTest.java | 65 assertTrue(uap.getUri().isEmpty()); in verifyUsbAccessoryProto()
|
/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()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | MockJobService.java | 84 permCheckRead = checkUriPermission(clip.getItemAt(0).getUri(), Process.myPid(), in onStartJob() 86 permCheckWrite = checkUriPermission(clip.getItemAt(0).getUri(), Process.myPid(), in onStartJob()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | MockJobService.java | 84 permCheckRead = checkUriPermission(clip.getItemAt(0).getUri(), Process.myPid(), in onStartJob() 86 permCheckWrite = checkUriPermission(clip.getItemAt(0).getUri(), Process.myPid(), in onStartJob()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 82 final Uri uri = clipData != null ? clipData.getItemAt(0).getUri() : null; in onCreate()
|
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/ |
D | DropTarget.java | 169 Uri uri = item.getUri(); in processDrop()
|