Home
last modified time | relevance | path

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

12345678910>>...63

/frameworks/native/services/vr/performanced/
Dperformance_service_tests.cpp40 const int error = file ? 0 : errno; in OpenTaskFile() local
41 return {std::move(file), error}; in OpenTaskFile()
45 int error; in GetTaskCpuSet() local
48 std::tie(file, error) = OpenTaskFile(task_id, "cpuset"); in GetTaskCpuSet()
50 return std::string("errno:") + strerror(error); in GetTaskCpuSet()
63 int error; in TEST() local
66 error = dvrSetCpuPartition(0, "/application/background"); in TEST()
67 EXPECT_EQ(0, error); in TEST()
69 error = dvrSetCpuPartition(0, "/application/performance"); in TEST()
70 EXPECT_EQ(0, error); in TEST()
[all …]
/frameworks/base/core/java/android/net/http/
DSslError.java96 public SslError(int error, SslCertificate certificate) { in SslError() argument
97 this(error, certificate, ""); in SslError()
108 public SslError(int error, X509Certificate certificate) { in SslError() argument
109 this(error, certificate, ""); in SslError()
119 public SslError(int error, SslCertificate certificate, String url) { in SslError() argument
122 addError(error); in SslError()
134 public SslError(int error, X509Certificate certificate, String url) { in SslError() argument
135 this(error, new SslCertificate(certificate), url); in SslError()
146 int error, SslCertificate cert, String url) { in SslErrorFromChromiumErrorCode() argument
149 assert (error >= -299 && error <= -200); in SslErrorFromChromiumErrorCode()
[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/libs/binary_translation/guest_os_primitives/
Dguest_signal_action_test.cc64 int error = 0; in TEST() local
66 EXPECT_TRUE(action.Change(SIGUSR1, &new_sa, ClaimedHostSaSigaction, &old_sa, &error)); in TEST()
67 EXPECT_EQ(0, error); in TEST()
70 EXPECT_TRUE(action.Change(SIGUSR1, &old_sa, nullptr, &old_sa, &error)); in TEST()
71 EXPECT_EQ(0, error); in TEST()
90 int error = 0; in TEST() local
93 EXPECT_TRUE(action.Change(SIGUSR1, &sa, ClaimedHostSaSigaction, &sa, &error)); in TEST()
94 EXPECT_EQ(0, error); in TEST()
98 EXPECT_TRUE(action.Change(SIGUSR1, nullptr, nullptr, &sa, &error)); in TEST()
99 EXPECT_EQ(0, error); in TEST()
[all …]
/frameworks/native/libs/ui/
DGralloc4.cpp187 Error error; in createDescriptor() local
189 error = tmpError; in createDescriptor()
190 if (error != Error::NONE) { in createDescriptor()
198 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor()
203 Error error; in importBuffer() local
205 error = tmpError; in importBuffer()
206 if (error != Error::NONE) { in importBuffer()
212 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer()
219 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer() local
220 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d", buffer, error); in freeBuffer()
[all …]
DGralloc3.cpp127 Error error; in createDescriptor() local
129 error = tmpError; in createDescriptor()
130 if (error != Error::NONE) { in createDescriptor()
138 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor()
143 Error error; in importBuffer() local
145 error = tmpError; in importBuffer()
146 if (error != Error::NONE) { in importBuffer()
152 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer()
159 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer() local
160 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d", buffer, error); in freeBuffer()
[all …]
DGralloc2.cpp136 Error error; in createDescriptor() local
139 error = tmpError; in createDescriptor()
140 if (error != Error::NONE) { in createDescriptor()
161 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor()
166 Error error; in importBuffer() local
170 error = tmpError; in importBuffer()
171 if (error != Error::NONE) { in importBuffer()
178 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer()
185 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer() local
186 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d", in freeBuffer()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp53 #define LOG_HWC_ERROR(what, error, displayId) \ argument
55 to_string(displayId).c_str(), to_string(error).c_str(), static_cast<int32_t>(error))
65 #define RETURN_IF_HWC_ERROR_FOR(what, error, displayId, ...) \ argument
67 if (error != hal::Error::NONE) { \
68 LOG_HWC_ERROR(what, error, displayId); \
73 #define RETURN_IF_HWC_ERROR(error, displayId, ...) \ argument
74 RETURN_IF_HWC_ERROR_FOR(__FUNCTION__, error, displayId, __VA_ARGS__)
119 const auto error = static_cast<hal::Error>( in getDisplayIdentificationData() local
121 if (error != hal::Error::NONE) { in getDisplayIdentificationData()
122 if (error != hal::Error::UNSUPPORTED) { in getDisplayIdentificationData()
[all …]
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperEventLogger.java101 void onSystemImageWallpaperBackupFailed(@BackupRestoreError String error) { in onSystemImageWallpaperBackupFailed() argument
102 logBackupFailureInternal(WALLPAPER_IMG_SYSTEM, error); in onSystemImageWallpaperBackupFailed()
105 void onLockImageWallpaperBackupFailed(@BackupRestoreError String error) { in onLockImageWallpaperBackupFailed() argument
106 logBackupFailureInternal(WALLPAPER_IMG_LOCK, error); in onLockImageWallpaperBackupFailed()
109 void onSystemLiveWallpaperBackupFailed(@BackupRestoreError String error) { in onSystemLiveWallpaperBackupFailed() argument
110 logBackupFailureInternal(WALLPAPER_LIVE_SYSTEM, error); in onSystemLiveWallpaperBackupFailed()
113 void onLockLiveWallpaperBackupFailed(@BackupRestoreError String error) { in onLockLiveWallpaperBackupFailed() argument
114 logBackupFailureInternal(WALLPAPER_LIVE_LOCK, error); in onLockLiveWallpaperBackupFailed()
133 void onSystemImageWallpaperRestoreFailed(@BackupRestoreError String error) { in onSystemImageWallpaperRestoreFailed() argument
134 logRestoreFailureInternal(WALLPAPER_IMG_SYSTEM, error); in onSystemImageWallpaperRestoreFailed()
[all …]
/frameworks/base/tools/aapt/
DCommand.cpp415 String8 error; in getNfcAidCategories() local
451 String8 category = AaptXml::getAttribute(tree, CATEGORY_ATTR, &error); in getNfcAidCategories()
452 if (error != "") { in getNfcAidCategories()
453 if (outError != NULL) *outError = error; in getNfcAidCategories()
889 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
897 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
905 String8 error; in doDump() local
906 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
907 if (error != "") { in doDump()
908 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
[all …]
/frameworks/base/tools/aapt2/format/
DContainer.cpp142 std::ostringstream error; in AddResFileEntry() local
143 error << "failed reading from input: " << in->GetError(); in AddResFileEntry()
144 error_ = error.str(); in AddResFileEntry()
211 std::ostringstream error; in GetResFileOffsets() local
212 error << "failed to read header length from input: " << reader_->in_->GetError(); in GetResFileOffsets()
213 reader_->error_ = error.str(); in GetResFileOffsets()
219 std::ostringstream error; in GetResFileOffsets() local
220 error << "failed to read data length from input: " << reader_->in_->GetError(); in GetResFileOffsets()
221 reader_->error_ = error.str(); in GetResFileOffsets()
226 std::ostringstream error; in GetResFileOffsets() local
[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()
90 return status ? 0 : -status.error(); in GetCpuPartition()
105 return -status.error(); in GetCpuPartition()
117 int error; in dvrSetCpuPartition() local
118 if (auto client = android::dvr::PerformanceClient::Create(&error)) in dvrSetCpuPartition()
121 return error; in dvrSetCpuPartition()
126 int error; in dvrSetSchedulerPolicy() local
127 if (auto client = android::dvr::PerformanceClient::Create(&error)) in dvrSetSchedulerPolicy()
[all …]
/frameworks/compile/slang/tests/F_reduce_general_parse/
Dstderr.txt.expect1 reduce_general_parse.rscript:5:18: error: missing '(' after 'reduce' for '#pragma rs reduce'
2 reduce_general_parse.rscript:6:19: error: missing name after 'reduce(' for '#pragma rs reduce'
3 reduce_general_parse.rscript:7:20: error: missing name after 'reduce(' for '#pragma rs reduce'
4 reduce_general_parse.rscript:8:19: error: missing name after 'reduce(' for '#pragma rs reduce'
5 reduce_general_parse.rscript:9:22: error: missing ')' after 'reduce(foo' for '#pragma rs reduce'
6 reduce_general_parse.rscript:10:25: error: missing ')' after 'reduce(foo' for '#pragma rs reduce'
7 reduce_general_parse.rscript:11:12: error: missing 'accumulator' for '#pragma rs reduce'
8 reduce_general_parse.rscript:12:36: error: missing name after 'initializer(' for '#pragma rs reduce'
9 reduce_general_parse.rscript:13:12: error: missing 'accumulator' for '#pragma rs reduce'
10 reduce_general_parse.rscript:15:12: error: reduction kernel 'foo' declared multiple times (first on…
[all …]
/frameworks/compile/slang/tests/F_reduce_general_bad_function/
Dstderr.txt.expect1 reduce_general_bad_function.rscript:18:13: error: initializer init0() for '#pragma rs reduce(init0)…
2 reduce_general_bad_function.rscript:22:13: error: initializer init2() for '#pragma rs reduce(init2)…
3 reduce_general_bad_function.rscript:26:13: error: initializer init_special1() for '#pragma rs reduc…
4 reduce_general_bad_function.rscript:30:13: error: initializer init2_special1() for '#pragma rs redu…
5 reduce_general_bad_function.rscript:34:13: error: initializer init2_special0() for '#pragma rs redu…
6 reduce_general_bad_function.rscript:38:13: error: initializer init_noptr() for '#pragma rs reduce(i…
7 reduce_general_bad_function.rscript:45:12: error: duplicate function definition for 'initializer(in…
8 reduce_general_bad_function.rscript:50:12: error: could not find function definition for 'initializ…
9 reduce_general_bad_function.rscript:54:6: error: initializer init_nonstatic() for '#pragma rs reduc…
10 reduce_general_bad_function.rscript:58:12: error: initializer init_nonvoid() for '#pragma rs reduce…
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp447 if (auto error = hwcLayer->setDisplayFrame(displayFrame); error != hal::Error::NONE) { in writeOutputDependentGeometryStateToHWC() local
450 displayFrame.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
453 if (auto error = hwcLayer->setSourceCrop(sourceCrop); error != hal::Error::NONE) { in writeOutputDependentGeometryStateToHWC() local
457 sourceCrop.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
460 if (auto error = hwcLayer->setZOrder(z); error != hal::Error::NONE) { in writeOutputDependentGeometryStateToHWC() local
462 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
470 if (auto error = hwcLayer->setTransform(static_cast<hal::Transform>(bufferTransform)); in writeOutputDependentGeometryStateToHWC() local
471 error != hal::Error::NONE) { in writeOutputDependentGeometryStateToHWC()
473 toString(outputDependentState.bufferTransform).c_str(), to_string(error).c_str(), in writeOutputDependentGeometryStateToHWC()
474 static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/
Dstatus.h15 ErrorStatus(int error) : error_{error} {} in ErrorStatus()
16 int error() const { return error_; } in error() function
42 Status(const ErrorStatus& error_status) : error_{error_status.error()} {} in Status()
68 void SetError(int error) { in SetError() argument
69 error_ = error; in SetError()
79 SetError(other.error()); in PropagateError()
107 int error() const { return std::max(error_, 0); } in error() function
118 inline ErrorStatus error_status() const { return ErrorStatus{error()}; } in error_status()
142 Status(const ErrorStatus& error_status) : error_{error_status.error()} {} in Status()
144 void SetError(int error) { error_ = error; } in SetError() argument
[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/compile/slang/tests/F_reduce_general_bad_result/
Dstderr.txt.expect1 reduce_general_bad_result.rscript:22:36: error: multidimensional arrays cannot be exported: 'accum'
2 reduce_general_bad_result.rscript:32:39: error: multidimensional arrays cannot be exported: 'out'
3 reduce_general_bad_result.rscript:36:7: error: unions cannot be exported: 'UnionShortDouble'
4 reduce_general_bad_result.rscript:46:7: error: unions cannot be exported: 'UnionLongFloat'
5 reduce_general_bad_result.rscript:72:7: error: unions cannot be exported: 'UnionIntFloat'
6 reduce_general_bad_result.rscript:84:7: error: unions cannot be exported: 'UnionCharLong'
7 reduce_general_bad_result.rscript:113:7: error: bit fields are not able to be exported: 'Bits1.b'
8 reduce_general_bad_result.rscript:122:7: error: bit fields are not able to be exported: 'Bits111.e'
9 reduce_general_bad_result.rscript:146:7: error: bit fields are not able to be exported: 'Bits2.b'
10 reduce_general_bad_result.rscript:157:7: error: bit fields are not able to be exported: 'Bits222.e'
[all …]
/frameworks/base/tools/validatekeymaps/
DMain.cpp61 static void error(const char* fmt, ...) { in error() function
69 error("Keymap Validation Tool\n\n"); in usage()
70 error("Usage:\n"); in usage()
71 error(" %s [-q] [*.kl] [*.kcm] [*.idc] [virtualkeys.*] [...]\n" in usage()
119 error("You are trying to add a key layout %s, which matches %s. ", filename.c_str(), in validateKeyLayoutFileName()
121 error("This would cause some devices to function incorrectly. "); in validateKeyLayoutFileName()
122 error("%s. ", reason.c_str()); in validateKeyLayoutFileName()
135 error("Supported file types: *.kl, *.kcm, virtualkeys.*\n\n"); in validateFile()
144 if (ret.error().message() == "Missing kernel config") { in validateFile()
149 error("Error %s parsing key layout file.\n\n", ret.error().message().c_str()); in validateFile()
[all …]
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DServiceEntitlementException.java115 public ServiceEntitlementException(int error, String message) { in ServiceEntitlementException() argument
116 this(error, HTTP_STATUS_UNSPECIFIED, RETRY_AFTER_UNSPECIFIED, message); in ServiceEntitlementException()
119 public ServiceEntitlementException(int error, int httpStatus, String message) { in ServiceEntitlementException() argument
120 this(error, httpStatus, RETRY_AFTER_UNSPECIFIED, message); in ServiceEntitlementException()
124 int error, int httpStatus, String retryAfter, String message) { in ServiceEntitlementException() argument
126 this.mError = error; in ServiceEntitlementException()
131 public ServiceEntitlementException(int error, String message, Throwable cause) { in ServiceEntitlementException() argument
132 this(error, HTTP_STATUS_UNSPECIFIED, RETRY_AFTER_UNSPECIFIED, message, cause); in ServiceEntitlementException()
135 public ServiceEntitlementException(int error, int httpStatus, String message, Throwable cause) { in ServiceEntitlementException() argument
136 this(error, httpStatus, RETRY_AFTER_UNSPECIFIED, message, cause); in ServiceEntitlementException()
[all …]
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dstderr.txt.expect1 reflection3264_foreach_mismatch.rscript:13:15: error: foreach kernel 'bb' has __attribute__((kernel…
2 reflection3264_foreach_mismatch.rscript:22:18: error: foreach kernel 'dd' has output type 'uint' fo…
3 reflection3264_foreach_mismatch.rscript:39:15: error: foreach kernel 'ii' has output type 'int' for…
4 reflection3264_foreach_mismatch.rscript:40:16: error: foreach kernel 'jj' has output type 'int' for…
5 reflection3264_foreach_mismatch.rscript:66:16: error: foreach kernel 'nn' has 1 input for 32-bit ta…
6 reflection3264_foreach_mismatch.rscript:88:16: error: foreach kernel 'qq' has different special par…
7 reflection3264_foreach_mismatch.rscript:124:16: error: 2nd input of foreach kernel 'uu' has type 'u…
8 reflection3264_foreach_mismatch.rscript:124:16: error: 4th input of foreach kernel 'uu' has type 's…
9 reflection3264_foreach_mismatch.rscript:133:6: error: foreach kernel 'xx' has 0 usrData parameters …
10 reflection3264_foreach_mismatch.rscript:132:6: error: foreach kernel 'ww' has 1 usrData parameter f…
[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/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java179 String error = "error parsing voice enrollment meta-data for " in KeyphraseEnrollmentInfo()
181 parseErrors.add(error + ": " + e); in KeyphraseEnrollmentInfo()
182 Slog.w(TAG, error, e); in KeyphraseEnrollmentInfo()
187 String error = "No suitable enrollment application found"; in KeyphraseEnrollmentInfo() local
188 parseErrors.add(error); in KeyphraseEnrollmentInfo()
189 Slog.w(TAG, error); in KeyphraseEnrollmentInfo()
209 String error = "No " + VOICE_KEYPHRASE_META_DATA + " meta-data for " + packageName; in getKeyphraseMetadataFromApplicationInfo() local
210 parseErrors.add(error); in getKeyphraseMetadataFromApplicationInfo()
211 Slog.w(TAG, error); in getKeyphraseMetadataFromApplicationInfo()
225 String error = "Meta-data does not start with voice-enrollment-application tag for " in getKeyphraseMetadataFromApplicationInfo() local
[all …]
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/src/android/companion/multidevices/
DCallbackUtils.kt40 private var error: String? = null variable in android.companion.multidevices.CallbackUtils.AssociationCallback
52 override fun onFailure(error: CharSequence?) { in onFailure()
53 this.error = error?.toString() ?: "There was an unexpected failure." in onFailure()
63 error?.let { in waitForPendingIntent()
75 error?.let { in waitForAssociation()
86 private var error: CompanionException? = null variable in android.companion.multidevices.CallbackUtils.SystemDataTransferCallback
92 override fun onError(error: CompanionException) { in onError()
93 this.error = error in onError()
102 error?.let { in waitForCompletion()
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/
Dstderr.txt.expect1 reflection3264_struct_mismatch.rscript:19:10: error: global variable 'aa' has type 'int' for 32-bit…
2 reflection3264_struct_mismatch.rscript:20:10: error: global variable 'bb' has type 'int' for 32-bit…
3 reflection3264_struct_mismatch.rscript:21:10: error: global variable 'cc' has type 'int' for 32-bit…
4 reflection3264_struct_mismatch.rscript:22:5: error: global variable 'dd' has type 'struct j' for 32…
5 reflection3264_struct_mismatch.rscript:23:5: error: global variable 'ee' has type 'struct f' for 32…
6 reflection3264_struct_mismatch.rscript:24:5: error: global variable 'ff' has type 'struct o' for 32…
7 reflection3264_struct_mismatch.rscript:6:8: error: structure 'q' is exported only for 64-bit targets
8 reflection3264_struct_mismatch.rscript:8:8: error: structure 'b' is exported only for 64-bit targets
9 reflection3264_struct_mismatch.rscript:4:8: error: structure 't' is exported only for 64-bit targets
10 reflection3264_struct_mismatch.rscript:54:8: error: 2nd field of exported structure 'FieldName' is …
[all …]

12345678910>>...63