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()
206 status = parcel->writeInt32(mErrorCode); in writeToParcel()
216 mErrorCode = ex == EX_TRANSACTION_FAILED ? FAILED_TRANSACTION : NO_ERROR; in setException()
222 mErrorCode = errorCode; in setServiceSpecificError()
227 mErrorCode = status; in setFromStatusT()
238 ret.appendFormat("%d: ", mErrorCode); in toString8()
240 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.h58 mErrorCode(AMEDIA_OK) {} in Encoder()
95 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/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/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/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.java796 errorCode = ((SmsResponse)ar.result).mErrorCode; in handleSendComplete()
/frameworks/base/media/java/android/media/
DMediaCasStateException.java28 private final int mErrorCode; field in MediaCasStateException
33 mErrorCode = err; in MediaCasStateException()
95 return mErrorCode; in getErrorCode()
DMediaDrm.java259 private final int mErrorCode; field in MediaDrm.MediaDrmStateException
267 mErrorCode = errorCode; in MediaDrmStateException()
282 return mErrorCode;
303 mErrorCode = errorCode;
330 return mErrorCode;
333 private final int mErrorCode;
DMediaCodec.java2209 mErrorCode = errorCode; in CodecException()
2240 return mErrorCode;
2278 private final int mErrorCode;
2288 mErrorCode = errorCode;
2381 return mErrorCode;
2384 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.java210 private int mErrorCode = -1; field in BugreportManagerTest.BugreportCallbackImpl
225 mErrorCode = errorCode; in onError()
241 return (mErrorCode != -1) || mSuccess; in isDone()
247 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.cpp345 mErrorCode(OK) { in Output()
429 return output->mErrorCode; in read()
601 output->mErrorCode = OK; in initEncoder()
646 output->mErrorCode = err; in signalEOS()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1804 errorCode = response.mErrorCode; in writeOnSmsSolicitedResponse()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt3537 Landroid/app/admin/SystemUpdatePolicy$ValidationFailedException;->mErrorCode:I
36892 Landroid/media/MediaCasStateException;->mErrorCode:I
36912 Landroid/media/MediaCodec$CodecException;->mErrorCode:I
36913 Landroid/media/MediaCodec$CryptoException;->mErrorCode:I
37278 Landroid/media/MediaDrm$MediaDrmStateException;->mErrorCode:I
45177 Landroid/net/sip/SipAudioCall;->mErrorCode:I
62379 Landroid/security/KeyStoreException;->mErrorCode:I