Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
H A 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()
/aosp12/frameworks/base/media/java/android/media/metrics/
H A 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 …]
/aosp12/packages/services/Car/car-lib/src/android/car/hardware/property/
H A DCarPropertyEvent.java36 private final @CarPropertyManager.CarSetPropertyErrorCode int mErrorCode; field in CarPropertyEvent
64 dest.writeInt(mErrorCode); in writeToParcel()
87 mErrorCode = CarPropertyManager.CAR_SET_PROPERTY_ERROR_CODE_UNKNOWN; in CarPropertyEvent()
97 mErrorCode = errorCode; in CarPropertyEvent()
118 return mErrorCode; in getErrorCode()
123 mErrorCode = in.readInt(); in CarPropertyEvent()
131 + ", mErrorCode=" + mErrorCode in toString()
/aosp12/frameworks/base/core/java/android/os/
H A 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()
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/
H A DUceDeviceState.java89 final @ErrorCode Optional<Integer> mErrorCode; field in UceDeviceState.DeviceStateResult
96 mErrorCode = errorCode; in DeviceStateResult()
120 return mErrorCode; in getErrorCode()
144 mErrorCode.equals(otherDeviceState.getErrorCode()) && in isDeviceStateEqual()
169 private @ErrorCode Optional<Integer> mErrorCode; field in UceDeviceState
184 mErrorCode = deviceState.get().getErrorCode(); in UceDeviceState()
189 mErrorCode = Optional.empty(); in UceDeviceState()
328 if (!mErrorCode.equals(newErrorCode)) { in updateErrorCode()
329 mErrorCode = newErrorCode; in updateErrorCode()
334 if (mErrorCode.isPresent()) { in resetErrorCode()
[all …]
/aosp12/frameworks/native/libs/binder/
H A 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()
/aosp12/frameworks/av/media/tests/benchmark/src/native/encoder/
H A 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()
264 return mErrorCode; in encode()
284 mErrorCode = (media_status_t)outIdx; in encode()
285 return mErrorCode; in encode()
[all …]
H A DEncoder.h58 mErrorCode(AMEDIA_OK) {} in Encoder()
95 media_status_t mErrorCode; variable
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
H A 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()
/aosp12/frameworks/av/media/tests/benchmark/src/native/decoder/
H A 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()
H A DDecoder.h41 mErrorCode(AMEDIA_OK), in Decoder()
91 media_status_t mErrorCode; variable
/aosp12/frameworks/base/keystore/java/android/security/
H A DKeyStoreException.java30 private final int mErrorCode; field in KeyStoreException
34 mErrorCode = errorCode; in KeyStoreException()
38 return mErrorCode; in getErrorCode()
/aosp12/frameworks/base/core/java/android/content/pm/parsing/result/
H A DParseTypeImpl.java49 private int mErrorCode = PackageManager.INSTALL_SUCCEEDED; field in ParseTypeImpl
113 mErrorCode = PackageManager.INSTALL_SUCCEEDED;
129 if (mErrorCode != PackageManager.INSTALL_SUCCEEDED) {
222 mErrorCode = errorCode;
249 return mErrorCode == PackageManager.INSTALL_SUCCEEDED;
259 return mErrorCode;
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsResponse.java41 public int mErrorCode; field in SmsResponse
53 mErrorCode = errorCode; in SmsResponse()
60 + ", mErrorCode = " + mErrorCode in toString()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DDataModelException.java57 private final int mErrorCode; field in DataModelException
70 mErrorCode = errorCode; in DataModelException()
99 return mErrorCode; in getErrorCode()
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
H A 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()
H A DUceRequestCoordinator.java149 private final Optional<Integer> mErrorCode; field in UceRequestCoordinator.RequestResult
158 mErrorCode = Optional.empty(); in RequestResult()
168 mErrorCode = Optional.of(errorCode); in RequestResult()
181 return mErrorCode; in getErrorCode()
/aosp12/system/libhidl/base/
H A DStatus.cpp77 mErrorCode(errorCode) {} in Status()
81 mErrorCode(errorCode), in Status()
86 mErrorCode = ex == EX_TRANSACTION_FAILED ? FAILED_TRANSACTION : NO_ERROR; in setException()
92 mErrorCode = status; in setFromStatusT()
/aosp12/frameworks/base/media/java/android/media/
H A DMediaCasStateException.java27 private final int mErrorCode; field in MediaCasStateException
32 mErrorCode = err; in MediaCasStateException()
115 return mErrorCode; in getErrorCode()
/aosp12/frameworks/native/include/binder/
H A DStatus.h133 return mException == EX_TRANSACTION_FAILED ? mErrorCode : OK; in transactionError()
136 return mException == EX_SERVICE_SPECIFIC ? mErrorCode : 0; in serviceSpecificErrorCode()
156 int32_t mErrorCode = 0; variable
/aosp12/frameworks/native/libs/binder/include/binder/
H A DStatus.h133 return mException == EX_TRANSACTION_FAILED ? mErrorCode : OK; in transactionError()
136 return mException == EX_SERVICE_SPECIFIC ? mErrorCode : 0; in serviceSpecificErrorCode()
156 int32_t mErrorCode = 0; variable
/aosp12/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
H A DTmaMediaEvent.java115 final StateErrorCode mErrorCode; field in TmaMediaEvent
129 mErrorCode = errorCode; in TmaMediaEvent()
140 return mState == EventState.ERROR && mErrorCode == StateErrorCode.PREMIUM_ACCOUNT_REQUIRED; in premiumAccountRequired()
161 ", mErrorCode=" + mErrorCode + in toString()
/aosp12/frameworks/base/services/core/java/com/android/server/graphics/fonts/
H A DFontManagerService.java112 private final int mErrorCode; field in FontManagerService.SystemFontException
116 mErrorCode = errorCode; in SystemFontException()
121 mErrorCode = errorCode; in SystemFontException()
126 return mErrorCode; in getErrorCode()
/aosp12/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
H A DCarBugreportManagerTest.java178 private int mErrorCode = NO_ERROR; field in CarBugreportManagerTest.FakeCarBugreportCallback
192 mErrorCode = errorCode; in onError()
206 return mErrorCode; in getErrorCode()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/security/
H A DChooseLockPinPasswordFragment.java69 private int mErrorCode = PasswordHelper.NO_ERROR; field in ChooseLockPinPasswordFragment
342 mErrorCode = mPasswordHelper.validate(mCurrentEntry); in handlePrimaryButtonClick()
343 if (mErrorCode == PasswordHelper.NO_ERROR) { in handlePrimaryButtonClick()
425 mPasswordHelper.convertErrorCodeToMessages(getContext(), mErrorCode); in updateUi()
552 mErrorCode = PasswordHelper.NO_ERROR; in handleMessage()

12