Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp284 jstring sqlString) { in nativePrepareStatement() argument
287 jsize sqlLength = env->GetStringLength(sqlString); in nativePrepareStatement()
288 const jchar* sql = env->GetStringCritical(sqlString, NULL); in nativePrepareStatement()
292 env->ReleaseStringCritical(sqlString, sql); in nativePrepareStatement()
298 const char *query = env->GetStringUTFChars(sqlString, NULL); in nativePrepareStatement()
304 env->ReleaseStringUTFChars(sqlString, query); in nativePrepareStatement()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java340 public static void appendEscapedSQLString(StringBuilder sb, String sqlString) { in appendEscapedSQLString() argument
342 if (sqlString.indexOf('\'') != -1) { in appendEscapedSQLString()
343 int length = sqlString.length(); in appendEscapedSQLString()
345 char c = sqlString.charAt(i); in appendEscapedSQLString()
352 sb.append(sqlString); in appendEscapedSQLString()