| /external/icu/icu4c/source/common/ |
| normlzr.cpp | 70 UErrorCode errorCode=U_ZERO_ERROR; 71 fNorm2=Normalizer2Factory::getInstance(fUMode, errorCode); 75 new FilteredNormalizer2(*fNorm2, *uniset_getUnicode32Instance(errorCode)); 77 if(U_FAILURE(errorCode)) { 78 errorCode=U_ZERO_ERROR; 79 fNorm2=Normalizer2Factory::getNoopInstance(errorCode); 208 UErrorCode &errorCode) { 209 if(left.isBogus() || right.isBogus() || U_FAILURE(errorCode)) { 211 if(U_SUCCESS(errorCode)) { 212 errorCode=U_ILLEGAL_ARGUMENT_ERROR [all...] |
| unistr_titlecase_brkiter.cpp | 73 UErrorCode errorCode=U_ZERO_ERROR; 74 bi=BreakIterator::createWordInstance(locale, errorCode); 75 if(U_FAILURE(errorCode)) {
|
| /external/icu/icu4c/source/i18n/ |
| coll.cpp | 316 void setAttributesFromKeywords(const Locale &loc, Collator &coll, UErrorCode &errorCode) { 317 if (U_FAILURE(errorCode)) { 327 int32_t length = loc.getKeywordValue("colHiraganaQuaternary", value, UPRV_LENGTHOF(value), errorCode); 328 if (U_FAILURE(errorCode)) { 329 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 333 errorCode = U_UNSUPPORTED_ERROR; 336 length = loc.getKeywordValue("variableTop", value, UPRV_LENGTHOF(value), errorCode); 337 if (U_FAILURE(errorCode)) { 338 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 342 errorCode = U_UNSUPPORTED_ERROR [all...] |
| utf8collationiterator.cpp | 43 UTF8CollationIterator::handleNextCE32(UChar32 &c, UErrorCode & /*errorCode*/) { 94 UTF8CollationIterator::nextCodePoint(UErrorCode & /*errorCode*/) { 108 UTF8CollationIterator::previousCodePoint(UErrorCode & /*errorCode*/) { 118 UTF8CollationIterator::forwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) { 123 UTF8CollationIterator::backwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) { 150 FCDUTF8CollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) { 204 if(!nextSegment(errorCode)) { 210 return UTF8CollationIterator::handleNextCE32(c, errorCode); 265 FCDUTF8CollationIterator::nextCodePoint(UErrorCode &errorCode) { 283 if(!nextSegment(errorCode)) { [all...] |
| uitercollationiterator.cpp | 43 UIterCollationIterator::handleNextCE32(UChar32 &c, UErrorCode & /*errorCode*/) { 59 UIterCollationIterator::nextCodePoint(UErrorCode & /*errorCode*/) { 64 UIterCollationIterator::previousCodePoint(UErrorCode & /*errorCode*/) { 69 UIterCollationIterator::forwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) { 76 UIterCollationIterator::backwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) { 107 FCDUIterCollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) { 118 if(!nextSegment(errorCode)) { 160 FCDUIterCollationIterator::nextCodePoint(UErrorCode &errorCode) { 172 if(!nextSegment(errorCode)) { 203 FCDUIterCollationIterator::previousCodePoint(UErrorCode &errorCode) { [all...] |
| utf16collationiterator.cpp | 58 UTF16CollationIterator::handleNextCE32(UChar32 &c, UErrorCode & /*errorCode*/) { 86 UTF16CollationIterator::nextCodePoint(UErrorCode & /*errorCode*/) { 106 UTF16CollationIterator::previousCodePoint(UErrorCode & /*errorCode*/) { 121 UTF16CollationIterator::forwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) { 137 UTF16CollationIterator::backwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) { 208 FCDUTF16CollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) { 220 if(!nextSegment(errorCode)) { 249 FCDUTF16CollationIterator::nextCodePoint(UErrorCode &errorCode) { 261 if(!nextSegment(errorCode)) { 288 FCDUTF16CollationIterator::previousCodePoint(UErrorCode &errorCode) { [all...] |
| /frameworks/base/core/java/android/speech/tts/ |
| PlaybackQueueItem.java | 31 * @param errorCode Cause of the stop. Can be either one of the error codes from 36 abstract void stop(int errorCode);
|
| /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
| DcFailCause.java | 77 DcFailCause(int errorCode) { 78 mErrorCode = errorCode; 115 public static DcFailCause fromInt(int errorCode) { 116 DcFailCause fc = sErrorCodeToFailCauseMap.get(errorCode);
|
| /cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/ |
| CtsRootDeviceSetup.java | 81 String errorCode = device.installPackage(ctsBuild.getTestApp(DEVICE_ADMIN_APK_FILE_NAME), 83 if (errorCode != null) { 87 DEVICE_ADMIN_APK_FILE_NAME, device.getSerialNumber(), errorCode));
|
| /external/icu/icu4c/source/test/intltest/ |
| ucharstrietest.cpp | 84 IcuTestErrorCode errorCode(*this, "UCharsTrieTest()"); 85 builder_=new UCharsTrieBuilder(errorCode); 122 IcuTestErrorCode errorCode(*this, "TestBuilder()"); 123 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode); 124 if(errorCode.reset()!=U_INDEX_OUTOFBOUNDS_ERROR) { 129 builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode); 130 if(errorCode.reset()!=U_ILLEGAL_ARGUMENT_ERROR) { 368 IcuTestErrorCode errorCode(*this, "buildLargeTrie()") [all...] |
| bytestrietest.cpp | 77 IcuTestErrorCode errorCode(*this, "BytesTrieTest()"); 78 builder_=new BytesTrieBuilder(errorCode); 112 IcuTestErrorCode errorCode(*this, "TestBuilder()"); 114 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode); 115 if(errorCode.reset()!=U_INDEX_OUTOFBOUNDS_ERROR) { 120 builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode); 121 if(errorCode.reset()!=U_ILLEGAL_ARGUMENT_ERROR) { 399 IcuTestErrorCode errorCode(*this, "TestIteratorFromBranch()") [all...] |
| /frameworks/base/core/java/android/accounts/ |
| AccountAuthenticatorResponse.java | 69 public void onError(int errorCode, String errorMessage) { 71 Log.v(TAG, "AccountAuthenticatorResponse.onError: " + errorCode + ", " + errorMessage); 74 mAccountAuthenticatorResponse.onError(errorCode, errorMessage);
|
| /external/icu/icu4c/source/test/cintltst/ |
| udatatst.c | 149 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status)); 176 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", path, memMap[i][0], memMap[i][1], myErrorName(status)); 216 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", path, memMap[i][0], memMap[i][1], myErrorName(status)); 266 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", icuDataFilePath, memMap[i][0], memMap[i][1], myErrorName(status)); 364 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n", 383 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n", 661 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[0], type, myErrorName(status)); 673 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status)); 677 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status)); 690 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status)) [all...] |
| nucnvtst.c | 179 UErrorCode errorCode=U_ZERO_ERROR; 184 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode); 185 if(errorCode==U_INDEX_OUTOFBOUNDS_ERROR) { 187 } else if(U_FAILURE(errorCode)) { 188 log_err("%s ucnv_getNextUChar() failed: %s\n", message, u_errorName(errorCode)); 207 UErrorCode errorCode=U_ZERO_ERROR; 209 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode); 210 if(errorCode != expected){ 211 log_err("FAIL: Expected:%s when %s-----Got:%s\n", myErrorName(expected), message, myErrorName(errorCode)); [all...] |
| spreptst.c | 30 int32_t options, UErrorCode* errorCode); 62 UErrorCode errorCode = U_ZERO_ERROR; 63 loadTestData(&errorCode); 64 if(U_FAILURE(errorCode)) { 65 log_data_err("Could not load testdata.dat, status = %s\n", u_errorName(errorCode)); 70 doStringPrepTest("nfscsi","nfs4_cs_prep_ci.txt", USPREP_DEFAULT, &errorCode); 73 errorCode = U_ZERO_ERROR; 74 doStringPrepTest("nfscss","nfs4_cs_prep_cs.txt", USPREP_DEFAULT, &errorCode); 80 UErrorCode errorCode = U_ZERO_ERROR; 82 doStringPrepTest("nfscis","nfs4_cis_prep.txt", USPREP_DEFAULT, &errorCode); [all...] |
| cintltst.c | 86 UErrorCode errorCode = U_ZERO_ERROR; 110 u_init(&errorCode); 111 if (U_FAILURE(errorCode)) { 113 "#### Note: ICU Init without build-specific setDataDirectory() failed. %s\n", u_errorName(errorCode)); 127 errorCode = U_ZERO_ERROR; 133 u_init(&errorCode); 134 if (U_FAILURE(errorCode)) { 138 "*** check that the data files are present.\n", argv[0], u_errorName(errorCode)); 149 cnv = ucnv_open(TRY_CNV_2, &errorCode); 165 rb = ures_open(NULL, "en", &errorCode); [all...] |
| cstrtest.c | 235 UErrorCode errorCode; 237 errorCode=U_ZERO_ERROR; 238 cnv=ucnv_open(NULL, &errorCode); 239 if(U_FAILURE(errorCode)) { 242 length=ucnv_fromUChars(cnv, cs, sizeof(cs), invariantUChars, -1, &errorCode); 243 if(U_FAILURE(errorCode)) { 244 log_err("ucnv_fromUChars(invariantUChars) failed - %s\n", u_errorName(errorCode)); 249 errorCode=U_ZERO_ERROR; 250 length=ucnv_toUChars(cnv, us, UPRV_LENGTHOF(us), invariantChars, -1, &errorCode); 251 if(U_FAILURE(errorCode)) { [all...] |
| /external/icu/icu4c/source/common/unicode/ |
| bytestriebuilder.h | 43 * @param errorCode Standard ICU error code. 46 BytesTrieBuilder(UErrorCode &errorCode); 61 * @param errorCode Standard ICU error code. Its input value must 68 BytesTrieBuilder &add(const StringPiece &s, int32_t value, UErrorCode &errorCode); 81 * @param errorCode Standard ICU error code. Its input value must 88 BytesTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode); 105 * @param errorCode Standard ICU error code. Its input value must 112 StringPiece buildStringPiece(UStringTrieBuildOption buildOption, UErrorCode &errorCode); 126 void buildBytes(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
|
| ucharstriebuilder.h | 42 * @param errorCode Standard ICU error code. 45 UCharsTrieBuilder(UErrorCode &errorCode); 60 * @param errorCode Standard ICU error code. Its input value must 67 UCharsTrieBuilder &add(const UnicodeString &s, int32_t value, UErrorCode &errorCode); 80 * @param errorCode Standard ICU error code. Its input value must 87 UCharsTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode); 106 * @param errorCode Standard ICU error code. Its input value must 114 UErrorCode &errorCode); 133 void buildUChars(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
|
| /external/icu/icu4c/source/tools/toolutil/ |
| xmlparser.h | 134 UXMLElement(const UXMLParser *parser, const UnicodeString *name, UErrorCode &errorCode); 167 static UXMLParser *createParser(UErrorCode &errorCode); 178 UXMLElement *parse(const UnicodeString &src, UErrorCode &errorCode); 184 UXMLElement *parseFile(const char *filename, UErrorCode &errorCode); 211 const UnicodeString *intern(const UnicodeString &s, UErrorCode &errorCode);
|
| /frameworks/base/core/java/android/nfc/tech/ |
| BasicTagTechnology.java | 73 int errorCode = mTag.getTagService().connect(mTag.getServiceHandle(), 76 if (errorCode == ErrorCodes.SUCCESS) { 80 } else if (errorCode == ErrorCodes.ERROR_NOT_SUPPORTED) { 101 int errorCode = mTag.getTagService().reconnect(mTag.getServiceHandle()); 103 if (errorCode != ErrorCodes.SUCCESS) {
|
| /system/netd/server/ |
| MDnsSdListener.h | 28 uint32_t interfaceIndex, DNSServiceErrorType errorCode, 33 DNSServiceErrorType errorCode, const char *serviceName, const char *regType, 37 DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t port, 41 DNSServiceErrorType errorCode, const char *hostname, void *inContext); 44 uint32_t interface, DNSServiceErrorType errorCode, const char *hostname,
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
| InstanceCountsTest.java | 114 short errorCode = checkedReply.getErrorCode(); 115 if (errorCode != JDWPConstants.Error.NONE) { 116 if(errorCode == JDWPConstants.Error.ILLEGAL_ARGUMENT) { 177 short errorCode = checkedReply.getErrorCode(); 178 if (errorCode != JDWPConstants.Error.NONE) { 179 if (errorCode == JDWPConstants.Error.NOT_IMPLEMENTED) { 183 else if(errorCode == JDWPConstants.Error.ILLEGAL_ARGUMENT) { 221 short errorCode = checkedReply.getErrorCode(); 222 if (errorCode != JDWPConstants.Error.NONE) { 223 if (errorCode == JDWPConstants.Error.NOT_IMPLEMENTED) [all...] |
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
| SetValues002Test.java | 129 short errorCode = checkedReply.getErrorCode(); 130 if ( errorCode != JDWPConstants.Error.NONE ) { 131 if ( errorCode != JDWPConstants.Error.INVALID_OBJECT ) { 133 + " returns unexpected ERROR = " + errorCode 134 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 136 + " returns unexpected ERROR = " + errorCode 137 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
|
| /libcore/luni/src/main/native/ |
| libcore_icu_NativeConverter.cpp | 214 UErrorCode errorCode = U_ZERO_ERROR; 215 ucnv_fromUnicode(cnv , &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, (UBool) flush, &errorCode); 220 if (errorCode == U_ILLEGAL_CHAR_FOUND || errorCode == U_INVALID_CHAR_FOUND || 221 errorCode == U_TRUNCATED_CHAR_FOUND) { 232 if (shouldCodecThrow(flush, errorCode)) { 233 maybeThrowIcuException(env, "ucnv_fromUnicode", errorCode); 235 return errorCode; 270 UErrorCode errorCode = U_ZERO_ERROR; 271 ucnv_toUnicode(cnv, &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, flush, &errorCode); [all...] |