Home
last modified time | relevance | path

Searched refs:mErrorCode (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DInstallTask.java49 private int mErrorCode = 0; field in InstallTask
65 return mErrorCode != InstallerConstants.STATUS_SUCCESS || !TextUtils.isEmpty(mErrorDesc); in isError()
83 mErrorCode = InstallerConstants.ERROR_INSTALL_COPY_STREAM; in execute()
94 mErrorCode = InstallerConstants.ERROR_INSTALL_CLOSE_STREAM; in execute()
101 if (mErrorCode != InstallerConstants.STATUS_SUCCESS) { in execute()
103 Log.e(TAG, "Exception while installing " + mPackageName + ": " + mErrorCode + ", " in execute()
106 mCallback.installFailed(mErrorCode, "[" + mPackageName + "]" + mErrorDesc); in execute()
125 mErrorCode = InstallerConstants.ERROR_INSTALL_COPY_STREAM_EXCEPTION; in writeToOutputStreamFromAsset()
131 mErrorCode = InstallerConstants.ERROR_COULD_NOT_GET_FD; in writeToOutputStreamFromAsset()
150 mErrorCode = InstallerConstants.ERROR_INSTALL_APK_COPY_FAILURE; in writeToOutputStreamFromAsset()
/frameworks/base/core/java/android/os/
DUpdateEngine.java466 private @ErrorCode int mErrorCode = ErrorCodeConstants.SUCCESS; field in UpdateEngine.AllocateSpaceResult
483 return mErrorCode; in getErrorCode()
505 if (mErrorCode == ErrorCodeConstants.SUCCESS) { in getFreeSpaceRequired()
508 if (mErrorCode == ErrorCodeConstants.NOT_ENOUGH_SPACE) { in getFreeSpaceRequired()
512 "getFreeSpaceRequired() is not available when error code is %d", mErrorCode)); in getFreeSpaceRequired()
549 result.mErrorCode = result.mFreeSpaceRequired == 0 in allocateSpace()
554 result.mErrorCode = e.errorCode; in allocateSpace()
563 private int mErrorCode = ErrorCodeConstants.ERROR; field in UpdateEngine.CleanupAppliedPayloadCallback
575 return mErrorCode; in getResult()
586 mErrorCode = errorCode; in onPayloadApplicationComplete()
/frameworks/native/libs/binder/
DStatus.cpp88 mErrorCode(errorCode) {} in Status()
92 mErrorCode(errorCode), in Status()
158 status = parcel.readInt32(&mErrorCode); in readFromParcel()
192 return mErrorCode; in writeToParcel()
204 status = parcel->writeInt32(mErrorCode); in writeToParcel()
214 mErrorCode = ex == EX_TRANSACTION_FAILED ? FAILED_TRANSACTION : NO_ERROR; in setException()
220 mErrorCode = errorCode; in setServiceSpecificError()
225 mErrorCode = status; in setFromStatusT()
236 ret.appendFormat("%d: ", mErrorCode); in toString8()
238 ret.appendFormat("%s: ", statusToString(mErrorCode).c_str()); in toString8()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DEncoder.cpp37 mErrorCode = AMEDIA_ERROR_IO; in onInputAvailable()
45 mErrorCode = AMEDIA_ERROR_MALFORMED; in onInputAvailable()
62 mErrorCode = AMEDIA_ERROR_MALFORMED; in onInputAvailable()
71 mErrorCode = AMEDIA_ERROR_MALFORMED; in onInputAvailable()
80 mErrorCode = AMEDIA_ERROR_MALFORMED; in onInputAvailable()
107 mErrorCode = status; in onInputAvailable()
153 mErrorCode = err; in onError()
263 mErrorCode = (media_status_t)inIdx; in encode()
264 return mErrorCode; in encode()
284 mErrorCode = (media_status_t)outIdx; in encode()
[all …]
DEncoder.h56 mErrorCode(AMEDIA_OK) {} in Encoder()
93 media_status_t mErrorCode; variable
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCardErrorException.java72 private final int mErrorCode; field in EuiccCardErrorException
83 mErrorCode = errorCode; in EuiccCardErrorException()
98 mErrorCode = errorCode; in EuiccCardErrorException()
104 return mErrorCode; in getErrorCode()
120 return "EuiccCardError: mOperatorCode=" + mOperationCode + ", mErrorCode=" + mErrorCode in getMessage()
/frameworks/base/keystore/java/android/security/
DKeyStoreException.java30 private final int mErrorCode; field in KeyStoreException
34 mErrorCode = errorCode; in KeyStoreException()
38 return mErrorCode; in getErrorCode()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DDecoder.cpp57 mErrorCode = AMEDIA_ERROR_IO; in onInputAvailable()
69 mErrorCode = (media_status_t)flag; in onInputAvailable()
82 mErrorCode = status; in onInputAvailable()
137 mErrorCode = err; in onError()
189 mErrorCode = (media_status_t)inIdx; in decode()
190 return mErrorCode; in decode()
210 mErrorCode = (media_status_t)outIdx; in decode()
211 return mErrorCode; in decode()
220 return mErrorCode; in decode()
DDecoder.h41 mErrorCode(AMEDIA_OK), in Decoder()
91 media_status_t mErrorCode; variable
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsResponse.java40 public int mErrorCode; field in SmsResponse
46 mErrorCode = errorCode; in SmsResponse()
52 + ", mErrorCode = " + mErrorCode in toString()
DSMSDispatcher.java758 errorCode = ((SmsResponse)ar.result).mErrorCode; in handleSendComplete()
/frameworks/base/core/java/android/content/pm/parsing/result/
DParseTypeImpl.java49 private int mErrorCode = PackageManager.INSTALL_SUCCEEDED; field in ParseTypeImpl
113 mErrorCode = PackageManager.INSTALL_SUCCEEDED;
127 if (mErrorCode != PackageManager.INSTALL_SUCCEEDED) {
220 mErrorCode = errorCode;
247 return mErrorCode == PackageManager.INSTALL_SUCCEEDED;
257 return mErrorCode;
/frameworks/base/media/java/android/media/
DMediaCasStateException.java27 private final int mErrorCode; field in MediaCasStateException
32 mErrorCode = err; in MediaCasStateException()
115 return mErrorCode; in getErrorCode()
DMediaDrm.java294 private final int mErrorCode; field in MediaDrm.MediaDrmStateException
302 mErrorCode = errorCode; in MediaDrmStateException()
317 return mErrorCode;
338 mErrorCode = errorCode;
365 return mErrorCode;
368 private final int mErrorCode;
DMediaCodec.java2310 mErrorCode = errorCode; in CodecException()
2341 return mErrorCode;
2379 private final int mErrorCode;
2389 mErrorCode = errorCode;
2482 return mErrorCode;
2485 private int mErrorCode;
/frameworks/native/libs/binder/include/binder/
DStatus.h129 return mException == EX_TRANSACTION_FAILED ? mErrorCode : OK; in transactionError()
132 return mException == EX_SERVICE_SPECIFIC ? mErrorCode : 0; in serviceSpecificErrorCode()
152 int32_t mErrorCode = 0; variable
/frameworks/native/include/binder/
DStatus.h129 return mException == EX_TRANSACTION_FAILED ? mErrorCode : OK; in transactionError()
132 return mException == EX_SERVICE_SPECIFIC ? mErrorCode : 0; in serviceSpecificErrorCode()
152 int32_t mErrorCode = 0; variable
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/
DBugreportManagerTest.java230 private int mErrorCode = -1; field in BugreportManagerTest.BugreportCallbackImpl
245 mErrorCode = errorCode; in onError()
261 return (mErrorCode != -1) || mSuccess; in isDone()
267 return mErrorCode; in getErrorCode()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java196 private int mErrorCode = SipErrorCode.NO_ERROR; field in SipAudioCall
238 } else if (mErrorCode != SipErrorCode.NO_ERROR) { in setListener()
239 listener.onError(this, mErrorCode, mErrorMessage); in setListener()
303 mErrorCode = SipErrorCode.NO_ERROR; in close()
502 mErrorCode = errorCode; in createListener()
507 listener.onError(SipAudioCall.this, mErrorCode, in createListener()
567 mErrorCode = errorCode;
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java232 private final int mErrorCode; field in SystemUpdatePolicy.ValidationFailedException
236 mErrorCode = errorCode; in ValidationFailedException()
243 return mErrorCode; in getErrorCode()
279 dest.writeInt(mErrorCode); in writeToParcel()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java813 private int mErrorCode; field in SipService.SipAutoReg
959 } else if (mErrorCode != SipErrorCode.NO_ERROR) { in setListener()
960 if (mErrorCode == SipErrorCode.TIME_OUT) { in setListener()
963 mProxy.onRegistrationFailed(mSession, mErrorCode, in setListener()
995 mErrorCode = SipErrorCode.NO_ERROR; in run()
1096 mErrorCode = errorCode; in onRegistrationFailed()
1109 mErrorCode = SipErrorCode.TIME_OUT; in onRegistrationTimeout()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecSource.h154 status_t mErrorCode; member
/frameworks/av/media/libstagefright/
DMediaCodecSource.cpp346 mErrorCode(OK) { in Output()
430 return output->mErrorCode; in read()
602 output->mErrorCode = OK; in initEncoder()
647 output->mErrorCode = err; in signalEOS()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1824 errorCode = response.mErrorCode; in writeOnSmsSolicitedResponse()