Searched refs:error (Results 101 - 125 of 745) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/font/
H A DFontUtil.h30 #error TEXTURE_BORDER_SIZE other than 1 is not currently supported
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/error/
H A DRunAsPartOfSeparateTest.java16 package android.test.suitebuilder.examples.error;
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
H A DRemoteLayoutLogAdapter.java51 public void error(String tag, String message, Serializable data) { method in class:RemoteLayoutLogAdapter
52 mLog.error(tag, message, null);
56 public void error(String tag, String message, Throwable throwable, Serializable data) { method in class:RemoteLayoutLogAdapter
57 mLog.error(tag, message, throwable, null);
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
H A DRemoteLayoutLogAdapter.java52 public void error(String tag, String message, Object data) { method in class:RemoteLayoutLogAdapter
54 mLog.error(tag, message, null);
61 public void error(String tag, String message, Throwable throwable, Object data) { method in class:RemoteLayoutLogAdapter
63 mLog.error(tag, message, throwable, null);
/frameworks/native/opengl/libs/EGL/
H A Degl_tls.h35 EGLint error; member in class:android::egl_tls_t
42 const char* caller, int line, EGLint error, bool quiet);
56 int line, EGLint error, T returnValue, bool quiet = false) {
57 setErrorEtcImpl(caller, line, error, quiet);
55 setErrorEtc(const char* caller, int line, EGLint error, T returnValue, bool quiet = false) argument
/frameworks/support/jetifier/jetifier/gradle-plugin/src/main/kotlin/com/android/tools/build/jetifier/plugin/gradle/
H A DJetifierLoggerAdapter.kt27 override fun error(message: String) {
28 gradleLogger.error(message)
/frameworks/native/services/vr/virtual_touchpad/
H A DVirtualTouchpadService.cpp35 // This indicates a problem with the client, so return an error.
52 if (const status_t error = touchpad_->Attach()) {
53 return binder::Status::fromStatusT(error);
63 if (const status_t error = touchpad_->Detach()) {
64 return binder::Status::fromStatusT(error);
74 if (const status_t error = touchpad_->Touch(touchpad, x, y, pressure)) {
75 return binder::Status::fromStatusT(error);
84 if (const status_t error = touchpad_->ButtonState(touchpad, buttons)) {
85 return binder::Status::fromStatusT(error);
94 if (const status_t error
[all...]
/frameworks/rs/script_api/
H A DScanner.cpp98 ostream& Scanner::error() { function in class:Scanner
99 return error(mLineNumber);
102 ostream& Scanner::error(int lineNumber) { function in class:Scanner
104 cerr << mFileName << ":" << lineNumber << ": error: ";
112 error() << "Unexpected: \" " << mValue << "\".\n";
120 error() << "Found \"" << mTag << "\" while looking for \"" << tag << "\".\n";
144 error() << "Did not expect \"" << mValue << "\" after \"" << mTag << "\".\n";
156 error() << "Missing closing double quote\n";
184 error() << "Missing variable name\n";
190 error() << "Th
[all...]
H A DScanner.h76 * Returns false if the tag is not found and prints an error.
79 // Same as findTag but does not print an error if the tag is not found.
86 std::ostream& error();
87 std::ostream& error(int lineNumber);
/frameworks/native/libs/vr/libbufferhub/
H A Dbuffer_hub_client.cpp74 return -status.error();
95 ALOGE("Failed to import metadata buffer, error=%d", ret);
179 "fd from epoll set, error: %s.",
191 const int error = errno; local
194 "into epoll set, error: %s.",
195 strerror(error));
196 return -error;
265 : LocalChannelHandle{nullptr, -status.error()});
314 if (const int error = CheckMetadata(user_metadata_size))
315 return error;
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DInputBindResult.java135 * <p>Due to the asynchronous nature of Android OS, we cannot completely avoid this error.
284 private static InputBindResult error(@ResultCode int result) { method in class:InputBindResult
289 * Predefined error object for {@link ResultCode#ERROR_NULL}.
291 public static final InputBindResult NULL = error(ResultCode.ERROR_NULL);
293 * Predefined error object for {@link ResultCode#NO_IME}.
295 public static final InputBindResult NO_IME = error(ResultCode.ERROR_NO_IME);
297 * Predefined error object for {@link ResultCode#NO_EDITOR}.
299 public static final InputBindResult NO_EDITOR = error(ResultCode.ERROR_NO_EDITOR);
301 * Predefined error object for {@link ResultCode#ERROR_INVALID_PACKAGE_NAME}.
304 error(ResultCod
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Depoll_event_dispatcher.cpp59 const int error = errno; local
60 ALOGE("Failed to add fd to epoll set because: %s", strerror(error));
61 return pdx::ErrorStatus(error);
73 const int error = errno; local
74 ALOGE("Failed to remove fd from epoll set because: %s", strerror(error));
75 return pdx::ErrorStatus(error);
90 const int error = dvrSetSchedulerClass(0, "graphics"); local
92 error < 0,
94 strerror(-error));
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
H A Ddisplay_client.h22 int error; local
24 if (auto surface = Create(attributes, &error))
27 status.SetError(error);
62 // TODO(eieio,avakulenko): Remove error param once pdx::ClientBase::Create()
64 explicit Surface(const SurfaceAttributes& attributes, int* error = nullptr);
66 int* error = nullptr);
90 explicit DisplayClient(int* error = nullptr);
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
H A DRemotePlayer.java150 public void onError(String error, int code, Bundle data) {
151 logError("play: failed", error, code);
192 public void onError(String error, int code, Bundle data) {
193 logError("getStatus: failed", error, code);
221 public void onError(String error, int code, Bundle data) {
222 logError("pause: failed", error, code);
247 public void onError(String error, int code, Bundle data) {
248 logError("resume: failed", error, code);
276 public void onError(String error, int code, Bundle data) {
277 logError("stop: failed", error, cod
469 logError(String message, String error, int code) argument
[all...]
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
H A DRemotePlayer.java150 public void onError(String error, int code, Bundle data) {
151 logError("play: failed", error, code);
192 public void onError(String error, int code, Bundle data) {
193 logError("getStatus: failed", error, code);
221 public void onError(String error, int code, Bundle data) {
222 logError("pause: failed", error, code);
247 public void onError(String error, int code, Bundle data) {
248 logError("resume: failed", error, code);
276 public void onError(String error, int code, Bundle data) {
277 logError("stop: failed", error, cod
469 logError(String message, String error, int code) argument
[all...]
/frameworks/base/tools/apilint/
H A Dapilint.py223 def __init__(self, sig, clazz, detail, error, rule, msg):
225 self.error = error
229 if error:
256 def _fail(clazz, detail, error, rule, msg):
263 failures[sig] = Failure(sig, clazz, detail, error, rule, msg)
269 def error(clazz, detail, rule, msg): function
291 error(clazz, f, "C2", "Constant field names must be FOO_NAME")
296 error(clazz, f, None, "All constants must be defined at compile time")
302 error(claz
[all...]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DHid.java43 error("Usage: hid [FILE]");
62 error("HID injection failed.", e);
85 error("Error reading in events.", ex);
103 error("Device id=" + e.getId() + " is already registered. Ignoring event.");
105 error("Unknown command \"" + e.getCommand() + "\". Ignoring event.");
126 private static void error(String msg) { method in class:Hid
127 error(msg, null);
130 private static void error(String msg, Exception e) { method in class:Hid
/frameworks/base/core/java/android/speech/
H A DIRecognitionListener.aidl60 * A network or recognition error occurred.
62 * @param error code is defined in {@link SpeechRecognizer}
64 void onError(in int error);
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisCallback.java32 * {@link #error} can be called at any stage in the synthesis process to
33 * indicate that an error has occurred, but if the call is made after a call
100 * <p>This method has to be called if {@link #start} and/or {@link #error} was called.
113 void error(); method in interface:SynthesisCallback
124 void error(@TextToSpeech.Error int errorCode); method in interface:SynthesisCallback
/frameworks/base/media/tests/audiotests/
H A DAndroid.mk23 LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DMain.java70 log.error("Usage: layoutlib_create [-v] output.jar input.jar ...");
71 log.error("Usage: layoutlib_create [-v] [--list-deps|--missing-deps] input.jar ...");
138 // Throw an error if any class failed to get renamed by the generator
140 // IMPORTANT: if you're building the platform and you get this error message,
145 // (80-column guide below for error formatting)
147 log.error(
152 log.error("- Class not found: %s", fqcn.replace('/', '.'));
164 e.error(log);
212 log.error("Unknown argument: %s", s);
218 log.error("Missin
[all...]
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteLayoutLog.java47 * @param viewCookie optional cookie of the view associated to this error
54 * Logs an error.
56 * @param tag a tag describing the type of the error
57 * @param message the message of the error
58 * @param data an optional data bundle that the client can use to improve the error display.
60 void error(String tag, String message, Serializable data) throws RemoteException; method in interface:RemoteLayoutLog
63 * Logs an error, and the {@link Throwable} that triggered it.
65 * @param tag a tag describing the type of the error
66 * @param message the message of the error
67 * @param throwable the Throwable that triggered the error
70 void error(String tag, String message, Throwable throwable, Serializable data) method in interface:RemoteLayoutLog
[all...]
/frameworks/ml/nn/runtime/
H A DVersionedIDevice.cpp36 [&result](ErrorStatus error, const Capabilities& capabilities) {
37 result = std::make_pair(error, capabilities);
45 [&result](ErrorStatus error, const V1_0::Capabilities& capabilities) {
46 result = std::make_pair(error, convertToV1_1(capabilities));
66 model, [&result](ErrorStatus error, const hidl_vec<bool>& supported) {
67 result = std::make_pair(error, supported);
75 convertToV1_0(model), [&result](ErrorStatus error, const hidl_vec<bool>& supported) {
76 result = std::make_pair(error, supported);
/frameworks/native/libs/gui/tests/
H A DSurfaceParcelable_test.cpp126 status_t error = mService->transact(opCode, data, &reply); local
127 if (error != NO_ERROR) {
128 ALOGE("Failed to get surface over binder, error=%d.", error);
129 return error;
132 error = surfaceShim->readFromParcel(&reply);
133 if (error != NO_ERROR) {
134 ALOGE("Failed to get surface from parcel, error=%d.", error);
135 return error;
[all...]
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/utils/
H A DStdOutLogConsumer.kt24 override fun error(message: String) {

Completed in 2887 milliseconds

1234567891011>>