Home
last modified time | relevance | path

Searched refs:errcode (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/jni/
Dandroid_database_SQLiteCommon.cpp114 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()
Dandroid_database_SQLiteCommon.h44 void throw_sqlite3_exception_errcode(JNIEnv* env, int errcode, const char* message);
46 void throw_sqlite3_exception(JNIEnv* env, int errcode,
/frameworks/av/services/mediaanalytics/
Dstatsd_audiorecord.cpp97 int32_t errcode = -1; in statsd_audiorecord() local
98 if (item->getInt32("android.media.audiorecord.errcode", &errcode)) { in statsd_audiorecord()
99 metrics_proto.set_error_code(errcode); in statsd_audiorecord()
100 } else if (item->getInt32("android.media.audiorecord.lastError.code", &errcode)) { in statsd_audiorecord()
101 metrics_proto.set_error_code(errcode); in statsd_audiorecord()
Dstatsd_codec.cpp123 int32_t errcode = -1; in statsd_codec() local
124 if ( item->getInt32("android.media.mediacodec.errcode", &errcode)) { in statsd_codec()
125 metrics_proto.set_error_code(errcode); in statsd_codec()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h765 void markError(status_t errcode, const char *func) in markError() argument
766 { mLastError = errcode; mLastErrorFunc = func;} in markError()
/frameworks/base/non-updatable-api/
Dcurrent.txt25702 field public static final String ERROR_CODE = "android.media.mediaplayer.errcode";
/frameworks/base/api/
Dcurrent.txt25726 field public static final String ERROR_CODE = "android.media.mediaplayer.errcode";