Home
last modified time | relevance | path

Searched refs:insert (Results 1 – 25 of 141) sorted by relevance

123456

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_StructuredPhoneticName.java62 .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()
DContactsContract_GroupMembershipTest.java51 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()
DContactsContract_ContactCountsTest.java120 .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 …]
DContactsContract_IsSuperPrimaryName.java75 .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()
DContactsContract_DataTest.java213 .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 …]
DContactsContract_RawContactsTest.java90 .insert(); in testGetLookupUriBySourceId()
96 .insert(); in testGetLookupUriBySourceId()
110 .insert(); in testGetLookupUriByDisplayName()
113 .insert(); in testGetLookupUriByDisplayName()
224 .insert(); in testProjection()
227 .insert(); in testProjection()
243 .insert(); in testInsertUsageStat()
255 .insert(); in testInsertUsageStat()
266 .insert(); in testInsertUsageStat()
283 .insert(); in testUpdateUsageStat()
DContactsContract_PhoneLookup.java77 .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()
DContactsContract_AggregationSuggestionsTest.java163 .insert(); in setupThreeContacts()
167 .insert(); in setupThreeContacts()
173 .insert(); in setupThreeContacts()
177 .insert(); in setupThreeContacts()
183 .insert(); in setupThreeContacts()
187 .insert(); in setupThreeContacts()
DContactsContract_SearchSnippetsTest.java332 .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 …]
DContactsContract_FrequentsStrequentsTest.java434 .insert(); in setupTestData()
437 .insert(); in setupTestData()
441 .insert().load().getId(); in setupTestData()
448 .insert(); in setupTestData()
451 .insert(); in setupTestData()
455 .insert().load().getId(); in setupTestData()
462 .insert(); in setupTestData()
465 .insert(); in setupTestData()
469 .insert().load().getId(); in setupTestData()
DContactsContract_PhotoTest.java63 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()
DContactsContract_ProviderStatus.java61 .insert(); in testProviderStatus_addedContacts()
65 .insert(); in testProviderStatus_addedContacts()
DVoicemailContractTest.java164 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 …]
DContactsContract_StreamItemPhotosTest.java57 Uri uri = mResolver.insert(insertUri, values); in testContentDirectoryUri()
70 Uri uri = mResolver.insert(StreamItems.CONTENT_PHOTO_URI, values); in testContentPhotoUri()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Audio_GenresTest.java66 Uri uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values); in testStoreAudioGenresExternal()
95 Uri uri = mContentResolver.insert(Genres.INTERNAL_CONTENT_URI, values); in testStoreAudioGenresInternal()
102 Uri audioUri = mContentResolver.insert(Media.EXTERNAL_CONTENT_URI, values); in testGetContentUriForAudioId()
110 Uri genreUri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values); in testGetContentUriForAudioId()
128 assertNotNull(mContentResolver.insert(membersUri, values)); in testGetContentUriForAudioId()
DBlockedNumberContractTest.java73 mAddedUris.add(mContentResolver.insert( in testProviderInteractionsAsRegularApp_fails()
165 mAddedUris.add(mContentResolver.insert( in testInsert_failsWithInvalidInputs()
175 mContentResolver.insert(BlockedNumbers.CONTENT_URI, new ContentValues())); in testInsert_failsWithInvalidInputs()
184 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs()
193 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs()
324 Uri insertedUri = mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv); in assertInsertBlockedNumberSucceeds()
DMediaStore_FilesTest.java103 mResolver.insert(allFilesUri, values); in testGetContentUri()
113 Uri fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
135 Uri foo = mResolver.insert(allFilesUri, values); in testGetContentUri()
155 fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
189 Uri fileUri = mResolver.insert(allFilesUri, values); in testCaseSensitivity()
219 Uri uri = mResolver.insert(MediaStore.Images.Media.INTERNAL_CONTENT_URI, values); in testAccess()
372 Uri fileUri = mResolver.insert(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, values); in testAccess()
400 mResolver.insert(albumArtUriBase, values); in testAccess()
421 fileUri = mResolver.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); in testAccess()
447 Uri dirUri = mResolver.insert(MediaStore.Files.getContentUri("external"), values); in testAccess()
[all …]
DMediaStoreTest.java55 mContentResolver.insert(mScannerUri, values); in tearDown()
73 mContentResolver.insert(mScannerUri, values)); in testGetMediaScannerUri()
/cts/tests/tests/permission2/src/android/permission2/cts/
DContactsProviderTest.java49 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI, in testInsertContacts()
76 getContext().getContentResolver().insert(ContactsContract.Profile.CONTENT_URI, in testInsertProfile()
/cts/tests/tests/widget/src/android/widget/cts/
DArrayAdapterTest.java250 mArrayAdapter.insert(STR1, 0); in testInsert()
255 mArrayAdapter.insert(STR2, 0); in testInsert()
260 mArrayAdapter.insert(STR3, mArrayAdapter.getCount()); in testInsert()
263 mArrayAdapter.insert(null, 0); in testInsert()
269 mArrayAdapter.insert(STR1, 0); in testInsertOutOfBoundsLow()
270 mArrayAdapter.insert(STR2, 0); in testInsertOutOfBoundsLow()
271 mArrayAdapter.insert(null, 0); in testInsertOutOfBoundsLow()
273 mArrayAdapter.insert(STR1, -1); in testInsertOutOfBoundsLow()
278 mArrayAdapter.insert(STR1, 0); in testInsertOutOfBoundsHigh()
279 mArrayAdapter.insert(STR2, 0); in testInsertOutOfBoundsHigh()
[all …]
/cts/tests/tests/permission/src/android/permission/cts/
DContactsProviderTest.java56 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI, in testInsertContacts()
94 getContext().getContentResolver().insert(ContactsContract.Profile.CONTENT_URI, in testInsertProfile()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DDatabase.java68 public long insert(final String table, final ContentValues values) { in insert() method in Database
69 return mHelper.getWritableDatabase().insert(table, null /* nullColumnHack */, values); in insert()
/cts/tests/tests/content/src/android/content/cts/
DSearchRecentSuggestionsProviderTest.java62 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider()
66 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java358 Uri rowUri = mContentResolver.insert(mChannelsUri, values); in testChannelsTable()
384 Uri channelUri = mContentResolver.insert(mChannelsUri, values); in testChannelsTableForModifyChannelType()
411 Uri rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
416 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
421 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
428 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
439 Uri channelUri = mContentResolver.insert(mChannelsUri, baseValues); in testChannelsTableForModifyIdAndPackageName()
472 Uri channelUri = mContentResolver.insert(mChannelsUri, baseValues); in testChannelsTableForIllegalAccess()
478 mContentResolver.insert(mChannelsUri, values); in testChannelsTableForIllegalAccess()
486 mContentResolver.insert(mChannelsUri, values); in testChannelsTableForIllegalAccess()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderTest.java514 builder.insert(1, "abcd", 1, 3); in testInsert1()
518 builder.insert(2, "abcd", 0, 4); in testInsert1()
522 builder.insert(-1, "abcd", 1, 3); in testInsert1()
529 builder.insert(100, "abcd", 1, 3); in testInsert1()
536 builder.insert(1, "abcd", 3, 2); in testInsert1()
543 builder.insert(1, "abcd", -3, 2); in testInsert1()
550 builder.insert(0, null, 0, 1); in testInsert1()
560 builder.insert(1, "abcd"); in testInsert2()
564 builder.insert(5, "abcd"); in testInsert2()
568 builder.insert(-1, "abcd"); in testInsert2()
[all …]

123456