Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DSelectionBuilderTest.java31 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()
39 .addClause("B=bar") in testNonEmptyClauses()
40 .addClause("C='1'") in testNonEmptyClauses()
45 .addClause("") in testNonEmptyClauses()
46 .addClause("B") in testNonEmptyClauses()
47 .addClause(null) in testNonEmptyClauses()
48 .addClause("C") in testNonEmptyClauses()
49 .addClause(null) in testNonEmptyClauses()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DSelectionBuilder.java38 addClause(baseSelection); in SelectionBuilder()
45 public SelectionBuilder addClause(String clause) { in addClause() method in SelectionBuilder
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java205 selectionBuilder.addClause(getPackageRestrictionClause(true/*isQuery*/)); in query()
220 selectionBuilder.addClause(getPackageRestrictionClause(false/*isQuery*/)); in update()
235 selectionBuilder.addClause(getPackageRestrictionClause(false/*isQuery*/)); in delete()
DCallLogProvider.java329 selectionBuilder.addClause(EXCLUDE_HIDDEN_SELECTION); in queryInternal()
337 selectionBuilder.addClause(getEqualityClause(Calls._ID, in queryInternal()
536 selectionBuilder.addClause(getEqualityClause(Calls._ID, parseCallIdFromUri(uri))); in updateInternal()
611 selectionBuilder.addClause(EXCLUDE_VOICEMAIL_SELECTION); in checkVoicemailPermissionAndAddRestriction()
DContactMetadataProvider.java143 selectionBuilder.addClause(getEqualityClause(MetadataSync._ID, in query()