Home
last modified time | relevance | path

Searched refs:clauses (Results 1 – 2 of 2) sorted by relevance

/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/
DDbQueryUtils.java47 public static String concatenateClausesWithAnd(String... clauses) { in concatenateClausesWithAnd() argument
48 return concatenateClausesWithOperation("AND", clauses); in concatenateClausesWithAnd()
52 public static String concatenateClausesWithOr(String... clauses) { in concatenateClausesWithOr() argument
53 return concatenateClausesWithOperation("OR", clauses); in concatenateClausesWithOr()
57 public static String concatenateClausesWithOperation(String operation, String... clauses) { in concatenateClausesWithOperation() argument
59 if (clauses.length == 1) { in concatenateClausesWithOperation()
60 return clauses[0]; in concatenateClausesWithOperation()
65 for (String clause : clauses) { in concatenateClausesWithOperation()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailFilterFactory.java89 String[] clauses = new String[filters.length];
91 clauses[i] = filters[i].getWhereClause();
93 return clauses;
97 List<String> clauses = new ArrayList<String>();
99 clauses.add(getEqualityClause(Voicemails.IS_READ, fieldMatch.isRead() ? "1" : "0"));
102 clauses.add(getEqualityClause(Voicemails.NUMBER, fieldMatch.getNumber()));
105 clauses.add(getEqualityClause(Voicemails.SOURCE_PACKAGE,
109 clauses.add(getEqualityClause(Voicemails.SOURCE_DATA, fieldMatch.getSourceData()));
112 clauses.add(getEqualityClause(Voicemails.DURATION,
116 clauses.add(getEqualityClause(Voicemails.DATE,
[all …]