/frameworks/base/core/java/com/android/internal/util/ |
D | Preconditions.java | 48 public static void checkArgument(boolean expression, final Object errorMessage) { in checkArgument() argument 50 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkArgument() 97 final Object errorMessage) { in checkStringNotEmpty() argument 99 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkStringNotEmpty() 153 public static @NonNull <T> T checkNotNull(final T reference, final Object errorMessage) { in checkNotNull() argument 155 throw new NullPointerException(String.valueOf(errorMessage)); in checkNotNull() 212 final String errorMessage) { in checkArgumentNonnegative() argument 214 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative() 259 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() argument 261 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative() [all …]
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingUtils.java | 51 StringBuilder errorMessage) { in findService() argument 56 errorMessage.setLength(0); // Clear it. in findService() 61 errorMessage.append("Service with " + serviceAction + " not found."); in findService() 68 errorMessage.append("More than one " + simpleClassName + "'s found in package " in findService() 70 Log.e(TAG, errorMessage.toString()); in findService() 76 errorMessage.append(simpleClassName + " " in findService() 80 Log.e(TAG, errorMessage.toString()); in findService()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | Preconditions.java | 46 public static void checkArgument(boolean expression, final Object errorMessage) { in checkArgument() argument 48 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkArgument() 95 final Object errorMessage) { in checkStringNotEmpty() argument 97 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkStringNotEmpty() 127 public static @NonNull <T> T checkNotNull(final T reference, final Object errorMessage) { in checkNotNull() argument 129 throw new NullPointerException(String.valueOf(errorMessage)); in checkNotNull() 204 final String errorMessage) { in checkArgumentNonnegative() argument 206 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative() 251 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() argument 253 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative() [all …]
|
/frameworks/base/tools/split-select/ |
D | Grouper_test.cpp | 164 String8 errorMessage("Failed to find expected group ["); in expectHasGroupWithSplits() local 167 errorMessage.append(", "); in expectHasGroupWithSplits() 169 errorMessage.append(splits[i].toString()); in expectHasGroupWithSplits() 171 errorMessage.append("].\nActual:\n"); in expectHasGroupWithSplits() 174 errorMessage.appendFormat("Group %d:\n", int(i + 1)); in expectHasGroupWithSplits() 177 errorMessage.append(" "); in expectHasGroupWithSplits() 178 errorMessage.append(group[j].toString()); in expectHasGroupWithSplits() 179 errorMessage.append("\n"); in expectHasGroupWithSplits() 182 ADD_FAILURE() << errorMessage.string(); in expectHasGroupWithSplits()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraOps.java | 105 String errorMessage = "Unknown error"; in resume() local 162 errorMessage = "no back camera"; in resume() 165 errorMessage = e.getMessage(); in resume() 171 return (foundCamera) ? null : errorMessage; in resume() 265 String errorMessage = mErrorDisplayer.getErrorString(e); in openCamera() 266 mErrorDisplayer.showErrorDialog(errorMessage); in openCamera() 376 String errorMessage = mErrorDisplayer.getErrorString(e); 377 mErrorDisplayer.showErrorDialog(errorMessage); 395 String errorMessage = mErrorDisplayer.getErrorString(e); 396 mErrorDisplayer.showErrorDialog(errorMessage); [all …]
|
D | CameraView.java | 93 public void showErrorDialog(String errorMessage) { in CameraView() 96 mErrorCallback.showError(errorMessage); in CameraView() 137 String errorMessage = mCameraOps.resume(); in resume() local 138 if (errorMessage != null) { in resume() 140 mErrorCallback.showError(errorMessage); in resume() 321 public void showError(String errorMessage); in showError() argument
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraOps.java | 100 String errorMessage = "Unknown error"; in resume() local 176 errorMessage = "no back camera"; in resume() 179 errorMessage = e.getMessage(); in resume() 185 return (foundCamera) ? null : errorMessage; in resume() 289 String errorMessage = mErrorDisplayer.getErrorString(e); in openCamera() 290 mErrorDisplayer.showErrorDialog(errorMessage); in openCamera() 411 String errorMessage = mErrorDisplayer.getErrorString(e); in setRepeatingRequest() 412 mErrorDisplayer.showErrorDialog(errorMessage); in setRepeatingRequest() 430 String errorMessage = mErrorDisplayer.getErrorString(e); in setRepeatingBurst() 431 mErrorDisplayer.showErrorDialog(errorMessage); in setRepeatingBurst() [all …]
|
D | CameraView.java | 93 public void showErrorDialog(String errorMessage) { in CameraView() 96 mErrorCallback.showError(errorMessage); in CameraView() 136 String errorMessage = mCameraOps.resume(); in resume() local 137 if (errorMessage != null) { in resume() 139 mErrorCallback.showError(errorMessage); in resume() 329 public void showError(String errorMessage); in showError() argument
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | ISipSessionListener.aidl | 90 void onError(in ISipSession session, int errorCode, String errorMessage); in onError() argument 100 String errorMessage); in onCallChangeFailed() argument 125 String errorMessage); in onRegistrationFailed() argument
|
D | SipSession.java | 185 String errorMessage) { in onError() argument 196 String errorMessage) { in onCallChangeFailed() argument 224 String errorMessage) { in onRegistrationFailed() argument
|
D | SipRegistrationListener.java | 47 String errorMessage); in onRegistrationFailed() argument
|
/frameworks/base/test-runner/src/android/test/ |
D | AssertionFailedError.java | 33 public AssertionFailedError(String errorMessage) { in AssertionFailedError() argument 34 super(errorMessage); in AssertionFailedError()
|
/frameworks/base/core/java/android/accounts/ |
D | AccountAuthenticatorResponse.java | 71 public void onError(int errorCode, String errorMessage) { in onError() argument 73 Log.v(TAG, "AccountAuthenticatorResponse.onError: " + errorCode + ", " + errorMessage); in onError() 76 mAccountAuthenticatorResponse.onError(errorCode, errorMessage); in onError()
|
D | AccountManagerResponse.java | 50 public void onError(int errorCode, String errorMessage) { in onError() argument 52 mResponse.onError(errorCode, errorMessage); in onError()
|
D | IAccountManagerResponse.aidl | 28 void onError(int errorCode, String errorMessage); in onError() argument
|
D | IAccountAuthenticatorResponse.aidl | 30 void onError(int errorCode, String errorMessage); in onError() argument
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ClassLoaderFactory.java | 123 String errorMessage = createClassloaderNamespace(classLoader, in createClassLoader() local 132 if (errorMessage != null) { in createClassLoader() 134 classLoader + ": " + errorMessage); in createClassLoader()
|
/frameworks/base/graphics/java/android/graphics/ |
D | LargeBitmap.java | 102 private void checkRecycled(String errorMessage) { in checkRecycled() argument 104 throw new IllegalStateException(errorMessage); in checkRecycled()
|
D | BitmapRegionDecoder.java | 253 private void checkRecycled(String errorMessage) { in checkRecycled() argument 255 throw new IllegalStateException(errorMessage); in checkRecycled()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | NV12Compressor.cpp | 225 char errorMessage[JMSG_LENGTH_MAX]; in onJpegError() local 226 (*errorManager->format_message)(cinfo, errorMessage); in onJpegError() 227 errorMessage[sizeof(errorMessage) - 1] = '\0'; in onJpegError() 228 ALOGE("JPEG compression error: %s", errorMessage); in onJpegError()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_angle_platform.cpp | 53 static void logError(PlatformMethods* /*platform*/, const char* errorMessage) { in logError() argument 54 ALOGE("ANGLE Error:%s", errorMessage); in logError()
|
/frameworks/base/services/core/java/com/android/server/appbinding/finders/ |
D | AppServiceFinder.java | 124 final StringBuilder errorMessage = new StringBuilder(); in findService() local 132 errorMessage); in findService() 135 final String message = errorMessage.toString(); in findService()
|
/frameworks/base/core/java/android/app/admin/ |
D | StartInstallingUpdateCallback.aidl | 26 void onStartInstallingUpdateError(int errorCode, String errorMessage); in onStartInstallingUpdateError() argument
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | PlaybackError.java | 23 public String errorMessage; field in PlaybackError
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | UpdateInstaller.java | 144 protected void notifyCallbackOnError(int errorCode, String errorMessage) { in notifyCallbackOnError() argument 151 mCallback.onStartInstallingUpdateError(errorCode, errorMessage); in notifyCallbackOnError()
|