/cts/tests/tests/content/src/android/content/cts/ |
D | UriMatcherTest.java | 49 private Uri uri2 = Uri.parse("content://" + sAuthority + "/" + sPath2); field in UriMatcherTest 71 assertEquals(sCode2, mUriMatcher.match(uri2)); in testMatch() 93 assertEquals(-1, mUriMatcher.match(uri2)); in testAddURI() 103 assertEquals(sCode2, mUriMatcher.match(uri2)); in testAddURI()
|
D | ContentUrisTest.java | 44 private Uri uri2 = Uri.parse("content://" + AUTHORITY + "/" + PATH2); field in ContentUrisTest 56 result = ContentUris.withAppendedId(uri2, CODE2); in testParseId() 92 assertNotNull(actually = ContentUris.withAppendedId(uri2, CODE2)); in testWithAppendedId() 116 b = uri2.buildUpon(); in testAppendId()
|
D | IntentFilterTest.java | 617 Uri uri2 = Uri.parse("http://" + HOST + i + 10 + ":" + PORT + i + 10); in testAuthorities() local 618 assertFalse(mIntentFilter.hasDataAuthority(uri2)); in testAuthorities() 835 Uri uri2 = Uri.parse("https://" + HOST + "/path?query=string;cat=gizmo#fragment"); in testMatchDataWithRelRefGroups() local 864 mIntentFilter.matchData(null, DATA_SCHEME, uri2)); in testMatchDataWithRelRefGroups() 874 assertEquals(NO_MATCH_DATA, mIntentFilter.matchData(null, DATA_SCHEME, uri2)); in testMatchDataWithRelRefGroups() 887 mIntentFilter.matchData(null, DATA_SCHEME, uri2)); in testMatchDataWithRelRefGroups() 900 assertEquals(NO_MATCH_DATA, mIntentFilter.matchData(null, DATA_SCHEME, uri2)); in testMatchDataWithRelRefGroups() 909 assertEquals(NO_MATCH_DATA, mIntentFilter.matchData(null, DATA_SCHEME, uri2)); in testMatchDataWithRelRefGroups() 921 mIntentFilter.matchData(null, DATA_SCHEME, uri2)); in testMatchDataWithRelRefGroups()
|
D | ContextTest.java | 1368 Uri uri2 = Uri.parse("content://ctstest2"); in testCheckCallingOrSelfUriPermissions() local 1369 uris.add(uri2); in testCheckCallingOrSelfUriPermissions() 1599 Uri uri2 = Uri.parse("content://ctstest2"); in testCheckUriPermissions() local 1600 uris.add(uri2); in testCheckUriPermissions() 1808 Uri uri2 = Uri.parse("content://ctstest2"); in testCheckCallingUriPermissions() local 1809 uris.add(uri2); in testCheckCallingUriPermissions()
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_StatusUpdatesTest.java | 75 Uri uri2 = insertStatusUpdate(dataId, StatusUpdates.AVAILABLE, null, null); in testInsertStatus() local 76 assertEquals(uri, uri2); in testInsertStatus() 84 assertEquals(uri2, uri3); in testInsertStatus()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TriggerContentTest.java | 243 Uri uri2 = Uri.parse(base + "/sub2"); in testDescendantsObserver() local 273 getContext().getContentResolver().notifyChange(uri2, null, 0); in testDescendantsObserver() 281 assertEquals(uri2, uris[0]); in testDescendantsObserver() 291 Uri uri2 = Uri.parse(base + "/sub2"); in testNonDescendantsObserver() local 319 getContext().getContentResolver().notifyChange(uri2, null, 0); in testNonDescendantsObserver()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaScannerTest.java | 443 Uri uri2 = mMediaScannerConnectionClient.mediaUri; in canonicalizeTest() local 446 assertNotNull(uri2); in canonicalizeTest() 449 assertFalse(uri.equals(uri2)); in canonicalizeTest() 451 Uri canonicalUri2 = res.canonicalize(uri2); in canonicalizeTest() 453 assertFalse(uri2.equals(canonicalUri2)); in canonicalizeTest() 455 assertEquals(uri2, uncanonicalizedUri2); in canonicalizeTest() 459 assertEquals(uri2, uncanonicalizedUri3); in canonicalizeTest() 461 assertEquals(1, res.delete(uri2, null, null)); in canonicalizeTest()
|
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/ |
D | SimPhonebookContract_SimRecordsTest.java | 289 Uri uri2 = insertAdn(mDefaultSubscriptionId, "Name2", "5550102"); in insertThenDeleteAdn_urisRemainValid() local 292 mResolver.delete(uri2, null); in insertThenDeleteAdn_urisRemainValid() 523 Uri uri2 = mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), in updateAdn_duplicateRecord_updatesCorrectRecord() local 530 mResolver.update(uri2, values, null); in updateAdn_duplicateRecord_updatesCorrectRecord() 550 Uri uri2 = mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), in deleteAdn_duplicateRecord_deletesCorrectRecord() local 554 mResolver.delete(uri2, null, null); in deleteAdn_duplicateRecord_deletesCorrectRecord()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | SmsTest.java | 264 Uri uri2 = mSmsTestHelper in testDeleteSms_ifLastSmsDeletedThenThreadIsDeleted() local 266 assertThat(uri2).isNotNull(); in testDeleteSms_ifLastSmsDeletedThenThreadIsDeleted()
|
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/ |
D | CalendarTest.java | 1522 Uri uri2 = asSyncAdapter(Colors.CONTENT_URI, account2, CTS_TEST_TYPE); in testColorWriteRequirements() local 1586 Uri col2 = mContentResolver.insert(uri2, colorValues); in testColorWriteRequirements() 1590 Uri col3 = mContentResolver.insert(uri2, colorValues); in testColorWriteRequirements() 3329 final Uri uri2 = ContentUris.withAppendedId(Events.CONTENT_URI, eventId2); in testMutatorSetCorrectly() local 3333 removeAndVerifyEvent(uri2, values, account); in testMutatorSetCorrectly()
|