/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
H A D | InstallTask.java | 49 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()
|
/aosp14/frameworks/base/media/java/android/media/metrics/ |
H A D | PlaybackErrorEvent.java | 133 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 …]
|
/aosp14/frameworks/base/core/java/android/service/voice/ |
H A D | VisualQueryDetectionServiceFailure.java | 83 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()
|
H A D | HotwordDetectionServiceFailure.java | 98 private int mErrorCode = ERROR_CODE_UNKNOWN; field in HotwordDetectionServiceFailure 109 mErrorCode = errorCode; in HotwordDetectionServiceFailure() 118 return mErrorCode; in getErrorCode() 134 switch (mErrorCode) { in getSuggestedAction() 155 dest.writeInt(mErrorCode); in writeToParcel() 161 return "HotwordDetectionServiceFailure { errorCode = " + mErrorCode + ", errorMessage = " in toString()
|
H A D | SoundTriggerFailure.java | 76 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()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | UpdateEngine.java | 503 private @ErrorCode int mErrorCode = ErrorCodeConstants.SUCCESS; field in UpdateEngine.AllocateSpaceResult 520 return mErrorCode; in getErrorCode() 542 if (mErrorCode == ErrorCodeConstants.SUCCESS) { in getFreeSpaceRequired() 545 if (mErrorCode == ErrorCodeConstants.NOT_ENOUGH_SPACE) { in getFreeSpaceRequired() 549 "getFreeSpaceRequired() is not available when error code is %d", mErrorCode)); in getFreeSpaceRequired() 586 result.mErrorCode = result.mFreeSpaceRequired == 0 in allocateSpace() 591 result.mErrorCode = e.errorCode; in allocateSpace() 600 private int mErrorCode = ErrorCodeConstants.ERROR; field in UpdateEngine.CleanupAppliedPayloadCallback 612 return mErrorCode; in getResult() 623 mErrorCode = errorCode; in onPayloadApplicationComplete()
|
/aosp14/frameworks/base/keystore/java/android/security/ |
H A D | KeyStoreException.java | 260 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() 362 PublicErrorInformation failureInfo = getErrorInformation(mErrorCode); in requiresUserAuthentication() 402 switch (mErrorCode) { in getRetryPolicy() [all …]
|
/aosp14/frameworks/base/core/java/android/content/pm/parsing/result/ |
H A D | ParseTypeImpl.java | 48 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;
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | MediaCasStateException.java | 27 private final int mErrorCode; field in MediaCasStateException 32 mErrorCode = err; in MediaCasStateException() 115 return mErrorCode; in getErrorCode()
|
H A D | MediaDrm.java | 669 private final int mErrorCode, mVendorError, mOemError, mErrorContext; field in MediaDrm.MediaDrmStateException 685 mErrorCode = errorCode; in MediaDrmStateException() 708 return mErrorCode; 732 return mErrorCode == ErrorCodes.ERROR_PROVISIONING_RETRY 733 || mErrorCode == ErrorCodes.ERROR_RESOURCE_CONTENTION; 769 mErrorCode = errorCode; 808 return mErrorCode; 833 return mErrorCode == ERROR_RESOURCE_CONTENTION; 836 private final int mErrorCode, mVendorError, mOemError, mErrorContext;
|
H A D | MediaCodec.java | 2516 mErrorCode = errorCode; in CodecException() 2547 return mErrorCode; 2585 private final int mErrorCode; 2604 mErrorCode = errorCode; 2724 return mErrorCode; 2752 private final int mErrorCode, mVendorError, mOemError, mErrorContext;
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/os/ |
H A D | BugreportManagerServiceImplTest.java | 174 int mErrorCode; field in BugreportManagerServiceImplTest.Listener 191 mErrorCode = errorCode; in onError() 209 return mErrorCode; in getErrorCode()
|
/aosp14/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
H A D | FontManagerService.java | 118 private final int mErrorCode; field in FontManagerService.SystemFontException 122 mErrorCode = errorCode; in SystemFontException() 127 mErrorCode = errorCode; in SystemFontException() 132 return mErrorCode; in getErrorCode()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserJourneyLoggerTest.java | 531 ArgumentCaptor<Integer> mErrorCode = ArgumentCaptor.forClass(Integer.class); field in UserJourneyLoggerTest.UserLifecycleJourneyReportedCaptor 544 mErrorCode.capture(), in captureAndAssert() 553 assertThat(mErrorCode.getValue()).isEqualTo(errorCode); in captureAndAssert() 574 ArgumentCaptor<Integer> mErrorCode = ArgumentCaptor.forClass(Integer.class); field in UserJourneyLoggerTest.UserLifecycleEventOccurredCaptor 584 mErrorCode.capture()); in captureAndAssert() 590 assertThat(mErrorCode.getValue()).isEqualTo(errorCode); in captureAndAssert()
|
/aosp14/frameworks/base/core/java/android/app/admin/ |
H A D | SystemUpdatePolicy.java | 233 private final int mErrorCode; field in SystemUpdatePolicy.ValidationFailedException 237 mErrorCode = errorCode; in ValidationFailedException() 244 return mErrorCode; in getErrorCode() 280 dest.writeInt(mErrorCode); in writeToParcel()
|
/aosp14/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/ |
H A D | BugreportManagerTest.java | 398 private int mErrorCode = -1; field in BugreportManagerTest.BugreportCallbackImpl 414 mErrorCode = errorCode; in onError() 437 return (mErrorCode != -1) || mSuccess; in isDone() 443 return mErrorCode; in getErrorCode()
|
/aosp14/frameworks/base/core/java/android/provider/ |
H A D | CallLog.java | 151 private final int mErrorCode; field in CallLog.CallComposerLoggingException 154 mErrorCode = errorCode; in CallComposerLoggingException() 161 return mErrorCode; in getErrorCode() 167 switch (mErrorCode) { in toString() 181 errorString = "[[" + mErrorCode + "]]"; in toString()
|
/aosp14/frameworks/base/telephony/java/android/telephony/satellite/ |
H A D | SatelliteManager.java | 105 @SatelliteError private final int mErrorCode; field in SatelliteManager.SatelliteException 113 mErrorCode = errorCode; in SatelliteException() 122 return mErrorCode; in getErrorCode()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
H A D | StagingManagerTest.java | 777 private int mErrorCode = -1; field in StagingManagerTest.FakeStagedSession 831 return mErrorCode; in getErrorCode() 945 mErrorCode = errorCode; in setSessionFailed()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
H A D | DomainVerificationService.java | 2010 private int mErrorCode; 2014 mErrorCode = errorCode; 2033 return mErrorCode != DomainVerificationManager.STATUS_OK; 2037 return mErrorCode;
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInstaller.java | 2191 private final int mErrorCode; field in PackageInstaller.PackageParsingException 2196 mErrorCode = errorCode; in PackageParsingException() 2200 return mErrorCode; in getErrorCode()
|
/aosp14/frameworks/base/telephony/java/android/telephony/ |
H A D | TelephonyManager.java | 4726 private final int mErrorCode; field in TelephonyManager.CallComposerException 4731 mErrorCode = errorCode; in CallComposerException() 4740 return mErrorCode; in getErrorCode() 12373 private final int mErrorCode; field in TelephonyManager.ModemActivityInfoException 12381 mErrorCode = errorCode; in ModemActivityInfoException() 12385 return mErrorCode; in getErrorCode() 12390 switch (mErrorCode) { in toString() 17320 private final int mErrorCode; field in TelephonyManager.NetworkSlicingException 17324 mErrorCode = errorCode; in NetworkSlicingException() 17329 switch (mErrorCode) { in toString()
|
/aosp14/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 3534 Landroid/app/admin/SystemUpdatePolicy$ValidationFailedException;->mErrorCode:I 26763 Landroid/media/MediaCasStateException;->mErrorCode:I 26783 Landroid/media/MediaCodec$CodecException;->mErrorCode:I 26784 Landroid/media/MediaCodec$CryptoException;->mErrorCode:I 27149 Landroid/media/MediaDrm$MediaDrmStateException;->mErrorCode:I 33430 Landroid/net/sip/SipAudioCall;->mErrorCode:I 48467 Landroid/security/KeyStoreException;->mErrorCode:I
|