/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | PasswordHelper.java | 90 public List<String> convertErrorCodeToMessages(Context context, int errorCode) { in convertErrorCodeToMessages() argument 91 return mIsPin ? convertPinErrorCodeToMessages(context, errorCode) : in convertErrorCodeToMessages() 92 convertPasswordErrorCodeToMessages(context, errorCode); in convertErrorCodeToMessages() 96 int errorCode = NO_ERROR; in validatePassword() local 99 errorCode |= TOO_SHORT; in validatePassword() 106 errorCode |= CONTAINS_INVALID_CHARACTERS; in validatePassword() 111 return errorCode; in validatePassword() 136 int errorCode = NO_ERROR; in validatePin() local 141 errorCode |= TOO_SHORT; in validatePin() 145 errorCode |= CONTAINS_NON_DIGITS; in validatePin() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DataModelException.java | 61 public DataModelException(final int errorCode, final Exception innerException, in DataModelException() argument 66 if (errorCode < FIRST || errorCode > LAST) { in DataModelException() 67 throw new IllegalArgumentException("error code out of range: " + errorCode); in DataModelException() 70 mErrorCode = errorCode; in DataModelException() 81 public DataModelException(final int errorCode) { in DataModelException() argument 82 this(errorCode, null, 0, false, null); in DataModelException() 85 public DataModelException(final int errorCode, final Exception innerException) { in DataModelException() argument 86 this(errorCode, innerException, 0, false, null); in DataModelException() 89 public DataModelException(final int errorCode, final String message) { in DataModelException() argument 90 this(errorCode, null, 0, false, message); in DataModelException()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockPassword.java | 720 int errorCode = NO_ERROR; in validatePassword() local 726 errorCode |= TOO_SHORT; in validatePassword() 729 errorCode |= TOO_LONG; in validatePassword() 753 errorCode |= CONTAIN_SEQUENTIAL_DIGITS; in validatePassword() 759 errorCode |= RECENTLY_USED; in validatePassword() 767 errorCode |= CONTAIN_INVALID_CHARACTERS; in validatePassword() 777 errorCode |= CONTAIN_NON_DIGITS; in validatePassword() 782 errorCode |= NOT_ENOUGH_LETTER; in validatePassword() 785 errorCode |= NOT_ENOUGH_UPPER_CASE; in validatePassword() 788 errorCode |= NOT_ENOUGH_LOWER_CASE; in validatePassword() [all …]
|
D | ConfirmDeviceCredentialActivity.java | 107 public void onAuthenticationError(int errorCode, @NonNull CharSequence errString) { 109 if (errorCode == BiometricPrompt.BIOMETRIC_ERROR_USER_CANCELED 110 || errorCode == BiometricPrompt.BIOMETRIC_ERROR_CANCELED) { 113 errorCode, getStringForError(errorCode)); 140 private String getStringForError(int errorCode) { in getStringForError() argument 141 switch (errorCode) { in getStringForError()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockPassword.java | 719 int errorCode = NO_ERROR; in validatePassword() local 725 errorCode |= TOO_SHORT; in validatePassword() 728 errorCode |= TOO_LONG; in validatePassword() 752 errorCode |= CONTAIN_SEQUENTIAL_DIGITS; in validatePassword() 758 errorCode |= RECENTLY_USED; in validatePassword() 766 errorCode |= CONTAIN_INVALID_CHARACTERS; in validatePassword() 776 errorCode |= CONTAIN_NON_DIGITS; in validatePassword() 781 errorCode |= NOT_ENOUGH_LETTER; in validatePassword() 784 errorCode |= NOT_ENOUGH_UPPER_CASE; in validatePassword() 787 errorCode |= NOT_ENOUGH_LOWER_CASE; in validatePassword() [all …]
|
D | ConfirmDeviceCredentialActivity.java | 107 public void onAuthenticationError(int errorCode, @NonNull CharSequence errString) { 109 if (errorCode == BiometricPrompt.BIOMETRIC_ERROR_USER_CANCELED 110 || errorCode == BiometricPrompt.BIOMETRIC_ERROR_CANCELED) { 113 errorCode, getStringForError(errorCode)); 140 private String getStringForError(int errorCode) { in getStringForError() argument 141 switch (errorCode) { in getStringForError()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | HalClient.java | 182 final int errorCode; field in HalClient.PropertySetError 186 PropertySetError(int errorCode, int propId, int areaId) { in PropertySetError() argument 187 this.errorCode = errorCode; in PropertySetError() 219 mCallback.onPropertySetError(obj.errorCode, obj.propId, obj.areaId); in handleMessage() 250 public void onPropertySetError(int errorCode, int propId, int areaId) { in onPropertySetError() argument 253 new PropertySetError(errorCode, propId, areaId))); in onPropertySetError()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | AbstractProvisioningController.java | 105 protected abstract int getErrorMsgId(AbstractProvisioningTask task, int errorCode); in getErrorMsgId() argument 106 protected abstract boolean getRequireFactoryReset(AbstractProvisioningTask task, int errorCode); in getRequireFactoryReset() argument 173 public synchronized void onError(AbstractProvisioningTask task, int errorCode) { in onError() argument 176 mProvisioningAnalyticsTracker.logProvisioningError(mContext, task, errorCode); in onError() 177 mCallback.error(getErrorTitle(), getErrorMsgId(task, errorCode), in onError() 178 getRequireFactoryReset(task, errorCode)); in onError()
|
D | AdminIntegratedFlowPrepareController.java | 78 protected int getErrorMsgId(AbstractProvisioningTask task, int errorCode) { in getErrorMsgId() argument 82 switch (errorCode) { in getErrorMsgId() 89 switch (errorCode) { in getErrorMsgId() 96 switch (errorCode) { in getErrorMsgId() 108 protected boolean getRequireFactoryReset(AbstractProvisioningTask task, int errorCode) { in getRequireFactoryReset() argument
|
D | DeviceOwnerProvisioningController.java | 96 protected int getErrorMsgId(AbstractProvisioningTask task, int errorCode) { in getErrorMsgId() argument 100 switch (errorCode) { in getErrorMsgId() 107 switch (errorCode) { in getErrorMsgId() 114 switch (errorCode) { in getErrorMsgId() 126 protected boolean getRequireFactoryReset(AbstractProvisioningTask task, int errorCode) { in getRequireFactoryReset() argument
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsSender.java | 138 final int errorCode, final int partId, int subId) { in setResult() argument 142 + " resultCode=" + resultCode + " errorCode=" + errorCode); in setResult() 143 if (errorCode != SendStatusReceiver.NO_ERROR_CODE) { in setResult() 145 UiUtils.showToastAtBottom(getSendErrorToastMessage(context, subId, errorCode)); in setResult() 170 final int errorCode) { in getSendErrorToastMessage() argument 173 return context.getString(R.string.carrier_send_error_unknown_carrier, errorCode); in getSendErrorToastMessage() 175 return context.getString(R.string.carrier_send_error, carrierName, errorCode); in getSendErrorToastMessage()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
D | Vvm3EventHandler.java | 258 private static void postError(VoicemailStatus.Editor editor, @ErrorCode int errorCode) { in postError() argument 259 switch (errorCode) { in postError() 280 editor.setConfigurationState(errorCode); in postError() 288 editor.setDataChannelState(errorCode); in postError() 291 editor.setNotificationChannelState(errorCode); in postError() 294 VvmLog.wtf(TAG, "unknown error code: " + errorCode); in postError()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattServer.java | 271 public void onStartFailure(int errorCode) { in onStartFailure() argument 273 if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_ALREADY_STARTED) { in onStartFailure() 275 } else if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_DATA_TOO_LARGE) { in onStartFailure() 277 } else if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_FEATURE_UNSUPPORTED) { in onStartFailure() 279 } else if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_INTERNAL_ERROR) { in onStartFailure() 281 } else if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_TOO_MANY_ADVERTISERS) { in onStartFailure()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimTypeDataTest.java | 106 assertEquals(UNABLE_TO_PROCESS_CODE, result.atClientErrorCode.errorCode); in testDecodeNullTypeData() 113 assertEquals(UNABLE_TO_PROCESS_CODE, result.atClientErrorCode.errorCode); in testDecodeInvalidSubtype() 121 assertEquals(INSUFFICIENT_CHALLENGES_CODE, result.atClientErrorCode.errorCode); in testDecodeInvalidAtRand() 128 assertEquals(UNABLE_TO_PROCESS_CODE, result.atClientErrorCode.errorCode); in testDecodeShortPacket() 136 assertEquals(UNABLE_TO_PROCESS_CODE, result.atClientErrorCode.errorCode); in testDecodeInvalidEapAttribute() 155 assertEquals(UNABLE_TO_PROCESS_CODE, result.atClientErrorCode.errorCode); in testDecodeDuplicateAttributes()
|
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/ |
D | BugReportService.java | 407 public void onError(@CarBugreportErrorCode int errorCode) { in requestBugReport() 408 Log.e(TAG, "CarBugreportManager failed: " + errorCode); in requestBugReport() 410 handleBugReportManagerError(errorCode); in requestBugReport() 438 @CarBugreportManager.CarBugreportManagerCallback.CarBugreportErrorCode int errorCode) { in handleBugReportManagerError() 451 Status.STATUS_WRITE_FAILED, getBugReportFailureStatusMessage(errorCode)); in handleBugReportManagerError() 462 @CarBugreportManager.CarBugreportManagerCallback.CarBugreportErrorCode int errorCode) { in getBugReportFailureStatusMessage() 463 switch (errorCode) { in getBugReportFailureStatusMessage() 470 return "Car service bugreport collection failed: " + errorCode; in getBugReportFailureStatusMessage()
|
/packages/services/Car/service/src/com/android/car/trust/ |
D | CarTrustAgentBleManager.java | 667 public void onStartFailure(int errorCode) { 668 Log.e(TAG, "Failed to advertise, errorCode: " + errorCode); 670 super.onStartFailure(errorCode); 687 public void onStartFailure(int errorCode) { 688 Log.e(TAG, "Failed to advertise, errorCode: " + errorCode); 689 super.onStartFailure(errorCode); 690 if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_ALREADY_STARTED) {
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | BleCentralManager.java | 165 public void onScanFailed(int errorCode) { 170 mScanCallback.onScanFailed(errorCode); 177 + errorCode 180 switch(errorCode) {
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppInfoBase.java | 178 protected abstract AlertDialog createDialog(int id, int errorCode); in createDialog() argument 250 int errorCode = getArguments().getInt("moveError"); in onCreateDialog() local 251 Dialog dialog = ((AppInfoBase) getTargetFragment()).createDialog(id, errorCode); in onCreateDialog() 258 public static MyAlertDialogFragment newInstance(int id, int errorCode) { in newInstance() argument 262 args.putInt("moveError", errorCode); in newInstance()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppInfoBase.java | 178 protected abstract AlertDialog createDialog(int id, int errorCode); in createDialog() argument 250 int errorCode = getArguments().getInt("moveError"); in onCreateDialog() local 251 Dialog dialog = ((AppInfoBase) getTargetFragment()).createDialog(id, errorCode); in onCreateDialog() 258 public static MyAlertDialogFragment newInstance(int id, int errorCode) { in newInstance() argument 262 args.putInt("moveError", errorCode); in newInstance()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | NsdResolveQueue.java | 110 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { in onResolveFailed() argument 113 + errorCode + " (" + (System.currentTimeMillis() - mStartTime) + " ms)"); in onResolveFailed() 116 mListener.onResolveFailed(serviceInfo, errorCode); in onResolveFailed()
|
/packages/services/Car/car-lib/src/android/car/trust/ |
D | CarTrustAgentEnrollmentManager.java | 375 @TrustedDeviceEnrollmentError int errorCode); in onEnrollmentHandshakeFailure() argument 452 @TrustedDeviceEnrollmentError int errorCode) { in onEnrollmentHandshakeFailure() argument 459 MSG_ENROLL_HANDSHAKE_FAILURE, new AuthInfo(device, null, errorCode))); in onEnrollmentHandshakeFailure() 725 @TrustedDeviceEnrollmentError int errorCode) { in AuthInfo() argument 728 mErrorCode = errorCode; in AuthInfo()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaAttribute.java | 859 public final int errorCode; field in EapSimAkaAttribute.AtClientErrorCode 861 public AtClientErrorCode(int lengthInBytes, int errorCode) in AtClientErrorCode() argument 869 this.errorCode = errorCode; in AtClientErrorCode() 875 byteBuffer.putShort((short) errorCode); in encode() 878 private static AtClientErrorCode getClientErrorCode(int errorCode) { in getClientErrorCode() argument 880 return new AtClientErrorCode(ATTR_LENGTH, errorCode); in getClientErrorCode()
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarBugreportManager.java | 90 public void onError(@CarBugreportErrorCode int errorCode) { in onError() argument 131 public void onError(@CarBugreportManagerCallback.CarBugreportErrorCode int errorCode) { in onError() argument 135 handler.post(() -> callback.onError(errorCode)); in onError()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2TypeData.java | 315 public final int errorCode; field in EapMsChapV2TypeData.EapMsChapV2FailureRequest 345 this.errorCode = Integer.parseInt(mappings.get(ERROR_LABEL)); in EapMsChapV2FailureRequest() 361 int errorCode, in EapMsChapV2FailureRequest() argument 369 this.errorCode = errorCode; in EapMsChapV2FailureRequest()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | readertest.cpp | 414 #define TEST_NUMBER_ERROR(errorCode, str) \ in TEST() argument 422 EXPECT_EQ(errorCode, reader.GetParseErrorCode());\ in TEST() 600 #define TEST_STRING_ERROR(errorCode, str)\ in TEST() argument 601 EXPECT_EQ(errorCode, TestString<UTF8<> >(str)) in TEST() 734 #define TEST_ARRAY_ERROR(errorCode, str) \ in TEST() argument 742 EXPECT_EQ(errorCode, reader.GetParseErrorCode());\ in TEST() 895 #define TEST_ERROR(errorCode, str) \ argument 903 EXPECT_EQ(errorCode, reader.GetParseErrorCode());\ 1063 #define TESTERRORHANDLING(text, errorCode, offset)\ argument 1070 EXPECT_EQ(errorCode, reader.GetParseErrorCode()); \
|