Searched defs:error (Results 176 - 200 of 351) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt2/cmd/
H A DDump.cpp242 std::string error; local
243 if (!DeserializeCompiledFileFromPb(pb_compiled_file, &file, &error)) {
245 << "failed to parse compiled file: " << error);
/frameworks/base/tools/aapt2/format/
H A DContainer.cpp133 std::ostringstream error; local
134 error << "failed reading from input: " << in->GetError();
135 error_ = error.str();
201 std::ostringstream error; local
202 error << "failed to read header length from input: " << reader_->in_->GetError();
203 reader_->error_ = error.str();
209 std::ostringstream error; local
210 error << "failed to read data length from input: " << reader_->in_->GetError();
211 reader_->error_ = error.str();
216 std::ostringstream error; local
223 std::ostringstream error; local
266 std::ostringstream error; local
279 std::ostringstream error; local
293 std::ostringstream error; local
313 std::ostringstream error; local
321 std::ostringstream error; local
335 std::ostringstream error; local
[all...]
/frameworks/base/tools/aapt2/link/
H A DReferenceLinker.cpp103 // error message.
357 bool error = false; local
372 error = true;
385 error = true;
390 return !error;
H A DTableMerger.cpp48 bool error = false; local
59 error |= !DoMerge(src, table, package.get(), false /*mangle*/, overlay, allow_new);
62 return !error;
69 bool error = false; local
79 error |= !DoMerge(src, table, package.get(), mangle, false /*overlay*/, true /*allow_new*/);
81 return !error;
203 bool error = false; local
208 error = true;
233 error = true;
238 error
[all...]
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.cpp107 const std::string& XmlPullParser::error() const { return error_; } function in class:aapt::xml::XmlPullParser
/frameworks/compile/libbcc/lib/
H A DRSCompilerDriver.cpp120 // functions. Fail if verification returns an error.
165 std::error_code error; local
166 llvm::raw_fd_ostream out_stream(pOutputPath, error, llvm::sys::fs::F_RW);
167 if (error) {
169 error.message().c_str());
196 path.c_str(), error, llvm::sys::fs::F_RW | llvm::sys::fs::F_Text));
197 if (error) {
199 error.message().c_str());
H A DRSScriptGroupFusion.cpp138 int error = getFusedFuncSig(sources, slots, signature); local
140 if (error < 0) {
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileHandle.h28 GoodBit = 0, // no error
29 BadBit = 1L << 0, // error due to the inappropriate operation
118 int error() const { return errno; } function in class:mcld::FileHandle
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCameraManager.java68 * Returns the error code {@link ERROR_DISCONNECTED} if disconnected, or one of
69 * {@code CameraDevice.StateCallback#ERROR_*} if there was another error.
71 * @return int Disconnect/error code
78 * Thrown when camera device enters error state during open, or if
252 public void onError(CameraDevice camera, int error) { argument
257 if (error <= 0) {
258 throw new AssertionError("Expected error to be a positive number");
264 mError = error;
274 if (mProxy != null) mProxy.onError(camera, error);
319 "Failed to open camera device: error cod
[all...]
/frameworks/ml/nn/common/
H A DValidateHal.cpp323 int error = local
327 if (error != ANEURALNETWORKS_NO_ERROR) {
426 // for printing error messages. The operandIndexes is the appropriate array of input
/frameworks/native/libs/ui/
H A DGralloc2.cpp104 Error error = validateBufferDescriptorInfo(descriptorInfo); local
105 if (error != Error::NONE) {
106 return error;
111 error = tmpError;
112 if (error != Error::NONE) {
133 return (ret.isOk()) ? error : kTransactionError;
139 Error error; local
143 error = tmpError;
144 if (error != Error::NONE) {
151 return (ret.isOk()) ? error
159 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; local
188 Error error; local
223 Error error; local
258 Error error; local
284 Error error; local
339 Error error; local
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dclient.cpp27 error_ = -status.error();
28 ret.SetError(status.error());
50 bool Client::NeedToDisconnectChannel(int error) const {
51 return error == ESHUTDOWN && auto_reconnect_enabled_;
54 void Client::CheckDisconnect(int error) { argument
55 if (NeedToDisconnectChannel(error))
56 Close(error);
69 error_ = -status.error();
81 int Client::error() const { return error_; } function in class:android::pdx::Client
108 void Client::Close(int error) { argument
277 CheckDisconnect(int error) argument
[all...]
H A Dclient_tests.cpp130 void SetOnConnectError(int error) { on_connect_error_ = error; } argument
159 EXPECT_EQ(-EACCES, failed_client1.error());
163 EXPECT_EQ(-EACCES, failed_client2.error());
172 EXPECT_EQ(0, client_->error());
175 EXPECT_EQ(-EINVAL, client_->error());
192 EXPECT_EQ(EIO, status.error());
235 EXPECT_EQ(EIO, status.error());
266 EXPECT_EQ(EACCES, status.error());
299 EXPECT_EQ(EACCES, status.error());
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl.cpp57 char const* const error = "call to OpenGL ES API with " local
60 ALOGE(error);
62 LOG_ALWAYS_FATAL(error);
148 // implementation too, so we don't have to generate a GL error here
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp40 // int error = glGetError();
41 // fprintf(stderr, "glGetError() = %d, result of glGetString = %x\n", error,
61 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error
63 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error),
64 error);
69 for (GLint error = glGetError(); error; error
229 EGLint error = eglGetError(); local
[all...]
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp39 // int error = glGetError();
40 // fprintf(stderr, "glGetError() = %d, result of glGetString = %x\n", error,
54 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error
56 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error),
57 error);
62 for (GLint error = glGetError(); error; error
215 EGLint error = eglGetError(); local
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp168 bool error; local
203 startRefColor = hwcTestParseColor(in, error);
204 // Any parse error or characters not used by parser
205 if (error
225 endRefColor = hwcTestParseColor(in, error);
226 // Any parse error or characters not used by parser
227 if (error
H A DhwcRects.cpp365 bool error; local
384 rect.displayFrame = hwcTestParseHwcRect(in, error);
385 if (error) {
453 rect.color = hwcTestParseColor(in, error);
454 if (error) {
466 rect.sourceDim = hwcTestParseDim(in, error);
467 if (error) {
473 rect.sourceCrop = hwcTestParseHwcRect(in, error);
474 if (error) {
/frameworks/native/opengl/tests/lib/include/
H A DEGLUtils.h175 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error = eglGetError()) {
176 msg.appendFormat("after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error), error);
183 for (GLint error = glGetError(); error != GL_NO_ERROR; error = glGetError()) {
184 msg.appendFormat("after %s() glError (0x%x)\n", op, error);
235 EGLint error local
[all...]
/frameworks/native/services/vr/bufferhubd/
H A Dproducer_channel.cpp41 size_t user_metadata_size, int* error)
50 *error = -EINVAL;
55 *error = -EINVAL;
59 *error = InitializeBuffer();
66 int* error)
76 *error = ret;
86 *error = ret;
90 *error = InitializeBuffer();
143 int error = 0; local
146 std::move(metadata_buffer), user_metadata_size, &error));
38 ProducerChannel(BufferHubService* service, int buffer_id, int channel_id, IonBuffer buffer, IonBuffer metadata_buffer, size_t user_metadata_size, int* error) argument
62 ProducerChannel(BufferHubService* service, int channel_id, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t format, uint64_t usage, size_t user_metadata_size, int* error) argument
158 int error; local
471 const int error = errno; local
[all...]
H A Dproducer_queue_channel.cpp21 int* error)
26 *error = 0;
51 int error = 0; local
53 service, channel_id, config, usage_policy, &error));
54 if (error < 0)
55 return ErrorStatus(-error);
185 return ErrorStatus(status.error());
216 return ErrorStatus(status.error());
17 ProducerQueueChannel(BufferHubService* service, int channel_id, const ProducerQueueConfig& config, const UsagePolicy& usage_policy, int* error) argument
/frameworks/native/services/vr/performanced/
H A Dcpu_set.cpp183 ALOGW_IF(!status && status.error() != EINVAL,
252 const int error = errno; local
254 strerror(error));
255 return ErrorStatus(error);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRadioConfig.java115 * @param error is the RIL_Errno sent back
118 private void clearRequestList(int error, boolean loggable) { argument
131 rr.onError(error, null);
224 int error = responseInfo.error;
233 loge("processResponse: Unexpected response! serial: " + serial + " error: " + error);
/frameworks/rs/cpp/
H A DRenderScript.cpp99 goto error;
115 goto error;
124 error:
190 void RS::throwError(RSError error, const char *errMsg) { argument
192 mCurrentError = error;
193 ALOGE("RS CPP error: %s", errMsg);
195 ALOGE("RS CPP error (masked by previous error): %s", errMsg);
231 ALOGE("RS::message handler realloc error %zu", rbuf_size);
/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...]

Completed in 6273 milliseconds

1234567891011>>