/system/apex/apexd/ |
D | apex_file.cpp | 212 auto footer = std::make_unique<AvbFooter>(); in GetAvbFooter() local 231 footer.get())) { in GetAvbFooter() 236 return footer; in GetAvbFooter() 277 const AvbFooter& footer, in VerifyVbMeta() argument 279 if (footer.vbmeta_size > kVbMetaMaxSize) { in VerifyVbMeta() 287 off_t offset = apex.GetImageOffset().value() + footer.vbmeta_offset; in VerifyVbMeta() 288 std::unique_ptr<uint8_t[]> vbmeta_buf(new uint8_t[footer.vbmeta_size]); in VerifyVbMeta() 290 if (!ReadFullyAtOffset(fd, vbmeta_buf.get(), footer.vbmeta_size, offset)) { in VerifyVbMeta() 295 VerifyVbMetaSignature(apex, vbmeta_buf.get(), footer.vbmeta_size); in VerifyVbMeta() 369 Result<std::unique_ptr<AvbFooter>> footer = GetAvbFooter(*this, fd); in VerifyApexVerity() local [all …]
|
/system/extras/libfec/ |
D | avb_utils.cpp | 37 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/core/fs_mgr/libsnapshot/ |
D | inspect_cow.cpp | 99 CowFooter footer; in Inspect() local 101 if (reader.GetFooter(&footer)) has_footer = true; in Inspect() 111 std::cout << "Total Ops size: " << footer.op.ops_size << "\n"; in Inspect() 112 std::cout << "Number of Ops: " << footer.op.num_ops << "\n"; in Inspect()
|
D | cow_reader.cpp | 188 CowFooter* footer = &footer_.value(); in ParseOps() local 189 memcpy(&footer_->op, ¤t_op, sizeof(footer->op)); in ParseOps() 195 if (!android::base::ReadFully(fd_, &footer->data, sizeof(footer->data))) { in ParseOps() 406 bool CowReader::GetFooter(CowFooter* footer) { in GetFooter() argument 408 *footer = footer_.value(); in GetFooter()
|
D | cow_api_test.cpp | 84 CowFooter footer; in TEST_F() local 87 ASSERT_TRUE(reader.GetFooter(&footer)); in TEST_F() 92 ASSERT_EQ(footer.op.num_ops, 4); in TEST_F()
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_android.cc | 141 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/ |
D | Isolate.cpp | 469 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 …]
|
D | Isolate.h | 73 void PrintResults(size_t total, const ResultsType& results, std::string* footer);
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | cow_reader.h | 70 virtual bool GetFooter(CowFooter* footer) = 0; 129 bool GetFooter(CowFooter* footer) override;
|
/system/core/fastboot/device/ |
D | flashing.cpp | 131 std::string footer; in CopyAVBFooter() local 134 footer.push_back(data->at(footer_offset + idx)); in CopyAVBFooter() 136 if (0 != footer.compare(AVB_FOOTER_MAGIC)) { in CopyAVBFooter()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 349 auto footer = std::make_unique<AvbFooter>(); in GetAvbFooter() local 360 if (!avb_footer_validate_and_byteswap((const AvbFooter*)footer_buf.data(), footer.get())) { in GetAvbFooter() 365 return footer; in GetAvbFooter() 462 std::unique_ptr<AvbFooter> footer = GetAvbFooter(fd); in VerifyVBMetaData() local 463 if (!footer) { in VerifyVBMetaData() 466 vbmeta_offset = footer->vbmeta_offset; in VerifyVBMetaData() 467 vbmeta_size = footer->vbmeta_size; in VerifyVBMetaData()
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | avb_util_test.cpp | 79 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() 245 auto footer = GetAvbFooter(fd); in TEST_F() local 246 EXPECT_NE(nullptr, footer); in TEST_F() 247 EXPECT_EQ(10485760, footer->original_image_size); in TEST_F() 248 EXPECT_EQ(10661888, footer->vbmeta_offset); in TEST_F() 249 EXPECT_EQ(3648, footer->vbmeta_size); in TEST_F() 259 auto footer = GetAvbFooter(fd); in TEST_F() local 260 EXPECT_EQ(nullptr, footer); in TEST_F() [all …]
|
/system/testing/gtest_extras/tests/ |
D | SystemTests.cpp | 79 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/ |
D | zipinfo.test | 28 name: zipinfo footer
|
/system/bt/gd/packet/parser/test/ |
D | big_endian_test_packets.pdl | 10 footer : 8,
|
D | test_packets.pdl | 10 footer : 8,
|
D | generated_packet_test.cc | 100 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/chre/chpp/ |
D | transport.c | 896 struct ChppTransportFooter footer; in chppAddFooter() local 897 footer.checksum = chppCrc32(0, &packet->payload[CHPP_PREAMBLE_LEN_BYTES], in chppAddFooter() 902 footer.checksum, packet->length, packet->length + sizeof(footer)); in chppAddFooter() 904 chppAppendToPendingTxPacket(packet, (const uint8_t *)&footer, sizeof(footer)); in chppAddFooter()
|
D | README.md | 33 …pically starting with a 6-byte app header, and ends with a 4-byte packet footer. Defined as a stru… 167 …in the transport layer payload length. The transport layer 4-byte packet footer follows. Defined a…
|
/system/gsid/ |
D | gsi_service.cpp | 1113 AvbFooter footer; in GetAvbPublicKeyFromFd() local 1114 if (!avb_footer_validate_and_byteswap((const AvbFooter*)footer_bytes.data(), &footer)) { in GetAvbPublicKeyFromFd() 1119 std::vector<uint8_t> vbmeta_bytes(footer.vbmeta_size); in GetAvbPublicKeyFromFd() 1120 if (!ReadFullyAtOffset(fd, vbmeta_bytes.data(), vbmeta_bytes.size(), footer.vbmeta_offset)) { in GetAvbPublicKeyFromFd()
|
/system/bt/gd/docs/architecture/ |
D | architecture.md | 236 footer : 8, // fiexed size footer of 8 bits
|
/system/chre/pal/doc/ |
D | Doxyfile | 1081 # 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/chre_api/doc/ |
D | Doxyfile | 1081 # 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/ |
D | Doxyfile | 1159 # 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 …]
|
/system/core/fastboot/ |
D | fastboot.cpp | 990 const AvbFooter* footer = reinterpret_cast<const AvbFooter*>(data.c_str() + footer_offset); in rewrite_vbmeta_buffer() local 991 vbmeta_offset = be64toh(footer->vbmeta_offset); in rewrite_vbmeta_buffer()
|