Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 773) sorted by relevance

12345678910>>...31

/frameworks/native/services/vr/performanced/
Dperformance_service_tests.cpp12 int error; in TEST() local
15 error = dvrSetCpuPartition(0, "/application/background"); in TEST()
16 EXPECT_EQ(0, error); in TEST()
18 error = dvrSetCpuPartition(0, "/application/performance"); in TEST()
19 EXPECT_EQ(0, error); in TEST()
42 error = dvrSetCpuPartition(task_id, "/application"); in TEST()
43 EXPECT_EQ(0, error); in TEST()
56 error = dvrSetCpuPartition(task_id, "/application"); in TEST()
57 EXPECT_EQ(-EINVAL, error); in TEST()
60 error = dvrSetCpuPartition(1, "/application"); in TEST()
[all …]
/frameworks/base/core/java/android/net/http/
DSslError.java90 public SslError(int error, SslCertificate certificate) { in SslError() argument
91 this(error, certificate, ""); in SslError()
102 public SslError(int error, X509Certificate certificate) { in SslError() argument
103 this(error, certificate, ""); in SslError()
113 public SslError(int error, SslCertificate certificate, String url) { in SslError() argument
116 addError(error); in SslError()
128 public SslError(int error, X509Certificate certificate, String url) { in SslError() argument
129 this(error, new SslCertificate(certificate), url); in SslError()
140 int error, SslCertificate cert, String url) { in SslErrorFromChromiumErrorCode() argument
143 assert (error >= -299 && error <= -200); in SslErrorFromChromiumErrorCode()
[all …]
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.cpp77 int error = dvrSetSchedulerClass(0, scheduler_class.c_str()); in SetThreadPolicy() local
78 if (error < 0) { in SetThreadPolicy()
82 scheduler_class.c_str(), gettid(), strerror(-error)); in SetThreadPolicy()
85 error = dvrSetCpuPartition(0, partition.c_str()); in SetThreadPolicy()
86 if (error < 0) { in SetThreadPolicy()
90 partition.c_str(), gettid(), strerror(-error)); in SetThreadPolicy()
127 HWC::Error error = HWC::Error::None; in Initialize() local
130 error = hwc2_hidl_->getActiveConfig(HWC_DISPLAY_PRIMARY, &config); in Initialize()
132 if (error != HWC::Error::None) { in Initialize()
138 error = in Initialize()
[all …]
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp1289 ErrorType error; in TEST() local
1293 error = Deserialize(&result, &buffer); in TEST()
1294 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1299 error = Deserialize(&result, &buffer); in TEST()
1300 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1307 ErrorType error; in TEST() local
1311 error = Deserialize(&result, &buffer); in TEST()
1312 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1317 error = Deserialize(&result, &buffer); in TEST()
1318 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
[all …]
/frameworks/base/cmds/uiautomator/library/
DAndroid.mk83 -error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 \
84 -error 16 -error 17 -error 18
99 -error 2 -error 3 -error 4 -error 5 -error 6 \
100 -error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 \
101 -error 16 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 \
102 -error 25
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp179 auto error = display->getType(&displayType); in vsync() local
180 if (error != HWC2::Error::None) { in vsync()
239 auto error = mHwcDevice->createVirtualDisplay(width, height, format, in allocateVirtualDisplay() local
241 if (error != HWC2::Error::None) { in allocateVirtualDisplay()
274 auto error = display->createLayer(&layer); in createLayer() local
275 if (error != HWC2::Error::None) { in createLayer()
277 to_string(error).c_str(), static_cast<int32_t>(error)); in createLayer()
325 auto error = mDisplayData[displayId].hwcDisplay->getActiveConfig(&config); in getActiveConfig() local
326 if (error == HWC2::Error::BadConfig) { in getActiveConfig()
329 } else if (error != HWC2::Error::None) { in getActiveConfig()
[all …]
/frameworks/native/libs/ui/
DGralloc2.cpp46 Error error; in createDescriptor() local
50 error = tmpError; in createDescriptor()
51 if (error != Error::NONE) { in createDescriptor()
58 return (ret.isOk()) ? error : kTransactionError; in createDescriptor()
64 Error error; in importBuffer() local
68 error = tmpError; in importBuffer()
69 if (error != Error::NONE) { in importBuffer()
76 return (ret.isOk()) ? error : kTransactionError; in importBuffer()
84 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer() local
85 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d", in freeBuffer()
[all …]
/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java139 String error = "error parsing voice enrollment meta-data for " in KeyphraseEnrollmentInfo()
141 parseErrors.add(error + ": " + e); in KeyphraseEnrollmentInfo()
142 Slog.w(TAG, error, e); in KeyphraseEnrollmentInfo()
147 String error = "No suitable enrollment application found"; in KeyphraseEnrollmentInfo() local
148 parseErrors.add(error); in KeyphraseEnrollmentInfo()
149 Slog.w(TAG, error); in KeyphraseEnrollmentInfo()
169 String error = "No " + VOICE_KEYPHRASE_META_DATA + " meta-data for " + packageName; in getKeyphraseMetadataFromApplicationInfo() local
170 parseErrors.add(error); in getKeyphraseMetadataFromApplicationInfo()
171 Slog.w(TAG, error); in getKeyphraseMetadataFromApplicationInfo()
185 String error = "Meta-data does not start with voice-enrollment-application tag for " in getKeyphraseMetadataFromApplicationInfo() local
[all …]
/frameworks/base/tools/aapt/
DCommand.cpp430 String8 error; in getNfcAidCategories() local
466 String8 category = AaptXml::getAttribute(tree, CATEGORY_ATTR, &error); in getNfcAidCategories()
467 if (error != "") { in getNfcAidCategories()
468 if (outError != NULL) *outError = error; in getNfcAidCategories()
901 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
909 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
917 String8 error; in doDump() local
918 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
919 if (error != "") { in doDump()
920 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
[all …]
/frameworks/compile/slang/tests/F_reduce_general_bad_function/
Dstderr.txt.expect1 reduce_general_bad_function.rs:18:13: error: initializer init0() for '#pragma rs reduce(init0)' (re…
2 reduce_general_bad_function.rs:22:13: error: initializer init2() for '#pragma rs reduce(init2)' (re…
3 reduce_general_bad_function.rs:26:13: error: initializer init_special1() for '#pragma rs reduce(ini…
4 reduce_general_bad_function.rs:30:13: error: initializer init2_special1() for '#pragma rs reduce(in…
5 reduce_general_bad_function.rs:34:13: error: initializer init2_special0() for '#pragma rs reduce(in…
6 reduce_general_bad_function.rs:38:13: error: initializer init_noptr() for '#pragma rs reduce(init_n…
7 reduce_general_bad_function.rs:45:12: error: duplicate function definition for 'initializer(init_du…
8 reduce_general_bad_function.rs:50:12: error: could not find function definition for 'initializer(in…
9 reduce_general_bad_function.rs:54:6: error: initializer init_nonstatic() for '#pragma rs reduce(ini…
10 reduce_general_bad_function.rs:58:12: error: initializer init_nonvoid() for '#pragma rs reduce(init…
[all …]
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp40 if (status != NO_ERROR) goto error; in writeToParcel()
42 if (status != NO_ERROR) goto error; in writeToParcel()
44 if (status != NO_ERROR) goto error; in writeToParcel()
46 if (status != NO_ERROR) goto error; in writeToParcel()
48 if (status != NO_ERROR) goto error; in writeToParcel()
50 if (status != NO_ERROR) goto error; in writeToParcel()
52 error: in writeToParcel()
59 if (status != NO_ERROR) goto error; in readFromParcel()
61 if (status != NO_ERROR) goto error; in readFromParcel()
63 if (status != NO_ERROR) goto error; in readFromParcel()
[all …]
DAAudioStreamRequest.cpp47 if (status != NO_ERROR) goto error; in writeToParcel()
49 if (status != NO_ERROR) goto error; in writeToParcel()
51 if (status != NO_ERROR) goto error; in writeToParcel()
54 if (status != NO_ERROR) goto error; in writeToParcel()
57 if (status != NO_ERROR) goto error; in writeToParcel()
60 error: in writeToParcel()
68 if (status != NO_ERROR) goto error; in readFromParcel()
72 if (status != NO_ERROR) goto error; in readFromParcel()
76 if (status != NO_ERROR) goto error; in readFromParcel()
80 if (status != NO_ERROR) goto error; in readFromParcel()
[all …]
/frameworks/compile/slang/tests/F_reduce_general_parse/
Dstderr.txt.expect1 reduce_general_parse.rs:5:18: error: missing '(' after 'reduce' for '#pragma rs reduce'
2 reduce_general_parse.rs:6:19: error: missing name after 'reduce(' for '#pragma rs reduce'
3 reduce_general_parse.rs:7:20: error: missing name after 'reduce(' for '#pragma rs reduce'
4 reduce_general_parse.rs:8:19: error: missing name after 'reduce(' for '#pragma rs reduce'
5 reduce_general_parse.rs:9:22: error: missing ')' after 'reduce(foo' for '#pragma rs reduce'
6 reduce_general_parse.rs:10:25: error: missing ')' after 'reduce(foo' for '#pragma rs reduce'
7 reduce_general_parse.rs:11:12: error: missing 'accumulator' for '#pragma rs reduce'
8 reduce_general_parse.rs:12:36: error: missing name after 'initializer(' for '#pragma rs reduce'
9 reduce_general_parse.rs:13:12: error: missing 'accumulator' for '#pragma rs reduce'
10 reduce_general_parse.rs:15:12: error: reduction kernel 'foo' declared multiple times (first one is …
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/
Dstatus.h14 ErrorStatus(int error) : error_{error} {} in ErrorStatus()
15 int error() const { return error_; } in error() function
39 : error_{error_status.error()} {} in Status()
65 void SetError(int error) { in SetError() argument
66 error_ = error; in SetError()
76 SetError(other.error()); in PropagateError()
104 int error() const { return std::max(error_, 0); } in error() function
115 inline ErrorStatus error_status() const { return ErrorStatus{error()}; } in error_status()
139 : error_{error_status.error()} {} in Status()
141 void SetError(int error) { error_ = error; } in SetError() argument
[all …]
/frameworks/native/libs/vr/libperformance/
Dperformance_client.cpp15 PerformanceClient::PerformanceClient(int* error) in PerformanceClient() argument
18 if (error) in PerformanceClient()
19 *error = Client::error(); in PerformanceClient()
70 return status ? 0 : -status.error(); in GetCpuPartition()
85 return -status.error(); in GetCpuPartition()
97 int error; in dvrSetCpuPartition() local
98 if (auto client = android::dvr::PerformanceClient::Create(&error)) in dvrSetCpuPartition()
101 return error; in dvrSetCpuPartition()
106 int error; in dvrSetSchedulerClass() local
107 if (auto client = android::dvr::PerformanceClient::Create(&error)) in dvrSetSchedulerClass()
[all …]
/frameworks/rs/rsov/compiler/spirit/
Dpass_queue.cpp30 Module *PassQueue::run(Module *module, int *error) { in run() argument
48 if (error) { in run()
49 *error = intermediateError; in run()
54 if (error) { in run()
55 *error = -1; in run()
69 int *error) { in run() argument
79 return runAndSerialize(module, error); in run()
82 std::vector<uint32_t> PassQueue::runAndSerialize(Module *module, int *error) { in runAndSerialize() argument
101 if (error) { in runAndSerialize()
102 *error = intermediateError; in runAndSerialize()
[all …]
/frameworks/compile/slang/tests/F_reduce_general_bad_result/
Dstderr.txt.expect1 reduce_general_bad_result.rs:22:36: error: multidimensional arrays cannot be exported: 'accum'
2 reduce_general_bad_result.rs:32:39: error: multidimensional arrays cannot be exported: 'out'
3 reduce_general_bad_result.rs:36:7: error: unions cannot be exported: 'UnionShortDouble'
4 reduce_general_bad_result.rs:46:7: error: unions cannot be exported: 'UnionLongFloat'
5 reduce_general_bad_result.rs:72:7: error: unions cannot be exported: 'UnionIntFloat'
6 reduce_general_bad_result.rs:84:7: error: unions cannot be exported: 'UnionCharLong'
7 reduce_general_bad_result.rs:113:7: error: bit fields are not able to be exported: 'Bits1.b'
8 reduce_general_bad_result.rs:122:7: error: bit fields are not able to be exported: 'Bits111.e'
9 reduce_general_bad_result.rs:146:7: error: bit fields are not able to be exported: 'Bits2.b'
10 reduce_general_bad_result.rs:157:7: error: bit fields are not able to be exported: 'Bits222.e'
[all …]
/frameworks/compile/slang/tests/F_fs_types/
Dstderr.txt.expect1 fs_types.fs:4:8: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'd'
2 fs_types.fs:13:10: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'myS'
3 fs_types.fs:15:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'd'
4 fs_types.fs:16:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'e'
5 fs_types.fs:17:15: error: Builtin types > 32 bits in size are forbidden in Filterscript
6 fs_types.fs:18:7: error: Builtin types > 32 bits in size are forbidden in Filterscript
7 fs_types.fs:21:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'l'
8 fs_types.fs:22:10: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'm'
9 fs_types.fs:23:13: error: Builtin types > 32 bits in size are forbidden in Filterscript
10 fs_types.fs:24:7: error: Builtin types > 32 bits in size are forbidden in Filterscript
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLException.java25 public GLException(final int error) { in GLException() argument
26 super(getErrorString(error)); in GLException()
27 mError = error; in GLException()
30 public GLException(final int error, final String string) { in GLException() argument
32 mError = error; in GLException()
35 private static String getErrorString(int error) { in getErrorString() argument
36 String errorString = GLU.gluErrorString(error); in getErrorString()
38 errorString = "Unknown error 0x" + Integer.toHexString(error); in getErrorString()
/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp396 goto error; in createFromSharedObject()
401 goto error; in createFromSharedObject()
406 goto error; in createFromSharedObject()
424 goto error; in createFromSharedObject()
428 goto error; in createFromSharedObject()
433 goto error; in createFromSharedObject()
438 goto error; in createFromSharedObject()
449 goto error; in createFromSharedObject()
454 goto error; in createFromSharedObject()
458 goto error; in createFromSharedObject()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dchannel_map.c32 Word16 error=0; in initElement() local
57 error=1; in initElement()
60 return error; in initElement()
66 Word16 error; in InitElementInfo() local
67 error = 0; in InitElementInfo()
80 error=4; in InitElementInfo()
83 return error; in InitElementInfo()
93 Word16 error; in InitElementBits() local
94 error = 0; in InitElementBits()
120 error = 1; in InitElementBits()
[all …]
/frameworks/base/libs/androidfw/
DZipFileRO.cpp68 const int32_t error = OpenArchive(zipFileName, &handle); in open() local
69 if (error) { in open()
70 ALOGW("Error opening archive %s: %s", zipFileName, ErrorCodeString(error)); in open()
85 const int32_t error = FindEntry(mHandle, data->name, &(data->entry)); in findEntryByName() local
86 if (error) { in findEntryByName()
138 int32_t error = StartIteration(mHandle, &(ze->cookie), in startIteration() local
141 if (error) { in startIteration()
142 ALOGW("Could not start iteration over %s: %s", mFileName, ErrorCodeString(error)); in startIteration()
154 int32_t error = Next(ze->cookie, &(ze->entry), &(ze->name)); in nextEntry() local
155 if (error) { in nextEntry()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerException.java26 public final int error; field in PackageManagerException
30 this.error = PackageManager.INSTALL_FAILED_INTERNAL_ERROR; in PackageManagerException()
33 public PackageManagerException(int error, String detailMessage) { in PackageManagerException() argument
35 this.error = error; in PackageManagerException()
38 public PackageManagerException(int error, String detailMessage, Throwable throwable) { in PackageManagerException() argument
40 this.error = error; in PackageManagerException()
45 throw new PackageManagerException(e.error, e.getMessage(), e.getCause()); in from()
/frameworks/native/opengl/libs/EGL/
Degl_tls.cpp31 : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(true) { in egl_tls_t()
66 const char* caller, int line, EGLint error, bool quiet) { in setErrorEtcImpl() argument
69 if (tls->error != error) { in setErrorEtcImpl()
72 caller, line, error, egl_strerror(error)); in setErrorEtcImpl()
79 tls->error = error; in setErrorEtcImpl()
126 EGLint error = tls->error; in getError() local
127 tls->error = EGL_SUCCESS; in getError()
128 return error; in getError()
/frameworks/native/libs/vr/libpdx_default_transport/private/pdx/default_transport/
Dservice_utility.h44 ServiceUtility(const std::string& endpoint_path, int* error = nullptr)
46 if (error)
47 *error = Client::error();
60 int error; in PokeService() local
61 auto utility = ServiceUtility::Create(fpath, &error); in PokeService()
63 if (error != -ECONNREFUSED) { in PokeService()
65 strerror(-error)); in PokeService()
67 return kIgnoreErrors ? 0 : error; in PokeService()
76 return kIgnoreErrors ? 0 : -status.error(); in PokeService()

12345678910>>...31