Home
last modified time | relevance | path

Searched defs:errorMessage (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/content/pm/parsing/result/
DParseInputAndResultTest.kt87 fun errorMessage() { in errorMessage() method
88 val errorMessage = "Test error" in errorMessage() constant
99 val errorMessage = "Test error" in errorCodeAndMessage() constant
110 val errorMessage = "Test error" in errorCodeAndMessageAndException() constant
122 val errorMessage = "Test error" in errorCarryResult() constant
/frameworks/libs/modules-utils/java/com/android/internal/util/
DPreconditions.java57 public static void checkArgument(boolean expression, final Object errorMessage) { in checkArgument()
107 final Object errorMessage) { in checkStringNotEmpty()
165 public static @NonNull <T> T checkNotNull(final T reference, final Object errorMessage) { in checkNotNull()
213 public static void checkState(final boolean expression, String errorMessage) { in checkState()
322 final String errorMessage) { in checkArgumentNonnegative()
369 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative()
385 public static int checkArgumentPositive(final int value, final String errorMessage) { in checkArgumentPositive()
400 public static float checkArgumentNonNegative(final float value, final String errorMessage) { in checkArgumentNonNegative()
415 public static float checkArgumentPositive(final float value, final String errorMessage) { in checkArgumentPositive()
/frameworks/native/include/powermanager/
DPowerHalWrapper.h71 const char* errorMessage() const { return mErrorMessage.c_str(); } in errorMessage() function
80 explicit HalResult(std::string errorMessage, bool unsupported) in HalResult()
102 const char* errorMessage() const { return mErrorMessage.c_str(); } in errorMessage() function
111 explicit HalResult(std::string errorMessage) in HalResult()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DPreconditions.java46 public static void checkArgument(boolean expression, final Object errorMessage) { in checkArgument()
95 final Object errorMessage) { in checkStringNotEmpty()
127 public static @NonNull <T> T checkNotNull(final T reference, final Object errorMessage) { in checkNotNull()
204 final String errorMessage) { in checkArgumentNonnegative()
251 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative()
267 public static int checkArgumentPositive(final int value, final String errorMessage) { in checkArgumentPositive()
/frameworks/base/services/core/jni/gnss/
DUtils.h52 void logHidlError(hardware::Return<T>& result, const char* errorMessage) { in logHidlError()
57 jboolean checkHidlReturn(hardware::Return<T>& result, const char* errorMessage) { in checkHidlReturn()
67 jboolean checkHidlReturn(hardware::Return<sp<T>>& result, const char* errorMessage) { in checkHidlReturn()
DUtils.cpp57 jboolean checkAidlStatus(const android::binder::Status& status, const char* errorMessage) { in checkAidlStatus()
65 jboolean checkHidlReturn(hardware::Return<bool>& result, const char* errorMessage) { in checkHidlReturn()
/frameworks/base/errorprone/tests/res/android/util/
DPreconditions.java24 public static void checkArgument(boolean expression, Object errorMessage) { in checkArgument()
32 public static <T> T checkNotNull(T reference, Object errorMessage) { in checkNotNull()
/frameworks/opt/net/voip/src/java/android/net/sip/
DISipSessionListener.aidl90 void onError(in ISipSession session, int errorCode, String errorMessage); in onError()
100 String errorMessage); in onCallChangeFailed()
125 String errorMessage); in onRegistrationFailed()
DSipRegistrationListener.java49 String errorMessage); in onRegistrationFailed()
DSipSession.java187 String errorMessage) { in onError()
198 String errorMessage) { in onCallChangeFailed()
226 String errorMessage) { in onRegistrationFailed()
/frameworks/base/test-runner/src/android/test/
DAssertionFailedError.java33 public AssertionFailedError(String errorMessage) { in AssertionFailedError()
/frameworks/base/core/java/android/app/admin/
DStartInstallingUpdateCallback.aidl26 void onStartInstallingUpdateError(int errorCode, String errorMessage); in onStartInstallingUpdateError()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h71 const char* errorMessage() const { return mErrorMessage.c_str(); } in errorMessage() function
87 explicit HalResult(std::string errorMessage, bool unsupported) in HalResult()
109 const char* errorMessage() const { return mErrorMessage.c_str(); } in errorMessage() function
125 explicit HalResult(std::string errorMessage) in HalResult()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DPlaybackError.java23 public String errorMessage; field in PlaybackError
/frameworks/base/core/java/android/accounts/
DIAccountManagerResponse.aidl28 void onError(int errorCode, String errorMessage); in onError()
DIAccountAuthenticatorResponse.aidl30 void onError(int errorCode, String errorMessage); in onError()
DAccountManagerResponse.java50 public void onError(int errorCode, String errorMessage) { in onError()
DAccountAuthenticatorResponse.java71 public void onError(int errorCode, String errorMessage) { in onError()
/frameworks/base/core/java/android/content/pm/parsing/result/
DParseInput.java141 <ResultType> ParseResult<ResultType> error(int parseError, @Nullable String errorMessage); in error()
154 <ResultType> ParseResult<ResultType> error(int parseError, @Nullable String errorMessage, in error()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java105 @Nullable String errorMessage) { in AppSearchResult()
198 @ResultCode int resultCode, @Nullable String errorMessage) { in newFailedResult()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellBroadcastServiceManager.java241 final String errorMessage = "Unable to bind to service"; in initCellBroadcastServiceModule() local
255 final String errorMessage = "Unable to bind service; no cell broadcast service found"; in initCellBroadcastServiceModule() local
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java48 String errorMessage = in.readString(); in AppSearchResultParcel() local
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingUtils.java51 StringBuilder errorMessage) { in findService()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DOpenGLUtils.java36 final String errorMessage = glOperation + ": glError " + error; in checkGlError() local
/frameworks/base/services/core/java/com/android/server/utils/
DWatchable.java100 static void handleVerifyError(String errorMessage, boolean logOnly) { in handleVerifyError()

123