Home
last modified time | relevance | path

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

/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DSearchIndexManagerTest.java122 assertStoredValue(buildSearchUri("CI"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
124 assertStoredValue(buildSearchUri("CC"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
125 assertStoredValue(buildSearchUri("C"), SearchSnippets.SNIPPET, null); in testSearchByChineseName()
183 assertStoredValue( in testSearchByKoreanNameWithTwoCharactersFamilyName()
193 assertStoredValue( in testSearchByKoreanNameWithTwoCharactersFamilyName()
280 assertStoredValue( in testSnippetArgs()
334 assertStoredValue(buildSearchUri("ㅎ"), SearchSnippets.SNIPPET, null); in testHangulNameLeadConsonantAsYouTypeSearch()
440 assertStoredValue(buildSearchUri("john@d"), SearchSnippets.SNIPPET, in testSearchByEmailAddress()
453 assertStoredValue(buildSearchUri("8004664"), SearchSnippets.SNIPPET, in testSearchByPhoneNumber()
455 assertStoredValue(buildSearchUri("650-2"), SearchSnippets.SNIPPET, in testSearchByPhoneNumber()
[all …]
H A 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()
122 assertStoredValue(lookupUri1, Contacts._ID, contactId1); in testLookupKeySameSourceIdDifferentAccounts()
125 assertStoredValue(lookupUri2, Contacts._ID, contactId2); in testLookupKeySameSourceIdDifferentAccounts()
157 assertStoredValue( in testLookupKeyChoosingLargestContact()
160 assertStoredValue( in testLookupKeyChoosingLargestContact()
[all …]
H A DContactsProvider2Test.java1223 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1231 assertStoredValue(dataUri, Data.IS_PRIMARY, "1"); in testDataInsertAndUpdateHashId()
1232 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1263 assertStoredValue(dataUri, Data.HASH_ID, null); in testDataInsertAndUpdateHashId()
1281 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
1287 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
4234 assertStoredValue(Settings.CONTENT_URI, in testSettingsInsertionPreventsDuplicates()
4239 assertStoredValue(Settings.CONTENT_URI, in testSettingsInsertionPreventsDuplicates()
6358 assertStoredValue(Uri.withAppendedPath( in testAccountDeletion()
6372 assertStoredValue(Uri.withAppendedPath( in testAccountDeletion()
[all …]
H A 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()
H A 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
H A DGroupsTest.java188 assertStoredValue(uri, Groups.DELETED, "1"); in testGroupDeletion1()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
H A 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()
1400 assertStoredValue(nameUri1, Data.IS_SUPER_PRIMARY, 0); in testMergedSuperPrimaryName_changeSuperPrimary()
1401 assertStoredValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
1754 assertStoredValue(uri, Data.IS_SUPER_PRIMARY, 1); in testAggregation_clearSuperPrimarySingleMimetype()
[all …]
H A 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()
1408 assertStoredValue(nameUri1, Data.IS_SUPER_PRIMARY, 0); in testMergedSuperPrimaryName_changeSuperPrimary()
1409 assertStoredValue(nameUri2, Data.IS_SUPER_PRIMARY, 1); in testMergedSuperPrimaryName_changeSuperPrimary()
1764 assertStoredValue(uri, Data.IS_SUPER_PRIMARY, 1); in testAggregation_clearSuperPrimarySingleMimetype()
[all …]