/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 | 141 final int errorCode, final int partId, int subId) { in setResult() argument 145 + " resultCode=" + resultCode + " errorCode=" + errorCode); in setResult() 146 if (errorCode != SendStatusReceiver.NO_ERROR_CODE) { in setResult() 148 UiUtils.showToastAtBottom(getSendErrorToastMessage(context, subId, errorCode)); in setResult() 173 final int errorCode) { in getSendErrorToastMessage() argument 176 return context.getString(R.string.carrier_send_error_unknown_carrier, errorCode); in getSendErrorToastMessage() 178 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/services/Car/service/src/com/android/car/trust/ |
D | CarTrustAgentBleManager.java | 643 public void onStartFailure(int errorCode) { 644 Log.e(TAG, "Failed to advertise, errorCode: " + errorCode); 646 super.onStartFailure(errorCode); 663 public void onStartFailure(int errorCode) { 664 Log.e(TAG, "Failed to advertise, errorCode: " + errorCode); 665 super.onStartFailure(errorCode); 666 if (errorCode == AdvertiseCallback.ADVERTISE_FAILED_ALREADY_STARTED) {
|
/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/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 238 int errorCode = checkKeyChainStatus(alias, attestationChain, attestArgs); 239 if (errorCode == KeyChain.KEY_ATTESTATION_CANNOT_ATTEST_IDS) { 246 return errorCode; 264 final int errorCode = mKeyStore.attestKey(keystoreAlias, attestArgs, attestationChain); 265 if (errorCode != KeyStore.NO_ERROR) { 266 Log.e(TAG, String.format("Failure attesting for key %s: %d", alias, errorCode)); 267 if (errorCode == KeyStore.CANNOT_ATTEST_IDS) {
|
/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()
|
D | MdnsDiscovery.java | 181 public void onStopDiscoveryFailed(String s, int errorCode) { in onStopDiscoveryFailed() argument 182 Log.w(TAG, "onStopDiscoveryFailed: " + errorCode); in onStopDiscoveryFailed() 228 public void onResolveFailed(final NsdServiceInfo info, final int errorCode) { in onResolveFailed() argument
|
/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/services/Car/car-lib/src/android/car/ |
D | CarBugreportManager.java | 92 public void onError(@CarBugreportErrorCode int errorCode) { in onError() argument 133 public void onError(@CarBugreportManagerCallback.CarBugreportErrorCode int errorCode) { in onError() argument 137 handler.post(() -> callback.onError(errorCode)); in onError()
|
/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()); \
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 406 assertDhcpErrorCodes(DhcpErrorEvent.L3_TOO_SHORT, expected.errorCode); in testBadIpPacket() 425 assertDhcpErrorCodes(DhcpErrorEvent.L3_TOO_SHORT, expected.errorCode); in testBadDhcpPacket() 454 assertDhcpErrorCodes(DhcpErrorEvent.L3_TOO_SHORT, expected.errorCode); in testBadTruncatedOffer() 485 assertDhcpErrorCodes(DhcpErrorEvent.DHCP_NO_COOKIE, expected.errorCode); in testBadOfferWithoutACookie() 517 assertDhcpErrorCodes(DhcpErrorEvent.DHCP_BAD_MAGIC_COOKIE, expected.errorCode); in testOfferWithBadCookie() 554 if (e.errorCode == DhcpErrorEvent.PARSING_ERROR) { in testTruncatedOfferPackets() 571 if (e.errorCode == DhcpErrorEvent.PARSING_ERROR) { in testRandomPackets()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 826 public final int errorCode; field in DhcpPacket.ParseException 827 public ParseException(int errorCode, String msg, Object... args) { in ParseException() argument 829 this.errorCode = errorCode; in ParseException() 1138 final int errorCode = DhcpErrorEvent.errorCodeWithOption( in decodeFullPacket() local 1140 throw new ParseException(errorCode, in decodeFullPacket() 1146 final int errorCode = DhcpErrorEvent.errorCodeWithOption( in decodeFullPacket() 1148 throw new ParseException(errorCode, "BufferUnderflowException"); in decodeFullPacket()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsReceiver.java | 189 final int errorCode = intent.getIntExtra(EXTRA_ERROR_CODE, 0); in deliverSmsIntent() local 193 deliverSmsMessages(context, subId, errorCode, messages); in deliverSmsIntent() 201 final int errorCode, final android.telephony.SmsMessage[] messages) { in deliverSmsMessages() argument 203 MmsUtils.parseReceivedSmsMessage(context, messages, errorCode); in deliverSmsMessages()
|