/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_ContactCountsTest.java | 120 .insert(); in setupTestData() 123 .insert(); in setupTestData() 130 .insert(); in setupTestData() 133 .insert(); in setupTestData() 140 .insert(); in setupTestData() 143 .insert(); in setupTestData() 150 .insert(); in setupTestData() 153 .insert(); in setupTestData() 160 .insert(); in setupTestData() 163 .insert(); in setupTestData() [all …]
|
D | ContactsContract_StructuredPhoneticName.java | 62 .insert(); in testPhoneticStructuredName() 65 .insert(); in testPhoneticStructuredName() 86 .insert(); in testPhoneticStructuredName_phoneticPriority1() 89 .insert(); in testPhoneticStructuredName_phoneticPriority1() 96 .insert(); in testPhoneticStructuredName_phoneticPriority1() 99 .insert(); in testPhoneticStructuredName_phoneticPriority1() 123 .insert(); in testPhoneticStructuredName_phoneticPriority2() 126 .insert(); in testPhoneticStructuredName_phoneticPriority2() 133 .insert(); in testPhoneticStructuredName_phoneticPriority2() 136 .insert(); in testPhoneticStructuredName_phoneticPriority2()
|
D | ContactsContract_GroupMembershipTest.java | 51 TestRawContact rawContact = mBuilder.newRawContact().insert(); in testAddGroupMembershipWithGroupRowId() 52 TestGroup group = mBuilder.newGroup().insert(); in testAddGroupMembershipWithGroupRowId() 55 .insert(); in testAddGroupMembershipWithGroupRowId() 66 .insert(); in testAddGroupMembershipWithGroupSourceId() 71 .insert(); in testAddGroupMembershipWithGroupSourceId() 74 .insert(); in testAddGroupMembershipWithGroupSourceId() 86 .insert(); in testAddGroupMembershipWithUnknownGroupSourceId() 89 .insert(); in testAddGroupMembershipWithUnknownGroupSourceId()
|
D | ContactsContract_DataTest.java | 213 .insert(); in testGetLookupUriBySourceId() 219 .insert(); in testGetLookupUriBySourceId() 234 .insert(); in testDataProjection() 237 .insert(); in testDataProjection() 250 .insert(); in testRawContactsEntityProjection() 253 .insert(); in testRawContactsEntityProjection() 312 .insert(); in testEntityProjection() 315 .insert(); in testEntityProjection() 415 .insert(); in testGetLookupUriByDisplayName() 418 .insert(); in testGetLookupUriByDisplayName() [all …]
|
D | ContactsContract_IsSuperPrimaryName.java | 75 .insert(); in testInner_displayNameFromIsSuperPrimary() 79 .insert(); in testInner_displayNameFromIsSuperPrimary() 86 .insert(); in testInner_displayNameFromIsSuperPrimary() 90 .insert(); in testInner_displayNameFromIsSuperPrimary() 136 .insert(); in testIsSuperPrimaryName_mergeBothSuperPrimary() 140 .insert(); in testIsSuperPrimaryName_mergeBothSuperPrimary() 147 .insert(); in testIsSuperPrimaryName_mergeBothSuperPrimary() 151 .insert(); in testIsSuperPrimaryName_mergeBothSuperPrimary()
|
D | ContactsContract_RawContactsTest.java | 90 .insert(); in testGetLookupUriBySourceId() 96 .insert(); in testGetLookupUriBySourceId() 110 .insert(); in testGetLookupUriByDisplayName() 113 .insert(); in testGetLookupUriByDisplayName() 224 .insert(); in testProjection() 227 .insert(); in testProjection() 246 .insert(); in testInsertUsageStat() 258 .insert(); in testInsertUsageStat() 269 .insert(); in testInsertUsageStat() 286 .insert(); in testUpdateUsageStat()
|
D | ContactsContract_PhoneLookup.java | 77 .insert(); in setupTestData() 80 .insert(); in setupTestData() 84 .insert().load().getId(); in setupTestData() 91 .insert(); in setupTestData() 94 .insert(); in setupTestData() 98 .insert().load().getId(); in setupTestData() 106 .insert(); in setupTestData() 109 .insert(); in setupTestData() 113 .insert().load().getId(); in setupTestData()
|
D | ContactsContract_SearchSnippetsTest.java | 332 .insert(); in setupTestData() 335 .insert(); in setupTestData() 339 .insert().load().getId(); in setupTestData() 346 .insert(); in setupTestData() 349 .insert(); in setupTestData() 353 .insert().load(); in setupTestData() 357 .insert().load(); in setupTestData() 365 .insert(); in setupTestData() 368 .insert(); in setupTestData() 372 .insert().load().getId(); in setupTestData() [all …]
|
D | ContactsContract_FrequentsStrequentsTest.java | 427 .insert(); in setupTestData() 430 .insert(); in setupTestData() 434 .insert().load().getId(); in setupTestData() 441 .insert(); in setupTestData() 444 .insert(); in setupTestData() 448 .insert().load().getId(); in setupTestData() 455 .insert(); in setupTestData() 458 .insert(); in setupTestData() 462 .insert().load().getId(); in setupTestData()
|
D | ContactsContract_AggregationSuggestionsTest.java | 163 .insert(); in setupThreeContacts() 167 .insert(); in setupThreeContacts() 173 .insert(); in setupThreeContacts() 177 .insert(); in setupThreeContacts() 183 .insert(); in setupThreeContacts() 187 .insert(); in setupThreeContacts()
|
D | ContactsContract_PhotoTest.java | 63 TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testAddPhoto() 72 .insert(); in testAddPhoto() 84 TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testAddEmptyPhoto() 93 .insert(); in testAddEmptyPhoto()
|
D | VoicemailContractTest.java | 164 Uri uri = mVoicemailProvider.insert(mVoicemailContentUri, value); in testVoicemailsTable() 244 Uri uri = mVoicemailProvider.insert(Voicemails.buildSourceUri(FOREIGN_SOURCE), values); in testForeignUpdate_dirty() 268 Uri uri = mVoicemailProvider.insert(Voicemails.buildSourceUri(FOREIGN_SOURCE), values); in testForeignUpdate_retainDirty_notDirty() 292 Uri uri = mVoicemailProvider.insert(Voicemails.buildSourceUri(FOREIGN_SOURCE), values); in testForeignUpdate_explicitNotDirty() 314 Uri uri = mVoicemailProvider.insert(Voicemails.buildSourceUri(FOREIGN_SOURCE), values); in testForeignUpdate_null_dirty() 336 Uri uri = mVoicemailProvider.insert(Voicemails.buildSourceUri(FOREIGN_SOURCE), values); in testForeignUpdate_NotNormalized_normalized() 354 Uri uri = mVoicemailProvider.insert(Voicemails.buildSourceUri(mSourcePackageName), values); in testLocalUpdate_notDirty() 372 Uri uri = mVoicemailProvider.insert(Voicemails.buildSourceUri(mSourcePackageName), values); in testLocalUpdate_retainDirty_dirty() 393 mVoicemailProvider.insert(mVoicemailContentUri, value); in testInsert_doesNotUpdateDataColumn() 401 final Uri uri = mVoicemailProvider.insert(mVoicemailContentUri, value); in testDataColumnUpdate_throwsIllegalArgumentException() [all …]
|
D | ContactsContract_ContactsTest.java | 65 TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testMarkAsContacted() 100 TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testLookupUri() 182 final TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testContactUpdate_usageStats() 227 final TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testContactUpdateDelete_usageStats_visibilityInWhere() 252 final TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testProjection() 255 .insert(); in testProjection()
|
D | ContactsTest.java | 99 Uri uri = mProvider.insert(People.CONTENT_URI, value); in testPeopleTable() 171 Uri uri = mProvider.insert(Groups.CONTENT_URI, value); in testGroupsTable() 235 mProvider.insert(Photos.CONTENT_URI, value); in testPhotosTable() 270 Uri peopleUri = mProvider.insert(People.CONTENT_URI, value); in testPhonesTable() 280 Uri uri = mProvider.insert(Phones.CONTENT_URI, value); in testPhonesTable() 352 Uri peopleUri = mProvider.insert(People.CONTENT_URI, value); in testOrganizationsTable() 363 Uri uri = mProvider.insert(Organizations.CONTENT_URI, value); in testOrganizationsTable() 471 Uri uri = mCallLogProvider.insert(Calls.CONTENT_URI, value); in testCallsTable() 574 Uri peopleUri = mProvider.insert(People.CONTENT_URI, value); 586 Uri uri = mProvider.insert(ContactMethods.CONTENT_URI, value); [all …]
|
D | ContactsContract_ProviderStatus.java | 61 .insert(); in testProviderStatus_addedContacts() 65 .insert(); in testProviderStatus_addedContacts()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_FilesTest.java | 96 Uri fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri() 118 Uri foo = mResolver.insert(allFilesUri, values); in testGetContentUri() 141 fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri() 176 Uri fileUri = mResolver.insert(allFilesUri, values); in testCaseSensitivity() 195 final Uri uri = mResolver.insert(internalFiles, values); in testAccessInternal() 209 assertNull(invalid, mResolver.insert(internalFiles, values)); in testAccessInternal() 227 final Uri uri = mResolver.insert(mExternalFiles, values); in testAccess() 245 assertNull(invalid, mResolver.insert(mExternalFiles, values)); in testAccess() 266 Uri fileUri = mResolver.insert(allFilesUri, values); in testUpdateMediaType() 294 final Uri uri = mResolver.insert(mExternalFiles, values); in testDateAddedFrozen() [all …]
|
D | MediaStore_Audio_GenresTest.java | 86 Uri uri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testStoreAudioGenresExternal() 105 Uri audioUri = Audio1.getInstance().insert(mContentResolver, mVolumeName); in testGetContentUriForAudioId() 113 Uri genreUri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testGetContentUriForAudioId() 129 assertNotNull(mContentResolver.insert(membersUri, values)); in testGetContentUriForAudioId()
|
D | BlockedNumberContractTest.java | 89 mAddedUris.add(mContentResolver.insert( in testProviderInteractionsAsRegularApp_fails() 226 mAddedUris.add(mContentResolver.insert( in testInsert_failsWithInvalidInputs() 236 mContentResolver.insert(BlockedNumbers.CONTENT_URI, new ContentValues())); in testInsert_failsWithInvalidInputs() 245 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs() 254 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs() 409 Uri insertedUri = mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv); in assertInsertBlockedNumberSucceeds()
|
D | MediaStore_Audio_Genres_MembersTest.java | 78 Uri uri = Audio1.getInstance().insert(mContentResolver, mVolumeName); in setUp() 84 uri = Audio2.getInstance().insert(mContentResolver, mVolumeName); in setUp() 114 Uri uri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testStoreAudioGenresMembersExternal() 130 assertNotNull(mContentResolver.insert(membersUri, values)); in testStoreAudioGenresMembersExternal() 223 uri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testStoreAudioGenresMembersExternal() 233 assertNotNull(mContentResolver.insert(members2Uri, values)); in testStoreAudioGenresMembersExternal() 275 assertNotNull(mContentResolver.insert(membersUri, values)); in testStoreAudioGenresMembersExternal()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ArrayAdapterTest.java | 251 mArrayAdapter.insert(STR1, 0); in testInsert() 256 mArrayAdapter.insert(STR2, 0); in testInsert() 261 mArrayAdapter.insert(STR3, mArrayAdapter.getCount()); in testInsert() 264 mArrayAdapter.insert(null, 0); in testInsert() 270 mArrayAdapter.insert(STR1, 0); in testInsertOutOfBoundsLow() 271 mArrayAdapter.insert(STR2, 0); in testInsertOutOfBoundsLow() 272 mArrayAdapter.insert(null, 0); in testInsertOutOfBoundsLow() 274 mArrayAdapter.insert(STR1, -1); in testInsertOutOfBoundsLow() 279 mArrayAdapter.insert(STR1, 0); in testInsertOutOfBoundsHigh() 280 mArrayAdapter.insert(STR2, 0); in testInsertOutOfBoundsHigh() [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 364 Uri rowUri = mContentResolver.insert(mChannelsUri, values); in testChannelsTable() 390 Uri channelUri = mContentResolver.insert(mChannelsUri, values); in testChannelsTableForModifyChannelType() 417 Uri rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId() 422 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId() 427 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId() 434 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId() 445 Uri channelUri = mContentResolver.insert(mChannelsUri, baseValues); in testChannelsTableForModifyIdAndPackageName() 478 Uri channelUri = mContentResolver.insert(mChannelsUri, baseValues); in testChannelsTableForIllegalAccess() 484 mContentResolver.insert(mChannelsUri, values); in testChannelsTableForIllegalAccess() 492 mContentResolver.insert(mChannelsUri, values); in testChannelsTableForIllegalAccess() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderTest.java | 516 builder.insert(1, "abcd", 1, 3); in testInsert1() 520 builder.insert(2, "abcd", 0, 4); in testInsert1() 524 builder.insert(-1, "abcd", 1, 3); in testInsert1() 531 builder.insert(100, "abcd", 1, 3); in testInsert1() 538 builder.insert(1, "abcd", 3, 2); in testInsert1() 545 builder.insert(1, "abcd", -3, 2); in testInsert1() 552 builder.insert(0, null, 0, 1); in testInsert1() 562 builder.insert(1, "abcd"); in testInsert2() 566 builder.insert(5, "abcd"); in testInsert2() 570 builder.insert(-1, "abcd"); in testInsert2() [all …]
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | ContactsProviderTest.java | 49 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI, in testInsertContacts() 76 getContext().getContentResolver().insert(ContactsContract.Profile.CONTENT_URI, in testInsertProfile()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 105 mContentResolver.insert(TABLE1_URI, values); in setUp() 106 mContentResolver.insert(REMOTE_TABLE1_URI, values); in setUp() 110 mContentResolver.insert(TABLE1_URI, values); in setUp() 111 mContentResolver.insert(REMOTE_TABLE1_URI, values); in setUp() 115 mContentResolver.insert(TABLE1_URI, values); in setUp() 116 mContentResolver.insert(REMOTE_TABLE1_URI, values); in setUp() 376 mContentResolver.insert(TABLE1_URI, values); in testQuery_SqlSortingFromBundleArgs() 380 mContentResolver.insert(TABLE1_URI, values); in testQuery_SqlSortingFromBundleArgs() 384 mContentResolver.insert(TABLE1_URI, values); in testQuery_SqlSortingFromBundleArgs() 532 mContentResolver.insert(TABLE1_URI, values); in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | ContactsProviderTest.java | 56 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI, in testInsertContacts() 94 getContext().getContentResolver().insert(ContactsContract.Profile.CONTENT_URI, in testInsertProfile()
|