Home
last modified time | relevance | path

Searched defs:sql (Results 1 – 20 of 20) 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/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/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/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/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/tests/src/com/android/launcher3/provider/
DRestoreDbTaskTest.java74 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/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/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java283 private static String normalize(String sql) { in normalize()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java682 String sql = "update favorites set intent = replace(intent, " in handleOneTimeDataUpgrade() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java3821 static long queryIdWithOneArg(SQLiteDatabase db, String sql, String sqlArgument) { in queryIdWithOneArg()
3836 static long insertWithOneArgAndReturnId(SQLiteDatabase db, String sql, String sqlArgument) { in insertWithOneArgAndReturnId()
DContactsProvider2.java8919 String sql = "SELECT " + Photo.PHOTO + " FROM " + Views.DATA + " WHERE " + selection; in openPhotoAssetFile() local
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java2158 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
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java6418 static @Nullable String maybeBalance(@Nullable String sql) { in maybeBalance()