/cts/tests/tests/contactsprovider/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_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_StructuredPhoneticName.java | 78 .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()
|
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_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_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_RawContactsTest.java | 93 .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 …]
|
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_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_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 | ContactsContract_ProviderStatus.java | 61 .insert(); in testProviderStatus_addedContacts() 65 .insert(); in testProviderStatus_addedContacts()
|
D | ContactsContract_ContactsTest.java | 65 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/ |
D | FlagMacrosTests.cpp | 48 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/ |
D | NativeMediaFormatUnitTest.cpp | 86 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/ |
D | SimPhonebookContract_SimRecordsTest.java | 213 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 …]
|
D | SimPhonebookContract_SimRecordsNoSimTest.java | 162 () -> 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/ |
D | ArrayAdapterTest.java | 260 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/ |
D | MediaStore_FilesTest.java | 102 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 …]
|
D | MediaStore_Audio_GenresTest.java | 86 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/ |
D | TvContractTest.java | 397 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/ |
D | Database.java | 103 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/ |
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 …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SearchRecentSuggestionsProviderTest.java | 63 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/ |
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 …]
|