/system/core/gatekeeperd/ |
D | GateKeeperResponse.cpp | 37 payload_ = {}; in readFromParcel() 49 payload_.resize(length); in readFromParcel() 50 std::copy(buf, buf + length, payload_.data()); in readFromParcel() 65 out->writeInt32(payload_.size()); in writeToParcel() 66 if (payload_.size() != 0) { in writeToParcel() 67 out->writeInt32(payload_.size()); in writeToParcel() 68 uint8_t* buf = reinterpret_cast<uint8_t*>(out->writeInplace(payload_.size())); in writeToParcel() 70 LOG(ERROR) << "writeInplace returned null buffer for length " << payload_.size(); in writeToParcel() 73 std::copy(payload_.begin(), payload_.end(), buf); in writeToParcel()
|
/system/bt/gd/packet/ |
D | raw_builder.cc | 31 RawBuilder::RawBuilder(std::vector<uint8_t> vec) : payload_(std::move(vec)) {} in RawBuilder() 34 if (payload_.size() + octets > max_bytes_) return false; in AddOctets() 38 payload_.insert(payload_.end(), bytes.begin(), bytes.end()); in AddOctets() 65 if (payload_.size() + Address::kLength > max_bytes_) return false; in AddAddress() 68 payload_.push_back(address.address[i]); in AddAddress() 98 return payload_.size() + num_bytes <= max_bytes_; in CanAddOctets() 102 for (const auto& val : payload_) { in Serialize() 108 return payload_.size(); in size()
|
D | packet_builder_unittest.cc | 198 size_t payload_size = (payload_ ? payload_->size() : 0); in size() 220 if (payload_) { in Serialize() 221 payload_->Serialize(it); in Serialize() 226 std::unique_ptr<BasePacketBuilder> payload_; member in bluetooth::packet::NestedBuilder 229 …NestedBuilder(std::unique_ptr<BasePacketBuilder> inner, uint8_t level) : payload_(std::move(inner)… in NestedBuilder()
|
D | raw_builder.h | 70 std::vector<uint8_t> payload_; variable
|
/system/update_engine/payload_generator/ |
D | payload_file_unittest.cc | 35 PayloadFile payload_; member in chromeos_update_engine::PayloadFileTest 50 payload_.part_vec_.resize(2); in TEST_F() 61 payload_.part_vec_[0].aops = aops; in TEST_F() 65 payload_.part_vec_[1].aops = {aop}; in TEST_F() 67 EXPECT_TRUE(payload_.ReorderDataBlobs(orig_blobs.path(), new_blobs.path())); in TEST_F() 69 const vector<AnnotatedOperation>& part0_aops = payload_.part_vec_[0].aops; in TEST_F() 70 const vector<AnnotatedOperation>& part1_aops = payload_.part_vec_[1].aops; in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | download_action.cc | 86 if (!p2p_manager->FileShare(p2p_file_id_, payload_->size)) { in SetupP2PSharingFd() 192 if (!payload_) in PerformAction() 193 payload_ = &install_plan_.payloads[0]; in PerformAction() 245 payload_, in StartDownloading() 251 payload_ == &install_plan_.payloads[resume_payload_index_]) { in StartDownloading() 267 payload_, in StartDownloading() 282 if (!payload_->size) { in StartDownloading() 284 } else if (resume_offset < payload_->size) { in StartDownloading() 286 payload_->size - resume_offset); in StartDownloading() 289 if (payload_->size) { in StartDownloading() [all …]
|
D | delta_performer_unittest.cc | 176 payload_.type = payload_type; in RunManifestValidation() 243 &payload_.metadata_size)); in GeneratePayload() 291 payload_.size = payload_data.size(); in ApplyPayloadToData() 327 payload_.metadata_size = expected_metadata_size; in DoMetadataSizeTest() 328 payload_.size = actual_metadata_size + 1; in DoMetadataSizeTest() 359 payload_.size = payload.size(); in DoMetadataSignatureTest() 370 payload_.metadata_signature.clear(); in DoMetadataSignatureTest() 379 payload_.metadata_signature = kBogusMetadataSignature1; in DoMetadataSignatureTest() 391 payload_.metadata_size, in DoMetadataSignatureTest() 393 &payload_.metadata_signature)); in DoMetadataSignatureTest() [all …]
|
D | delta_performer.cc | 160 size_t payload_size = payload_->size; in LogProgress() 194 size_t payload_size = payload_->size; in UpdateOverallProgress() 324 payload_->type == InstallPayloadType::kDelta; in OpenCurrentPartition() 381 if (payload_->type == InstallPayloadType::kFull) in OpenCurrentECCPartition() 434 return payload_->type == InstallPayloadType::kDelta in GetMinorVersion() 462 if (payload_->metadata_size != metadata_size_) { in ParsePayloadMetadata() 464 << payload_->metadata_size in ParsePayloadMetadata() 477 if (metadata_size_ + metadata_signature_size_ > payload_->size) { in ParsePayloadMetadata() 481 << "(" << payload_->size << ")"; in ParsePayloadMetadata() 496 if (payload_->metadata_size == metadata_size_) { in ParsePayloadMetadata() [all …]
|
D | delta_performer.h | 80 payload_(payload), in DeltaPerformer() 328 InstallPlan::Payload* payload_{nullptr};
|
D | download_action.h | 142 InstallPlan::Payload* payload_{nullptr};
|
/system/core/gatekeeperd/include/gatekeeper/ |
D | GateKeeperResponse.h | 38 payload_(std::move(payload)), in response_code_() 58 const std::vector<uint8_t>& payload() const { return payload_; } in payload() 60 void payload(std::vector<uint8_t> payload) { payload_ = payload; } in payload() 77 std::vector<uint8_t> payload_; variable
|
/system/bt/packet/avrcp/ |
D | avrcp_browse_packet.cc | 29 builder->payload_ = std::move(payload); in MakeBuilder() 35 return BrowsePacket::kMinSize() + payload_->size(); in size() 42 PushHeader(pkt, payload_->size()); in Serialize() 44 return payload_->Serialize(pkt); in Serialize()
|
D | vendor_packet.cc | 32 builder->payload_ = std::move(payload); in MakeBuilder() 38 return VendorPacket::kMinSize() + payload_->size(); in size() 49 CHECK_LT(payload_->size(), size_t(0xFFFF)) in Serialize() 51 PushHeader(pkt, payload_->size()); in Serialize() 54 return payload_->Serialize(pkt); in Serialize()
|
D | avrcp_packet.cc | 33 builder->payload_ = std::move(payload); in MakeBuilder() 40 return payload_->size() + Packet::kMinSize(); in size() 50 return payload_->Serialize(pkt); in Serialize()
|
D | avrcp_browse_packet.h | 45 std::unique_ptr<::bluetooth::PacketBuilder> payload_; variable
|
D | avrcp_packet.h | 49 std::unique_ptr<::bluetooth::PacketBuilder> payload_; variable
|