/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/sqlite/ |
D | SqlCheckerTest.java | 28 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/ |
D | SqliteTokenFinderTest.java | 34 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/ |
D | SqlChecker.java | 82 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/ |
D | ContactsTableUtil.java | 93 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/ |
D | SQLiteTokenizer.java | 56 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/ |
D | DatabaseWrapper.java | 215 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/ |
D | EntrySchema.java | 99 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/ |
D | RestoreDbTaskTest.java | 74 private int getCount(SQLiteDatabase db, String sql) { in getCount()
|
/packages/providers/TvProvider/src/com/android/providers/tv/util/ |
D | SqliteTokenFinder.java | 70 public static void findTokens(@Nullable String sql, Consumer<Pair<Integer, String>> checker) { in findTokens()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator2.java | 192 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
|
D | AbstractContactAggregator.java | 751 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/ |
D | CalendarDatabaseHelper.java | 2525 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/ |
D | DatabaseHelperTest.java | 283 private static String normalize(String sql) { in normalize()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 682 String sql = "update favorites set intent = replace(intent, " in handleOneTimeDataUpgrade() local
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 3821 static long queryIdWithOneArg(SQLiteDatabase db, String sql, String sqlArgument) { in queryIdWithOneArg() 3836 static long insertWithOneArgAndReturnId(SQLiteDatabase db, String sql, String sqlArgument) { in insertWithOneArgAndReturnId()
|
D | ContactsProvider2.java | 8919 String sql = "SELECT " + Photo.PHOTO + " FROM " + Views.DATA + " WHERE " + selection; in openPhotoAssetFile() local
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 2158 String sql = queryBuilder.buildQuery(new String[] { CHANNELS_COLUMN_LOGO }, in openLogoFile() local
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 1036 String sql, String[] selectionArgs, ContentValues... expectedValues) { in assertStoredValuesDb()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/ |
D | FakeTvProvider.java | 2343 String sql = in openLogoFile() local
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 6418 static @Nullable String maybeBalance(@Nullable String sql) { in maybeBalance()
|