Home
last modified time | relevance | path

Searched refs:errorMessage (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java45 public static void checkArgument(boolean expression, final Object errorMessage) { in checkArgument() argument
47 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkArgument()
94 final Object errorMessage) { in checkStringNotEmpty() argument
96 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkStringNotEmpty()
126 public static @NonNull <T> T checkNotNull(final T reference, final Object errorMessage) { in checkNotNull() argument
128 throw new NullPointerException(String.valueOf(errorMessage)); in checkNotNull()
203 final String errorMessage) { in checkArgumentNonnegative() argument
205 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative()
250 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() argument
252 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative()
[all …]
/frameworks/support/compat/java/android/support/v4/util/
DPreconditions.java49 public static void checkArgument(boolean expression, final Object errorMessage) { in checkArgument() argument
51 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkArgument()
81 final Object errorMessage) { in checkStringNotEmpty() argument
83 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkStringNotEmpty()
113 public static @NonNull <T> T checkNotNull(final T reference, final Object errorMessage) { in checkNotNull() argument
115 throw new NullPointerException(String.valueOf(errorMessage)); in checkNotNull()
170 final String errorMessage) { in checkArgumentNonnegative() argument
172 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative()
217 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() argument
219 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative()
[all …]
/frameworks/base/tools/split-select/
DGrouper_test.cpp164 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/
DCameraOps.java105 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 …]
DCameraView.java93 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/
DCameraOps.java100 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 …]
DCameraView.java93 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/
DISipSessionListener.aidl90 void onError(in ISipSession session, int errorCode, String errorMessage); in onError() argument
100 String errorMessage); in onCallChangeFailed() argument
125 String errorMessage); in onRegistrationFailed() argument
DSipSession.java185 String errorMessage) { in onError() argument
196 String errorMessage) { in onCallChangeFailed() argument
224 String errorMessage) { in onRegistrationFailed() argument
DSipRegistrationListener.java47 String errorMessage); in onRegistrationFailed() argument
/frameworks/base/test-runner/src/android/test/
DAssertionFailedError.java33 public AssertionFailedError(String errorMessage) { in AssertionFailedError() argument
34 super(errorMessage); in AssertionFailedError()
/frameworks/base/core/java/android/accounts/
DAccountAuthenticatorResponse.java69 public void onError(int errorCode, String errorMessage) { in onError() argument
71 Log.v(TAG, "AccountAuthenticatorResponse.onError: " + errorCode + ", " + errorMessage); in onError()
74 mAccountAuthenticatorResponse.onError(errorCode, errorMessage); in onError()
DAccountManagerResponse.java50 public void onError(int errorCode, String errorMessage) { in onError() argument
52 mResponse.onError(errorCode, errorMessage); in onError()
DIAccountManagerResponse.aidl26 void onError(int errorCode, String errorMessage); in onError() argument
DIAccountAuthenticatorResponse.aidl27 void onError(int errorCode, String errorMessage); in onError() argument
/frameworks/base/core/java/com/android/internal/os/
DClassLoaderFactory.java99 String errorMessage = createClassloaderNamespace(classLoader, in createClassLoader() local
107 if (errorMessage != null) { in createClassLoader()
109 classLoader + ": " + errorMessage); in createClassLoader()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DConstantBindingTestObject.java34 public void setErrorMessage(String errorMessage) { in setErrorMessage() argument
35 this.mErrorMessage = errorMessage; in setErrorMessage()
/frameworks/support/media-compat/api22/android/support/v4/media/session/
DPlaybackStateCompatApi22.java32 float speed, long actions, CharSequence errorMessage, long updateTime, in newInstance() argument
39 stateObj.setErrorMessage(errorMessage); in newInstance()
/frameworks/base/graphics/java/android/graphics/
DLargeBitmap.java102 private void checkRecycled(String errorMessage) { in checkRecycled() argument
104 throw new IllegalStateException(errorMessage); in checkRecycled()
DBitmapRegionDecoder.java248 private void checkRecycled(String errorMessage) { in checkRecycled() argument
250 throw new IllegalStateException(errorMessage); in checkRecycled()
/frameworks/support/media-compat/api21/android/support/v4/media/session/
DPlaybackStateCompatApi21.java64 float speed, long actions, CharSequence errorMessage, long updateTime, in newInstance() argument
71 stateObj.setErrorMessage(errorMessage); in newInstance()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DPlaybackStateCompat.java552 float rate, long actions, int errorCode, CharSequence errorMessage, long updateTime, in PlaybackStateCompat() argument
561 mErrorMessage = errorMessage; in PlaybackStateCompat()
1310 public Builder setErrorMessage(CharSequence errorMessage) { in setErrorMessage() argument
1311 mErrorMessage = errorMessage; in setErrorMessage()
1323 public Builder setErrorMessage(@ErrorCode int errorCode, CharSequence errorMessage) { in setErrorMessage() argument
1325 mErrorMessage = errorMessage; in setErrorMessage()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackFragmentGlueHost.java126 public void onError(int errorCode, CharSequence errorMessage) {
127 mFragment.onError(errorCode, errorMessage);
DPlaybackSupportFragmentGlueHost.java123 public void onError(int errorCode, CharSequence errorMessage) {
124 mFragment.onError(errorCode, errorMessage);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DPlaybackError.java23 public String errorMessage; field in PlaybackError

123