Home
last modified time | relevance | path

Searched refs:SelectionBuilder (Results 1 – 5 of 5) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DSelectionBuilderTest.java29 assertEquals(null, new SelectionBuilder(null).build()); in testEmptyClauses()
30 assertEquals(null, new SelectionBuilder("").build()); in testEmptyClauses()
31 assertEquals(null, new SelectionBuilder("").addClause(null).build()); in testEmptyClauses()
32 assertEquals(null, new SelectionBuilder(null).addClause("").build()); in testEmptyClauses()
33 assertEquals(null, new SelectionBuilder(null).addClause("").addClause(null).build()); in testEmptyClauses()
37 assertEquals("(A)", new SelectionBuilder("A").build()); in testNonEmptyClauses()
38 assertEquals("(A) AND (B=bar) AND (C='1')", new SelectionBuilder("A") in testNonEmptyClauses()
44 assertEquals("(A) AND (B) AND (C)", new SelectionBuilder("A") in testNonEmptyClauses()
53 assertEquals("(A)", new SelectionBuilder(null).addClause("A").build()); in testNonEmptyClauses()
54 assertEquals("(A)", new SelectionBuilder("").addClause("A").build()); in testNonEmptyClauses()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java45 import com.android.providers.contacts.util.SelectionBuilder;
204 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in query()
219 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in update()
234 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in delete()
DCallLogProvider.java54 import com.android.providers.contacts.util.SelectionBuilder;
327 final SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in queryInternal()
526 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in updateInternal()
555 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in deleteInternal()
603 SelectionBuilder selectionBuilder, boolean isQuery) { in checkVoicemailPermissionAndAddRestriction()
DContactMetadataProvider.java43 import com.android.providers.contacts.util.SelectionBuilder;
133 final SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in query()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DSelectionBuilder.java27 public class SelectionBuilder { class
36 public SelectionBuilder(String baseSelection) { in SelectionBuilder() method in SelectionBuilder
45 public SelectionBuilder addClause(String clause) { in addClause()