Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp286 jstring sqlString) { in nativePrepareStatement() argument
289 jsize sqlLength = env->GetStringLength(sqlString); in nativePrepareStatement()
290 const jchar* sql = env->GetStringCritical(sqlString, NULL); in nativePrepareStatement()
294 env->ReleaseStringCritical(sqlString, sql); in nativePrepareStatement()
300 const char *query = env->GetStringUTFChars(sqlString, NULL); in nativePrepareStatement()
306 env->ReleaseStringUTFChars(sqlString, query); in nativePrepareStatement()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java338 public static void appendEscapedSQLString(StringBuilder sb, String sqlString) { in appendEscapedSQLString() argument
340 if (sqlString.indexOf('\'') != -1) { in appendEscapedSQLString()
341 int length = sqlString.length(); in appendEscapedSQLString()
343 char c = sqlString.charAt(i); in appendEscapedSQLString()
350 sb.append(sqlString); in appendEscapedSQLString()