/frameworks/native/services/vr/performanced/ |
D | performance_service_tests.cpp | 40 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/native/libs/vr/libpdx/ |
D | serialization_tests.cpp | 1289 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/core/java/android/net/http/ |
D | SslError.java | 96 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/av/media/libaaudio/src/binding/ |
D | AAudioStreamConfiguration.cpp | 45 if (status != NO_ERROR) goto error; in writeToParcel() 47 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() 53 if (status != NO_ERROR) goto error; in writeToParcel() 56 if (status != NO_ERROR) goto error; in writeToParcel() 58 if (status != NO_ERROR) goto error; in writeToParcel() 60 if (status != NO_ERROR) goto error; in writeToParcel() 62 if (status != NO_ERROR) goto error; in writeToParcel() 64 if (status != NO_ERROR) goto error; in writeToParcel() [all …]
|
D | RingBufferParcelable.cpp | 84 if (status != NO_ERROR) goto error; in writeToParcel() 87 if (status != NO_ERROR) goto error; in writeToParcel() 90 if (status != NO_ERROR) goto error; in writeToParcel() 92 if (status != NO_ERROR) goto error; in writeToParcel() 94 if (status != NO_ERROR) goto error; in writeToParcel() 96 if (status != NO_ERROR) goto error; in writeToParcel() 98 if (status != NO_ERROR) goto error; in writeToParcel() 100 if (status != NO_ERROR) goto error; in writeToParcel() 103 error: in writeToParcel() 110 if (status != NO_ERROR) goto error; in readFromParcel() [all …]
|
/frameworks/native/libs/ui/ |
D | Gralloc3.cpp | 118 Error error; in createDescriptor() local 120 error = tmpError; in createDescriptor() 121 if (error != Error::NONE) { in createDescriptor() 129 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor() 134 Error error; in importBuffer() local 136 error = tmpError; in importBuffer() 137 if (error != Error::NONE) { in importBuffer() 143 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer() 150 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer() local 151 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d", buffer, error); in freeBuffer() [all …]
|
D | Gralloc2.cpp | 127 Error error; in createDescriptor() local 130 error = tmpError; in createDescriptor() 131 if (error != Error::NONE) { in createDescriptor() 152 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor() 157 Error error; in importBuffer() local 161 error = tmpError; in importBuffer() 162 if (error != Error::NONE) { in importBuffer() 169 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer() 176 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer() local 177 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d", in freeBuffer() [all …]
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 414 String8 error; in getNfcAidCategories() local 450 String8 category = AaptXml::getAttribute(tree, CATEGORY_ATTR, &error); in getNfcAidCategories() 451 if (error != "") { in getNfcAidCategories() 452 if (outError != NULL) *outError = error; in getNfcAidCategories() 886 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump() 894 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump() 902 String8 error; in doDump() local 903 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump() 904 if (error != "") { in doDump() 905 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump() [all …]
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | KeyphraseEnrollmentInfo.java | 139 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/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 45 #define LOG_HWC_ERROR(what, error, displayId) \ argument 47 to_string(displayId).c_str(), to_string(error).c_str(), static_cast<int32_t>(error)) 57 #define RETURN_IF_HWC_ERROR_FOR(what, error, displayId, ...) \ argument 59 if (error != HWC2::Error::None) { \ 60 LOG_HWC_ERROR(what, error, displayId); \ 65 #define RETURN_IF_HWC_ERROR(error, displayId, ...) \ argument 66 RETURN_IF_HWC_ERROR_FOR(__FUNCTION__, error, displayId, __VA_ARGS__) 88 const auto error = mHwcDevice->getDisplayIdentificationData(hwcDisplayId, outPort, outData); in getDisplayIdentificationData() local 89 if (error != HWC2::Error::None) { in getDisplayIdentificationData() 90 if (error != HWC2::Error::Unsupported) { in getDisplayIdentificationData() [all …]
|
D | ComposerHal.cpp | 262 Error error = kDefaultError; in createVirtualDisplay() local 269 error = tmpError; in createVirtualDisplay() 270 if (error != Error::NONE) { in createVirtualDisplay() 283 error = tmpError; in createVirtualDisplay() 284 if (error != Error::NONE) { in createVirtualDisplay() 293 return error; in createVirtualDisplay() 311 Error error = kDefaultError; in createLayer() local 314 error = tmpError; in createLayer() 315 if (error != Error::NONE) { in createLayer() 322 return error; in createLayer() [all …]
|
/frameworks/base/tools/aapt2/format/ |
D | Container.cpp | 142 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/services/surfaceflinger/ |
D | ColorLayer.cpp | 107 auto error = hwcLayer->setVisibleRegion(visible); in setPerFrameData() local 108 if (error != HWC2::Error::None) { in setPerFrameData() 110 to_string(error).c_str(), static_cast<int32_t>(error)); in setPerFrameData() 120 error = hwcLayer->setDataspace(dataspace); in setPerFrameData() 121 if (error != HWC2::Error::None) { in setPerFrameData() 123 to_string(error).c_str(), static_cast<int32_t>(error)); in setPerFrameData() 130 error = hwcLayer->setColor({static_cast<uint8_t>(std::round(255.0f * color.r)), in setPerFrameData() 133 if (error != HWC2::Error::None) { in setPerFrameData() 134 ALOGE("[%s] Failed to set color: %s (%d)", mName.string(), to_string(error).c_str(), in setPerFrameData() 135 static_cast<int32_t>(error)); in setPerFrameData() [all …]
|
/frameworks/compile/slang/tests/F_reduce_general_bad_function/ |
D | stderr.txt.expect | 1 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/libs/vr/libperformance/ |
D | performance_client.cpp | 15 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/base/libs/androidfw/ |
D | ZipFileRO.cpp | 70 const int32_t error = OpenArchive(zipFileName, &handle); in open() local 71 if (error) { in open() 72 ALOGW("Error opening archive %s: %s", zipFileName, ErrorCodeString(error)); in open() 85 const int32_t error = OpenArchiveFd(fd, debugFileName, &handle, assume_ownership); in openFd() local 86 if (error) { in openFd() 87 ALOGW("Error opening archive fd %d %s: %s", fd, debugFileName, ErrorCodeString(error)); in openFd() 101 const int32_t error = FindEntry(mHandle, entryName, &(data->entry)); in findEntryByName() local 102 if (error) { in findEntryByName() 152 int32_t error = StartIteration(mHandle, &(ze->cookie), in startIteration() local 154 if (error) { in startIteration() [all …]
|
/frameworks/compile/slang/tests/F_reduce_general_parse/ |
D | stderr.txt.expect | 1 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/native/libs/gui/ |
D | ISurfaceComposer.cpp | 650 status_t error = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in getCompositionPreference() local 651 if (error != NO_ERROR) { in getCompositionPreference() 652 return error; in getCompositionPreference() 654 error = remote()->transact(BnSurfaceComposer::GET_COMPOSITION_PREFERENCE, data, &reply); in getCompositionPreference() 655 if (error != NO_ERROR) { in getCompositionPreference() 656 return error; in getCompositionPreference() 658 error = static_cast<status_t>(reply.readInt32()); in getCompositionPreference() 659 if (error == NO_ERROR) { in getCompositionPreference() 665 return error; in getCompositionPreference() 689 status_t error = in getDisplayedContentSamplingAttributes() local [all …]
|
/frameworks/compile/slang/tests/F_reduce_general_bad_result/ |
D | stderr.txt.expect | 1 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/native/libs/vr/libpdx/private/pdx/ |
D | status.h | 15 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_reflection3264_foreach_mismatch/ |
D | stderr.txt.expect | 1 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/compile/slang/tests/F_fs_types/ |
D | stderr.txt.expect | 1 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/native/libs/vr/libvrflinger/ |
D | hardware_composer.cpp | 83 int error = dvrSetSchedulerClass(0, scheduler_class.c_str()); in SetThreadPolicy() local 84 if (error < 0) { in SetThreadPolicy() 88 scheduler_class.c_str(), gettid(), strerror(-error)); in SetThreadPolicy() 91 error = dvrSetCpuPartition(0, partition.c_str()); in SetThreadPolicy() 92 if (error < 0) { in SetThreadPolicy() 96 partition.c_str(), gettid(), strerror(-error)); in SetThreadPolicy() 294 HWC::Error error = in Validate() local 297 if (error == HWC2_ERROR_HAS_CHANGES) { in Validate() 301 error = composer_->acceptDisplayChanges(display); in Validate() 304 return error; in Validate() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerException.java | 26 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 this.error = PackageManager.INSTALL_FAILED_INTERNAL_ERROR; in PackageManagerException() 50 throw new PackageManagerException(e.error, e.getMessage(), e.getCause()); in from()
|
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/ |
D | stderr.txt.expect | 1 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 …]
|