Home
last modified time | relevance | path

Searched refs:Serialize (Results 1 – 25 of 202) sorted by relevance

123456789

/system/chre/apps/wifi_offload/
Dflatbuffers_serialization.cc23 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()
Dscan_config.cc29 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()
Dpreferred_network.cc30 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/
Dflatbuffersserialization_test.cc25 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/
Dandroid_keymaster_messages.cpp169 uint8_t* KeymasterResponse::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::KeymasterResponse
190 uint8_t* GenerateKeyRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::GenerateKeyRequest
191 buf = key_description.Serialize(buf, end); in Serialize()
194 buf = attest_key_params.Serialize(buf, end); in Serialize()
215 buf = enforced.Serialize(buf, end); in NonErrorSerialize()
216 buf = unenforced.Serialize(buf, end); in NonErrorSerialize()
257 uint8_t* GenerateCsrRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::GenerateCsrRequest
325 uint8_t* GetKeyCharacteristicsRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::GetKeyCharacteristicsRequest
327 return additional_params.Serialize(buf, end); in Serialize()
340 buf = enforced.Serialize(buf, end); in NonErrorSerialize()
[all …]
/system/bt/packet/tests/avrcp/
Dregister_notification_packet_test.cc60 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()
Dget_folder_items_packet_test.cc46 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()
Dchange_path_packet_test.cc35 builder->Serialize(test_packet); in TEST()
47 builder->Serialize(test_packet); in TEST()
80 builder->Serialize(test_packet); in TEST()
Dget_item_attributes_packet_test.cc51 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()
Dset_absolute_volume_packet_test.cc33 builder->Serialize(test_packet); in TEST()
41 builder->Serialize(test_packet); in TEST()
Dget_total_number_of_items_packet_test.cc35 builder->Serialize(test_packet); in TEST()
46 builder->Serialize(test_packet); in TEST()
Dset_browsed_player_packet_test.cc34 builder->Serialize(test_packet); in TEST()
45 builder->Serialize(test_packet); in TEST()
Dpass_through_packet_test.cc32 builder->Serialize(test_packet); in TEST()
38 builder->Serialize(test_packet); in TEST()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dflatbuffers_serialization.h54 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/include/keymaster/
Dandroid_keymaster_messages.h168 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
183 uint8_t* Serialize(uint8_t* buf, const uint8_t*) const override { return buf; } in Serialize() function
201 uint8_t* Serialize(uint8_t* buf, const uint8_t* /* end */) const override { return buf; } in Serialize() function
212 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function
237 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function
344 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
371 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function
398 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
436 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
467 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
[all …]
/system/keymaster/tests/
Dkey_blob_test.cpp78 keymaster_error_t Serialize() { in Serialize() function in keymaster::test::KeyBlobTest
114 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
144 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
154 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
169 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
184 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
200 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
215 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
220 hw_enforced_.Serialize(hw_enforced_data.get(), hw_enforced_data.get() + hw_enforced_size); in TEST_F()
236 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
[all …]
/system/bt/gd/packet/
Dpacket_builder_unittest.cc67 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()
Dfragmenting_inserter_unittest.cc48 fragments[0]->Serialize(bit_inserter); in TEST()
78 fragments[0]->Serialize(bit_inserter); in TEST()
103 counts.Serialize(it); in TEST()
110 counts.Serialize(it_less); in TEST()
118 counts.Serialize(it_more); in TEST()
147 original_packet.Serialize(it); in TEST_P()
160 fragments[f]->Serialize(bit_inserter); in TEST_P()
Draw_builder_unittest.cc63 count_builder->Serialize(it); in TEST()
84 count_builder->Serialize(it); in TEST()
106 count_builder->Serialize(it); in TEST()
/system/bt/stack/test/hci/
Dstack_hci_test.cc68 preamble.Serialize(act); in TEST_F()
85 preamble.Serialize(act); in TEST_F()
100 preamble.Serialize(act); in TEST_F()
116 preamble.Serialize(act); in TEST_F()
/system/core/fs_mgr/libdm/
Ddm_table.cpp60 std::string DmTable::Serialize() const { in Serialize() function in android::dm::DmTable
67 table += target->Serialize(); in Serialize()
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp55 … ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
78 … ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
106 … ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
134 … ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
156 … ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
184 … ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
204 … ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
216 … ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
228 … ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
240 … ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
/system/keymaster/key_blob_utils/
Dintegrity_assured_key_blob.cpp53 hidden.Serialize(hidden_bytes.get(), hidden_bytes.get() + hidden_bytes_size); in ComputeHmac()
90 p = key_material.Serialize(p, key_blob->end()); in SerializeIntegrityAssuredBlob()
91 p = hw_enforced.Serialize(p, key_blob->end()); in SerializeIntegrityAssuredBlob()
92 p = sw_enforced.Serialize(p, key_blob->end()); in SerializeIntegrityAssuredBlob()
Dauth_encrypted_key_blob.cpp66 buf = hidden.Serialize(buf, end); in BuildAesGcmInfo()
67 buf = hw_enforced.Serialize(buf, end); in BuildAesGcmInfo()
68 buf = sw_enforced.Serialize(buf, end); in BuildAesGcmInfo()
227 buf = encrypted_key.nonce.Serialize(buf, end); in SerializeAuthEncryptedBlob()
228 buf = encrypted_key.ciphertext.Serialize(buf, end); in SerializeAuthEncryptedBlob()
229 buf = encrypted_key.tag.Serialize(buf, end); in SerializeAuthEncryptedBlob()
230 buf = hw_enforced.Serialize(buf, end); in SerializeAuthEncryptedBlob()
231 buf = sw_enforced.Serialize(buf, end); in SerializeAuthEncryptedBlob()
/system/bt/packet/tests/fuzzers/
Dget_folder_items_res_fuzzer.cc41 builder->Serialize(test_packet); in LLVMFuzzerTestOneInput()
51 builder2->Serialize(test_packet); in LLVMFuzzerTestOneInput()

123456789