Home
last modified time | relevance | path

Searched refs:sqlString (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp297 jstring sqlString) { in nativePrepareStatement() argument
300 jsize sqlLength = env->GetStringLength(sqlString); in nativePrepareStatement()
301 const jchar* sql = env->GetStringCritical(sqlString, NULL); in nativePrepareStatement()
305 env->ReleaseStringCritical(sqlString, sql); in nativePrepareStatement()
311 const char *query = env->GetStringUTFChars(sqlString, NULL); in nativePrepareStatement()
317 env->ReleaseStringUTFChars(sqlString, query); in nativePrepareStatement()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java430 public static void appendEscapedSQLString(StringBuilder sb, String sqlString) { in appendEscapedSQLString() argument
432 if (sqlString.indexOf('\'') != -1) { in appendEscapedSQLString()
433 int length = sqlString.length(); in appendEscapedSQLString()
435 char c = sqlString.charAt(i); in appendEscapedSQLString()
442 sb.append(sqlString); in appendEscapedSQLString()