Searched refs:bindSelection (Results 1 – 4 of 4) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | DatabaseUtilsTest.java | 32 import static com.android.providers.media.util.DatabaseUtils.bindSelection; 80 bindSelection(null, ARGS)); in testBindSelection_none() 82 bindSelection("", ARGS)); in testBindSelection_none() 84 bindSelection("foo=bar", ARGS)); in testBindSelection_none() 90 bindSelection("foo=?", ARGS)); in testBindSelection_normal() 92 bindSelection("foo=? AND bar=?", ARGS)); in testBindSelection_normal() 94 bindSelection("foo=? AND bar=? AND meow=?", ARGS)); in testBindSelection_normal() 100 bindSelection("BETWEEN? AND ?", 5, 10)); in testBindSelection_whitespace() 102 bindSelection("IN?", "foo")); in testBindSelection_whitespace() 108 bindSelection("foo=?10 AND bar=? AND meow=?1", in testBindSelection_indexed() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | SQLiteQueryBuilder.java | 26 import static com.android.providers.media.util.DatabaseUtils.bindSelection; 944 sql.append(bindSelection(GET_ID_FOR_INSERT_CLAUSE, 989 sql.append(bindSelection(GET_ID_FOR_UPDATE_CLAUSE,
|
D | DatabaseUtils.java | 69 public static @Nullable String bindSelection(@Nullable String selection, in bindSelection() method in DatabaseUtils 517 return DatabaseUtils.bindSelection(sb.toString(), args); in bindList()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 1873 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1875 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1877 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1882 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1884 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1889 options.add(DatabaseUtils.bindSelection("media_type=?", in getWhereClauseForMatchableVisibleFromFilePath() 1900 options.add(DatabaseUtils.bindSelection(matchSharedPackagesClause)); in getWhereClauseForMatchableVisibleFromFilePath() 3962 final String ownerPackageMatchClause = DatabaseUtils.bindSelection( in getIdIfPathOwnedByPackages() 4460 qb.appendWhereStandalone(DatabaseUtils.bindSelection(selection, selectionArgs)); in appendWhereStandalone() 4706 DatabaseUtils.bindSelection(matchSharedPackagesClause in getQueryBuilderInternal() [all …]
|