Home
last modified time | relevance | path

Searched refs:footer (Results 1 – 22 of 22) sorted by relevance

/system/apex/apexd/
Dapex_file.cpp155 auto footer = std::make_unique<AvbFooter>(); in getAvbFooter() local
170 footer.get())) { in getAvbFooter()
175 return footer; in getAvbFooter()
250 const AvbFooter& footer) { in verifyVbMeta() argument
251 if (footer.vbmeta_size > kVbMetaMaxSize) { in verifyVbMeta()
255 off_t offset = apex.GetImageOffset() + footer.vbmeta_offset; in verifyVbMeta()
256 std::unique_ptr<uint8_t[]> vbmeta_buf(new uint8_t[footer.vbmeta_size]); in verifyVbMeta()
258 if (!ReadFullyAtOffset(fd, vbmeta_buf.get(), footer.vbmeta_size, offset)) { in verifyVbMeta()
263 verifyVbMetaSignature(apex, vbmeta_buf.get(), footer.vbmeta_size); in verifyVbMeta()
322 Result<std::unique_ptr<AvbFooter>> footer = getAvbFooter(*this, fd); in VerifyApexVerity() local
[all …]
/system/extras/libfec/
Davb_utils.cpp37 AvbFooter footer; in parse_vbmeta_from_footer() local
38 if (!avb_footer_validate_and_byteswap(&footer_read, &footer)) { in parse_vbmeta_from_footer()
42 uint64_t vbmeta_offset = footer.vbmeta_offset; in parse_vbmeta_from_footer()
43 uint64_t vbmeta_size = footer.vbmeta_size; in parse_vbmeta_from_footer()
44 check(vbmeta_offset <= f->size - sizeof(footer) - vbmeta_size); in parse_vbmeta_from_footer()
/system/update_engine/payload_generator/
Dpayload_generation_config_android.cc141 AvbFooter footer; in LoadVerityConfig() local
143 reinterpret_cast<const AvbFooter*>(buffer.data()), &footer)); in LoadVerityConfig()
147 footer.vbmeta_offset + sizeof(AvbVBMetaImageHeader) <= part.size); in LoadVerityConfig()
149 part.path, footer.vbmeta_offset, footer.vbmeta_size, &buffer)); in LoadVerityConfig()
/system/testing/gtest_extras/
DIsolate.cpp469 void Isolate::PrintResults(size_t total, const ResultsType& results, std::string* footer) { in PrintResults() argument
493 *footer += ' '; in PrintResults()
495 *footer += in PrintResults()
564 std::string footer; in PrintFooter() local
568 PrintResults(total_skipped_tests_, SkippedResults, &footer); in PrintFooter()
573 PrintResults(total_slow_tests_, SlowResults, &footer); in PrintFooter()
578 PrintResults(total_xpass_tests_, XpassFailResults, &footer); in PrintFooter()
583 PrintResults(total_timeout_tests_, TimeoutResults, &footer); in PrintFooter()
588 PrintResults(total_fail_tests_, FailResults, &footer); in PrintFooter()
591 if (!footer.empty()) { in PrintFooter()
[all …]
DIsolate.h73 void PrintResults(size_t total, const ResultsType& results, std::string* footer);
/system/core/fastboot/device/
Dflashing.cpp130 std::string footer; in CopyAVBFooter() local
133 footer.push_back(data->at(footer_offset + idx)); in CopyAVBFooter()
135 if (0 != footer.compare(AVB_FOOTER_MAGIC)) { in CopyAVBFooter()
/system/core/fs_mgr/libfs_avb/
Davb_util.cpp347 auto footer = std::make_unique<AvbFooter>(); in GetAvbFooter() local
358 if (!avb_footer_validate_and_byteswap((const AvbFooter*)footer_buf.data(), footer.get())) { in GetAvbFooter()
363 return footer; in GetAvbFooter()
460 std::unique_ptr<AvbFooter> footer = GetAvbFooter(fd); in VerifyVBMetaData() local
461 if (!footer) { in VerifyVBMetaData()
464 vbmeta_offset = footer->vbmeta_offset; in VerifyVBMetaData()
465 vbmeta_size = footer->vbmeta_size; in VerifyVBMetaData()
/system/core/fs_mgr/libfs_avb/tests/
Davb_util_test.cpp79 std::unique_ptr<AvbFooter> footer = GetAvbFooter(fd); in SetVBMetaFlags() local
80 EXPECT_NE(nullptr, footer); in SetVBMetaFlags()
81 vbmeta_offset = footer->vbmeta_offset; in SetVBMetaFlags()
243 auto footer = GetAvbFooter(fd); in TEST_F() local
244 EXPECT_NE(nullptr, footer); in TEST_F()
245 EXPECT_EQ(10485760, footer->original_image_size); in TEST_F()
246 EXPECT_EQ(10661888, footer->vbmeta_offset); in TEST_F()
247 EXPECT_EQ(3648, footer->vbmeta_size); in TEST_F()
257 auto footer = GetAvbFooter(fd); in TEST_F() local
258 EXPECT_EQ(nullptr, footer); in TEST_F()
[all …]
/system/testing/gtest_extras/tests/
DSystemTests.cpp79 void RunTestCaptureFooter(const std::string& test_name, std::string* footer,
234 void SystemTests::RunTestCaptureFooter(const std::string& test_name, std::string* footer, in RunTestCaptureFooter() argument
241 footer->clear(); in RunTestCaptureFooter()
243 if (!footer->empty()) { in RunTestCaptureFooter()
244 *footer += line + '\n'; in RunTestCaptureFooter()
246 *footer = line + '\n'; in RunTestCaptureFooter()
249 ASSERT_FALSE(footer->empty()) << "Test output:\n" << raw_output_; in RunTestCaptureFooter()
718 std::string footer; in TEST_F() local
720 "*.DISABLED_all_*", &footer, in TEST_F()
741 footer); in TEST_F()
/system/libziparchive/cli-tests/
Dzipinfo.test28 name: zipinfo footer
/system/extras/libperfmgr/
DHintManager.cc98 std::string footer("========== End perfmgr nodes ==========\n"); in DumpToFd() local
99 if (!android::base::WriteStringToFd(footer, fd)) { in DumpToFd()
/system/bt/gd/packet/parser/test/
Dbig_endian_test_packets.pdl10 footer : 8,
Dtest_packets.pdl10 footer : 8,
Dgenerated_packet_test.cc100 uint8_t footer = 0xb1; in TEST() local
101 auto packet = ChildBuilder::Create(field_name, footer); in TEST()
193 uint8_t footer = 0xb1; in TEST() local
194 auto packet = ChildBuilder::Create(field_name, footer); in TEST()
/system/gsid/
Dgsi_service.cpp1016 AvbFooter footer; in GetAvbPublicKeyFromFd() local
1017 if (!avb_footer_validate_and_byteswap((const AvbFooter*)footer_bytes.data(), &footer)) { in GetAvbPublicKeyFromFd()
1022 std::vector<uint8_t> vbmeta_bytes(footer.vbmeta_size); in GetAvbPublicKeyFromFd()
1023 if (!ReadFullyAtOffset(fd, vbmeta_bytes.data(), vbmeta_bytes.size(), footer.vbmeta_offset)) { in GetAvbPublicKeyFromFd()
/system/bt/gd/docs/architecture/
Darchitecture.md236 footer : 8, // fiexed size footer of 8 bits
/system/chre/chre_api/doc/
DDoxyfile1081 # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
1083 # footer. See HTML_HEADER for more information on how to generate a default
1084 # footer and what special commands can be used inside the footer. See also
1085 # section "Doxygen usage" for information on how to generate the default footer
1156 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1661 # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
1662 # generated LaTeX document. The footer should contain everything after the last
1663 # chapter. If it is left blank doxygen will generate a standard footer. See
1664 # LATEX_HEADER for more information on how to generate a default footer and what
1665 # special commands can be used inside the footer.
[all …]
/system/chre/pal/doc/
DDoxyfile1081 # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
1083 # footer. See HTML_HEADER for more information on how to generate a default
1084 # footer and what special commands can be used inside the footer. See also
1085 # section "Doxygen usage" for information on how to generate the default footer
1156 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1661 # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
1662 # generated LaTeX document. The footer should contain everything after the last
1663 # chapter. If it is left blank doxygen will generate a standard footer. See
1664 # LATEX_HEADER for more information on how to generate a default footer and what
1665 # special commands can be used inside the footer.
[all …]
/system/media/audio_utils/
DDoxyfile1159 # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
1161 # footer. See HTML_HEADER for more information on how to generate a default
1162 # footer and what special commands can be used inside the footer. See also
1163 # section "Doxygen usage" for information on how to generate the default footer
1234 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1764 # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
1765 # generated LaTeX document. The footer should contain everything after the last
1766 # chapter. If it is left blank doxygen will generate a standard footer. See
1767 # LATEX_HEADER for more information on how to generate a default footer and what
1768 # special commands can be used inside the footer.
[all …]
DDoxyfile.orig1040 # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
1042 # footer. See HTML_HEADER for more information on how to generate a default
1043 # footer and what special commands can be used inside the footer. See also
1044 # section "Doxygen usage" for information on how to generate the default footer
1113 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1613 # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
1614 # generated LaTeX document. The footer should contain everything after the last
1615 # chapter. If it is left blank doxygen will generate a standard footer.
1617 # Note: Only use a user-defined footer if you know what you are doing!
DDoxyfile.bak1040 # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
1042 # footer. See HTML_HEADER for more information on how to generate a default
1043 # footer and what special commands can be used inside the footer. See also
1044 # section "Doxygen usage" for information on how to generate the default footer
1113 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1613 # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
1614 # generated LaTeX document. The footer should contain everything after the last
1615 # chapter. If it is left blank doxygen will generate a standard footer.
1617 # Note: Only use a user-defined footer if you know what you are doing!
/system/core/fastboot/
Dfastboot.cpp960 const AvbFooter* footer = reinterpret_cast<const AvbFooter*>(data.c_str() + footer_offset); in rewrite_vbmeta_buffer() local
961 vbmeta_offset = be64toh(footer->vbmeta_offset); in rewrite_vbmeta_buffer()