Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DDatabaseUtilsTest.java32 import static com.android.providers.media.util.DatabaseUtils.bindSelection;
81 bindSelection(null, ARGS)); in testBindSelection_none()
83 bindSelection("", ARGS)); in testBindSelection_none()
85 bindSelection("foo=bar", ARGS)); in testBindSelection_none()
91 bindSelection("foo=?", ARGS)); in testBindSelection_normal()
93 bindSelection("foo=? AND bar=?", ARGS)); in testBindSelection_normal()
95 bindSelection("foo=? AND bar=? AND meow=?", ARGS)); in testBindSelection_normal()
101 bindSelection("BETWEEN? AND ?", 5, 10)); in testBindSelection_whitespace()
103 bindSelection("IN?", "foo")); in testBindSelection_whitespace()
109 bindSelection("foo=?10 AND bar=? AND meow=?1", in testBindSelection_indexed()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DAccessChecker.java59 import static com.android.providers.media.util.DatabaseUtils.bindSelection;
413 return bindSelection("media_type=?", mediaType); in getWhereForMediaTypeMatch()
418 return bindSelection("volume_name=?", MediaStore.VOLUME_EXTERNAL_PRIMARY); in getWhereForExternalPrimaryMatch()
DMediaProvider.java5222 final String ownerPackageMatchClause = DatabaseUtils.bindSelection(
5729 qb.appendWhereStandalone(DatabaseUtils.bindSelection(selection, selectionArgs));
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteQueryBuilder.java26 import static com.android.providers.media.util.DatabaseUtils.bindSelection;
973 sql.append(bindSelection(GET_ID_FOR_INSERT_CLAUSE,
1018 sql.append(bindSelection(GET_ID_FOR_UPDATE_CLAUSE,
DDatabaseUtils.java68 public static @Nullable String bindSelection(@Nullable String selection, in bindSelection() method in DatabaseUtils
548 return DatabaseUtils.bindSelection(sb.toString(), args); in bindList()