Home
last modified time | relevance | path

Searched refs:errors (Results 1 – 25 of 45) sorted by relevance

12

/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DErrorsTest.java28 Errors errors = new Errors(); in warnings() local
29 assertTrue(errors.isEmpty()); in warnings()
30 assertFalse(errors.hasError()); in warnings()
31 assertFalse(errors.hasFatal()); in warnings()
33 errors.addWarning("Hello"); in warnings()
34 assertFalse(errors.isEmpty()); in warnings()
35 assertFalse(errors.hasError()); in warnings()
36 assertFalse(errors.hasFatal()); in warnings()
38 TestUtils.assertContains(errors.asString(), "Hello"); in warnings()
43 Errors errors = new Errors(); in error() local
[all …]
/system/extras/libfec/test/
Dtest_rs.c39 int i, rc, neras, errors; in main() local
69 errors = 0; in main()
73 ++errors; in main()
76 printf("\t\t%d errors in output\n", errors); in main()
82 errors = 0; in main()
86 ++errors; in main()
89 printf("\t\t%d errors in output\n", errors); in main()
/system/netd/resolv/
Dres_stats.cpp49 void android_net_res_stats_aggregate(res_stats* stats, int* successes, int* errors, int* timeouts, in android_net_res_stats_aggregate() argument
89 *errors = e; in android_net_res_stats_aggregate()
114 int errors = -1; in res_stats_usable_server() local
119 android_net_res_stats_aggregate(stats, &successes, &errors, &timeouts, &internal_errors, in res_stats_usable_server()
121 if (successes >= 0 && errors >= 0 && timeouts >= 0) { in res_stats_usable_server()
122 int total = successes + errors + timeouts; in res_stats_usable_server()
123 LOG(INFO) << __func__ << ": NS stats: S " << successes << " + E " << errors << " + T " in res_stats_usable_server()
126 if (total >= params->min_samples && (errors > 0 || timeouts > 0)) { in res_stats_usable_server()
DResolverStats.h42 int errors{-1};
69 cur[STATS_ERRORS] = errors; in encode()
84 errors = cur[STATS_ERRORS]; in decode()
DResolverController.cpp160 android_net_res_stats_aggregate(&res_stats[i], &cur_stats.successes, &cur_stats.errors, in getDnsInfo()
327 int total = s.successes + s.errors + s.timeouts + s.internal_errors; in dump()
331 total, s.successes, s.errors, s.timeouts, s.internal_errors, in dump()
/system/extras/libfec/
Dfec_process.cpp27 size_t errors; member
38 p->rc = p->func(p->f, p->buf, p->count, p->offset, &p->errors); in __process()
94 info[i].errors = 0; in process()
129 f->errors += p->errors; in process()
Dfec_read.cpp108 bool use_erasures, uint8_t *ecc_data, size_t *errors) in __ecc_read() argument
201 *errors += nerrs; in __ecc_read()
235 uint64_t offset, size_t *errors) in ecc_read() argument
241 check(errors); in ecc_read()
261 ecc_data.get(), errors) == -1) { in ecc_read()
286 uint64_t offset, size_t *errors) in verity_read() argument
293 check(errors); in verity_read()
357 errors) == FEC_BLOCKSIZE && in verity_read()
364 errors) == FEC_BLOCKSIZE && in verity_read()
Dfec_private.h105 uint64_t errors; member
120 uint64_t offset, size_t *errors);
Dfec_verity.cpp558 uint64_t errors = f->errors; in verity_parse_header() local
622 if (f->mode & O_RDWR && f->errors > errors && in verity_parse_header()
Dfec_open.cpp397 f->errors = 0; in reset_handle()
498 s->errors = f->errors; in fec_get_status()
/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_file.cpp98 std::vector<std::string>* errors) { in ParsePropertyInfoFile() argument
101 errors->clear(); in ParsePropertyInfoFile()
112 errors->emplace_back(parse_error); in ParsePropertyInfoFile()
/system/core/property_service/property_info_checker/
Dproperty_info_checker.cpp155 auto errors = std::vector<std::string>{}; in main()
156 ParsePropertyInfoFile(file_contents, &property_info_entries, &errors); in main()
157 if (!errors.empty()) { in main()
158 for (const auto& error : errors) { in main()
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzLookupGenerator.java259 boolean errors = false; in processCountry()
264 errors = true; in processCountry()
267 if (errors) { in processCountry()
435 Errors errors) { in validateNonDstOffset() argument
441 errors.addFatal("Bad offset string: " + utcOffsetString); in validateNonDstOffset()
447 errors.addWarning( in validateNonDstOffset()
453 errors.addFatal("Time zone ID=" + timeZoneIdIn + " is not valid"); in validateNonDstOffset()
463 errors.addFatal("Offset mismatch: You will want to confirm the ordering for " in validateNonDstOffset()
/system/core/init/
Dfirst_stage_init.cpp109 std::vector<std::pair<std::string, int>> errors; in FirstStageMain() local
111 if (x != 0) errors.emplace_back(#x " failed", errno); in FirstStageMain()
175 if (!errors.empty()) { in FirstStageMain()
176 for (const auto& [error_string, error_errno] : errors) { in FirstStageMain()
/system/iorap/
DAndroid.bp85 // errors if we use lite
90 // commented out because it causes compilation errors
128 // linking errors.
184 // XX: Using -O0 seems to completely hide some errors.
230 // Avoids compilation #include errors.
236 // Furthermore, we need this regardless to avoid linking errors when linking
245 // We only put this to avoid linking errors when building iorapd.
277 // XX: Using -O0 seems to completely hide some errors.
/system/media/audio_utils/tests/
Dtimestampverifier_tests.cpp28 size_t N, uint32_t sampleRate, size_t errors, size_t discontinuities) { in makeVerifier() argument
41 for (size_t i = 0; i < errors; ++i) { in makeVerifier()
/system/netd/resolv/include/netd_resolv/
Dstats.h48 int* errors, int* timeouts,
/system/core/fastboot/fuzzy_fastboot/
DAndroid.bp35 // This is needed to avoid link time errors when building for mac
/system/core/property_service/libpropertyinfoserializer/include/property_info_serializer/
Dproperty_info_serializer.h46 std::vector<std::string>* errors);
/system/netd/
DAndroid.bp34 "-warnings-as-errors="
/system/core/libgrallocusage/
DAndroid.bp25 // Hide errors in headers we include
/system/tools/hidl/docs/
DREADME.md25 that encounter doc parse errors:
/system/extras/libperfmgr/
DAndroid.bp38 "-warnings-as-errors=android-*,clang-analyzer-security*,cert-*"
/system/tools/hidl/build/
DfqName.go40 …return nil, errors.New("Poorly formed hal interface name: '" + f + "' must match '" + re_package.S…
/system/bt/doc/
Dpts_guide.md38 cross key derivation errors.

12