Home
last modified time | relevance | path

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

12345678

/cts/tests/tests/contactsprovider/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_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_RawContactsTest.java93 .insert(); in testGetLookupUriBySourceId()
99 .insert(); in testGetLookupUriBySourceId()
113 .insert(); in testGetLookupUriByDisplayName()
116 .insert(); in testGetLookupUriByDisplayName()
237 .insert(); in testRawContactCreate_nullAccountUsesLocalAccount()
303 .insert(); in testProjection()
306 .insert(); in testProjection()
325 .insert(); in testInsertUsageStat()
337 .insert(); in testInsertUsageStat()
348 .insert(); in testInsertUsageStat()
[all …]
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.java427 .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()
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()
DCallLogProviderTest.java57 mContentResolver.insert(CallLog.Calls.CONTENT_URI, values); in testNoSubqueries()
78 Uri uri = mContentResolver.insert(CallLog.Calls.CONTENT_URI, values); in testUpdate()
128 Uri uri = mContentResolver.insert(CallLog.Calls.CONTENT_URI, values); in testDelete()
/cts/tests/tests/widget/src/android/widget/cts/
DArrayAdapterTest.java251 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/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/provider/src/android/provider/cts/media/
DMediaStore_FilesTest.java103 Uri fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
125 Uri foo = mResolver.insert(allFilesUri, values); in testGetContentUri()
148 fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
186 Uri fileUri = mResolver.insert(allFilesUri, values); in testCaseSensitivity()
205 final Uri uri = mResolver.insert(internalFiles, values); in testAccessInternal()
219 assertNull(invalid, mResolver.insert(internalFiles, values)); in testAccessInternal()
237 final Uri uri = mResolver.insert(mExternalFiles, values); in testAccess()
255 assertNull(invalid, mResolver.insert(mExternalFiles, values)); in testAccess()
276 Uri fileUri = mResolver.insert(allFilesUri, values); in testUpdateMediaType()
303 Uri fileUri = mResolver.insert(allFilesUri, values); in testInsertDocumentFile()
[all …]
DMediaStore_Audio_GenresTest.java87 Uri uri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testStoreAudioGenresExternal()
107 Uri audioUri = Audio1.getInstance().insert(mContentResolver, mVolumeName); in testGetContentUriForAudioId()
115 Uri genreUri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testGetContentUriForAudioId()
131 assertNotNull(mContentResolver.insert(membersUri, values)); in testGetContentUriForAudioId()
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/
DSimPhonebookContract_SimRecordsNoSimTest.java162 () -> mResolver.insert( in insert_nonAdnDirUris_throwsUnsupportedOperationException()
166 () -> mResolver.insert( in insert_nonAdnDirUris_throwsUnsupportedOperationException()
169 mResolver.insert( in insert_nonAdnDirUris_throwsUnsupportedOperationException()
174 mResolver.insert( in insert_nonAdnDirUris_throwsUnsupportedOperationException()
179 mResolver.insert( in insert_nonAdnDirUris_throwsUnsupportedOperationException()
191 () -> mResolver.insert( in insertAdn_throwsCorrectException()
/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/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java389 Uri rowUri = mContentResolver.insert(mChannelsUri, values); in testChannelsTable()
415 Uri channelUri = mContentResolver.insert(mChannelsUri, values); in testChannelsTableForModifyChannelType()
442 Uri rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
447 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
452 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
459 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
470 Uri channelUri = mContentResolver.insert(mChannelsUri, baseValues); in testChannelsTableForModifyIdAndPackageName()
503 Uri channelUri = mContentResolver.insert(mChannelsUri, baseValues); in testChannelsTableForIllegalAccess()
509 mContentResolver.insert(mChannelsUri, values); in testChannelsTableForIllegalAccess()
517 mContentResolver.insert(mChannelsUri, values); in testChannelsTableForIllegalAccess()
[all …]
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DDatabase.java103 public long insert(String table, ContentValues values) { in insert() method in Database
104 return mHelper.getWritableDatabase().insert(table, null /* nullColumnHack */, values); in insert()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
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 …]
/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/provider/src/android/provider/cts/
DBlockedNumberContractTest.java102 mAddedUris.add(mContentResolver.insert( in testProviderInteractionsAsRegularApp_fails()
239 mAddedUris.add(mContentResolver.insert( in testInsert_failsWithInvalidInputs()
249 mContentResolver.insert(BlockedNumbers.CONTENT_URI, new ContentValues())); in testInsert_failsWithInvalidInputs()
258 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs()
267 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs()
422 Uri insertedUri = mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv); in assertInsertBlockedNumberSucceeds()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderTest.java516 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 …]

12345678