/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 | 93 public Uri getUri() { in getUri() method in ContactsContract_TestDataBuilder.Builder 135 int count = mProvider.delete(getUri(), null, null); in delete() 136 assertEquals("Wrong number of rows deleted for " + getUri(), 1, count); in delete() 143 Uri uri = getUri().buildUpon() in deletePermanently() 156 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 | 55 assertEquals(BASE_URI, s.getUri()); in testInt() 73 assertEquals(BASE_URI, s.getUri()); in testIcon() 91 assertEquals(BASE_URI, s.getUri()); in testText() 109 assertEquals(BASE_URI, s.getUri()); in testLong() 127 assertEquals(BASE_URI, s.getUri()); in testRemoteInput() 145 assertEquals(BASE_URI, s.getUri()); in testBundle() 165 assertEquals(BASE_URI, s.getUri()); in testActionSubtype() 184 assertEquals(BASE_URI, s.getUri()); in testSubsliceSubtype() 199 assertEquals(BASE_URI, s.getUri()); in testSpec() 211 assertEquals(BASE_URI, s.getUri()); in testCallerNeeded() [all …]
|
D | SliceBindingTest.java | 81 assertEquals(BASE_URI, s.getUri()); in testSliceUri() 89 assertEquals(uri, s.getUri()); in testSubSlice() 96 assertTrue(item.getSlice().getUri().toString().startsWith(uri.toString())); in testSubSlice() 97 assertNotEquals(uri, item.getSlice().getUri()); in testSubSlice() 106 assertEquals(uri, s.getUri()); in testText() 121 assertEquals(uri, s.getUri()); in testIcon() 146 assertEquals(uri, s.getUri()); in testAction() 170 assertEquals(uri, s.getUri()); in testInt() 184 assertEquals(uri, s.getUri()); in testTimestamp() 199 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/tests/app/src/android/app/cts/ |
D | RemoteActionTest.java | 53 assertEquals(icon.getUri(), result.getIcon().getUri()); in testParcel() 74 assertEquals(icon.getUri(), result.getIcon().getUri()); in testClone()
|
/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/provider/src/android/provider/cts/ |
D | FontsContractTest.java | 194 assertNotNull(font.getUri()); in querySingleFont() 211 assertNotNull(font.getUri()); in queryMultipleFont() 229 assertNotNull(font.getUri()); in queryAttributes() 237 assertNotNull(font.getUri()); in queryAttributes() 325 assertNotNull(font.getUri()); in queryMandatoryFieldsOnly()
|
D | WifiSliceTest.java | 94 assertThat(mWifiSlice.getUri()).isEqualTo(WIFI_SLICE_URI); in wifiSlice_hasCorrectUri()
|
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadFlowTest.java | 91 String file2RelativePath = CtsDownloadService.FILE_INFO_2.getUri().getPath().substring( in testFileInSubdirectoryDownloadFlow() 124 String relativePath = fileInfo.getUri().getPath().substring( in testMultiFileDownloadFlow() 156 assertEquals(fileInfo.getUri().getLastPathSegment(), in checkFileContentIntegrity()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 161 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType() 165 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType() 169 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType()
|
/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/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | AccessPermissionWithDiffSigTest.java | 118 Uri uri = item.getUri(); in assertReadingClipNotAllowed() 222 Uri uri = item.getUri(); in assertWritingClipNotAllowed() 567 grantIntent.setData(clip.getItemAt(0).getUri()); in grantClipUriPermission() 572 Uri uri = clip.getItemAt(i).getUri(); in grantClipUriPermission() 620 Uri uri = item.getUri(); in assertReadingClipAllowed() 736 Uri uri = item.getUri(); in assertWritingClipAllowed() 1366 assertEquals("unexpected uri", uri, perm.getUri()); in assertPersistedUriPermission() 1674 assertEquals(expectedItem.getUri(), actualItem.getUri()); in assertClipDataEquals()
|
/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 | 363 assertEquals(expectedItem.mUri.toString(), item.getUri().toString()); in assertClipItem() 365 assertNull(item.getUri()); in assertClipItem()
|
/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/hostsidetests/incident/src/com/android/server/cts/ |
D | UsbIncidentTest.java | 67 assertTrue(uap.getUri().isEmpty()); in verifyUsbAccessoryProto()
|
/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/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/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()
|