/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockPassword.java | 644 int errorCode = NO_ERROR; in validatePassword() local 648 errorCode |= TOO_SHORT; in validatePassword() 651 errorCode |= TOO_LONG; in validatePassword() 658 errorCode |= CONTAIN_SEQUENTIAL_DIGITS; in validatePassword() 663 errorCode |= RECENTLY_USED; in validatePassword() 671 errorCode |= CONTAIN_INVALID_CHARACTERS; in validatePassword() 683 errorCode |= CONTAIN_NON_DIGITS; in validatePassword() 693 errorCode |= NOT_ENOUGH_LETTER; in validatePassword() 698 errorCode |= NOT_ENOUGH_UPPER_CASE; in validatePassword() 703 errorCode |= NOT_ENOUGH_LOWER_CASE; in validatePassword() [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/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | PackageInstallerImpl.java | 94 void installFailed(int errorCode, String errorDesc); in installFailed() argument 304 int errorCode = getPackageManagerErrorCode(status); in handleCommitCallback() local 305 Log.e(TAG, "Error " + errorCode + " while installing " + packageName + ": " in handleCommitCallback() 307 callback.installFailed(errorCode, null); in handleCommitCallback() 317 int errorCode; in getPackageManagerErrorCode() local 319 errorCode = InstallerConstants.ERROR_INSTALL_MALFORMED_BROADCAST; in getPackageManagerErrorCode() 321 errorCode = InstallerConstants.ERROR_PACKAGEINSTALLER_BASE - status; in getPackageManagerErrorCode() 323 return errorCode; in getPackageManagerErrorCode()
|
/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 | 102 protected abstract int getErrorMsgId(AbstractProvisioningTask task, int errorCode); in getErrorMsgId() argument 103 protected abstract boolean getRequireFactoryReset(AbstractProvisioningTask task, int errorCode); in getRequireFactoryReset() argument 187 public synchronized void onError(AbstractProvisioningTask task, int errorCode) { in onError() argument 190 mProvisioningAnalyticsTracker.logProvisioningError(mContext, task, errorCode); in onError() 191 mCallback.error(getErrorTitle(), getErrorMsgId(task, errorCode), in onError() 192 getRequireFactoryReset(task, errorCode)); in onError()
|
D | DeviceOwnerProvisioningController.java | 90 protected int getErrorMsgId(AbstractProvisioningTask task, int errorCode) { in getErrorMsgId() argument 94 switch (errorCode) { in getErrorMsgId() 101 switch (errorCode) { in getErrorMsgId() 108 switch (errorCode) { in getErrorMsgId() 120 protected boolean getRequireFactoryReset(AbstractProvisioningTask task, int errorCode) { in getRequireFactoryReset() argument
|
D | ProfileOwnerProvisioningController.java | 117 protected int getErrorMsgId(AbstractProvisioningTask task, int errorCode) { in getErrorMsgId() argument 122 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/TrustAgent/src/com/android/car/trust/comms/ |
D | SimpleBleServer.java | 60 void onServerStartFailed(int errorCode); in onServerStartFailed() argument 190 public void onStartFailure(int errorCode) { 191 super.onStartFailure(errorCode); 193 Log.d(TAG, "Failed to advertise, errorCode: " + errorCode); 196 listener.onServerStartFailed(errorCode);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppInfoBase.java | 182 protected abstract AlertDialog createDialog(int id, int errorCode); in createDialog() argument 254 int errorCode = getArguments().getInt("moveError"); in onCreateDialog() local 255 Dialog dialog = ((AppInfoBase) getTargetFragment()).createDialog(id, errorCode); in onCreateDialog() 262 public static MyAlertDialogFragment newInstance(int id, int errorCode) { in newInstance() argument 266 args.putInt("moveError", errorCode); in newInstance()
|
/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/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | NsdResolveQueue.java | 118 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { in onResolveFailed() argument 121 errorCode + " (" + (System.currentTimeMillis() - mStartTime) + " ms)"); in onResolveFailed() 124 listener.onResolveFailed(serviceInfo, errorCode); in onResolveFailed()
|
D | MdnsDiscovery.java | 187 public void onStopDiscoveryFailed(String s, int errorCode) { in onStopDiscoveryFailed() argument 188 Log.w(TAG, "onStopDiscoveryFailed: " + errorCode); in onStopDiscoveryFailed() 227 public void onResolveFailed(final NsdServiceInfo info, final int errorCode) { in onResolveFailed() argument
|
/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()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | TokenMgrError.java | 49 int errorCode; field in TokenMgrError 142 errorCode = reason; in TokenMgrError()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | TokenMgrError.java | 49 int errorCode; field in TokenMgrError 142 errorCode = reason; in TokenMgrError()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
D | TokenMgrError.java | 49 int errorCode; field in TokenMgrError 142 errorCode = reason; in TokenMgrError()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountCheckSettingsFragment.java | 360 int errorCode = in doInBackground() local 362 if (errorCode == MessagingException.AUTODISCOVER_AUTHENTICATION_FAILED) { in doInBackground() 364 } else if (errorCode != MessagingException.NO_ERROR) { in doInBackground()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/tts/ |
D | FakeTTSEngine.java | 70 void failRequest(String utteranceId, int errorCode) { in failRequest() argument 72 mProgressListener.onError(utteranceId, errorCode); in failRequest()
|
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/ |
D | StreamingServiceTracker.java | 29 public void onError(int errorCode, String message) { in onError() argument 30 String toastMessage = "Error: " + errorCode + ": " + message; in onError()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TetherService.java | 332 int errorCode = result == RESULT_OK ? ConnectivityManager.TETHER_ERROR_NO_ERROR : in fireCallbacksForType() local 335 if (DEBUG) Log.d(TAG, "Firing result: " + errorCode + " to callback"); in fireCallbacksForType() 336 callback.send(errorCode, null); in fireCallbacksForType()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/ |
D | AnalyticsUtils.java | 96 public static String getErrorString(AbstractProvisioningTask task, int errorCode) { in getErrorString() argument 102 return task.getClass().getSimpleName() + ":" + errorCode; in getErrorString()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraMediaChooser.java | 325 public void onCameraError(final int errorCode, final Exception e) { in onCameraError() argument 326 switch (errorCode) { in onCameraError() 344 LogUtil.w(LogUtil.BUGLE_TAG, "Unknown camera error:" + errorCode); in onCameraError()
|