/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | Preconditions.java | 79 public static void checkArgument(boolean expression, Object errorMessage) { in checkArgument() argument 81 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkArgument() 134 public static void checkState(boolean expression, Object errorMessage) { in checkState() argument 136 throw new IllegalStateException(String.valueOf(errorMessage)); in checkState() 192 public static <T> T checkNotNull(T reference, Object errorMessage) { in checkNotNull() argument 194 throw new NullPointerException(String.valueOf(errorMessage)); in checkNotNull()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/ |
D | NoHfpFragment.java | 52 public static NoHfpFragment newInstance(String errorMessage) { in newInstance() argument 56 args.putString(ERROR_MESSAGE_KEY, errorMessage); in newInstance() 74 public void setErrorMessage(String errorMessage) { in setErrorMessage() argument 75 mErrorMessage = errorMessage; in setErrorMessage()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ExportProcessor.java | 249 private String translateComposerError(String errorMessage) { in translateComposerError() argument 251 if (VCardComposer.FAILURE_REASON_FAILED_TO_GET_DATABASE_INFO.equals(errorMessage)) { in translateComposerError() 253 } else if (VCardComposer.FAILURE_REASON_NO_ENTRY.equals(errorMessage)) { in translateComposerError() 255 } else if (VCardComposer.FAILURE_REASON_NOT_INITIALIZED.equals(errorMessage)) { in translateComposerError() 258 return errorMessage; in translateComposerError()
|
D | ImportVCardActivity.java | 120 public DialogDisplayer(String errorMessage) { in DialogDisplayer() argument 122 mErrorMessage = errorMessage; in DialogDisplayer()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountCheckSettingsFragment.java | 244 final String errorMessage = in reportProgress() local 246 getCallbackTarget().onCheckSettingsError(reason, errorMessage); in reportProgress() 412 final String errorMessage; in doInBackground() local 413 errorMessage = bundle.getString( in doInBackground() 415 return new MessagingException(resultCode, errorMessage); in doInBackground()
|
D | AccountServerBaseFragment.java | 213 protected void makeTextViewUneditable(final TextView view, final String errorMessage) { in makeTextViewUneditable() argument 226 view.setError(errorMessage); in makeTextViewUneditable() 236 view.setError(errorMessage); in makeTextViewUneditable()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/core/ |
D | PreferenceControllerContractTest.java | 85 final StringBuilder errorMessage = new StringBuilder() in controllersInSearchShouldImplementPreferenceControllerMixin() local 90 errorMessage.append(c).append("\n"); in controllersInSearchShouldImplementPreferenceControllerMixin() 92 fail(errorMessage.toString()); in controllersInSearchShouldImplementPreferenceControllerMixin()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | MediaItemMetadata.java | 376 String errorMessage = "Unable to load resource " + imageUri; in getAlbumArt() local 377 Log.e(TAG, errorMessage); in getAlbumArt() 378 return CompletableFuture.failedFuture(new Exception(errorMessage)); in getAlbumArt() 409 String errorMessage = "unsupported uri: \n" + imageUri; in getAlbumArt() local 410 Log.e(TAG, errorMessage); in getAlbumArt() 411 return CompletableFuture.failedFuture(new Exception(errorMessage)); in getAlbumArt()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | SampleChunkIoHelper.java | 368 String errorMessage = in doOpenRead() local 370 SoftPreconditions.checkNotNull(readPosition, TAG, errorMessage); in doOpenRead() 371 throw new IOException(errorMessage); in doOpenRead() 455 String errorMessage = in doUpdateIndex() local 461 SoftPreconditions.checkNotNull(readPosition, TAG, errorMessage); in doUpdateIndex() 462 throw new IOException(errorMessage); in doUpdateIndex()
|
/packages/apps/TV/common/src/com/android/tv/common/compat/internal/ |
D | ViewCompatProcessor.java | 74 String errorMessage = in handleEvent() local 76 Log.w(TAG, "Error sent in compat notify " + errorMessage); in handleEvent()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 320 fail(testcase.errorMessage()); in testIsProvisioned() 330 String errorMessage() { in errorMessage() method in IpClientTest.IsProvisionedTestCase 413 fail(testcase.errorMessage()); in testInitialConfigurations() 422 public String errorMessage() { in errorMessage() method in IpClientTest.InitialConfigurationTestCase
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaMediaEvent.java | 113 public TmaMediaEvent(EventState state, StateErrorCode errorCode, String errorMessage, in TmaMediaEvent() argument 117 mErrorMessage = errorMessage; in TmaMediaEvent()
|
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
D | FallbackAssistant.java | 152 public void handleErrorMessage(CharSequence errorMessage, Listener listener) { in handleErrorMessage() argument 158 if (mTextToSpeechHelper.requestPlay(Collections.singletonList(errorMessage), in handleErrorMessage()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | DiskBasedLogger.java | 245 private static void closeStream(Closeable stream, String errorMessage) { in closeStream() argument 249 Log.e(TAG, errorMessage); in closeStream()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | VideoCamera.java | 691 String errorMessage = null; in showStorageHint() local 693 errorMessage = getString(R.string.no_storage); in showStorageHint() 695 errorMessage = getString(R.string.preparing_sd); in showStorageHint() 697 errorMessage = getString(R.string.access_sd_fail); in showStorageHint() 699 errorMessage = getString(R.string.spaceIsLow_content); in showStorageHint() 702 if (errorMessage != null) { in showStorageHint() 704 mStorageHint = OnScreenHint.makeText(this, errorMessage); in showStorageHint() 706 mStorageHint.setText(errorMessage); in showStorageHint()
|
/packages/apps/Settings/src/com/android/settings/ |
D | IccLockSettings.java | 488 private void createCustomTextToast(CharSequence errorMessage) { in createCustomTextToast() argument 496 tv.setText(errorMessage); in createCustomTextToast() 519 params.setTitle(errorMessage); in createCustomTextToast()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | IccLockSettings.java | 488 private void createCustomTextToast(CharSequence errorMessage) { in createCustomTextToast() argument 496 tv.setText(errorMessage); in createCustomTextToast() 519 params.setTitle(errorMessage); in createCustomTextToast()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | StreamableAsset.java | 214 private void closeInputStream(InputStream inputStream, String errorMessage) { in closeInputStream() argument 218 Log.e(TAG, errorMessage); in closeInputStream()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarBugreportManagerService.java | 243 String errorMessage = line.substring(FAIL_PREFIX.length()); in processBugreportSockets() local 244 Slog.e(TAG, "Failed to dumpstate: " + errorMessage); in processBugreportSockets()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 125 final String errorMessage = (String) msg.obj; 128 mErrorMessage.setText(errorMessage);
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 125 final String errorMessage = (String) msg.obj; 128 mErrorMessage.setText(errorMessage);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallsManager.java | 2525 CharSequence errorMessage; 2528 errorMessage = mContext.getText(R.string.cant_call_due_to_ongoing_unknown_call); 2530 errorMessage = mContext.getString(R.string.cant_call_due_to_ongoing_call, 2535 errorMessage, errorMessage, "Ongoing call in another app."));
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 1392 String errorMessage = data.getStringExtra(LauncherActivity.ERROR_MESSAGE); in onActivityResult() local 1393 if (!TextUtils.isEmpty(errorMessage)) { in onActivityResult() 1394 Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_SHORT).show(); in onActivityResult()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningController.java | 160 void showErrorAndClose(Integer titleId, int messageId, String errorMessage); in showErrorAndClose() argument
|