Searched refs:throw_sqlite3_exception (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/ |
D | android_database_SQLiteCommon.cpp | 124 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle) { in throw_sqlite3_exception() function 125 throw_sqlite3_exception(env, handle, NULL); in throw_sqlite3_exception() 129 void throw_sqlite3_exception(JNIEnv* env, const char* message) { in throw_sqlite3_exception() function 130 throw_sqlite3_exception(env, NULL, message); in throw_sqlite3_exception() 136 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message) { in throw_sqlite3_exception() function 142 throw_sqlite3_exception(env, sqlite3_extended_errcode(handle), in throw_sqlite3_exception() 147 throw_sqlite3_exception(env, SQLITE_OK, "unknown error", message); in throw_sqlite3_exception() 155 throw_sqlite3_exception(env, errcode, "unknown error", message); in throw_sqlite3_exception_errcode() 161 void throw_sqlite3_exception(JNIEnv* env, int errcode, in throw_sqlite3_exception() function
|
D | android_database_SQLiteCommon.h | 33 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,
|
D | android_database_SQLiteConnection.cpp | 148 throw_sqlite3_exception(env, db, "Cannot set lookaside"); in nativeOpen() 156 throw_sqlite3_exception(env, db, "Could not open the database in read/write mode."); in nativeOpen() 164 throw_sqlite3_exception(env, db, "Could not set busy timeout"); in nativeOpen() 172 throw_sqlite3_exception(env, db, "Could not register Android SQL functions."); in nativeOpen() 204 throw_sqlite3_exception(env, connection->db, "Count not close db."); in nativeClose() 262 throw_sqlite3_exception(env, connection->db); in nativeRegisterCustomScalarFunction() 356 throw_sqlite3_exception(env, connection->db); in nativeRegisterCustomAggregateFunction() 370 throw_sqlite3_exception(env, connection->db); in nativeRegisterLocalizedCollators() 396 throw_sqlite3_exception(env, connection->db, message); in nativePrepareStatement() 495 throw_sqlite3_exception(env, connection->db, NULL); in nativeBindNull() [all …]
|
D | android_database_CursorWindow.cpp | 221 throw_sqlite3_exception(env, "Native could not read blob slot"); in nativeGetBlob() 227 throw_sqlite3_exception(env, "Native could not create new byte[]"); in nativeGetBlob() 233 throw_sqlite3_exception(env, "INTEGER data in nativeGetBlob "); in nativeGetBlob() 235 throw_sqlite3_exception(env, "FLOAT data in nativeGetBlob "); in nativeGetBlob() 260 throw_sqlite3_exception(env, "Native could not read string slot"); in nativeGetString() 284 throw_sqlite3_exception(env, "Unable to convert BLOB to string"); in nativeGetString() 373 throw_sqlite3_exception(env, "Unable to convert BLOB to string"); in nativeCopyStringToBuffer() 402 throw_sqlite3_exception(env, "Unable to convert BLOB to long"); in nativeGetLong() 433 throw_sqlite3_exception(env, "Unable to convert BLOB to double"); in nativeGetDouble()
|
D | android_database_SQLiteRawStatement.cpp | 67 throw_sqlite3_exception(env, SQLITE_RANGE, errmsg, message.c_str()); in throwInvalidParameter() 69 throw_sqlite3_exception(env, db(stmtPtr), nullptr); in throwInvalidParameter() 82 throw_sqlite3_exception(env, SQLITE_RANGE, errmsg, message.c_str()); in throwIfInvalidColumn() 93 throw_sqlite3_exception(env, db(stmtPtr), nullptr); in throwIfError() 145 throw_sqlite3_exception(env, db(stmtPtr), "failure in step()"); in step() 227 throw_sqlite3_exception(env, db(stmtPtr), "error fetching columnName()"); in columnName()
|