/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsResponse.java | 30 * errorCode: See 3GPP 27.005, 3.2.5 for GSM/UMTS, 35 public SmsResponse(int messageRef, String ackPdu, int errorCode) { 38 mErrorCode = errorCode;
|
/system/chre/platform/shared/include/chre/target_platform/ |
platform_gnss_base.h | 41 static void locationStatusChangeCallback(bool enabled, uint8_t errorCode); 43 static void measurementStatusChangeCallback(bool enabled, uint8_t errorCode);
|
/external/icu/icu4c/source/test/intltest/ |
ucdtest.cpp | 35 UErrorCode errorCode=U_ZERO_ERROR; 36 unknownPropertyNames=new U_NAMESPACE_QUALIFIER Hashtable(errorCode); 37 if(U_FAILURE(errorCode)) { 43 unknownPropertyNames->puti(UnicodeString(ignorePropNames[i], -1, US_INV), 1, errorCode); 179 UErrorCode errorCode=U_ZERO_ERROR; 180 me->unknownPropertyNames->puti(propName, 1, errorCode); 211 UErrorCode errorCode=U_ZERO_ERROR; 212 u_parseDelimitedFile(path, ';', fields, 2, derivedPropsLineFn, this, &errorCode); 213 if(U_FAILURE(errorCode)) { 214 errln("error parsing DerivedCoreProperties.txt: %s\n", u_errorName(errorCode)); [all...] |
itutil.cpp | 15 #include "unicode/errorcode.h" 155 ErrorCode errorCode; 156 if(errorCode.get()!=U_ZERO_ERROR || !errorCode.isSuccess() || errorCode.isFailure()) { 157 errln("ErrorCode did not initialize properly"); 160 errorCode.assertSuccess(); 161 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) { 162 errln("ErrorCode did not format error message string properly") [all...] |
/external/icu/icu4c/source/i18n/ |
collationruleparser.h | 80 const char *&errorReason, UErrorCode &errorCode) = 0; 86 const char *&errorReason, UErrorCode &errorCode) = 0; 89 UErrorCode &errorCode); 92 UErrorCode &errorCode); 101 const char *&errorReason, UErrorCode &errorCode) = 0; 109 CollationRuleParser(const CollationData *base, UErrorCode &errorCode); 131 UErrorCode &errorCode); 148 void parse(const UnicodeString &ruleString, UErrorCode &errorCode); 149 void parseRuleChain(UErrorCode &errorCode); 150 int32_t parseResetAndPosition(UErrorCode &errorCode); [all...] |
dayperiodrules.h | 49 static const DayPeriodRules *getInstance(const Locale &locale, UErrorCode &errorCode); 56 double getMidPointForDayPeriod(DayPeriod dayPeriod, UErrorCode &errorCode) const; 64 static void U_CALLCONV load(UErrorCode &errorCode); 74 int32_t getStartHourForDayPeriod(DayPeriod dayPeriod, UErrorCode &errorCode) const; 80 int32_t getEndHourForDayPeriod(DayPeriod dayPeriod, UErrorCode &errorCode) const;
|
rulebasedcollator.cpp | 154 const RuleBasedCollator *base, UErrorCode &errorCode) 162 if(U_FAILURE(errorCode)) { return; } 164 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 167 const CollationTailoring *root = CollationRoot::getRoot(errorCode); 168 if(U_FAILURE(errorCode)) { return; } 170 errorCode = U_UNSUPPORTED_ERROR; 175 errorCode = U_MEMORY_ALLOCATION_ERROR; 178 CollationDataReader::read(base->tailoring, bin, length, *t, errorCode); 179 if(U_FAILURE(errorCode)) { return; } 181 adoptTailoring(t.orphan(), errorCode); [all...] |
utf16collationiterator.h | 57 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 59 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 67 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 73 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 75 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); 104 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 106 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 109 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 113 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 115 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); [all...] |
collationdatabuilder.cpp | 137 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 138 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 141 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 142 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); 145 virtual uint32_t getCE32FromBuilderData(uint32_t ce32, UErrorCode &errorCode); 181 UErrorCode errorCode = U_ZERO_ERROR; 182 while(U_SUCCESS(errorCode) && pos < s->length()) { 195 appendCEsFromCE32(d, c, ce32, /*forward=*/ TRUE, errorCode); 196 U_ASSERT(U_SUCCESS(errorCode)); 222 DataBuilderCollationIterator::nextCodePoint(UErrorCode & /*errorCode*/) { [all...] |
collationdatabuilder.h | 63 CollationDataBuilder(UErrorCode &errorCode); 67 void initForTailoring(const CollationData *b, UErrorCode &errorCode); 95 int64_t getSingleCE(UChar32 c, UErrorCode &errorCode) const; 99 UErrorCode &errorCode); 107 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode); 109 uint32_t ce32, UErrorCode &errorCode); 120 * @param errorCode ICU in/out error code 125 UErrorCode &errorCode); 136 * @param errorCode ICU in/out error code 141 UErrorCode &errorCode); [all...] |
collationbuilder.cpp | 62 const char *&errorReason, UErrorCode &errorCode); 71 const char *& /*errorReason*/, UErrorCode &errorCode) { 72 CollationLoader::loadRules(localeID, collationType, rules, errorCode); 95 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, UErrorCode &errorCode) 103 internalBuildTailoring(rules, UCOL_DEFAULT, UCOL_DEFAULT, NULL, NULL, errorCode); 107 UErrorCode &errorCode) 115 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); 120 UErrorCode &errorCode) 128 internalBuildTailoring(rules, UCOL_DEFAULT, decompositionMode, NULL, NULL, errorCode); 134 UErrorCode &errorCode) [all...] |
collationiterator.h | 62 inline void append(int64_t ce, UErrorCode &errorCode) { 63 if(length < INITIAL_CAPACITY || ensureAppendCapacity(1, errorCode)) { 72 UBool ensureAppendCapacity(int32_t appCap, UErrorCode &errorCode); 74 inline UBool incLength(UErrorCode &errorCode) { 77 if(length < INITIAL_CAPACITY || ensureAppendCapacity(1, errorCode)) { 129 inline int64_t nextCE(UErrorCode &errorCode) { 135 if(!ceBuffer.incLength(errorCode)) { 139 uint32_t ce32 = handleNextCE32(c, errorCode); 170 return nextCEFromCE32(d, c, ce32, errorCode); 177 int32_t fetchCEs(UErrorCode &errorCode); [all...] |
/frameworks/minikin/tests/perftests/ |
main.cpp | 33 UErrorCode errorCode = U_ZERO_ERROR; 34 udata_setCommonData(data, &errorCode); 35 LOG_ALWAYS_FATAL_IF(U_FAILURE(errorCode)); 36 u_init(&errorCode); 37 LOG_ALWAYS_FATAL_IF(U_FAILURE(errorCode));
|
/external/icu/icu4c/source/test/cintltst/ |
udatpg_test.c | 76 UErrorCode errorCode=U_ZERO_ERROR; 82 dtpg=udatpg_open(NULL, &errorCode); 83 if(U_FAILURE(errorCode)) { 84 log_err_status(errorCode, "udatpg_open(NULL) failed - %s\n", u_errorName(errorCode)); 90 dtpg=udatpg_open("de", &errorCode); 91 if(U_FAILURE(errorCode)) { 92 log_err("udatpg_open(de) failed - %s\n", u_errorName(errorCode)); 100 dtpg2=udatpg_clone(dtpg, &errorCode); 101 if(U_FAILURE(errorCode) || dtpg2==NULL) [all...] |
trie2test.c | 520 UErrorCode errorCode; 534 errorCode=U_ZERO_ERROR; 536 utrie2_set32(trie, 1, 234, &errorCode); 538 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 540 testName, u_errorName(errorCode)); 544 errorCode=U_ZERO_ERROR; 545 utrie2_setRange32(trie, 1, 5, 234, TRUE, &errorCode); 547 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 549 testName, u_errorName(errorCode)); 553 errorCode=U_ZERO_ERROR [all...] |
cucdapi.c | 34 UErrorCode errorCode) { 37 if(U_FAILURE(errorCode)) { 38 log_err("Failed: %s - %s\n", msg, u_errorName(errorCode)); 482 UErrorCode errorCode=U_ZERO_ERROR; 484 USCRIPT_COMMON==uscript_getScript(0x0640, &errorCode) && 485 USCRIPT_INHERITED==uscript_getScript(0x0650, &errorCode) && 486 USCRIPT_ARABIC==uscript_getScript(0xfdf2, &errorCode)) || 487 U_FAILURE(errorCode) 557 UErrorCode errorCode; 560 errorCode=U_PARSE_ERROR [all...] |
/external/icu/icu4c/source/samples/case/ |
ucase.c | 30 UErrorCode errorCode = U_ZERO_ERROR; 57 sizeof(upper)/sizeof(upper[0]), "tr", &errorCode); 58 if(U_FAILURE(errorCode) || buffer[length]!=0) { 60 u_errorName(errorCode)); 70 sizeof(upper)/sizeof(upper[0]), "en", &errorCode); 71 if(U_FAILURE(errorCode) || buffer[length]!=0) { 73 u_errorName(errorCode)); 82 &errorCode); 83 if(U_FAILURE(errorCode) || buffer[length]!=0) { 85 u_errorName(errorCode)); [all...] |
/external/icu/icu4c/source/common/unicode/ |
simpleformatter.h | 45 * UErrorCode errorCode = U_ZERO_ERROR; 46 * SimpleFormatter fmt("{1} '{born}' in {0}", errorCode); 50 * fmt.format("england", "paul", result, errorCode); 71 * @param errorCode ICU error code in/out parameter. 76 SimpleFormatter(const UnicodeString& pattern, UErrorCode &errorCode) { 77 applyPattern(pattern, errorCode); 88 * @param errorCode ICU error code in/out parameter. 95 UErrorCode &errorCode) { 96 applyPatternMinMaxArguments(pattern, min, max, errorCode); 122 * @param errorCode ICU error code in/out parameter [all...] |
idna.h | 84 * @param errorCode Standard ICU error code. Its input value must 92 createUTS46Instance(uint32_t options, UErrorCode &errorCode); 107 * @param errorCode Standard ICU error code. Its input value must 116 IDNAInfo &info, UErrorCode &errorCode) const = 0; 129 * @param errorCode Standard ICU error code. Its input value must 138 IDNAInfo &info, UErrorCode &errorCode) const = 0; 153 * @param errorCode Standard ICU error code. Its input value must 162 IDNAInfo &info, UErrorCode &errorCode) const = 0; 175 * @param errorCode Standard ICU error code. Its input value must 184 IDNAInfo &info, UErrorCode &errorCode) const = 0 [all...] |
casemap.h | 55 * @param errorCode Reference to an in/out error code value 68 UErrorCode &errorCode); 91 * @param errorCode Reference to an in/out error code value 104 UErrorCode &errorCode); 141 * @param errorCode Reference to an in/out error code value 155 UErrorCode &errorCode); 184 * @param errorCode Reference to an in/out error code value 197 UErrorCode &errorCode); 214 * @param errorCode Reference to an in/out error code value 223 UErrorCode &errorCode); [all...] |
/external/icu/icu4c/source/samples/numfmt/ |
main.cpp | 102 * @param errorCode ICU error code, must pass U_SUCCESS() on input. 105 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 107 if(U_FAILURE(errorCode)) { 111 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 120 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 165 errorCode=U_UNSUPPORTED_ERROR; 191 * @param errorCode ICU error code, must pass U_SUCCESS() on input. 194 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 195 if(U_FAILURE(errorCode)) { 199 errorCode=U_ILLEGAL_ARGUMENT_ERROR [all...] |
/external/lzma/CPP/Windows/ |
ErrorMsg.cpp | 18 static bool MyFormatMessage(DWORD errorCode, UString &message)
26 NULL, errorCode, 0, (LPTSTR) &msgBuf, 0, NULL) == 0)
35 NULL, errorCode, 0, (LPWSTR) &msgBuf, 0, NULL) == 0)
43 UString MyFormatMessage(DWORD errorCode)
46 if (!MyFormatMessage(errorCode, m) || m.IsEmpty())
51 unsigned t = errorCode & 0xF;
52 errorCode >>= 4;
|
/frameworks/base/core/java/android/net/metrics/ |
DhcpErrorEvent.java | 62 public final int errorCode; 64 public DhcpErrorEvent(int errorCode) { 65 this.errorCode = errorCode; 69 this.errorCode = in.readInt(); 74 out.writeInt(errorCode); 93 public static int errorCodeWithOption(int errorCode, int option) { 94 return (0xFFFF0000 & errorCode) | (0xFF & option); 103 return String.format("DhcpErrorEvent(%s)", Decoder.constants.get(errorCode));
|
/external/icu/icu4c/source/io/ |
ustream.cpp | 45 UErrorCode errorCode = U_ZERO_ERROR; 48 converter = u_getDefaultConverter(&errorCode); 49 if(U_SUCCESS(errorCode)) { 54 errorCode = U_ZERO_ERROR; 56 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 63 } while(errorCode == U_BUFFER_OVERFLOW_ERROR); 85 UErrorCode errorCode = U_ZERO_ERROR; 88 converter = u_getDefaultConverter(&errorCode); 89 if(U_SUCCESS(errorCode)) { 111 errorCode = U_ZERO_ERROR [all...] |
/external/icu/icu4c/source/samples/ustring/ |
ustring.cpp | 48 UErrorCode errorCode=U_ZERO_ERROR; 55 ucnv_fromUChars(cnv, out, sizeof(out), s, length, &errorCode); 56 if(U_FAILURE(errorCode) || errorCode==U_STRING_NOT_TERMINATED_WARNING) { 57 printf("%sproblem converting string from Unicode: %s\n", announce, u_errorName(errorCode)); 206 UErrorCode errorCode; 295 errorCode=U_ZERO_ERROR; 296 length=u_strToLower(buffer, UPRV_LENGTHOF(buffer), input, -1, "en", &errorCode); 297 if(U_SUCCESS(errorCode)) { 300 printf("error in u_strToLower(en)=%ld error=%s\n", length, u_errorName(errorCode)); [all...] |