Home
last modified time | relevance | path

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

1234

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_StructuredPhoneticName.java62 .insert(); in testPhoneticStructuredName()
65 .insert(); in testPhoneticStructuredName()
80 .insert(); in testPhoneticStructuredName_phoneticPriority1()
83 .insert(); in testPhoneticStructuredName_phoneticPriority1()
90 .insert(); in testPhoneticStructuredName_phoneticPriority1()
93 .insert(); in testPhoneticStructuredName_phoneticPriority1()
117 .insert(); in testPhoneticStructuredName_phoneticPriority2()
120 .insert(); in testPhoneticStructuredName_phoneticPriority2()
127 .insert(); in testPhoneticStructuredName_phoneticPriority2()
130 .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_SearchSnippetsTest.java220 .insert(); in setupTestData()
223 .insert(); in setupTestData()
227 .insert().load().getId(); in setupTestData()
234 .insert(); in setupTestData()
237 .insert(); in setupTestData()
241 .insert().load(); in setupTestData()
245 .insert().load(); in setupTestData()
253 .insert(); in setupTestData()
256 .insert(); in setupTestData()
260 .insert().load().getId(); in setupTestData()
[all …]
DContactsContract_DataTest.java214 .insert(); in testGetLookupUriBySourceId()
220 .insert(); in testGetLookupUriBySourceId()
235 .insert(); in testDataProjection()
238 .insert(); in testDataProjection()
251 .insert(); in testRawContactsEntityProjection()
254 .insert(); in testRawContactsEntityProjection()
311 .insert(); in testEntityProjection()
314 .insert(); in testEntityProjection()
412 .insert(); in testGetLookupUriByDisplayName()
415 .insert(); in testGetLookupUriByDisplayName()
[all …]
DContactsContract_PhoneLookup.java67 .insert(); in setupTestData()
70 .insert(); in setupTestData()
74 .insert().load().getId(); in setupTestData()
81 .insert(); in setupTestData()
84 .insert(); in setupTestData()
88 .insert().load(); in setupTestData()
DContactsContract_AggregationSuggestionsTest.java164 .insert(); in setupThreeContacts()
168 .insert(); in setupThreeContacts()
174 .insert(); in setupThreeContacts()
178 .insert(); in setupThreeContacts()
184 .insert(); in setupThreeContacts()
188 .insert(); in setupThreeContacts()
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()
DContactsContract_PhotoTest.java61 TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testAddPhoto()
70 .insert(); in testAddPhoto()
82 TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testAddEmptyPhoto()
91 .insert(); in testAddEmptyPhoto()
DContactsContract_FrequentsStrequentsTest.java439 .insert(); in setupTestData()
442 .insert(); in setupTestData()
446 .insert().load().getId(); in setupTestData()
453 .insert(); in setupTestData()
456 .insert(); in setupTestData()
460 .insert().load().getId(); in setupTestData()
467 .insert(); in setupTestData()
470 .insert(); in setupTestData()
474 .insert().load().getId(); in setupTestData()
DContactsContract_RawContactsTest.java95 .insert(); in testGetLookupUriBySourceId()
101 .insert(); in testGetLookupUriBySourceId()
115 .insert(); in testGetLookupUriByDisplayName()
118 .insert(); in testGetLookupUriByDisplayName()
229 .insert(); in testProjection()
232 .insert(); in testProjection()
DMediaStore_FilesTest.java101 mResolver.insert(allFilesUri, values); in testGetContentUri()
111 Uri fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
133 Uri foo = mResolver.insert(allFilesUri, values); in testGetContentUri()
153 fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
187 Uri fileUri = mResolver.insert(allFilesUri, values); in testCaseSensitivity()
217 Uri uri = mResolver.insert(MediaStore.Images.Media.INTERNAL_CONTENT_URI, values); in testAccess()
380 Uri fileUri = mResolver.insert(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, values); in testAccess()
408 mResolver.insert(albumArtUriBase, values); in testAccess()
429 fileUri = mResolver.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); in testAccess()
455 Uri dirUri = mResolver.insert(MediaStore.Files.getContentUri("external"), values); in testAccess()
[all …]
DContactsContract_ProviderStatus.java62 .insert(); in testProviderStatus_addedContacts()
66 .insert(); in testProviderStatus_addedContacts()
DContactsContract_StreamItemPhotosTest.java56 Uri uri = mResolver.insert(insertUri, values); in testContentDirectoryUri()
69 Uri uri = mResolver.insert(StreamItems.CONTENT_PHOTO_URI, values); in testContentPhotoUri()
DMediaStoreTest.java55 mContentResolver.insert(mScannerUri, values); in tearDown()
73 mContentResolver.insert(mScannerUri, values)); in testGetMediaScannerUri()
DVoicemailContractTest.java99 Uri uri = mVoicemailProvider.insert(mVoicemailContentUri, value); in testVoicemailsTable()
150 mVoicemailProvider.insert(mVoicemailContentUri, value); in testInsert_doesNotUpdateDataColumn()
158 final Uri uri = mVoicemailProvider.insert(mVoicemailContentUri, value); in testDataColumnUpdate_throwsIllegalArgumentException()
235 Uri uri = mStatusProvider.insert(mStatusContentUri, value); in testStatusTable()
281 mVoicemailProvider.insert(mVoicemailContentUri, value); in testVoicemailTablePermissions()
293 mStatusProvider.insert(mStatusContentUri, value); in testStatusTablePermissions()
DContactsTest.java99 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()
470 Uri uri = mCallLogProvider.insert(Calls.CONTENT_URI, value); in testCallsTable()
571 Uri peopleUri = mProvider.insert(People.CONTENT_URI, value); in testContactMethodsTable()
583 Uri uri = mProvider.insert(ContactMethods.CONTENT_URI, value); in testContactMethodsTable()
[all …]
DContactsContract_ContactsTest.java66 TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testMarkAsContacted()
94 TestRawContact rawContact = mBuilder.newRawContact().insert().load();
172 final TestRawContact rawContact = mBuilder.newRawContact().insert().load();
175 .insert();
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderTest.java469 builder.insert(1, "abcd", 1, 3); in testInsert1()
473 builder.insert(2, "abcd", 0, 4); in testInsert1()
477 builder.insert(-1, "abcd", 1, 3); in testInsert1()
484 builder.insert(100, "abcd", 1, 3); in testInsert1()
491 builder.insert(1, "abcd", 3, 2); in testInsert1()
498 builder.insert(1, "abcd", -3, 2); in testInsert1()
505 builder.insert(0, null, 0, 1); in testInsert1()
514 builder.insert(1, "abcd"); in testInsert2()
518 builder.insert(5, "abcd"); in testInsert2()
522 builder.insert(-1, "abcd"); in testInsert2()
[all …]
/cts/tests/tests/permission2/src/android/permission2/cts/
DContactsProviderTest.java47 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI, in testInsertContacts()
74 getContext().getContentResolver().insert(ContactsContract.Profile.CONTENT_URI, in testInsertProfile()
DNoWriteSecureSettingsPermissionTest.java40 getContext().getContentResolver().insert(Settings.Secure.CONTENT_URI, values); in testWriteSecureSettings()
/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/content/src/android/content/cts/
DSearchRecentSuggestionsProviderTest.java63 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider()
67 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider()
/cts/tests/tests/widget/src/android/widget/cts/
DArrayAdapterTest.java223 mArrayAdapter.insert(STR1, 0); in testInsert()
228 mArrayAdapter.insert(STR2, 0); in testInsert()
233 mArrayAdapter.insert(STR3, mArrayAdapter.getCount()); in testInsert()
236 mArrayAdapter.insert(null, 0); in testInsert()
240 mArrayAdapter.insert(STR1, -1); in testInsert()
247 mArrayAdapter.insert(STR1, mArrayAdapter.getCount() + 1); in testInsert()

1234