Lines Matching refs:resolver
416 ContentResolver resolver = getContentResolver(); in createRawContact() local
419 results = resolver.applyBatch(ContactsContract.AUTHORITY, operations); in createRawContact()
425 callbackIntent.setData(RawContacts.getContactLookupUri(resolver, rawContactUri)); in createRawContact()
506 final ContentResolver resolver = getContentResolver(); in saveContact() local
537 … final int subsetCount = applyDiffSubset(diff, numberProcessed, results, resolver); in saveContact()
563 Cursor c = resolver.query(Profile.CONTENT_URI, in saveContact()
581 lookupUri = RawContacts.getContactLookupUri(resolver, rawContactUri); in saveContact()
629 resolver, sb.toString(), null, null); in saveContact()
681 ContentProviderResult[] results, ContentResolver resolver) in applyDiffSubset() argument
686 final ContentProviderResult[] subsetResult = resolver.applyBatch(ContactsContract in applyDiffSubset()
786 final ContentResolver resolver = getContentResolver(); in createGroup() local
796 addMembersToGroup(resolver, rawContactsToAdd, ContentUris.parseId(groupUri)); in createGroup()
939 final ContentResolver resolver = getContentResolver(); in updateGroup() local
946 resolver.update(groupUri, values, null, null); in updateGroup()
950 addMembersToGroup(resolver, rawContactsToAdd, groupId); in updateGroup()
951 removeMembersFromGroup(resolver, rawContactsToRemove, groupId); in updateGroup()
958 private void addMembersToGroup(ContentResolver resolver, long[] rawContactsToAdd, in addMembersToGroup() argument
994 resolver.applyBatch(ContactsContract.AUTHORITY, rawContactOperations); in addMembersToGroup()
1012 private static void removeMembersFromGroup(ContentResolver resolver, long[] rawContactsToRemove, in removeMembersFromGroup() argument
1021 resolver.delete(Data.CONTENT_URI, Data.RAW_CONTACT_ID + "=? AND " + in removeMembersFromGroup()
1279 final ContentResolver resolver = getContentResolver(); in splitContact() local
1294 if (operations.size() > 0 && !applyOperations(resolver, operations)) { in splitContact()
1321 final ContentResolver resolver = getContentResolver(); in buildSplitTwoContacts() local
1329 if (!applyOperations(resolver, operations)) { in buildSplitTwoContacts()
1424 final ContentResolver resolver = getContentResolver(); in joinSeveralContacts() local
1435 if (!applyOperations(resolver, operations)) { in joinSeveralContacts()
1445 if (operations.size() > 0 && !applyOperations(resolver, operations)) { in joinSeveralContacts()
1517 private boolean applyOperations(ContentResolver resolver, in applyOperations() argument
1521 resolver.applyBatch(ContactsContract.AUTHORITY, operations); in applyOperations()
1560 final ContentResolver resolver = getContentResolver(); in joinContacts() local
1567 Cursor c = resolver.query(entityUri, in joinContacts()
1594 final boolean success = applyOperations(resolver, operations); in joinContacts()
1604 Uri uri = RawContacts.getContactLookupUri(resolver, in joinContacts()
1633 final ContentResolver resolver = getContentResolver(); in getRawContactIds() local
1641 final Cursor c = resolver.query(RawContacts.CONTENT_URI, in getRawContactIds()
1667 final ContentResolver resolver = getContentResolver(); in getRawContactIdsForAggregation() local
1683 final Cursor c = resolver.query(RawContacts.CONTENT_URI, in getRawContactIdsForAggregation()