Home
last modified time | relevance | path

Searched refs:errorMsg (Results 1 – 16 of 16) sorted by relevance

/packages/services/Telephony/src/com/android/phone/
DPhoneDisplayMessage.java54 public static void displayErrorMessage(Context context, String errorMsg) { in displayErrorMessage() argument
55 if (DBG) log("displayErrorMessage: errorMsg=" + errorMsg); in displayErrorMessage()
58 displayMessage(context, title, errorMsg); in displayErrorMessage()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEvenMoreAsserts.java62 private static String appendUserMessage(String errorMsg, String userMsg) { in appendUserMessage() argument
63 return userMsg == null ? errorMsg : errorMsg + userMsg; in appendUserMessage()
/packages/apps/Settings/src/com/android/settings/network/
DApnEditor.java870 String errorMsg = validateApnData(); in validateAndSaveApnData() local
871 if (errorMsg != null) { in validateAndSaveApnData()
1073 String errorMsg = null; in validateApnData() local
1081 errorMsg = getResources().getString(R.string.error_name_empty); in validateApnData()
1083 errorMsg = getResources().getString(R.string.error_apn_empty); in validateApnData()
1085 errorMsg = getResources().getString(R.string.error_mcc_not3); in validateApnData()
1087 errorMsg = getResources().getString(R.string.error_mnc_not23); in validateApnData()
1090 if (errorMsg == null) { in validateApnData()
1104 errorMsg = String.format(getResources().getString(R.string.error_adding_apn_type), in validateApnData()
1109 return errorMsg; in validateApnData()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnEditor.java870 String errorMsg = validateApnData(); in validateAndSaveApnData() local
871 if (errorMsg != null) { in validateAndSaveApnData()
1073 String errorMsg = null; in validateApnData() local
1081 errorMsg = getResources().getString(R.string.error_name_empty); in validateApnData()
1083 errorMsg = getResources().getString(R.string.error_apn_empty); in validateApnData()
1085 errorMsg = getResources().getString(R.string.error_mcc_not3); in validateApnData()
1087 errorMsg = getResources().getString(R.string.error_mnc_not23); in validateApnData()
1090 if (errorMsg == null) { in validateApnData()
1104 errorMsg = String.format(getResources().getString(R.string.error_adding_apn_type), in validateApnData()
1109 return errorMsg; in validateApnData()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnEditorActivity.java438 String errorMsg = null; in getErrorMsg() local
445 errorMsg = getString(R.string.error_apn_name_empty); in getErrorMsg()
447 errorMsg = getString(R.string.error_mcc_not3); in getErrorMsg()
449 errorMsg = getString(R.string.error_mnc_not23); in getErrorMsg()
452 return errorMsg; in getErrorMsg()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/
DBiometricEnrollIntroduction.java152 final int errorMsg = checkMaxEnrolled(); in onResume() local
153 if (errorMsg == 0) { in onResume()
157 mErrorText.setText(errorMsg); in onResume()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollIntroduction.java164 final int errorMsg = checkMaxEnrolled(); in onResume() local
165 if (errorMsg == 0) { in onResume()
170 mErrorText.setText(errorMsg); in onResume()
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DVoicemailChangePinActivity.java227 CharSequence errorMsg; in handleNext() local
228 errorMsg = activity.validatePassword(activity.getCurrentPasswordInput()); in handleNext()
229 if (errorMsg != null) { in handleNext()
230 activity.showError(errorMsg); in handleNext()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessSentMessageAction.java168 String errorMsg = "ProcessSentMessageAction: Platform returned error resultCode: " in executeAction() local
172 errorMsg += (", HTTP status code: " + httpStatusCode); in executeAction()
174 LogUtil.w(TAG, errorMsg); in executeAction()
DSyncMessageBatch.java323 String errorMsg = "SQLiteConstraintException while inserting message for " + messageUri in rethrowSQLiteConstraintExceptionWithDetails() local
331 throw new RuntimeException(errorMsg, e); in rethrowSQLiteConstraintExceptionWithDetails()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java225 private void showNoHfpOverlay(String errorMsg) { in showNoHfpOverlay() argument
228 ((NoHfpFragment) overlayFragment).setErrorMessage(errorMsg); in showNoHfpOverlay()
230 setOverlayFragment(NoHfpFragment.newInstance(errorMsg)); in showNoHfpOverlay()
DTelecomActivityViewModel.java106 addSource(mErrorStringLiveData, errorMsg -> updateDialerAppState()); in DialerAppStateLiveData()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DTaskExecutor.java37 public void onError(AbstractProvisioningTask task, int errorMsg) { in onError() argument
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DPMCMainActivity.java197 Toast errorMsg = Toast.makeText(getBaseContext(), msg, Toast.LENGTH_LONG); in startDownloadFile() local
198 errorMsg.show(); in startDownloadFile()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java450 String errorMsg = String.format("Permission denied for URI: %s\n. " + in checkPackagesMatch() local
454 throw new SecurityException(errorMsg); in checkPackagesMatch()
/packages/apps/Dialer/java/com/android/incallui/
DInCallPresenter.java1596 final String errorMsg = in setDisconnectCauseForMissingAccounts() local
1601 new DisconnectCause(DisconnectCause.ERROR, null, errorMsg, errorMsg); in setDisconnectCauseForMissingAccounts()