/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()
|
D | scan_stats.cc | 48 flatbuffers::Offset<ScanStats::FbsType> ScanStats::Serialize( in Serialize() function in wifi_offload::ScanStats 50 auto histo = channel_histogram_.Serialize(builder); in Serialize()
|
D | scan_record.cc | 35 flatbuffers::Offset<ScanRecord::FbsType> ScanRecord::Serialize( in Serialize() function in wifi_offload::ScanRecord
|
/system/chre/apps/wifi_offload/test/ |
D | flatbuffersserialization_test.cc | 25 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 | 172 uint8_t* KeymasterResponse::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::KeymasterResponse 193 uint8_t* GenerateKeyRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::GenerateKeyRequest 194 buf = key_description.Serialize(buf, end); in Serialize() 197 buf = attest_key_params.Serialize(buf, end); in Serialize() 218 buf = enforced.Serialize(buf, end); in NonErrorSerialize() 219 buf = unenforced.Serialize(buf, end); in NonErrorSerialize() 260 uint8_t* GenerateCsrRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::GenerateCsrRequest 325 uint8_t* GenerateCsrV2Request::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::GenerateCsrV2Request 388 uint8_t* GetKeyCharacteristicsRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::GetKeyCharacteristicsRequest 390 return additional_params.Serialize(buf, end); in Serialize() [all …]
|
/system/security/keystore2/test_utils/ |
D | run_as.rs | 35 use serde::{de::DeserializeOwned, Serialize}; 79 pub struct ChannelWriter<T: Serialize + DeserializeOwned>(PipeWriter, PhantomData<T>); 81 impl<T: Serialize + DeserializeOwned> ChannelWriter<T> { 117 impl<T: Serialize + DeserializeOwned> ChannelReader<T> { 157 T: Serialize + DeserializeOwned, in pipe_channel() 167 pub struct ChildHandle<R: Serialize + DeserializeOwned, M: Serialize + DeserializeOwned> { 175 impl<R: Serialize + DeserializeOwned, M: Serialize + DeserializeOwned> ChildHandle<R, M> { 208 impl<R: Serialize + DeserializeOwned, M: Serialize + DeserializeOwned> Drop for ChildHandle<R, M> { 236 R: Serialize + DeserializeOwned, in run_as_child() 237 M: Serialize + DeserializeOwned, in run_as_child() [all …]
|
/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);
|
D | scan_config.h | 39 flatbuffers::Offset<ScanConfig::FbsType> Serialize(
|
D | scan_filter.h | 43 flatbuffers::Offset<ScanFilter::FbsType> Serialize(
|
D | scan_record.h | 37 flatbuffers::Offset<ScanRecord::FbsType> Serialize(
|
D | scan_params.h | 42 flatbuffers::Offset<ScanParams::FbsType> Serialize(
|
D | scan_result_message.h | 41 flatbuffers::Offset<ScanResultMessage::FbsType> Serialize(
|
D | preferred_network.h | 50 flatbuffers::Offset<FbsType> Serialize(
|
D | scan_stats.h | 43 flatbuffers::Offset<ScanStats::FbsType> Serialize(
|
D | ssid.h | 47 flatbuffers::Offset<Ssid::FbsType> Serialize(
|
D | channel_histogram.h | 54 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> Serialize(
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 181 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override; 196 uint8_t* Serialize(uint8_t* buf, const uint8_t*) const override { return buf; } in Serialize() function 214 uint8_t* Serialize(uint8_t* buf, const uint8_t* /* end */) const override { return buf; } in Serialize() function 225 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function 250 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function 357 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override; 384 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function 411 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override; 442 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override; 476 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override; [all …]
|
/system/keymaster/tests/ |
D | key_blob_test.cpp | 89 keymaster_error_t Serialize(uint32_t secure_deletion_key_slot = 0) { in Serialize() function in keymaster::test::KeyBlobTest 129 ASSERT_EQ(KM_ERROR_OK, Serialize(key_slot)); in TEST_P() 158 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_P() 168 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_P() 183 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_P() 198 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_P() 214 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_P() 228 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_P() 233 hw_enforced_.Serialize(hw_enforced_data.get(), hw_enforced_data.get() + hw_enforced_size); in TEST_P() 248 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_P() [all …]
|
/system/gatekeeper/tests/ |
D | gatekeeper_messages_test.cpp | 55 … 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/ |
D | auth_encrypted_key_blob.cpp | 73 buf = hidden.Serialize(buf, end); in BuildDerivationInfo() 74 buf = hw_enforced.Serialize(buf, end); in BuildDerivationInfo() 75 buf = sw_enforced.Serialize(buf, end); in BuildDerivationInfo() 78 buf = secure_deletion_data.factory_reset_secret.Serialize(buf, end); in BuildDerivationInfo() 79 buf = secure_deletion_data.secure_deletion_secret.Serialize(buf, end); in BuildDerivationInfo() 226 buf = encrypted_key.nonce.Serialize(buf, end); in SerializeAuthEncryptedBlob() 227 buf = encrypted_key.ciphertext.Serialize(buf, end); in SerializeAuthEncryptedBlob() 228 buf = encrypted_key.tag.Serialize(buf, end); in SerializeAuthEncryptedBlob() 233 buf = hw_enforced.Serialize(buf, end); in SerializeAuthEncryptedBlob() 234 buf = sw_enforced.Serialize(buf, end); in SerializeAuthEncryptedBlob()
|
D | integrity_assured_key_blob.cpp | 53 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()
|
D | ocb_utils.cpp | 58 buf = hidden.Serialize(buf, end); in BuildDerivationData() 59 buf = hw_enforced.Serialize(buf, end); in BuildDerivationData() 60 buf = sw_enforced.Serialize(buf, end); in BuildDerivationData()
|
/system/core/fs_mgr/libdm/ |
D | dm_table.cpp | 60 std::string DmTable::Serialize() const { in Serialize() function in android::dm::DmTable 67 table += target->Serialize(); in Serialize()
|