Searched refs:error (Results 201 - 225 of 745) sorted by relevance

1234567891011>>

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
H A DFragmentTabHostUtil.java62 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
73 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLog.java49 public void error(String format, Object... args) { method in class:Log
59 error(format + "\n" + sw.toString(), args);
/frameworks/native/services/vr/bufferhubd/
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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DKeepaliveStatus.java52 /** An error code indicating a lower layer failure, if any */
55 public KeepaliveStatus(int error) { argument
58 errorCode = error;
/frameworks/rs/rsov/compiler/spirit/
H A Dtransformer.h41 Module *run(Module *m, int *error = nullptr) override;
44 int *error = nullptr) override;
/frameworks/support/compat/src/main/java/androidx/core/graphics/
H A DPathUtils.java34 * error.
51 * @param error The acceptable error for a line on the Path. Typically this would be
52 * 0.5 so that the error is less than half a pixel.
59 @FloatRange(from = 0) final float error) {
60 float[] pathData = path.approximate(error);
58 flatten(@onNull final Path path, @FloatRange(from = 0) final float error) argument
/frameworks/support/webkit/src/main/java/androidx/webkit/internal/
H A DWebResourceErrorImpl.java57 public WebResourceErrorImpl(@NonNull WebResourceError error) { argument
58 mFrameworksImpl = error;
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/checkapi/
H A DCheckApiTask.kt63 * Doclava-defined error codes. See {@link com.google.doclava.Errors} for a complete list of
64 * supported error codes.
67 * SHA is unique to a specific API change and is logged to the error output on failure.
90 /** Optional file containing a newline-delimited list of error SHAs to ignore. */
105 * Optional set of error SHAs to ignore.
107 * Each error SHA is unique to a specific API change.
174 // add -error LEVEL for every error level we want to fail the build on.
175 checksConfig.errors.forEach { args("-error", it) }
181 // Redirect error outpu
[all...]
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/checkapi/
H A DCheckApiTask.kt63 * Doclava-defined error codes. See {@link com.google.doclava.Errors} for a complete list of
64 * supported error codes.
67 * SHA is unique to a specific API change and is logged to the error output on failure.
90 /** Optional file containing a newline-delimited list of error SHAs to ignore. */
105 * Optional set of error SHAs to ignore.
107 * Each error SHA is unique to a specific API change.
174 // add -error LEVEL for every error level we want to fail the build on.
175 checksConfig.errors.forEach { args("-error", it) }
181 // Redirect error outpu
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegCompressor.cpp81 // Set up error management
83 JpegError error; local
84 error.parent = this;
86 mCInfo.err = jpeg_std_error(&error);
193 JpegError *error = static_cast<JpegError*>(cinfo->err); local
194 error->parent->mJpegErrorInfo = cinfo;
/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor.cpp53 bool error = false; local
55 error |= !action(el, diag);
64 error |= !iter->second.Execute(policy, bread_crumb, diag, child_el);
78 // Treat the error only as a warning.
83 error = true;
88 return !error;
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dremote_method.h120 // Returns an error code from a remote method to the client. May be called
163 RemoteMethodError(message, return_value.error());
167 // value or error within the Status<T>.
173 RemoteMethodError(message, return_value.error());
190 RemoteMethodError(message, read_status.error());
196 ErrorType error; local
198 auto arguments = decoder.DecodeArguments(&error);
199 if (error) {
226 RemoteMethodError(message, read_status.error());
232 ErrorType error; local
272 ErrorType error; local
365 rpc::ErrorType error = local
425 rpc::ErrorType error = local
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Dvr_flinger.cpp77 CHECK_ERROR(!dispatcher_, error, "Failed to create service dispatcher.");
81 CHECK_ERROR(!display_service_, error, "Failed to create display service.");
85 CHECK_ERROR(!service, error, "Failed to create display manager service.");
89 CHECK_ERROR(!service, error, "Failed to create vsync service.");
113 error:
/frameworks/support/webkit/src/main/java/androidx/webkit/
H A DWebViewClientCompat.java142 @NonNull WebResourceError error) {
144 onReceivedError(view, request, new WebResourceErrorImpl(error));
148 * Report web resource loading error to the host application. These errors usually indicate
159 * @param error Information about the error occurred.
164 @NonNull WebResourceErrorCompat error) {
174 error.getErrorCode(), error.getDescription().toString(),
180 * Notify the host application that an HTTP error has been received from the server while
192 * @param errorResponse Information about the error occurre
141 onReceivedError(@onNull WebView view, @NonNull WebResourceRequest request, @NonNull WebResourceError error) argument
163 onReceivedError(@onNull WebView view, @NonNull WebResourceRequest request, @NonNull WebResourceErrorCompat error) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DFuseAppLoop.java65 * 0 is regarded as an error, 1 is mount point. So we start the number from 2.
216 } catch (Exception error) {
218 Log.e(TAG, "", error);
219 replySimpleLocked(unique, getError(error));
249 } catch (Exception error) {
250 replySimpleLocked(unique, getError(error));
269 } catch (ErrnoException error) {
270 replySimpleLocked(unique, getError(error));
276 private static int getError(@NonNull Exception error) { argument
277 if (error instanceo
[all...]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DImageUtils.java152 String error = null;
155 error = String.format("Images differ (by %.1f%%)", percentDifference);
157 error = "Widths differ too much for " + imageName + ": " +
161 error = "Heights differ too much for " + imageName + ": " +
166 if (error != null) {
185 error += " - see details in " + output.getPath() + "\n";
186 error = saveImageAndAppendMessage(image, error, relativePath);
187 System.out.println(error);
188 fail(error);
[all...]
/frameworks/base/tools/aapt2/
H A DResourceUtils.cpp324 // TYPE_NULL with data set to 0 is interpreted by the runtime as an error.
407 bool error = false; local
411 value.data |= ParseHex(start[1], &error) << 20;
412 value.data |= ParseHex(start[1], &error) << 16;
413 value.data |= ParseHex(start[2], &error) << 12;
414 value.data |= ParseHex(start[2], &error) << 8;
415 value.data |= ParseHex(start[3], &error) << 4;
416 value.data |= ParseHex(start[3], &error);
419 value.data |= ParseHex(start[1], &error) << 28;
420 value.data |= ParseHex(start[1], &error) << 2
[all...]
H A DResourceParser.cpp155 bool error = false; local
157 error |= !AddResourcesToTable(table, diag, &child);
159 return !error;
385 bool error = false; local
399 error |= !ParseResources(parser);
405 << "xml parser error: " << parser->error());
408 return !error;
414 bool error = false; local
428 error
922 bool error = false; local
1031 bool error = false; local
1174 bool error = false; local
1348 bool error = false; local
1416 bool error = false; local
1459 bool error = false; local
1551 bool error = false; local
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DKeepaliveTracker.java180 int error = checkInterval();
181 if (error == SUCCESS) error = checkNetworkConnected();
182 if (error == SUCCESS) error = checkSourceAddress();
183 return error;
188 int error = isValid();
189 if (error == SUCCESS) {
194 notifyMessenger(NO_KEEPALIVE, error);
291 int error
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java300 String error = glGetProgramInfoLog(program);
301 Log.d(LOG_TAG, "Error while linking program:\n" + error);
323 String error = glGetShaderInfoLog(shader);
324 Log.d(LOG_TAG, "Error while compiling shader:\n" + error);
333 int error = mEgl.eglGetError();
334 if (error != EGL10.EGL_SUCCESS) {
335 Log.w(LOG_TAG, "EGL error = 0x" + Integer.toHexString(error));
340 int error = glGetError();
341 if (error !
[all...]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
H A DImageFlipRenderThread.java253 String error = glGetProgramInfoLog(program);
254 Log.d(LOG_TAG, "Error while linking program:\n" + error);
276 String error = glGetShaderInfoLog(shader);
277 Log.d(LOG_TAG, "Error while compiling shader:\n" + error);
286 int error = mEgl.eglGetError();
287 if (error != EGL10.EGL_SUCCESS) {
288 Log.w(LOG_TAG, "EGL error = 0x" + Integer.toHexString(error));
293 int error = glGetError();
294 if (error !
[all...]
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
H A Dbuffer_transport_benchmark.cpp173 int error = service_->transact(CREATE_BUFFER_QUEUE, data, &reply); variable
174 if (error != NO_ERROR) {
180 error = reply.readNullableStrongBinder(&binder);
181 if (error != NO_ERROR) {
382 LOG(ERROR) << "Failed to acquire consumer buffer, error: " << ret;
392 LOG(ERROR) << "Failed to release consumer buffer, error: " << ret;
471 int32_t error = 0; local
484 error = ANativeWindow_lock(window, &buffer,
486 CHECK_EQ(error, 0);
487 error
[all...]
/frameworks/av/media/libaaudio/examples/write_sine/src/
H A Dwrite_sine_callback.cpp37 * @return AAUDIO_OK or negative error code
61 goto error;
79 goto error;
103 goto error;
111 // Sleep a while. Wake up early if there is an error, for example a DISCONNECT.
139 goto error;
144 goto error;
173 goto error;
198 error:
/frameworks/base/media/java/android/media/
H A DMetadata.java291 * @return false if an error occurred during parsing.
295 boolean error = false;
305 error = true;
312 error = true;
321 error = true;
331 error = true;
340 error = true;
348 if (0 != bytesLeft || error) {
349 Log.e(TAG, "Ran out of data or error on record " + recCount);
382 * @return false if an error occurre
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dclient.h45 * Returns the error code describing the Client initialization failure, or 0
48 int error() const;
66 * connection; Client::Connect() returns the negated error passed to
88 * Close the endpoint file descriptor and optionally indicate an error, which
89 * may be retrieved through error(). Subclasses may use this in their
93 void Close(int error);
134 bool NeedToDisconnectChannel(int error) const;
135 void CheckDisconnect(int error);
140 CheckDisconnect(status.error());
286 void CheckDisconnect(int error);
[all...]

Completed in 666 milliseconds

1234567891011>>