Home
last modified time | relevance | path

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

12345678910

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
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_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_StructuredPhoneticName.java78 .insert(); in testPhoneticStructuredName()
81 .insert(); in testPhoneticStructuredName()
102 .insert(); in testPhoneticStructuredName_phoneticPriority1()
105 .insert(); in testPhoneticStructuredName_phoneticPriority1()
112 .insert(); in testPhoneticStructuredName_phoneticPriority1()
115 .insert(); in testPhoneticStructuredName_phoneticPriority1()
139 .insert(); in testPhoneticStructuredName_phoneticPriority2()
142 .insert(); in testPhoneticStructuredName_phoneticPriority2()
149 .insert(); in testPhoneticStructuredName_phoneticPriority2()
152 .insert(); in testPhoneticStructuredName_phoneticPriority2()
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()
DContactsContract_ContactsTest.java65 TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testMarkAsContacted()
100 TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testLookupUri()
269 final TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testContactUpdate_usageStats()
314 final TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testContactUpdateDelete_usageStats_visibilityInWhere()
341 final TestRawContact localRawContact = mBuilder.newRawContact().insert().load(); in testContactQuery_localContactVisibleByDefault()
353 final TestRawContact rawContact = mBuilder.newRawContact().insert().load(); in testProjection()
356 .insert(); in testProjection()
/cts/flags/cc_tests/src/
DFlagMacrosTests.cpp48 executed_tests.insert("requies_disabled_flag_disabled_execute");
65 executed_tests.insert("requies_enabled_flag_enabled_executed");
85 executed_tests.insert("multi_flags_executed");
107 executed_tests.insert("multi_flags_for_same_state_executed");
141 TestWithFlagsTestHelper::executed_tests.insert( in TEST_WITH_FLAGS()
159 TestWithFlagsTestHelper::executed_tests.insert( in TEST_WITH_FLAGS()
180 TestWithFlagsTestHelper::executed_tests.insert(
203 TestWithFlagsTestHelper::executed_tests.insert(
/cts/tests/media/jni/
DNativeMediaFormatUnitTest.cpp86 mInt32KeyValuePairs.insert({118, "elements in periodic table"}); in NativeMediaFormatUnitTest()
87 mInt32KeyValuePairs.insert({5778, "surface temp. of sun in kelvin"}); in NativeMediaFormatUnitTest()
88 mInt32KeyValuePairs.insert({8611, "k2 peak in mts"}); in NativeMediaFormatUnitTest()
89 mInt32KeyValuePairs.insert({72, "heart rate in bpm"}); in NativeMediaFormatUnitTest()
90 mInt64KeyValuePairs.insert({299792458L, "vel. of em wave in free space m/s"}); in NativeMediaFormatUnitTest()
91 mInt64KeyValuePairs.insert({86400L, "number of seconds in a day"}); in NativeMediaFormatUnitTest()
92 mInt64KeyValuePairs.insert({1520200000L, "distance of earth from the sun in km"}); in NativeMediaFormatUnitTest()
93 mInt64KeyValuePairs.insert({39000000L, "forest area of the world km^2"}); in NativeMediaFormatUnitTest()
94 mFloatKeyValuePairs.insert({22.0f / 7.0f, "pi"}); in NativeMediaFormatUnitTest()
95 mFloatKeyValuePairs.insert({3.6f, "not great, not terrible"}); in NativeMediaFormatUnitTest()
[all …]
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/
DSimPhonebookContract_SimRecordsTest.java213 Uri uri = mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), in insertAdn_addsRecordAndReturnsValidUri()
321 Uri uri = mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), in insertAdn_phoneNumberWithDialableNonDigits_addsRecord()
354 mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), values); in insertAdn_valueLengthLimits()
359 () -> mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), in insertAdn_valueLengthLimits()
367 () -> mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), in insertAdn_valueLengthLimits()
382 Uri noNameUri = mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), in insertAdn_phoneNumberOnly_addsRecord()
385 Uri nullNameUri = mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), in insertAdn_phoneNumberOnly_addsRecord()
388 Uri emptyNameUri = mResolver.insert( in insertAdn_phoneNumberOnly_addsRecord()
411 mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), values); in insertAdn_nameWithNonGsmAlphabetCharacters_addsRecord()
415 mResolver.insert(SimRecords.getContentUri(mDefaultSubscriptionId, EF_ADN), values); in insertAdn_nameWithNonGsmAlphabetCharacters_addsRecord()
[all …]
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/widget/src/android/widget/cts/
DArrayAdapterTest.java260 mArrayAdapter.insert(STR1, 0); in testInsert()
265 mArrayAdapter.insert(STR2, 0); in testInsert()
270 mArrayAdapter.insert(STR3, mArrayAdapter.getCount()); in testInsert()
273 mArrayAdapter.insert(null, 0); in testInsert()
279 mArrayAdapter.insert(STR1, 0); in testInsertOutOfBoundsLow()
280 mArrayAdapter.insert(STR2, 0); in testInsertOutOfBoundsLow()
281 mArrayAdapter.insert(null, 0); in testInsertOutOfBoundsLow()
283 mArrayAdapter.insert(STR1, -1); in testInsertOutOfBoundsLow()
288 mArrayAdapter.insert(STR1, 0); in testInsertOutOfBoundsHigh()
289 mArrayAdapter.insert(STR2, 0); in testInsertOutOfBoundsHigh()
[all …]
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_FilesTest.java102 Uri fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
124 Uri foo = mResolver.insert(allFilesUri, values); in testGetContentUri()
147 fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
186 Uri fileUri = mResolver.insert(allFilesUri, values); in testCaseSensitivity()
204 final Uri uri = mResolver.insert(internalFiles, values); in testAccessInternal()
224 assertNull(invalid, mResolver.insert(internalFiles, values)); in testAccessInternal()
243 final Uri uri = mResolver.insert(mExternalFiles, values); in testAccess()
261 assertNull(invalid, mResolver.insert(mExternalFiles, values)); in testAccess()
282 Uri fileUri = mResolver.insert(allFilesUri, values); in testUpdateMediaType()
309 Uri fileUri = mResolver.insert(allFilesUri, values); in testInsertDocumentFile()
[all …]
DMediaStore_Audio_GenresTest.java86 Uri uri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testStoreAudioGenresExternal()
106 Uri audioUri = Audio1.getInstance().insert(mContentResolver, mVolumeName); in testGetContentUriForAudioId()
114 Uri genreUri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testGetContentUriForAudioId()
130 assertNotNull(mContentResolver.insert(membersUri, values)); in testGetContentUriForAudioId()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java397 Uri rowUri = mContentResolver.insert(mChannelsUri, values); in testChannelsTable()
423 Uri channelUri = mContentResolver.insert(mChannelsUri, values); in testChannelsTableForModifyChannelType()
450 Uri rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
455 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
460 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
467 rowUri = mContentResolver.insert(Channels.CONTENT_URI, values); in testChannelsTableForInputId()
478 Uri channelUri = mContentResolver.insert(mChannelsUri, baseValues); in testChannelsTableForModifyIdAndPackageName()
511 Uri channelUri = mContentResolver.insert(mChannelsUri, baseValues); in testChannelsTableForIllegalAccess()
517 mContentResolver.insert(mChannelsUri, values); in testChannelsTableForIllegalAccess()
525 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.java63 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider()
67 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider()
/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 …]

12345678910