Searched refs:error (Results 26 - 50 of 622) sorted by relevance

1234567891011>>

/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DPreconditions.java23 public static void check(boolean value, String error, Object... args) { argument
25 L.e(error, args);
29 public static void checkNotNull(Object value, String error, Object... args) { argument
31 L.e(error, args);
35 public static void checkNull(Object value, String error, Object... args) { argument
37 L.e(error, args);
/frameworks/rs/rsov/compiler/spirit/
H A Dpass.cpp24 Module *Pass::run(Module *module, int *error) { argument
28 if (error) {
29 *error = intermediateError;
36 std::vector<uint32_t> Pass::runAndSerialize(Module *module, int *error) { argument
40 if (error) {
41 *error = intermediateError;
H A Dpass_queue.cpp30 Module *PassQueue::run(Module *module, int *error) { argument
48 if (error) {
49 *error = intermediateError;
54 if (error) {
55 *error = -1;
69 int *error) {
79 return runAndSerialize(module, error);
82 std::vector<uint32_t> PassQueue::runAndSerialize(Module *module, int *error) { argument
101 if (error) {
102 *error
68 run(const std::vector<uint32_t> &spirvWords, int *error) argument
[all...]
H A Dpass.h37 // If argument error is not null, set the error code. On a successful run,
38 // error code is set to zero.
39 virtual Module *run(Module *module, int *error);
43 // If argument error is not null, set the error code. On a successful run,
44 // error code is set to zero.
45 virtual std::vector<uint32_t> runAndSerialize(Module *module, int *error);
H A Dtransformer.cpp24 Module *Transformer::run(Module *module, int *error) { argument
25 auto words = runAndSerialize(module, error);
29 std::vector<uint32_t> Transformer::runAndSerialize(Module *m, int *error) { argument
58 if (error) {
59 *error = 0;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DOpenDocumentCallback.java34 * @param error The error.
36 public void onFailure(int error); argument
/frameworks/native/opengl/libagl/
H A Dstate.h35 void _ogles_error(ogles_context_t* c, GLenum error);
42 #define ogles_error(c, error) \
45 _ogles_error(c, error); \
48 #define ogles_error(c, error) _ogles_error((c), (error))
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dchannel_map.c32 Word16 error=0; local
57 error=1;
60 return error;
66 Word16 error; local
67 error = 0;
80 error=4;
83 return error;
93 Word16 error; local
94 error = 0;
120 error
[all...]
/frameworks/native/libs/vr/libpdx_default_transport/private/pdx/default_transport/
H A Dservice_utility.h44 ServiceUtility(const std::string& endpoint_path, int* error = nullptr)
46 if (error)
47 *error = Client::error();
60 int error; local
61 auto utility = ServiceUtility::Create(fpath, &error);
63 if (error != -ECONNREFUSED) {
65 strerror(-error));
67 return kIgnoreErrors ? 0 : error;
76 return kIgnoreErrors ? 0 : -status.error();
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioStreamRequest.cpp47 if (status != NO_ERROR) goto error;
49 if (status != NO_ERROR) goto error;
51 if (status != NO_ERROR) goto error;
54 if (status != NO_ERROR) goto error;
57 if (status != NO_ERROR) goto error;
60 error:
68 if (status != NO_ERROR) goto error;
72 if (status != NO_ERROR) goto error;
76 if (status != NO_ERROR) goto error;
80 if (status != NO_ERROR) goto error;
[all...]
H A DAAudioStreamConfiguration.cpp40 if (status != NO_ERROR) goto error;
42 if (status != NO_ERROR) goto error;
44 if (status != NO_ERROR) goto error;
46 if (status != NO_ERROR) goto error;
48 if (status != NO_ERROR) goto error;
50 if (status != NO_ERROR) goto error;
52 error:
59 if (status != NO_ERROR) goto error;
61 if (status != NO_ERROR) goto error;
63 if (status != NO_ERROR) goto error;
[all...]
/frameworks/base/libs/hwui/debug/
H A Dwrap_gles.h19 #error wrap_gles.h should only be used as an auto-included header, don't directly #include it
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DCompilationResult.java31 public final String error; field in class:CompilationResult
33 public CompilationResult(int resultCode, String output, String error) { argument
36 this.error = error;
44 return resultCode != 0 && error.indexOf(text) > 0;
48 List<ScopedException> errors = ScopedException.extractErrors(error);
52 assertEquals(error, 1, errors.size());
58 for (String line : error.split(StringUtils.LINE_SEPARATOR)) {
67 return ScopedException.extractErrors(error);
/frameworks/native/libs/vr/libperformance/
H A Dperformance_client.cpp15 PerformanceClient::PerformanceClient(int* error) argument
18 if (error)
19 *error = Client::error();
70 return status ? 0 : -status.error();
85 return -status.error();
97 int error; local
98 if (auto client = android::dvr::PerformanceClient::Create(&error))
101 return error;
106 int error; local
114 int error; local
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.cpp77 int error = dvrSetSchedulerClass(0, scheduler_class.c_str()); local
78 if (error < 0) {
82 scheduler_class.c_str(), gettid(), strerror(-error));
85 error = dvrSetCpuPartition(0, partition.c_str());
86 if (error < 0) {
90 partition.c_str(), gettid(), strerror(-error));
127 HWC::Error error = HWC::Error::None; local
130 error = hwc2_hidl_->getActiveConfig(HWC_DISPLAY_PRIMARY, &config);
132 if (error != HWC::Error::None) {
138 error
272 HWC::Error error = local
295 HWC::Error error = hwc2_hidl_->presentDisplay(display, &present_fence); local
320 HWC::Error error; local
380 HWC::Error error = Validate(HWC_DISPLAY_PRIMARY); local
492 int ret, error; local
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLogAbortException.java29 public void error(Log log) { method in class:LogAbortException
30 log.error(mFormat, mArgs);
/frameworks/compile/mclinker/include/mcld/Config/
H A DTargets.def.cmake23 # error Please define the macro MCLD_TARGET(TargetName)
H A DTargets.def.in23 # error Please define the macro MCLD_TARGET(TargetName)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallStateException.java26 /** The error code is not valid (Not received a disconnect cause) */
44 CallStateException(int error, String string) argument
47 mError = error;
/frameworks/native/services/vr/bufferhubd/
H A Dbufferhubd.cpp20 CHECK_ERROR(!dispatcher, error, "Failed to create service dispatcher\n");
23 CHECK_ERROR(!service, error, "Failed to create buffer hub service\n");
27 CHECK_ERROR(ret < 0, error, "Failed to set thread priority");
32 CHECK_ERROR(ret < 0, error, "Dispatch loop exited because: %s\n",
35 error:
/frameworks/native/libs/ui/
H A DGralloc2.cpp46 Error error; local
50 error = tmpError;
51 if (error != Error::NONE) {
58 return (ret.isOk()) ? error : kTransactionError;
64 Error error; local
68 error = tmpError;
69 if (error != Error::NONE) {
76 return (ret.isOk()) ? error : kTransactionError;
84 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; local
85 ALOGE_IF(error !
104 Error error; local
139 Error error; local
165 Error error; local
220 Error error; local
[all...]
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DKeyphraseEnrollmentInfo.java139 String error = "error parsing voice enrollment meta-data for "
141 parseErrors.add(error + ": " + e);
142 Slog.w(TAG, error, e);
147 String error = "No suitable enrollment application found";
148 parseErrors.add(error);
149 Slog.w(TAG, error);
169 String error = "No " + VOICE_KEYPHRASE_META_DATA + " meta-data for " + packageName;
170 parseErrors.add(error);
171 Slog.w(TAG, error);
[all...]
/frameworks/av/drm/libmediadrm/
H A DSharedLibrary.cpp46 // Clear last error before we load the symbol again,
53 const char *error = dlerror(); local
54 return error ? error : "No errors or unknown error";
/frameworks/native/opengl/libs/EGL/
H A Degl_tls.cpp31 : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(true) {
66 const char* caller, int line, EGLint error, bool quiet) {
69 if (tls->error != error) {
71 ALOGE("%s:%d error %x (%s)",
72 caller, line, error, egl_strerror(error));
79 tls->error = error;
113 // This must clear the error fro
65 setErrorEtcImpl( const char* caller, int line, EGLint error, bool quiet) argument
126 EGLint error = tls->error; local
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dstatus.h11 // This is a helper class for constructing Status<T> with an error code.
14 ErrorStatus(int error) : error_{error} {} argument
15 int error() const { return error_; } function in struct:android::pdx::ErrorStatus
24 // or error code to the caller.
37 // Constructor for storing an error code inside the Status object.
39 : error_{error_status.error()} {}
60 // Change the value/error code of the status object directly.
65 void SetError(int error) { argument
66 error_ = error;
104 int error() const { return std::max(error_, 0); } function in class:android::pdx::Status
141 SetError(int error) argument
155 int error() const { return std::max(error_, 0); } function in class:android::pdx::Status
[all...]

Completed in 604 milliseconds

1234567891011>>