Home
last modified time | relevance | path

Searched refs:Deserialize (Results 1 – 25 of 50) sorted by relevance

12

/system/chre/apps/wifi_offload/
Dflatbuffers_serialization.cc28 bool Deserialize(const uint8_t *buffer, size_t buffer_len, in Deserialize() function
30 return Deserialize<wifi_offload::ScanStats>(buffer, buffer_len, stats, in Deserialize()
39 bool Deserialize(const uint8_t *buffer, size_t buffer_len, in Deserialize() function
41 return Deserialize<wifi_offload::ScanConfig>(buffer, buffer_len, config, in Deserialize()
52 bool Deserialize(const uint8_t *buffer, size_t buffer_len, in Deserialize() function
55 if (Deserialize<wifi_offload::ScanResultMessage>(buffer, buffer_len, &msg, in Deserialize()
Dscan_config.cc36 bool ScanConfig::Deserialize(const ScanConfig::FbsType &fbs_config) { in Deserialize() function in wifi_offload::ScanConfig
43 return scan_params_.Deserialize(*fbs_config.scan_params()) && in Deserialize()
44 scan_filter_.Deserialize(*fbs_config.scan_filter()); in Deserialize()
Dpreferred_network.cc36 bool PreferredNetwork::Deserialize( in Deserialize() function in wifi_offload::PreferredNetwork
39 if (fbs_ssid == nullptr || !ssid_.Deserialize(*fbs_ssid)) { in Deserialize()
Dscan_stats.cc60 bool ScanStats::Deserialize(const ScanStats::FbsType &fbs_stats) { in Deserialize() function in wifi_offload::ScanStats
62 if (histo == nullptr || !channel_histogram_.Deserialize(*histo)) { in Deserialize()
Dscan_record.cc41 bool ScanRecord::Deserialize(const ScanRecord::FbsType &fbs_record) { in Deserialize() function in wifi_offload::ScanRecord
Dscan_filter.cc38 bool ScanFilter::Deserialize(const ScanFilter::FbsType &fbs_filter) { in Deserialize() function in wifi_offload::ScanFilter
Dscan_result.cc84 bool ScanResult::Deserialize(const ScanResult::FbsType &fbs_result) { in Deserialize() function in wifi_offload::ScanResult
85 if (fbs_result.ssid() == nullptr || !ssid_.Deserialize(*fbs_result.ssid())) { in Deserialize()
/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp85 bool KeymasterResponse::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::KeymasterResponse
108 return deserialize_key_blob(&key_blob, buf_ptr, end) && enforced.Deserialize(buf_ptr, end) && in NonErrorDeserialize()
109 unenforced.Deserialize(buf_ptr, end); in NonErrorDeserialize()
129 bool GetKeyCharacteristicsRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::GetKeyCharacteristicsRequest
131 additional_params.Deserialize(buf_ptr, end); in Deserialize()
145 return enforced.Deserialize(buf_ptr, end) && unenforced.Deserialize(buf_ptr, end); in NonErrorDeserialize()
163 bool BeginOperationRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::BeginOperationRequest
166 additional_params.Deserialize(buf_ptr, end); in Deserialize()
186 retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize()
205 bool UpdateOperationRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::UpdateOperationRequest
[all …]
/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp70 !encrypted_key_material->Deserialize(buf_ptr, end) || in DeserializeUnversionedBlob()
72 !hw_enforced->Deserialize(buf_ptr, end) || // in DeserializeUnversionedBlob()
73 !sw_enforced->Deserialize(buf_ptr, end)) { in DeserializeUnversionedBlob()
99 !nonce->Deserialize(buf_ptr, end) || nonce->available_read() != OCB_NONCE_LENGTH || in DeserializeAuthEncryptedBlob()
100 !encrypted_key_material->Deserialize(buf_ptr, end) || // in DeserializeAuthEncryptedBlob()
101 !tag->Deserialize(buf_ptr, end) || tag->available_read() != OCB_TAG_LENGTH || in DeserializeAuthEncryptedBlob()
102 !hw_enforced->Deserialize(buf_ptr, end) || // in DeserializeAuthEncryptedBlob()
103 !sw_enforced->Deserialize(buf_ptr, end)) { in DeserializeAuthEncryptedBlob()
Dintegrity_assured_key_blob.cpp140 if (!key_material->Deserialize(&p, end) || // in DeserializeIntegrityAssuredBlob_NoHmacCheck()
141 !hw_enforced->Deserialize(&p, end) || // in DeserializeIntegrityAssuredBlob_NoHmacCheck()
142 !sw_enforced->Deserialize(&p, end)) in DeserializeIntegrityAssuredBlob_NoHmacCheck()
/system/chre/apps/wifi_offload/test/
Dflatbuffersserialization_test.cc25 using wifi_offload::fbs::Deserialize;
66 ASSERT_TRUE(Deserialize(this->buffer, serialized_size, &deserialized_obj)); in TYPED_TEST()
89 EXPECT_FALSE(Deserialize(nullptr, serialized_size, &new_obj)); in TYPED_TEST()
90 EXPECT_FALSE(Deserialize(this->buffer, 0, &new_obj)); in TYPED_TEST()
94 EXPECT_FALSE(Deserialize(this->buffer, serialized_size, &new_obj)); in TYPED_TEST()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dflatbuffers_serialization.h71 bool Deserialize(const uint8_t *buffer, size_t buffer_len,
73 bool Deserialize(const uint8_t *buffer, size_t buffer_len,
75 bool Deserialize(const uint8_t *buffer, size_t buffer_len,
106 bool Deserialize(const uint8_t *in_buffer, size_t in_buffer_len,
131 return obj->Deserialize(*fbs_obj);
Dscan_config.h42 bool Deserialize(const ScanConfig::FbsType &fbs_config);
Dscan_record.h40 bool Deserialize(const ScanRecord::FbsType &fbs_record);
Dscan_filter.h46 bool Deserialize(const ScanFilter::FbsType &fbs_filter);
Dscan_params.h45 bool Deserialize(const ScanParams::FbsType &fbs_params);
Dscan_result_message.h44 bool Deserialize(const ScanResultMessage::FbsType &fbs_result_message);
Dpreferred_network.h53 bool Deserialize(const FbsType &fbs_network);
Dscan_stats.h46 bool Deserialize(const ScanStats::FbsType &fbs_stats);
Dssid.h50 bool Deserialize(const Ssid::FbsType &fbs_ssid);
Dchannel_histogram.h57 bool Deserialize(const flatbuffers::Vector<uint8_t> &fbs_scan_count);
Drpc_log_record.h69 bool Deserialize(const RpcLogRecord::FbsType &fbs_record);
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h122 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override;
137 bool Deserialize(const uint8_t** /* buf_ptr */, const uint8_t* /* end */) override { in Deserialize() function
149 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize() function
175 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize() function
274 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize() function
275 return key_description.Deserialize(buf_ptr, end); in Deserialize()
312 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override;
343 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override;
366 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override;
391 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override;
[all …]
/system/keymaster/tests/
Dkey_blob_test.cpp82 keymaster_error_t Deserialize() { in Deserialize() function in keymaster::test::KeyBlobTest
134 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Deserialize()); in TEST_F()
150 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F()
167 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F()
184 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F()
196 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F()
221 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F()
244 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F()
255 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F()
270 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F()
[all …]
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp59 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST()
88 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST()
119 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST()
151 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST()
175 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST()
204 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST()
223 …deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized… in TEST()
234 …deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized… in TEST()
245 …deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized… in TEST()
256 …deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized… in TEST()
[all …]

12