Home
last modified time | relevance | path

Searched refs:throw_sqlite3_exception (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/jni/
Dandroid_database_SQLiteCommon.cpp24 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle) { in throw_sqlite3_exception() function
25 throw_sqlite3_exception(env, handle, NULL); in throw_sqlite3_exception()
29 void throw_sqlite3_exception(JNIEnv* env, const char* message) { in throw_sqlite3_exception() function
30 throw_sqlite3_exception(env, NULL, message); in throw_sqlite3_exception()
36 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message) { in throw_sqlite3_exception() function
42 throw_sqlite3_exception(env, sqlite3_extended_errcode(handle), in throw_sqlite3_exception()
47 throw_sqlite3_exception(env, SQLITE_OK, "unknown error", message); in throw_sqlite3_exception()
55 throw_sqlite3_exception(env, errcode, "unknown error", message); in throw_sqlite3_exception_errcode()
61 void throw_sqlite3_exception(JNIEnv* env, int errcode, in throw_sqlite3_exception() function
Dandroid_database_SQLiteCommon.h33 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle);
36 void throw_sqlite3_exception(JNIEnv* env, const char* message);
41 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message);
46 void throw_sqlite3_exception(JNIEnv* env, int errcode,
Dandroid_database_SQLiteConnection.cpp140 throw_sqlite3_exception(env, db, "Could not open the database in read/write mode."); in nativeOpen()
148 throw_sqlite3_exception(env, db, "Could not set busy timeout"); in nativeOpen()
156 throw_sqlite3_exception(env, db, "Could not register Android SQL functions."); in nativeOpen()
185 throw_sqlite3_exception(env, connection->db, "Count not close db."); in nativeClose()
265 throw_sqlite3_exception(env, connection->db); in nativeRegisterCustomFunction()
279 throw_sqlite3_exception(env, connection->db); in nativeRegisterLocalizedCollators()
305 throw_sqlite3_exception(env, connection->db, message); in nativePrepareStatement()
373 throw_sqlite3_exception(env, connection->db, NULL); in nativeBindNull()
384 throw_sqlite3_exception(env, connection->db, NULL); in nativeBindLong()
395 throw_sqlite3_exception(env, connection->db, NULL); in nativeBindDouble()
[all …]
Dandroid_database_CursorWindow.cpp186 throw_sqlite3_exception(env, "Native could not create new byte[]"); in nativeGetBlob()
192 throw_sqlite3_exception(env, "INTEGER data in nativeGetBlob "); in nativeGetBlob()
194 throw_sqlite3_exception(env, "FLOAT data in nativeGetBlob "); in nativeGetBlob()
239 throw_sqlite3_exception(env, "Unable to convert BLOB to string"); in nativeGetString()
328 throw_sqlite3_exception(env, "Unable to convert BLOB to string"); in nativeCopyStringToBuffer()
357 throw_sqlite3_exception(env, "Unable to convert BLOB to long"); in nativeGetLong()
388 throw_sqlite3_exception(env, "Unable to convert BLOB to double"); in nativeGetDouble()