/system/chre/apps/wifi_offload/ |
D | flatbuffers_serialization.cc | 23 size_t Serialize(const wifi_offload::ScanStats &stats, uint8_t *buffer, in Serialize() function 25 return Serialize(stats, buffer, buffer_len, "ScanStats"); in Serialize() 34 size_t Serialize(const wifi_offload::ScanConfig &config, uint8_t *buffer, in Serialize() function 36 return Serialize(config, buffer, buffer_len, "ScanConfig"); in Serialize() 45 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results, in Serialize() function 49 return Serialize(msg, buffer, buffer_len, "ScanResults"); in Serialize()
|
D | scan_config.cc | 29 flatbuffers::Offset<ScanConfig::FbsType> ScanConfig::Serialize( in Serialize() function in wifi_offload::ScanConfig 31 auto params_offset = scan_params_.Serialize(builder); in Serialize() 32 auto filter_offset = scan_filter_.Serialize(builder); in Serialize()
|
D | preferred_network.cc | 30 flatbuffers::Offset<PreferredNetwork::FbsType> PreferredNetwork::Serialize( in Serialize() function in wifi_offload::PreferredNetwork 32 return fbs::CreatePreferredNetwork(*builder, ssid_.Serialize(builder), in Serialize()
|
/system/chre/apps/wifi_offload/test/ |
D | flatbuffersserialization_test.cc | 24 using wifi_offload::fbs::Serialize; 48 size_t required_buff_size = Serialize(test_obj, nullptr, 0); in TYPED_TEST() 51 size_t serialized_size = Serialize(test_obj, this->buffer, this->kBufferLen); in TYPED_TEST() 62 size_t serialized_size = Serialize(test_obj, this->buffer, this->kBufferLen); in TYPED_TEST() 74 EXPECT_EQ(0, Serialize(test_obj, this->buffer, 0)); // zero buffer size in TYPED_TEST() 75 EXPECT_EQ(0, Serialize(test_obj, this->buffer, 10)); // buffer too small in TYPED_TEST() 85 size_t serialized_size = Serialize(test_obj, this->buffer, this->kBufferLen); in TYPED_TEST()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster_messages.cpp | 78 uint8_t* KeymasterResponse::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::KeymasterResponse 103 buf = enforced.Serialize(buf, end); in NonErrorSerialize() 104 return unenforced.Serialize(buf, end); in NonErrorSerialize() 124 uint8_t* GetKeyCharacteristicsRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::GetKeyCharacteristicsRequest 126 return additional_params.Serialize(buf, end); in Serialize() 139 buf = enforced.Serialize(buf, end); in NonErrorSerialize() 140 return unenforced.Serialize(buf, end); in NonErrorSerialize() 157 uint8_t* BeginOperationRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::BeginOperationRequest 160 return additional_params.Serialize(buf, end); in Serialize() 179 buf = output_params.Serialize(buf, end); in NonErrorSerialize() [all …]
|
/system/bt/packet/tests/avrcp/ |
D | register_notification_packet_test.cc | 60 builder->Serialize(test_packet); in TEST() 110 builder->Serialize(test_packet); in TEST() 119 builder->Serialize(test_packet); in TEST() 129 builder->Serialize(test_packet); in TEST() 138 builder->Serialize(test_packet); in TEST() 147 builder->Serialize(test_packet); in TEST() 157 builder->Serialize(test_packet); in TEST() 166 builder->Serialize(test_packet); in TEST()
|
D | get_folder_items_packet_test.cc | 46 builder->Serialize(test_packet); in TEST() 84 builder->Serialize(test_packet); in TEST() 126 builder->Serialize(test_packet); in TEST() 151 builder->Serialize(test_packet); in TEST() 157 builder->Serialize(test_packet); in TEST() 163 builder->Serialize(test_packet); in TEST() 176 builder->Serialize(test_packet); in TEST() 185 builder->Serialize(test_packet); in TEST() 231 builder->Serialize(test_packet); in TEST() 241 builder->Serialize(test_packet); in TEST()
|
D | change_path_packet_test.cc | 35 builder->Serialize(test_packet); in TEST() 47 builder->Serialize(test_packet); in TEST() 80 builder->Serialize(test_packet); in TEST()
|
D | get_item_attributes_packet_test.cc | 51 builder->Serialize(test_packet); in TEST() 71 truncated_builder->Serialize(truncated_packet); in TEST() 77 builder->Serialize(test_packet); in TEST() 89 builder->Serialize(test_packet); in TEST()
|
D | set_browsed_player_packet_test.cc | 34 builder->Serialize(test_packet); in TEST() 45 builder->Serialize(test_packet); in TEST()
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | flatbuffers_serialization.h | 54 size_t Serialize(const wifi_offload::ScanStats &stats, uint8_t *buffer, 56 size_t Serialize(const wifi_offload::ScanConfig &config, uint8_t *buffer, 58 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results, 79 size_t Serialize(const SerializeType &obj, uint8_t *out_buffer, 82 const auto fbs_obj = obj.Serialize(&builder);
|
/system/keymaster/tests/ |
D | key_blob_test.cpp | 77 keymaster_error_t Serialize() { in Serialize() function in keymaster::test::KeyBlobTest 101 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F() 129 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F() 139 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F() 156 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F() 173 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F() 190 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F() 204 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F() 209 hw_enforced_.Serialize(hw_enforced_data.get(), hw_enforced_data.get() + hw_enforced_size); in TEST_F() 227 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F() [all …]
|
/system/bt/gd/packet/ |
D | packet_builder_unittest.cc | 67 Serialize(it); in FinalPacket() 71 virtual void Serialize(BitInserter& it) const override { in Serialize() function in bluetooth::packet::EndianBuilder 117 Serialize(it); in FinalPacket() 121 virtual void Serialize(BitInserter& it) const override { in Serialize() function in bluetooth::packet::VectorBuilder 147 Serialize(it); in FinalPacket() 151 virtual void Serialize(BitInserter& it) const override { in Serialize() function in bluetooth::packet::InsertElementsBuilder 214 Serialize(it); in FinalPacket() 218 virtual void Serialize(BitInserter& it) const override { in Serialize() function in bluetooth::packet::NestedBuilder 221 payload_->Serialize(it); in Serialize()
|
/system/keymaster/key_blob_utils/ |
D | auth_encrypted_key_blob.cpp | 46 buf = nonce.Serialize(buf, end); in SerializeAuthEncryptedBlob() 47 buf = encrypted_key_material.Serialize(buf, end); in SerializeAuthEncryptedBlob() 48 buf = tag.Serialize(buf, end); in SerializeAuthEncryptedBlob() 49 buf = hw_enforced.Serialize(buf, end); in SerializeAuthEncryptedBlob() 50 buf = sw_enforced.Serialize(buf, end); in SerializeAuthEncryptedBlob()
|
D | integrity_assured_key_blob.cpp | 57 hidden.Serialize(hidden_bytes.get(), hidden_bytes.get() + hidden_bytes_size); in ComputeHmac() 95 p = key_material.Serialize(p, key_blob->end()); in SerializeIntegrityAssuredBlob() 96 p = hw_enforced.Serialize(p, key_blob->end()); in SerializeIntegrityAssuredBlob() 97 p = sw_enforced.Serialize(p, key_blob->end()); in SerializeIntegrityAssuredBlob()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 121 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override; 136 uint8_t* Serialize(uint8_t* buf, const uint8_t* /* end */) const override { return buf; } in Serialize() function 146 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function 171 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function 271 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function 272 return key_description.Serialize(buf, end); in Serialize() 311 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override; 342 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override; 365 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override; 390 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override; [all …]
|
/system/bt/vendor_libs/test_vendor_lib/packets/test/ |
D | packet_builder_test.cc | 64 Serialize(it); in FinalPacket() 68 virtual void Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const override { in Serialize() function in test_vendor_lib::packets::EndianBuilder 114 Serialize(it); in FinalPacket() 118 virtual void Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const override { in Serialize() function in test_vendor_lib::packets::VectorBuilder 144 Serialize(it); in FinalPacket() 148 virtual void Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const override { in Serialize() function in test_vendor_lib::packets::InsertElementsBuilder 211 Serialize(it); in FinalPacket() 215 virtual void Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const override { in Serialize() function in test_vendor_lib::packets::NestedBuilder 218 payload_->Serialize(it); in Serialize()
|
D | link_layer_packet_builder_test.cc | 70 wrapped_disconnect->Serialize(it); in TEST_F() 98 wrapped_disconnect->Serialize(it); in TEST_F() 116 wrapped_encrypt_connection->Serialize(it); in TEST_F() 138 wrapped_encrypt_connection_response->Serialize(it); in TEST_F() 159 wrapped_inquiry->Serialize(it); in TEST_F() 178 wrapped_inquiry->Serialize(it); in TEST_F() 205 wrapped_inquiry->Serialize(it); in TEST_F() 231 wrapped_inquiry->Serialize(it); in TEST_F() 261 wrapped_io_capability_request->Serialize(it); in TEST_F() 283 wrapped_io_capability_response->Serialize(it); in TEST_F() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | packet_builder_test.cc | 64 Serialize(it); in FinalPacket() 68 virtual void Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const override { in Serialize() function in test_vendor_lib::packets::EndianBuilder 114 Serialize(it); in FinalPacket() 118 virtual void Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const override { in Serialize() function in test_vendor_lib::packets::VectorBuilder 144 Serialize(it); in FinalPacket() 148 virtual void Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const override { in Serialize() function in test_vendor_lib::packets::InsertElementsBuilder 211 Serialize(it); in FinalPacket() 215 virtual void Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const override { in Serialize() function in test_vendor_lib::packets::NestedBuilder 218 payload_->Serialize(it); in Serialize()
|
/system/core/fs_mgr/libdm/ |
D | dm_table.cpp | 59 std::string DmTable::Serialize() const { in Serialize() function in android::dm::DmTable 66 table += target->Serialize(); in Serialize()
|
/system/bt/vendor_libs/test_vendor_lib/packets/ |
D | counted_builder.cc | 32 void CountedBuilder::Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const { in Serialize() function in test_vendor_lib::packets::CountedBuilder 35 sub_builders_[i]->Serialize(it); in Serialize()
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | command_packet_builder.cc | 34 void CommandPacketBuilder::Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const { in Serialize() function in test_vendor_lib::packets::CommandPacketBuilder 41 payload_->Serialize(it); in Serialize()
|
D | sco_packet_builder.cc | 35 void ScoPacketBuilder::Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const { in Serialize() function in test_vendor_lib::packets::ScoPacketBuilder 42 payload_->Serialize(it); in Serialize()
|
D | acl_packet_builder.cc | 45 void AclPacketBuilder::Serialize(std::back_insert_iterator<std::vector<uint8_t>> it) const { in Serialize() function in test_vendor_lib::packets::AclPacketBuilder 54 payload_->Serialize(it); in Serialize()
|
/system/gatekeeper/tests/ |
D | gatekeeper_messages_test.cpp | 56 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST() 85 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST() 116 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST() 148 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST() 172 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST() 201 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST() 221 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST() 232 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST() 243 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST() 254 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
|