Home
last modified time | relevance | path

Searched refs:getEqualityClause (Results 1 – 6 of 6) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java20 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
216 (hasId() ? getEqualityClause(BaseColumns._ID, getId()) : null), in getWhereClause()
217 (hasSourcePackage() ? getEqualityClause(SOURCE_PACKAGE_FIELD, in getWhereClause()
413 return getEqualityClause(Voicemails.SOURCE_PACKAGE, getCallingPackage_()); in getPackageRestrictionClause()
DCallLogProvider.java20 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
79 private static final String EXCLUDE_HIDDEN_SELECTION = getEqualityClause(
245 selectionBuilder.addClause(getEqualityClause(Calls._ID, in query()
381 selectionBuilder.addClause(getEqualityClause(Calls._ID, parseCallIdFromUri(uri))); in update()
DVoicemailContentTable.java20 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
282 return getEqualityClause(Calls.TYPE, Calls.VOICEMAIL_TYPE); in getCallTypeClause()
DContactMetadataProvider.java52 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
143 selectionBuilder.addClause(getEqualityClause(MetadataSync._ID, in query()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DDBQueryUtilsTest.java41 assertEquals("(foo = 'bar')", DbQueryUtils.getEqualityClause("foo", "bar")); in testGetEqualityClause()
42 assertEquals("(foo = 2)", DbQueryUtils.getEqualityClause("foo", 2)); in testGetEqualityClause()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DDbQueryUtils.java34 public static String getEqualityClause(String field, String value) { in getEqualityClause() method in DbQueryUtils
39 public static String getEqualityClause(String field, long value) { in getEqualityClause() method in DbQueryUtils