/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderOperationTest.java | 47 private static final Uri TEST_URI = Uri.parse("content://com.example"); field in ContentProviderOperationTest 90 op = ContentProviderOperation.newInsert(TEST_URI) in testInsert() 95 assertEquals(TEST_URI, op.getUri()); in testInsert() 99 when(provider.insert(eq(TEST_URI), eq(TEST_VALUES), eqBundle(TEST_EXTRAS))) in testInsert() 107 op = ContentProviderOperation.newUpdate(TEST_URI) in testUpdate() 113 assertEquals(TEST_URI, op.getUri()); in testUpdate() 117 when(provider.update(eq(TEST_URI), eq(TEST_VALUES), eqBundle(TEST_EXTRAS_WITH_SQL))) in testUpdate() 125 op = ContentProviderOperation.newDelete(TEST_URI) in testDelete() 130 assertEquals(TEST_URI, op.getUri()); in testDelete() 134 when(provider.delete(eq(TEST_URI), eqBundle(TEST_EXTRAS_WITH_SQL))) in testDelete() [all …]
|
D | SearchRecentSuggestionsProviderTest.java | 31 private final static Uri TEST_URI = Uri.parse(AUTHORITY_HEAD + "/suggestions"); field in SearchRecentSuggestionsProviderTest 53 assertNotNull(s.getType(TEST_URI)); in testSearchRecentSuggestionsProvider() 62 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider() 66 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider() 70 s.delete(TEST_URI, null, null); in testSearchRecentSuggestionsProvider() 75 s.update(TEST_URI, null, null, null); in testSearchRecentSuggestionsProvider()
|
D | ContentProviderResultTest.java | 32 private final Uri TEST_URI = Uri.EMPTY; field in ContentProviderResultTest 38 assertEquals(TEST_URI, new ContentProviderResult(TEST_URI).uri); in testUri()
|
D | IntentTest.java | 55 private static final Uri TEST_URI = People.CONTENT_URI; field in IntentTest 96 mIntent = new Intent(TEST_ACTION, TEST_URI); in testConstructor() 99 assertEquals(TEST_URI, mIntent.getData()); in testConstructor() 105 mIntent = new Intent(TEST_ACTION, TEST_URI, mContext, MockActivity.class); in testConstructor() 108 assertEquals(TEST_URI, mIntent.getData()); in testConstructor() 128 mIntent.setData(TEST_URI); in testReadFromParcel() 171 mIntent.setData(TEST_URI); in testGetScheme() 172 assertEquals(TEST_URI.getScheme(), mIntent.getScheme()); in testGetScheme() 267 mIntent.setData(TEST_URI); in testResolveType1() 268 assertEquals(contentResolver.getType(TEST_URI), mIntent.resolveType(mContext)); in testResolveType1() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | RtpHeaderExtensionTypeTest.java | 33 private static final Uri TEST_URI = Uri.parse("http://developer.android.com/092020/test1"); field in RtpHeaderExtensionTypeTest 37 RtpHeaderExtensionType test = new RtpHeaderExtensionType(TEST_ID, TEST_URI); in testParceling() 39 assertEquals(TEST_URI, test.getUri()); in testParceling()
|
/cts/tests/app/src/android/app/cts/ |
D | NewDocumentTest.java | 31 private static Uri TEST_URI = Uri.parse("test_uri"); field in NewDocumentTest 37 intent.setData(TEST_URI); in testNewDocument()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ThirdPartyInCallServiceAppOpsPermissionTest.java | 55 private static final Uri TEST_URI = Uri.parse("tel:555-TEST"); field in ThirdPartyInCallServiceAppOpsPermissionTest 97 addAndVerifyNewIncomingCall(TEST_URI, null); in testWithoutAppOpsPermission() 112 addAndVerifyNewIncomingCall(TEST_URI, null); in testWithAppOpsPermission()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | CredentialManagementAppActivity.java | 77 private static final Uri TEST_URI = Uri.parse("https://test.com"); field in CredentialManagementAppActivity 81 .addAppAndUriMapping(TEST_APP_PACKAGE_NAME, TEST_URI, TEST_ALIAS) 267 KeyChain.choosePrivateKeyAlias(this, callback, keyTypes, issuers, TEST_URI, null); in requestCertificateForAuthentication()
|