Home
last modified time | relevance | path

Searched defs:sql (Results 1 – 25 of 25) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/sqlite/
DSqlCheckerTest.java28 private ArrayList<String> getTokens(String sql) { in getTokens()
36 private void checkTokens(String sql, String spaceSeparatedExpectedTokens) { in checkTokens()
44 private void assertInvalidSql(String sql, String message) { in assertInvalidSql()
167 private void checkEnsureNoInvalidTokens(boolean ok, String sql, String... tokens) { in checkEnsureNoInvalidTokens()
203 private void checkEnsureSingleTokenOnly(boolean ok, String sql, String... tokens) { in checkEnsureSingleTokenOnly()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/util/
DSqliteTokenFinderTest.java34 private List<Pair<Integer, String>> getTokens(String sql) { in getTokens()
45 private void checkTokens(String sql, Pair<Integer, String>... tokens) { in checkTokens()
51 private void checkTokensRegular(String sql, @Nullable String tokens) { in checkTokensRegular()
63 private void assertInvalidSql(String sql, String message) { in assertInvalidSql()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DSQLiteTokenizerTest.java35 private List<String> getTokens(String sql) { in getTokens()
39 private void checkTokens(String sql, String spaceSeparatedExpectedTokens) { in checkTokens()
47 private void assertInvalidSql(String sql, String message) { in assertInvalidSql()
DSQLiteQueryBuilderTest.java96 String sql = sqliteQueryBuilder.buildQuery(new String[] { "age", "address" }, in testSetDistinct() local
134 String sql = sqliteQueryBuilder.buildQuery(new String[] { "EmployeeName", "EmployeeAge" }, in testSetProjectionMap() local
170 String sql = sqliteQueryBuilder.buildQuery(new String[] { SQLiteQueryBuilder.ROWID_COLUMN }, in testAllowRowid() local
200 String sql = SQLiteQueryBuilder.buildQueryString(false, "Employee", in testBuildQueryString() local
221 String sql = sqliteQueryBuilder.buildQuery(DEFAULT_TEST_PROJECTION, in testBuildQuery() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/
DSqlChecker.java82 private static InvalidSqlException genException(String message, String sql) { in genException()
86 private void throwIfContainsToken(String token, String sql) { in throwIfContainsToken()
96 public void ensureNoInvalidTokens(@Nullable String sql) { in ensureNoInvalidTokens()
104 public void ensureSingleTokenOnly(@Nullable String sql) { in ensureSingleTokenOnly()
140 static void findTokens(@Nullable String sql, int options, Consumer<String> checker) { in findTokens()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSQLiteTokenizer.java56 private static IllegalArgumentException genException(String message, String sql) { in genException()
77 public static List<String> tokenize(@Nullable String sql, int options) { in tokenize()
89 public static void tokenize(@Nullable String sql, int options, Consumer<String> checker) { in tokenize()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteTokenizer.java56 private static IllegalArgumentException genException(String message, String sql) { in genException()
77 public static List<String> tokenize(@Nullable String sql, int options) { in tokenize()
89 public static void tokenize(@Nullable String sql, int options, Consumer<String> checker) { in tokenize()
DDatabaseUtils.java197 public static @Nullable String maybeBalance(@Nullable String sql) { in maybeBalance()
452 public static long executeInsert(@NonNull SQLiteDatabase db, @NonNull String sql, in executeInsert()
463 public static int executeUpdateDelete(@NonNull SQLiteDatabase db, @NonNull String sql, in executeUpdateDelete()
DSQLiteQueryBuilder.java521 final String sql; in query() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DContactsTableUtil.java93 final String sql = "UPDATE " + Tables.CONTACTS in buildUpdateLastUpdateSql() local
124 final String sql = "select " + ContactsContract.RawContacts.CONTACT_ID + ", count(1)" in deleteContactIfSingleton() local
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java215 private void explainQueryPlan(final SQLiteDatabase db, final String sql, in explainQueryPlan()
319 public Cursor rawQuery(final String sql, final String[] args) { in rawQuery()
423 public void execSQL(final String sql, final String[] bindArgs) { in execSQL()
441 public void execSQL(final String sql) { in execSQL()
459 public int execSQLUpdateDelete(final String sql) { in execSQLUpdateDelete()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java99 private void logExecSql(SQLiteDatabase db, String sql) { in logExecSql()
300 StringBuilder sql = new StringBuilder("CREATE TABLE "); in createTables() local
425 StringBuilder sql = new StringBuilder("DROP TABLE IF EXISTS "); in dropTables() local
442 StringBuilder sql = new StringBuilder("DELETE FROM "); in deleteAll() local
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/provider/
DRestoreDbTaskTest.java87 private int getCount(SQLiteDatabase db, String sql) { in getCount()
/packages/providers/TvProvider/src/com/android/providers/tv/util/
DSqliteTokenFinder.java70 public static void findTokens(@Nullable String sql, Consumer<Pair<Integer, String>> checker) { in findTokens()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBackupRestoreTest.java169 private static int getCount(SQLiteDatabase db, String sql) { in getCount()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator2.java192 final String sql = "SELECT " + RawContacts._ID + " FROM " + Tables.RAW_CONTACTS + in needAggregate() local
248 final String sql = in clearSuperPrimarySetting() local
293 final String sql = in buildExceptionMatchingSql() local
401 final String sql = "SELECT " + RawContactsColumns.CONCRETE_ID + " FROM " + in canBeReused() local
DAbstractContactAggregator.java751 final String sql = in buildIdentityMatchingSql() local
768 final String sql = in buildEmailMatchingSql() local
785 final String sql = in buildPhoneMatchingSql() local
912 final String sql = "UPDATE " + Tables.RAW_CONTACTS + in markAggregated() local
1397 protected final void computeAggregateData(final SQLiteDatabase db, String sql, String[] sqlArgs, in computeAggregateData()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java2525 final String sql = "SELECT _id, " + in upgradeToVersion69() local
3120 final String sql = "DROP " + cursor.getString(0) + " IF EXISTS " + name; in dropTables() local
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java785 String sql = "update favorites set intent = replace(intent, " in handleOneTimeDataUpgrade() local
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java579 private static String normalize(String sql) { in normalize()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java3751 static long queryIdWithOneArg(SQLiteDatabase db, String sql, String sqlArgument) { in queryIdWithOneArg()
3766 static long insertWithOneArgAndReturnId(SQLiteDatabase db, String sql, String sqlArgument) { in insertWithOneArgAndReturnId()
DContactsProvider2.java8965 String sql = "SELECT " + Photo.PHOTO + " FROM " + Views.DATA + " WHERE " + selection; in openPhotoAssetFile() local
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java2206 String sql = queryBuilder.buildQuery(new String[] { CHANNELS_COLUMN_LOGO }, in openLogoFile() local
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java1036 String sql, String[] selectionArgs, ContentValues... expectedValues) { in assertStoredValuesDb()
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeTvProvider.java2343 String sql = in openLogoFile() local