Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseUtilsTest.java19 import static android.database.DatabaseUtils.bindSelection;
44 bindSelection(null, ARGS)); in testBindSelection_none()
46 bindSelection("", ARGS)); in testBindSelection_none()
48 bindSelection("foo=bar", ARGS)); in testBindSelection_none()
54 bindSelection("foo=?", ARGS)); in testBindSelection_normal()
56 bindSelection("foo=? AND bar=?", ARGS)); in testBindSelection_normal()
58 bindSelection("foo=? AND bar=? AND meow=?", ARGS)); in testBindSelection_normal()
64 bindSelection("BETWEEN? AND ?", 5, 10)); in testBindSelection_whitespace()
66 bindSelection("IN?", "foo")); in testBindSelection_whitespace()
72 bindSelection("foo=?10 AND bar=? AND meow=?1", in testBindSelection_indexed()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java301 public static @Nullable String bindSelection(@Nullable String selection, in bindSelection() method in DatabaseUtils