Searched refs:errcode (Results 1 – 3 of 3) sorted by relevance
/aosp14/frameworks/base/core/jni/ |
H A D | android_database_SQLiteCommon.cpp | 114 static std::string sqlite3_error_code_to_msg(int errcode) { in sqlite3_error_code_to_msg() argument 115 auto it = sErrorCodesMap.find(errcode); in sqlite3_error_code_to_msg() 117 return std::to_string(errcode) + " " + it->second; in sqlite3_error_code_to_msg() 119 return std::to_string(errcode); in sqlite3_error_code_to_msg() 154 void throw_sqlite3_exception_errcode(JNIEnv* env, int errcode, const char* message) { in throw_sqlite3_exception_errcode() argument 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() argument 164 switch (errcode & 0xff) { /* mask off extended error code */ in throw_sqlite3_exception() 226 std::string errcode_msg = sqlite3_error_code_to_msg(errcode); in throw_sqlite3_exception()
|
H A D | android_database_SQLiteCommon.h | 44 void throw_sqlite3_exception_errcode(JNIEnv* env, int errcode, const char* message); 46 void throw_sqlite3_exception(JNIEnv* env, int errcode,
|
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 24037 field public static final String ERROR_CODE = "android.media.mediaplayer.errcode";
|