/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/MediaProvider/tests/src/com/android/providers/media/util/ |
D | SQLiteTokenizerTest.java | 35 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()
|
D | SQLiteQueryBuilderTest.java | 96 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/ |
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/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/providers/MediaProvider/src/com/android/providers/media/util/ |
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()
|
D | DatabaseUtils.java | 197 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()
|
D | SQLiteQueryBuilder.java | 521 final String sql; in query() local
|
/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/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/robolectric_tests/src/com/android/launcher3/provider/ |
D | RestoreDbTaskTest.java | 87 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/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | BackupRestoreTest.java | 169 private static int getCount(SQLiteDatabase db, String sql) { in getCount()
|
/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/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 785 String sql = "update favorites set intent = replace(intent, " in handleOneTimeDataUpgrade() local
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | DatabaseHelperTest.java | 579 private static String normalize(String sql) { in normalize()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 3751 static long queryIdWithOneArg(SQLiteDatabase db, String sql, String sqlArgument) { in queryIdWithOneArg() 3766 static long insertWithOneArgAndReturnId(SQLiteDatabase db, String sql, String sqlArgument) { in insertWithOneArgAndReturnId()
|
D | ContactsProvider2.java | 8965 String sql = "SELECT " + Photo.PHOTO + " FROM " + Views.DATA + " WHERE " + selection; in openPhotoAssetFile() local
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 2206 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
|