Searched defs:error (Results 151 - 175 of 293) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DClientMonitor.java135 * Called when we get notification from fingerprint HAL that an error has occurred with the
137 * @param error
140 public boolean onError(int error, int vendorCode) { argument
143 mReceiver.onError(getHalDeviceId(), error, vendorCode);
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp69 goto error;
76 goto error;
83 goto error;
88 error:
220 int error = SYSTEM_ERROR; local
230 if ((error = ifc_add_address(name, address, jPrefixLength)) != 0) {
232 strerror(-error));
235 if ((error = ifc_del_address(name, address, jPrefixLength)) != 0) {
237 strerror(-error));
248 return !error;
253 throwException(JNIEnv *env, int error, const char *message) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java91 public QueryPoolException(String error) { argument
92 super(error);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DAutomaticActivity.java44 * Threshold of error change required to consider a test regressed/improved
84 float error = mErrorCalculator.calcErrorRS(mSoftwareBitmap, mHardwareBitmap);
88 handleError(modifierNames, error);
122 TestResult(String label, float error) { argument
124 mTotalError = error;
127 public void addInto(float error) { argument
128 mTotalError += error;
168 Log.e(LOG_TAG, "error parsing input json", e);
170 Log.e(LOG_TAG, "error reading input json from sd", e);
210 c.report(String.format("tests with error ove
248 addForAllModifiers(String fullName, float error, String[] modifierNames, HashMap<String, TestResult> modifierResults) argument
260 handleError(final String[] modifierNames, final float error) argument
[all...]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerSession.java165 public void onError(int type, int extra, Bundle extras, Throwable error) { argument
169 if (error != null) {
170 bob.setErrorMessage(error.getLocalizedMessage());
/frameworks/base/tests/net/java/com/android/server/connectivity/
H A DIpConnectivityMetricsTest.java405 void connectEvent(int netid, int error, int latencyMs, String ipAddr) throws Exception { argument
406 mNetdListener.onConnectEvent(netid, error, latencyMs, ipAddr, 80, 1);
/frameworks/base/tools/aapt2/link/
H A DReferenceLinker.cpp122 // fill in the actual error message.
328 bool error = false; local
341 error = true;
353 error = true;
358 return !error;
H A DTableMerger.cpp56 bool error = false; local
86 error |= !DoMerge(src, table, package.get(), false /* mangle */, overlay,
90 return !error;
100 bool error = false; local
127 error |= !DoMerge(src, table, package.get(), mangle, false /* overlay */,
130 return !error;
248 bool error = false; local
253 error = true;
278 error = true;
283 error
[all...]
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.cpp101 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/native/libs/vr/libpdx/
H A Dclient.cpp28 error_ = -status.error();
29 ret.SetError(status.error());
51 bool Client::NeedToDisconnectChannel(int error) const {
52 return error == ESHUTDOWN && auto_reconnect_enabled_;
55 void Client::CheckDisconnect(int error) { argument
56 if (NeedToDisconnectChannel(error))
57 Close(error);
70 error_ = -status.error();
82 int Client::error() const { return error_; } function in class:android::pdx::Client
109 void Client::Close(int error) { argument
274 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.cpp37 // int error = glGetError();
38 // fprintf(stderr, "glGetError() = %d, result of glGetString = %x\n", error,
57 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error
59 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error),
60 error);
65 for (GLint error = glGetError(); error; error
225 EGLint error = eglGetError(); local
[all...]
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp139 EGLint error = eglGetError(); local
140 if (returnVal && error == EGL_SUCCESS) {
153 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error
155 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error),
156 error);
/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/services/vr/bufferhubd/
H A Dproducer_channel.cpp31 int* error)
41 *error = ret;
46 *error = 0;
53 int error; local
56 format, usage, meta_size_bytes, &error));
57 if (error < 0)
58 return ErrorStatus(-error);
263 const int error = errno; local
266 strerror(error));
267 return ErrorStatus(error);
27 ProducerChannel(BufferHubService* service, int channel_id, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t format, uint64_t usage, size_t meta_size_bytes, int* error) argument
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DRemotePlayer.java149 public void onError(String error, int code, Bundle data) {
150 logError("play: failed", error, code);
191 public void onError(String error, int code, Bundle data) {
192 logError("getStatus: failed", error, code);
220 public void onError(String error, int code, Bundle data) {
221 logError("pause: failed", error, code);
246 public void onError(String error, int code, Bundle data) {
247 logError("resume: failed", error, code);
275 public void onError(String error, int code, Bundle data) {
276 logError("stop: failed", error, cod
468 logError(String message, String error, int code) argument
[all...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DRemotePlayer.java149 public void onError(String error, int code, Bundle data) {
150 logError("play: failed", error, code);
191 public void onError(String error, int code, Bundle data) {
192 logError("getStatus: failed", error, code);
220 public void onError(String error, int code, Bundle data) {
221 logError("pause: failed", error, code);
246 public void onError(String error, int code, Bundle data) {
247 logError("resume: failed", error, code);
275 public void onError(String error, int code, Bundle data) {
276 logError("stop: failed", error, cod
468 logError(String message, String error, int code) argument
[all...]
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp206 void MediaFilter::signalError(status_t error) { argument
207 mCallback->onError(error, ACTION_CODE_FATAL);
339 // TODO notify caller of queueInput error when it is supported
548 ALOGV("saw error %d instead of an input buffer", err);

Completed in 4781 milliseconds

1234567891011>>