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;
35 bindSelection(null, ARGS)); in testBindSelection_none()
37 bindSelection("", ARGS)); in testBindSelection_none()
39 bindSelection("foo=bar", ARGS)); in testBindSelection_none()
45 bindSelection("foo=?", ARGS)); in testBindSelection_normal()
47 bindSelection("foo=? AND bar=?", ARGS)); in testBindSelection_normal()
49 bindSelection("foo=? AND bar=? AND meow=?", ARGS)); in testBindSelection_normal()
55 bindSelection("BETWEEN? AND ?", 5, 10)); in testBindSelection_whitespace()
57 bindSelection("IN?", "foo")); in testBindSelection_whitespace()
63 bindSelection("foo=?10 AND bar=? AND meow=?1", in testBindSelection_indexed()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java234 public static @Nullable String bindSelection(@Nullable String selection, in bindSelection() method in DatabaseUtils