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.java22 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
333 (hasId() ? getEqualityClause(BaseColumns._ID, getId()) : null), in getWhereClause()
334 (hasSourcePackage() ? getEqualityClause(SOURCE_PACKAGE_FIELD, in getWhereClause()
500 return getEqualityClause(Voicemails.SOURCE_PACKAGE, getInjectedCallingPackage()); in getPackageRestrictionClause()
DCallLogProvider.java20 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
81 private static final String EXCLUDE_HIDDEN_SELECTION = getEqualityClause(
338 selectionBuilder.addClause(getEqualityClause(Calls._ID, in queryInternal()
539 selectionBuilder.addClause(getEqualityClause(Calls._ID, parseCallIdFromUri(uri))); in updateInternal()
DVoicemailContentTable.java20 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
327 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