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.java183 assertStoredValue(rawContactUri, RawContacts._ID, rawContactId); in testInsertAndUpdateMetadataSync()
184 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
185 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync()
186 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync()
187 assertStoredValue(rawContactUri, RawContacts.DATA_SET, TEST_DATA_SET1); in testInsertAndUpdateMetadataSync()
219 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
220 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync()
221 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync()
222 assertStoredValue(rawContactUri, RawContacts.DATA_SET, TEST_DATA_SET1); in testInsertAndUpdateMetadataSync()
223 assertStoredValue(rawContactUri, RawContacts.SEND_TO_VOICEMAIL, "1"); in testInsertAndUpdateMetadataSync()
[all …]
DContactsProvider2Test.java1230 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1238 assertStoredValue(dataUri, Data.IS_PRIMARY, "1"); in testDataInsertAndUpdateHashId()
1239 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1249 assertStoredValue(dataUri, Data.HASH_ID, newHashId); in testDataInsertAndUpdateHashId()
1257 assertStoredValue(dataUri, Data.HASH_ID, testHashId); in testDataInsertAndUpdateHashId()
1264 assertStoredValue(dataUri, Data.HASH_ID, testHashId); in testDataInsertAndUpdateHashId()
1270 assertStoredValue(dataUri, Data.HASH_ID, null); in testDataInsertAndUpdateHashId()
1288 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
1293 assertStoredValue(dataUri, Data.DATA1, "newData1"); in testDataInsertAndUpdateHashId_Photo()
1294 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
[all …]
DLegacyContactsProviderTest.java153 assertStoredValue(personUri, People.DISPLAY_NAME, "John Doe"); in testDefaultDisplayName()
727 assertStoredValue(Uri.parse("content://contacts/groups/name/Galois/members"), in testGroupMembersByGroupName()
729 assertStoredValue(Uri.parse("content://contacts/groups/name/Euler/members"), in testGroupMembersByGroupName()
891 assertStoredValue(Settings.CONTENT_URI, Settings._SYNC_ACCOUNT + "='foo' AND " in testSettings()
894 assertStoredValue(ContactsContract.Settings.CONTENT_URI, in testSettings()
903 assertStoredValue(Settings.CONTENT_URI, Settings._SYNC_ACCOUNT + "='foo' AND " in testSettings()
DBaseContactsProvider2Test.java895 protected void assertStoredValue(Uri contentUri, long id, String column, Object expectedValue) { in assertStoredValue() method in BaseContactsProvider2Test
896 assertStoredValue(ContentUris.withAppendedId(contentUri, id), column, expectedValue); in assertStoredValue()
899 protected void assertStoredValue(Uri rowUri, String column, Object expectedValue) { in assertStoredValue() method in BaseContactsProvider2Test
908 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.java825 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
827 assertStoredValue(getContactUriForRawContact(rawContactId4), in testReAggregateToConnectedComponent()
838 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
840 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
843 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
845 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
848 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
850 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
1400 assertStoredValue(nameUri1, Data.IS_SUPER_PRIMARY, 0); in testMergedSuperPrimaryName_changeSuperPrimary()
1401 assertStoredValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
[all …]
DContactAggregator2Test.java841 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
843 assertStoredValue(getContactUriForRawContact(rawContactId4), in testReAggregateToConnectedComponent()
854 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
856 assertStoredValue(getContactUriForRawContact(rawContactId1), in testReAggregateToConnectedComponent()
859 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
861 assertStoredValue(getContactUriForRawContact(rawContactId3), in testReAggregateToConnectedComponent()
864 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
866 assertStoredValue(getContactUriForRawContact(rawContactId5), in testReAggregateToConnectedComponent()
1408 assertStoredValue(nameUri1, Data.IS_SUPER_PRIMARY, 0); in testMergedSuperPrimaryName_changeSuperPrimary()
1409 assertStoredValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
[all …]