Home
last modified time | relevance | path

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

12

/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/media/java/android/media/metrics/
DPlaybackErrorEvent.java133 private final int mErrorCode; field in PlaybackErrorEvent
190 this.mErrorCode = errorCode; in PlaybackErrorEvent()
208 return mErrorCode; in getErrorCode()
246 + "errorCode = " + mErrorCode + ", " in toString()
258 && mErrorCode == that.mErrorCode in equals()
265 return Objects.hash(mExceptionStack, mErrorCode, mSubErrorCode, in hashCode()
275 dest.writeInt(mErrorCode); in writeToParcel()
295 this.mErrorCode = errorCode; in PlaybackErrorEvent()
320 private int mErrorCode = ERROR_UNKNOWN; field in PlaybackErrorEvent.Builder
344 mErrorCode = value; in setErrorCode()
[all …]
DEditingEndedEvent.java164 private final @ErrorCode int mErrorCode; field in EditingEndedEvent
229 mErrorCode = errorCode; in EditingEndedEvent()
256 return mErrorCode; in getErrorCode()
332 + mErrorCode in toString()
361 && mErrorCode == that.mErrorCode in equals()
375 mErrorCode, in hashCode()
388 dest.writeInt(mErrorCode); in writeToParcel()
406 mErrorCode = in.readInt(); in EditingEndedEvent()
436 private @ErrorCode int mErrorCode; field in EditingEndedEvent.Builder
452 mErrorCode = ERROR_CODE_NONE; in Builder()
[all …]
/frameworks/base/core/java/android/app/ondeviceintelligence/
DOnDeviceIntelligenceException.java132 private final int mErrorCode; field in OnDeviceIntelligenceException
137 return mErrorCode; in getErrorCode()
158 this.mErrorCode = errorCode; in OnDeviceIntelligenceException()
171 this.mErrorCode = errorCode; in OnDeviceIntelligenceException()
184 this.mErrorCode = errorCode; in OnDeviceIntelligenceException()
195 this.mErrorCode = errorCode; in OnDeviceIntelligenceException()
/frameworks/base/core/java/android/service/voice/
DVisualQueryDetectionServiceFailure.java83 private int mErrorCode = ERROR_CODE_UNKNOWN; field in VisualQueryDetectionServiceFailure
94 mErrorCode = errorCode; in VisualQueryDetectionServiceFailure()
103 return mErrorCode; in getErrorCode()
119 switch (mErrorCode) { in getSuggestedAction()
139 dest.writeInt(mErrorCode); in writeToParcel()
145 return "VisualQueryDetectionServiceFailure { errorCode = " + mErrorCode in toString()
DHotwordDetectionServiceFailure.java106 private int mErrorCode = ERROR_CODE_UNKNOWN; field in HotwordDetectionServiceFailure
117 mErrorCode = errorCode; in HotwordDetectionServiceFailure()
126 return mErrorCode; in getErrorCode()
142 switch (mErrorCode) { in getSuggestedAction()
163 dest.writeInt(mErrorCode); in writeToParcel()
169 return "HotwordDetectionServiceFailure { errorCode = " + mErrorCode + ", errorMessage = " in toString()
DSoundTriggerFailure.java76 private final int mErrorCode; field in SoundTriggerFailure
101 mErrorCode = errorCode; in SoundTriggerFailure()
120 return mErrorCode; in getErrorCode()
159 dest.writeInt(mErrorCode); in writeToParcel()
166 + " errorCode = " + mErrorCode in toString()
/frameworks/base/core/java/android/os/
DUpdateEngine.java507 private @ErrorCode int mErrorCode = ErrorCodeConstants.SUCCESS; field in UpdateEngine.AllocateSpaceResult
524 return mErrorCode; in getErrorCode()
546 if (mErrorCode == ErrorCodeConstants.SUCCESS) { in getFreeSpaceRequired()
549 if (mErrorCode == ErrorCodeConstants.NOT_ENOUGH_SPACE) { in getFreeSpaceRequired()
553 "getFreeSpaceRequired() is not available when error code is %d", mErrorCode)); in getFreeSpaceRequired()
590 result.mErrorCode = result.mFreeSpaceRequired == 0 in allocateSpace()
595 result.mErrorCode = e.errorCode; in allocateSpace()
604 private int mErrorCode = ErrorCodeConstants.ERROR; field in UpdateEngine.CleanupAppliedPayloadCallback
616 return mErrorCode; in getResult()
627 mErrorCode = errorCode; in onPayloadApplicationComplete()
/frameworks/native/libs/binder/
DStatus.cpp88 mErrorCode(errorCode) {} in Status()
92 mErrorCode(errorCode), in Status()
164 status = parcel.readInt32(&mErrorCode); in readFromParcel()
198 return mErrorCode; in writeToParcel()
212 status = parcel->writeInt32(mErrorCode); in writeToParcel()
228 mErrorCode = ex == EX_TRANSACTION_FAILED ? FAILED_TRANSACTION : NO_ERROR; in setException()
234 mErrorCode = errorCode; in setServiceSpecificError()
239 mErrorCode = status; in setFromStatusT()
250 ret.appendFormat("%d: ", mErrorCode); in toString8()
252 ret.appendFormat("%s: ", statusToString(mErrorCode).c_str()); in toString8()
/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/opt/net/ims/src/java/com/android/ims/rcs/uce/
DUceDeviceState.java97 final @ErrorCode Optional<Integer> mErrorCode; field in UceDeviceState.DeviceStateResult
104 mErrorCode = errorCode; in DeviceStateResult()
140 return mErrorCode; in getErrorCode()
164 mErrorCode.equals(otherDeviceState.getErrorCode()) && in isDeviceStateEqual()
189 private @ErrorCode Optional<Integer> mErrorCode; field in UceDeviceState
204 mErrorCode = deviceState.get().getErrorCode(); in UceDeviceState()
209 mErrorCode = Optional.empty(); in UceDeviceState()
238 return new DeviceStateResult(mDeviceState, mErrorCode, mRequestRetryTime, mExitStateTime); in getCurrentState()
365 if (!mErrorCode.equals(newErrorCode)) { in updateErrorCode()
366 mErrorCode = newErrorCode; in updateErrorCode()
[all …]
/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/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.java260 private final int mErrorCode; field in KeyStoreException
282 mErrorCode = errorCode; in KeyStoreException()
293 mErrorCode = errorCode; in KeyStoreException()
302 mErrorCode = errorCode; in KeyStoreException()
304 if (mErrorCode != ResponseCode.OUT_OF_KEYS) { in KeyStoreException()
316 return mErrorCode; in getErrorCode()
326 PublicErrorInformation failureInfo = getErrorInformation(mErrorCode); in getNumericErrorCode()
339 PublicErrorInformation failureInfo = getErrorInformation(mErrorCode); in isTransientFailure()
341 if (mRkpStatus != RKP_SUCCESS && mErrorCode == ResponseCode.OUT_OF_KEYS) { in isTransientFailure()
362 PublicErrorInformation failureInfo = getErrorInformation(mErrorCode); in requiresUserAuthentication()
[all …]
/frameworks/base/core/java/android/credentials/selection/
DFailureResult.java62 private final int mErrorCode; field in FailureResult
96 mErrorCode = errorCode; in FailureResult()
103 return mErrorCode; in getErrorCode()
117 switch (mErrorCode) { in errorCodeToResultCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsResponse.java41 public int mErrorCode; field in SmsResponse
53 mErrorCode = errorCode; in SmsResponse()
60 + ", mErrorCode = " + mErrorCode in toString()
/frameworks/base/core/java/android/content/pm/parsing/result/
DParseTypeImpl.java48 private int mErrorCode = PackageManager.INSTALL_SUCCEEDED; field in ParseTypeImpl
112 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()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DSubscriptionTerminatedHelper.java48 private final @ErrorCode Optional<Integer> mErrorCode; field in SubscriptionTerminatedHelper.TerminatedResult
52 mErrorCode = errorCode; in TerminatedResult()
61 return mErrorCode; in getErrorCode()
71 .append("errorCode=").append(mErrorCode) in toString()
DUceRequestCoordinator.java171 private final Optional<Integer> mErrorCode; field in UceRequestCoordinator.RequestResult
188 mErrorCode = Optional.empty(); in RequestResult()
210 mErrorCode = Optional.of(errorCode); in RequestResult()
228 return mErrorCode; in getErrorCode()
/frameworks/native/libs/binder/include/binder/
DStatus.h138 return mException == EX_TRANSACTION_FAILED ? mErrorCode : OK; in transactionError()
141 return mException == EX_SERVICE_SPECIFIC ? mErrorCode : 0; in serviceSpecificErrorCode()
161 int32_t mErrorCode = 0; variable
/frameworks/native/include/binder/
DStatus.h138 return mException == EX_TRANSACTION_FAILED ? mErrorCode : OK; in transactionError()
141 return mException == EX_SERVICE_SPECIFIC ? mErrorCode : 0; in serviceSpecificErrorCode()
161 int32_t mErrorCode = 0; variable
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java198 private int mErrorCode = SipErrorCode.NO_ERROR; field in SipAudioCall
240 } else if (mErrorCode != SipErrorCode.NO_ERROR) { in setListener()
241 listener.onError(this, mErrorCode, mErrorMessage); in setListener()
305 mErrorCode = SipErrorCode.NO_ERROR; in close()
504 mErrorCode = errorCode; in createListener()
509 listener.onError(SipAudioCall.this, mErrorCode, in createListener()
569 mErrorCode = errorCode;

12