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

1234567891011>>

/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DSimpleCompilationTest.java51 assertTrue("there should not be any errors", StringUtils.isEmpty(result.error));
60 assertEquals(result.error, 0, result.resultCode);
61 assertTrue("there should not be any errors " + result.error,
62 StringUtils.isEmpty(result.error));
75 assertEquals(result.error, 0, result.resultCode);
102 assertNotNull(result.error, scopedException);
132 assertEquals(result.error, 2, bindingExceptions.size());
205 assertNotNull(result.error);
207 assertTrue(result.error.contains(expected));
227 assertEquals(result.error,
[all...]
H A DMultiLayoutVerificationTest.java51 assertEquals(result.error, 2, exceptions.size());
87 fail("unexpected error file");
90 assertTrue("should find default config error\n" + result.error, foundNormal);
91 assertTrue("should find landscape error\n" + result.error, foundLandscape);
107 assertEquals(result.error, 2, exceptions.size());
115 assertEquals(result.error, 1, report.getLocations().size());
128 fail("unexpected error file");
141 assertTrue(result.error, foundNorma
[all...]
/frameworks/av/media/img_utils/src/
H A DFileInput.cpp55 int error = ::ferror(mFp); local
56 if (error != 0) {
57 ALOGE("%s: Error %d occurred while reading file %s.", __FUNCTION__, error, mPath.string());
H A DFileOutput.cpp55 int error = ::ferror(mFp); local
56 if (error != 0) {
57 ALOGE("%s: Error %d occurred while writing file %s.", __FUNCTION__, error, mPath.string());
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dspreproc.cpp109 mem_err -- Pointer to Word16 -- pointer to error signal
119 error -- Word16 array -- error of LPC synthesis filter
179 Word16 *mem_err, /* i : pointer to error signal */
187 Word16 error[] /* o : error of LPC synthesis filter */
225 Syn_filt(Aq, exc, error, L_SUBFR, mem_err, 0);
227 Residu(Ap1, error, xn, L_SUBFR);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DBaseThreadedTest.java53 final Throwable[] error = new Throwable[1];
60 error[0] = t;
64 Assert.assertNull(error[0]);
/frameworks/base/tools/aapt2/
H A DResourceUtils.cpp259 // TYPE_NULL with data set to 0 is interpreted by the runtime as an error.
344 bool error = false; local
348 value.data |= parseHex(start[1], &error) << 20;
349 value.data |= parseHex(start[1], &error) << 16;
350 value.data |= parseHex(start[2], &error) << 12;
351 value.data |= parseHex(start[2], &error) << 8;
352 value.data |= parseHex(start[3], &error) << 4;
353 value.data |= parseHex(start[3], &error);
356 value.data |= parseHex(start[1], &error) << 28;
357 value.data |= parseHex(start[1], &error) << 2
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp68 goto error;
75 goto error;
82 goto error;
87 error:
219 int error = SYSTEM_ERROR; local
229 if ((error = ifc_add_address(name, address, jPrefixLength)) != 0) {
231 strerror(-error));
234 if ((error = ifc_del_address(name, address, jPrefixLength)) != 0) {
236 strerror(-error));
247 return !error;
252 throwException(JNIEnv *env, int error, const char *message) argument
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferAlloc.cpp49 status_t* error) {
69 *error = result;
104 status_t error; local
106 createGraphicBuffer(width, height, format, usage, &error);
107 reply->writeInt32(error);
47 createGraphicBuffer(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, status_t* error) argument
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DHid.java44 error("Usage: hid [FILE]");
63 error("HID injection failed.", e);
86 error("Error reading in events.", ex);
104 error("Unknown command \"" + e.getCommand() + "\". Ignoring event.");
122 private static void error(String msg) { method in class:Hid
123 error(msg, null);
126 private static void error(String msg, Exception e) { method in class:Hid
/frameworks/base/libs/hwui/tests/macrobench/
H A Dmain.cpp151 bool error = false; local
179 error = true;
187 error = true;
198 error = true;
211 error = true;
226 error = true;
231 if (error) {
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp100 fprintf(stderr,"%s(): egl error 0x%x (%s)\n",
107 GLenum error = glGetError(); local
108 if (error != GL_NO_ERROR)
109 fprintf(stderr, "GL Error: 0x%04x\n", (int)error);
115 EGLint error = eglGetError(); local
117 if (error && error != EGL_SUCCESS)
118 fprintf(stderr, "EGL Error: 0x%04x\n", (int)error);
/frameworks/base/tools/aapt2/compile/
H A DCompile.cpp141 context->getDiagnostics()->error(DiagMessage() << strerror(errno));
159 context->getDiagnostics()->error(DiagMessage() << strerror(errno));
174 context->getDiagnostics()->error(DiagMessage() << errStr);
191 context->getDiagnostics()->error(DiagMessage(pathData.source) << strerror(errno));
237 context->getDiagnostics()->error(DiagMessage(outputPath) << "failed to open");
248 context->getDiagnostics()->error(DiagMessage(outputPath) << "failed to write");
254 context->getDiagnostics()->error(DiagMessage(outputPath) << "failed to finish entry");
265 diag->error(DiagMessage(outputPath) << "failed to open file");
281 diag->error(DiagMessage(outputPath) << "failed to write data");
288 diag->error(DiagMessag
523 bool error = false; local
[all...]
/frameworks/opt/net/wifi/tests/wifitests/jni/
H A Dwifi_hal_mock.cpp111 int HalMockJsonReader::get_int(const char* key, bool* error) { argument
113 *error = true;
119 *error = true;
125 *error = true;
132 void HalMockJsonReader::get_byte_array(const char* key, bool* error, u8* array, argument
135 *error = true;
141 *error = true;
147 *error = true;
153 *error = true;
163 *error
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp74 // Log error if this did not work
304 for (GLint error = glGetError(); error; error = glGetError()) {
305 ALOGE("GL Error: Operation '%s' caused GL error (0x%x)\n",
307 error);
315 for (EGLint error = eglGetError();
316 error != EGL_SUCCESS;
317 error = eglGetError()) {
318 ALOGE("EGL Error: Operation '%s' caused EGL error (
[all...]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDocumentsProvider.java128 } catch (SQLiteDiskIOException error) {
130 Log.e(TAG, "Failed to clean database.", error);
137 } catch (IOException error) {
138 Log.e(TAG, "Failed to start app fuse.", error);
276 } catch (FileNotFoundException | RuntimeException error) {
277 Log.e(MtpDocumentsProvider.TAG, "openDocument", error);
278 throw error;
279 } catch (IOException error) {
280 Log.e(MtpDocumentsProvider.TAG, "openDocument", error);
281 throw new IllegalStateException(error);
[all...]
H A DDocumentLoader.java282 } catch (IOException error) {
283 mError = error;
321 } catch (FileNotFoundException error) {
322 mError = error;
335 } catch (IOException error) {
336 Log.e(MtpDocumentsProvider.TAG, "Failed to load object info", error);
366 } catch (IOException error) {
367 Log.e(MtpDocumentsProvider.TAG, "Failed to get object size property.", error);
383 } catch (FileNotFoundException error) {
387 mError = error;
[all...]
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DImageCompare.java31 int error = Math.abs(v1 - v2);
32 if (error > 2) {
63 int error = Math.abs(v1 - v2);
64 if (error > 0) {
66 //if (error > result.maxDiff) {
67 //result.maxDiff = error;
69 diffSum += error;
128 int error = Math.abs(v1 - v2);
129 //if (error > 2 ) {
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dtypedefs.h91 #error cannot find 8-bit type
113 #error cannot find 16-bit type
135 #error cannot find 32-bit type
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java149 private void notifyDisplayError(final int error) { argument
153 mListener.onDisplayError(error);
165 void onDisplayError(int error); argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerStateUnitTestTemplate.java374 * Sets the error value of the corresponding state to the given error.
377 * @param error the value of the state error to be set.
379 private void setStateError(MediaPlayerStateErrors.MediaPlayerState state, boolean error) { argument
382 mStateErrors.errorInIdleState = error;
385 mStateErrors.errorInIdleStateAfterReset = error;
388 mStateErrors.errorInInitializedState = error;
391 mStateErrors.errorInPreparedState = error;
394 mStateErrors.errorInPreparedStateAfterStop = error;
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DTargetRegistry.cpp92 std::string error; local
93 result = lookupTarget(pTriple.getTriple(), error);
96 "'\n" + "(Detail: " + error + ")\n";
/frameworks/native/services/surfaceflinger/
H A DDdmConnection.cpp58 goto error;
73 goto error;
108 error:
/frameworks/av/media/libmedia/
H A DIRemoteDisplayClient.cpp60 void onDisplayError(int32_t error) argument
64 data.writeInt32(error);
95 int32_t error = data.readInt32(); local
96 onDisplayError(error);
H A DMetadata.cpp145 bool error = false; local
151 error = true;
156 error = true;
163 return !error;

Completed in 6237 milliseconds

1234567891011>>