Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSearchIndexManagerTest.java120 assertStoredValue(buildSearchUri("\u695A\u8FAD"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
121 assertStoredValue(buildSearchUri("\u8FAD"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
122 assertStoredValue(buildSearchUri("CI"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
123 assertStoredValue(buildSearchUri("CHUCI"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
124 assertStoredValue(buildSearchUri("CC"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
125 assertStoredValue(buildSearchUri("C"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
156 assertStoredValue(buildSearchUri("\uC774\uC0C1\uC77C"), SearchSnippets.SNIPPET, null); in testSearchByKoreanName()
159 assertStoredValue(buildSearchUri("\uC0C1\uC77C"), SearchSnippets.SNIPPET, null); in testSearchByKoreanName()
162 assertStoredValue(buildSearchUri("\u1109\u110B"), SearchSnippets.SNIPPET, null); in testSearchByKoreanName()
165 assertStoredValue(buildSearchUri("\u110B\u1109\u110B"), SearchSnippets.SNIPPET, null); in testSearchByKoreanName()
[all …]
DContactLookupKeyTest.java55 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId), in testLookupKeyUsingDisplayNameAndNoAccount()
60 assertStoredValue(lookupUri, Contacts._ID, contactId); in testLookupKeyUsingDisplayNameAndNoAccount()
63 assertStoredValue(ContentUris.withAppendedId(lookupUri, contactId), in testLookupKeyUsingDisplayNameAndNoAccount()
67 assertStoredValue(ContentUris.withAppendedId(lookupUri, contactId + 1), in testLookupKeyUsingDisplayNameAndNoAccount()
90 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId), in testLookupKeyUsingSourceIdAndNoAccount()
94 assertStoredValue(lookupUri, Contacts._ID, contactId); in testLookupKeyUsingSourceIdAndNoAccount()
114 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId1), in testLookupKeySameSourceIdDifferentAccounts()
118 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId2), in testLookupKeySameSourceIdDifferentAccounts()
122 assertStoredValue(lookupUri1, Contacts._ID, contactId1); in testLookupKeySameSourceIdDifferentAccounts()
125 assertStoredValue(lookupUri2, Contacts._ID, contactId2); in testLookupKeySameSourceIdDifferentAccounts()
[all …]
DContactMetadataProviderTest.java184 assertStoredValue(rawContactUri, RawContacts._ID, rawContactId); in testInsertAndUpdateMetadataSync()
185 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
186 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync()
187 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync()
188 assertStoredValue(rawContactUri, RawContacts.DATA_SET, TEST_DATA_SET1); in testInsertAndUpdateMetadataSync()
220 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
221 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync()
222 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync()
223 assertStoredValue(rawContactUri, RawContacts.DATA_SET, TEST_DATA_SET1); in testInsertAndUpdateMetadataSync()
224 assertStoredValue(rawContactUri, RawContacts.SEND_TO_VOICEMAIL, "1"); in testInsertAndUpdateMetadataSync()
[all …]
DContactsProvider2Test.java1169 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1177 assertStoredValue(dataUri, Data.IS_PRIMARY, "1"); in testDataInsertAndUpdateHashId()
1178 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1188 assertStoredValue(dataUri, Data.HASH_ID, newHashId); in testDataInsertAndUpdateHashId()
1196 assertStoredValue(dataUri, Data.HASH_ID, testHashId); in testDataInsertAndUpdateHashId()
1203 assertStoredValue(dataUri, Data.HASH_ID, testHashId); in testDataInsertAndUpdateHashId()
1209 assertStoredValue(dataUri, Data.HASH_ID, null); in testDataInsertAndUpdateHashId()
1227 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
1232 assertStoredValue(dataUri, Data.DATA1, "newData1"); in testDataInsertAndUpdateHashId_Photo()
1233 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
[all …]
DLegacyContactsProviderTest.java136 assertStoredValue(personUri, People.DISPLAY_NAME, "John Doe"); in testDefaultDisplayName()
703 assertStoredValue(Uri.parse("content://contacts/groups/name/Galois/members"), in testGroupMembersByGroupName()
705 assertStoredValue(Uri.parse("content://contacts/groups/name/Euler/members"), in testGroupMembersByGroupName()
867 assertStoredValue(Settings.CONTENT_URI, Settings._SYNC_ACCOUNT + "='foo' AND " in testSettings()
870 assertStoredValue(ContactsContract.Settings.CONTENT_URI, in testSettings()
879 assertStoredValue(Settings.CONTENT_URI, Settings._SYNC_ACCOUNT + "='foo' AND " in testSettings()
DBaseContactsProvider2Test.java887 protected void assertStoredValue(Uri contentUri, long id, String column, Object expectedValue) { in assertStoredValue() method in BaseContactsProvider2Test
888 assertStoredValue(ContentUris.withAppendedId(contentUri, id), column, expectedValue); in assertStoredValue()
891 protected void assertStoredValue(Uri rowUri, String column, Object expectedValue) { in assertStoredValue() method in BaseContactsProvider2Test
900 protected void assertStoredValue(Uri rowUri, String selection, String[] selectionArgs, in assertStoredValue() method in BaseContactsProvider2Test
DGroupsTest.java188 assertStoredValue(uri, Groups.DELETED, "1"); in testGroupDeletion1()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java790 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
792 assertStoredValue(getContactUriForRawContact(rawContactId4), in testReAggregateToConnectedComponent()
803 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
805 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
808 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
810 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
813 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
815 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
1365 assertStoredValue(nameUri1, Data.IS_SUPER_PRIMARY, 0); in testMergedSuperPrimaryName_changeSuperPrimary()
1366 assertStoredValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
[all …]
DContactAggregator2Test.java807 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
809 assertStoredValue(getContactUriForRawContact(rawContactId4), in testReAggregateToConnectedComponent()
820 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
822 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
825 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
827 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
830 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
832 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
1374 assertStoredValue(nameUri1, Data.IS_SUPER_PRIMARY, 0); in testMergedSuperPrimaryName_changeSuperPrimary()
1375 assertStoredValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
[all …]