Home
last modified time | relevance | path

Searched refs:assertStoredValue (Results 1 – 8 of 8) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSearchIndexManagerTest.java121 assertStoredValue(buildSearchUri("\u695A\u8FAD"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
122 assertStoredValue(buildSearchUri("\u8FAD"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
123 assertStoredValue(buildSearchUri("CI"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
124 assertStoredValue(buildSearchUri("CHUCI"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
125 assertStoredValue(buildSearchUri("CC"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
126 assertStoredValue(buildSearchUri("C"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
157 assertStoredValue(buildSearchUri("\uC774\uC0C1\uC77C"), SearchSnippets.SNIPPET, null); in testSearchByKoreanName()
160 assertStoredValue(buildSearchUri("\uC0C1\uC77C"), SearchSnippets.SNIPPET, null); in testSearchByKoreanName()
163 assertStoredValue(buildSearchUri("\u1109\u110B"), SearchSnippets.SNIPPET, null); in testSearchByKoreanName()
166 assertStoredValue(buildSearchUri("\u110B\u1109\u110B"), SearchSnippets.SNIPPET, null); in testSearchByKoreanName()
[all …]
DContactLookupKeyTest.java63 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId), in testLookupKeyUsingDisplayNameAndNoAccount()
68 assertStoredValue(lookupUri, Contacts._ID, contactId); in testLookupKeyUsingDisplayNameAndNoAccount()
71 assertStoredValue(ContentUris.withAppendedId(lookupUri, contactId), in testLookupKeyUsingDisplayNameAndNoAccount()
75 assertStoredValue(ContentUris.withAppendedId(lookupUri, contactId + 1), in testLookupKeyUsingDisplayNameAndNoAccount()
102 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId), in testLookupKeyUsingSourceIdAndNoAccount()
106 assertStoredValue(lookupUri, Contacts._ID, contactId); in testLookupKeyUsingSourceIdAndNoAccount()
126 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId1), in testLookupKeySameSourceIdDifferentAccounts()
130 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId2), in testLookupKeySameSourceIdDifferentAccounts()
134 assertStoredValue(lookupUri1, Contacts._ID, contactId1); in testLookupKeySameSourceIdDifferentAccounts()
137 assertStoredValue(lookupUri2, Contacts._ID, contactId2); in testLookupKeySameSourceIdDifferentAccounts()
[all …]
DContactsProvider2Test.java1449 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1457 assertStoredValue(dataUri, Data.IS_PRIMARY, "1"); in testDataInsertAndUpdateHashId()
1458 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1468 assertStoredValue(dataUri, Data.HASH_ID, newHashId); in testDataInsertAndUpdateHashId()
1476 assertStoredValue(dataUri, Data.HASH_ID, testHashId); in testDataInsertAndUpdateHashId()
1483 assertStoredValue(dataUri, Data.HASH_ID, testHashId); in testDataInsertAndUpdateHashId()
1489 assertStoredValue(dataUri, Data.HASH_ID, null); in testDataInsertAndUpdateHashId()
1507 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
1512 assertStoredValue(dataUri, Data.DATA1, "newData1"); in testDataInsertAndUpdateHashId_Photo()
1513 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
[all …]
DLegacyContactsProviderTest.java152 assertStoredValue(personUri, People.DISPLAY_NAME, "John Doe"); in testDefaultDisplayName()
726 assertStoredValue(Uri.parse("content://contacts/groups/name/Galois/members"), in testGroupMembersByGroupName()
728 assertStoredValue(Uri.parse("content://contacts/groups/name/Euler/members"), in testGroupMembersByGroupName()
890 assertStoredValue(Settings.CONTENT_URI, Settings._SYNC_ACCOUNT + "='foo' AND " in testSettings()
893 assertStoredValue(ContactsContract.Settings.CONTENT_URI, in testSettings()
902 assertStoredValue(Settings.CONTENT_URI, Settings._SYNC_ACCOUNT + "='foo' AND " in testSettings()
DBaseContactsProvider2Test.java913 protected void assertStoredValue(Uri contentUri, long id, String column, Object expectedValue) { in assertStoredValue() method in BaseContactsProvider2Test
914 assertStoredValue(ContentUris.withAppendedId(contentUri, id), column, expectedValue); in assertStoredValue()
917 protected void assertStoredValue(Uri rowUri, String column, Object expectedValue) { in assertStoredValue() method in BaseContactsProvider2Test
926 protected void assertStoredValue(Uri rowUri, String selection, String[] selectionArgs, in assertStoredValue() method in BaseContactsProvider2Test
DGroupsTest.java189 assertStoredValue(uri, Groups.DELETED, "1"); in testGroupDeletion1()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java772 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
774 assertStoredValue(getContactUriForRawContact(rawContactId4), in testReAggregateToConnectedComponent()
785 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
787 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
790 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
792 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
795 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
797 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
1299 assertStoredValue(nameUri1, Data.IS_SUPER_PRIMARY, 0); in testMergedSuperPrimaryName_changeSuperPrimary()
1300 assertStoredValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
[all …]
DContactAggregator2Test.java778 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
780 assertStoredValue(getContactUriForRawContact(rawContactId4), in testReAggregateToConnectedComponent()
791 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
793 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
796 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
798 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
801 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
803 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
1297 assertStoredValue(nameUri1, Data.IS_SUPER_PRIMARY, 0); in testMergedSuperPrimaryName_changeSuperPrimary()
1298 assertStoredValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
[all …]