/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStoreProvider.java | 213 int errorCode = keyStore.getKeyCharacteristics( 215 if (errorCode != KeyStore.NO_ERROR) { 218 .initCause(KeyStore.getKeyStoreException(errorCode)); 225 .initCause(KeyStore.getKeyStoreException(errorCode)); 272 int errorCode = keyStore.getKeyCharacteristics( 274 if (errorCode != KeyStore.NO_ERROR) { 277 .initCause(KeyStore.getKeyStoreException(errorCode));
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
TestAccountAuthenticator.java | 90 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE; 93 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE); 96 result.putInt(AccountManager.KEY_ERROR_CODE, errorCode); 144 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE; 147 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE); 150 result.putInt(AccountManager.KEY_ERROR_CODE, errorCode); 207 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE; 210 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE); 213 result.putInt(AccountManager.KEY_ERROR_CODE, errorCode); 268 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE [all...] |
/cts/tests/tests/graphics/src/android/opengl/cts/ |
EglContextTest.java | 156 int errorCode; 157 if ((errorCode = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { 158 throw new RuntimeException("gl error: " + Integer.toHexString(errorCode));
|
/external/icu/icu4c/source/common/ |
cpputils.h | 89 uprv_checkCanGetBuffer(const icu::UnicodeString &s, UErrorCode &errorCode) { 90 if(U_SUCCESS(errorCode) && s.isBogus()) { 91 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
|
wintz.c | 282 int errorCode; 315 errorCode = GetGeoInfoW(id,GEO_ISO2,ISOcodeW,3,0); 337 if (errorCode != 0) { 340 if (errorCode==0 || icuTZ==NULL) { 380 if (errorCode != 0) { 383 if (errorCode==0 || icuTZ==NULL) {
|
loclikely.cpp | [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiLogger.java | 151 public synchronized void captureAlertData(int errorCode, byte[] alertData) { 152 BugReport report = captureBugreport(errorCode, /* captureFWDump = */ true); 184 int errorCode; 202 builder.append("reason = ").append(errorCode).append("\n"); 204 builder.append("errorCode = ").append(errorCode); 276 public void onWifiAlert(int errorCode, byte[] buffer) { 277 WifiLogger.this.onWifiAlert(errorCode, buffer); 288 synchronized void onWifiAlert(int errorCode, byte[] buffer) { 291 WifiStateMachine.CMD_FIRMWARE_ALERT, errorCode, 0, buffer) [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
isac.c | 242 instISAC->errorCode = 0; 277 instISAC->errorCode = 0; 413 instISAC->errorCode = ISAC_DISALLOWED_CODING_MODE; 443 instISAC->errorCode = -status; 457 instISAC->errorCode = -status; 512 instISAC->errorCode = ISAC_ENCODER_NOT_INITIATED; [all...] |
/external/icu/icu4c/source/test/intltest/ |
regcoll.cpp | 1082 IcuTestErrorCode errorCode(*this, "Test4179216"); 1083 RuleBasedCollator coll(en_us->getRules() + " & C < ch , cH , Ch , CH < cat < crunchy", errorCode); 1088 iter->setOffset(4, errorCode); 1089 int32_t elt4 = CollationElementIterator::primaryOrder(iter->next(errorCode)); 1092 int32_t elt0 = CollationElementIterator::primaryOrder(iter->next(errorCode)); 1094 iter->setOffset(5, errorCode); 1095 int32_t elt5 = CollationElementIterator::primaryOrder(iter->next(errorCode)); 1105 iter->setOffset(14, errorCode); 1106 int32_t elt14 = CollationElementIterator::primaryOrder(iter->next(errorCode)); 1108 iter->setOffset(15, errorCode); [all...] |
strcase.cpp | 394 IcuTestErrorCode errorCode(*this, "TestCasingImpl"); 395 LocalUCaseMapPointer csm(ucasemap_open(localeID, options, errorCode)); 399 UBreakIterator *clone=ubrk_safeClone((UBreakIterator *)iter, NULL, NULL, errorCode); 400 ucasemap_setBreakIterator(csm.getAlias(), clone, errorCode); 404 u_strToUTF8(utf8In, (int32_t)sizeof(utf8In), &utf8InLength, input.getBuffer(), input.length(), errorCode); 410 utf8In, utf8InLength, errorCode); 416 utf8In, utf8InLength, errorCode); 423 utf8In, utf8InLength, errorCode); 430 utf8In, utf8InLength, errorCode); 438 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode); [all...] |
apicoll.cpp | [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
SetValues002Test.java | 143 short errorCode = checkedReply.getErrorCode(); 144 if ( errorCode == JDWPConstants.Error.NONE ) { 149 + " returns ERROR = " + errorCode 150 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
SetValues003Test.java | 127 short errorCode = checkedReply.getErrorCode(); 128 if ( errorCode == JDWPConstants.Error.NONE ) { 133 + " returns ERROR = " + errorCode 134 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
|
/external/icu/icu4c/source/i18n/ |
collationdata.h | 122 int64_t getSingleCE(UChar32 c, UErrorCode &errorCode) const; 154 int32_t dest[], int32_t capacity, UErrorCode &errorCode) const; 167 UVector32 &ranges, UErrorCode &errorCode) const; 252 UVector32 &ranges, UErrorCode &errorCode) const;
|
/external/icu/icu4c/source/test/perf/unisetperf/draft/ |
bitset.cpp | 87 BitSet(const UnicodeSet &set, UErrorCode &errorCode) : bits(shortBits), restSet(set.clone()) { 88 if(U_FAILURE(errorCode)) { 93 errorCode=U_MEMORY_ALLOCATION_ERROR; 157 errorCode=U_MEMORY_ALLOCATION_ERROR;
|
/frameworks/av/camera/camera2/ |
ICameraDeviceCallbacks.cpp | 51 void onDeviceError(CameraErrorCode errorCode, const CaptureResultExtras& resultExtras) 56 data.writeInt32(static_cast<int32_t>(errorCode)); 122 CameraErrorCode errorCode = 130 onDeviceError(errorCode, resultExtras);
|
/frameworks/av/include/camera/camera2/ |
ICameraDeviceCallbacks.h | 55 virtual void onDeviceError(CameraErrorCode errorCode,
|
/frameworks/base/core/java/android/nfc/tech/ |
Ndef.java | 315 int errorCode = tagService.ndefWrite(serviceHandle, msg); 316 switch (errorCode) { 383 int errorCode = tagService.ndefMakeReadOnly(mTag.getServiceHandle()); 384 switch (errorCode) {
|
/external/deqp/android/scripts/ |
common.py | 136 class ErrorCode: 140 def applyAndCaptureError (func, args, errorCode): 144 errorCode.error = sys.exc_info() 146 errorCode = ErrorCode() 149 job = threading.Thread(target=applyAndCaptureError, args=(f, args, errorCode)) 156 if errorCode.error: 157 raise errorCode.error[0], errorCode.error[1], errorCode.error[2 [all...] |
/frameworks/base/core/java/android/webkit/ |
WebViewDelegate.java | 149 * Returns the error string for the given {@code errorCode}. 151 public String getErrorString(Context context, int errorCode) { 152 return LegacyErrorStrings.getString(errorCode, context);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
ApnContext.java | 349 int errorCode = 0; 351 errorCode = Integer.parseInt(errorValue[0]); 357 if (count > 0 && errorCode > 0) { 358 mRetriesLeftPerErrorCode.put(errorCode, count); 367 public boolean restartOnError(int errorCode) { 371 retriesLeft = mRetriesLeftPerErrorCode.get(errorCode); 383 mRetriesLeftPerErrorCode.put(errorCode, retriesLeft - 1); 388 String str = "ApnContext.restartOnError(" + errorCode + ") found " + retriesLeft +
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
ChunkHandler.java | 61 public static Chunk createFailChunk(int errorCode, String msg) { 67 out.putInt(errorCode);
|
/external/icu/icu4c/source/common/unicode/ |
stringtriebuilder.h | 80 void createCompactBuilder(int32_t sizeGuess, UErrorCode &errorCode); 85 void build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode); 97 Node *makeNode(int32_t start, int32_t limit, int32_t unitIndex, UErrorCode &errorCode); 100 int32_t length, UErrorCode &errorCode); 147 * @param errorCode ICU in/out UErrorCode. 153 Node *registerNode(Node *newNode, UErrorCode &errorCode); 159 * @param errorCode ICU in/out UErrorCode. 164 Node *registerFinalValue(int32_t value, UErrorCode &errorCode);
|
/external/icu/icu4c/source/test/cintltst/ |
utmstest.c | 449 UErrorCode errorCode; 455 errorCode = U_ZERO_ERROR; 456 cal = ucal_open(utc, -1, "", UCAL_GREGORIAN, &errorCode); 457 ucal_setGregorianChange(cal, -1000000 * (dayMillis * (UDate)1), &errorCode); 458 if(U_FAILURE(errorCode)) { 459 log_data_err("ucal_open(UTC/proleptic Gregorian) failed: %s - (Are you missing data?)\n", u_errorName(errorCode)); 466 millis = utmscale_toInt64(dt->ticks, UDTS_ICU4C_TIME, &errorCode); 468 ucal_setDate(cal, dt->year, dt->month - 1, dt->day, &errorCode); /* Java & ICU use January = month 0. */ 469 icuDate = ucal_getMillis(cal, &errorCode); 477 ticks = utmscale_fromInt64((int64_t)icuDate, UDTS_ICU4C_TIME, &errorCode); [all...] |
trietest.c | 32 #define u_errorName(errorCode) "some error code" 267 UErrorCode errorCode; 317 errorCode=U_ZERO_ERROR; 321 &errorCode); 322 if(U_FAILURE(errorCode)) { 323 log_err("error: utrie_serialize(%s) failed: %s\n", testName, u_errorName(errorCode)); 351 errorCode=U_ZERO_ERROR; 352 if(!utrie_unserialize(&trie, storage, length, &errorCode)) { 353 log_err("error: utrie_unserialize() failed, %s\n", u_errorName(errorCode)); 461 UErrorCode errorCode; [all...] |