/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderOperationTest.java | 49 private static final Uri TEST_URI = Uri.parse("content://com.example"); field in ContentProviderOperationTest 92 op = ContentProviderOperation.newInsert(TEST_URI) in testInsert() 97 assertEquals(TEST_URI, op.getUri()); in testInsert() 101 when(provider.insert(eq(TEST_URI), eq(TEST_VALUES), eqBundle(TEST_EXTRAS))) in testInsert() 109 op = ContentProviderOperation.newUpdate(TEST_URI) in testUpdate() 115 assertEquals(TEST_URI, op.getUri()); in testUpdate() 119 when(provider.update(eq(TEST_URI), eq(TEST_VALUES), eqBundle(TEST_EXTRAS_WITH_SQL))) in testUpdate() 127 op = ContentProviderOperation.newDelete(TEST_URI) in testDelete() 132 assertEquals(TEST_URI, op.getUri()); in testDelete() 136 when(provider.delete(eq(TEST_URI), eqBundle(TEST_EXTRAS_WITH_SQL))) in testDelete() [all …]
|
D | SearchRecentSuggestionsProviderTest.java | 32 private final static Uri TEST_URI = Uri.parse(AUTHORITY_HEAD + "/suggestions"); field in SearchRecentSuggestionsProviderTest 54 assertNotNull(s.getType(TEST_URI)); in testSearchRecentSuggestionsProvider() 63 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider() 67 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider() 71 s.delete(TEST_URI, null, null); in testSearchRecentSuggestionsProvider() 76 s.update(TEST_URI, null, null, null); in testSearchRecentSuggestionsProvider()
|
D | ContentProviderResultTest.java | 34 private final Uri TEST_URI = Uri.EMPTY; field in ContentProviderResultTest 40 assertEquals(TEST_URI, new ContentProviderResult(TEST_URI).uri); in testUri()
|
D | IntentTest.java | 95 private static final Uri TEST_URI = Uri.parse("content://com.example/people"); field in IntentTest 150 mIntent = new Intent(TEST_ACTION, TEST_URI); in testConstructor() 153 assertEquals(TEST_URI, mIntent.getData()); in testConstructor() 159 mIntent = new Intent(TEST_ACTION, TEST_URI, mContext, MockActivity.class); in testConstructor() 162 assertEquals(TEST_URI, mIntent.getData()); in testConstructor() 185 mIntent.setData(TEST_URI); in testReadFromParcel() 263 mIntent.setData(TEST_URI); in testGetScheme() 264 assertEquals(TEST_URI.getScheme(), mIntent.getScheme()); in testGetScheme() 373 mIntent.setData(TEST_URI); in testResolveType1() 374 assertEquals(contentResolver.getType(TEST_URI), mIntent.resolveType(mContext)); in testResolveType1() [all …]
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | PersonTest.java | 39 private static final String TEST_URI = Uri.fromParts("a", "b", "c").toString(); field in PersonTest 49 .setUri(TEST_URI) in testPerson_builder() 57 assertEquals(TEST_URI, person.getUri()); in testPerson_builder() 81 .setUri(TEST_URI) in testToBuilder() 90 assertEquals(TEST_URI, result.getUri()); in testToBuilder() 126 .setUri(TEST_URI) in testEquals() 141 .setUri(TEST_URI) in testEquals_noIcon() 158 .setUri(TEST_URI) in testEquals_different()
|
/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 | 51 private static final Uri TEST_URI = Uri.parse("tel:555-TEST"); field in ThirdPartyInCallServiceAppOpsPermissionTest 95 addAndVerifyNewIncomingCall(TEST_URI, null); in testWithoutAppOpsPermission() 110 addAndVerifyNewIncomingCall(TEST_URI, null); in testWithAppOpsPermission() 136 addAndVerifyNewIncomingCall(TEST_URI, null); in testExtrasPropagation()
|
/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()
|