/system/chre/apps/wifi_offload/ |
D | flatbuffers_serialization.cc | 28 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()
|
D | scan_config.cc | 36 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()
|
D | preferred_network.cc | 36 bool PreferredNetwork::Deserialize( in Deserialize() function in wifi_offload::PreferredNetwork 39 if (fbs_ssid == nullptr || !ssid_.Deserialize(*fbs_ssid)) { in Deserialize()
|
D | scan_stats.cc | 60 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()
|
D | scan_record.cc | 41 bool ScanRecord::Deserialize(const ScanRecord::FbsType &fbs_record) { in Deserialize() function in wifi_offload::ScanRecord
|
D | scan_result.cc | 84 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/ |
D | android_keymaster_messages.cpp | 178 bool KeymasterResponse::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::KeymasterResponse 201 bool GenerateKeyRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::GenerateKeyRequest 202 if (!key_description.Deserialize(buf_ptr, end)) return false; in Deserialize() 205 && attest_key_params.Deserialize(buf_ptr, end) // in Deserialize() 226 !enforced.Deserialize(buf_ptr, end) || // in NonErrorDeserialize() 227 !unenforced.Deserialize(buf_ptr, end)) { in NonErrorDeserialize() 270 bool GenerateCsrRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::GenerateCsrRequest 333 bool GenerateCsrV2Request::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::GenerateCsrV2Request 393 bool GetKeyCharacteristicsRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::GetKeyCharacteristicsRequest 395 additional_params.Deserialize(buf_ptr, end); in Deserialize() [all …]
|
/system/chre/apps/wifi_offload/test/ |
D | flatbuffersserialization_test.cc | 24 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/ |
D | flatbuffers_serialization.h | 71 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);
|
D | scan_config.h | 42 bool Deserialize(const ScanConfig::FbsType &fbs_config);
|
D | scan_record.h | 40 bool Deserialize(const ScanRecord::FbsType &fbs_record);
|
D | scan_filter.h | 46 bool Deserialize(const ScanFilter::FbsType &fbs_filter);
|
D | scan_params.h | 45 bool Deserialize(const ScanParams::FbsType &fbs_params);
|
D | scan_result_message.h | 44 bool Deserialize(const ScanResultMessage::FbsType &fbs_result_message);
|
D | preferred_network.h | 53 bool Deserialize(const FbsType &fbs_network);
|
D | scan_stats.h | 46 bool Deserialize(const ScanStats::FbsType &fbs_stats);
|
D | ssid.h | 50 bool Deserialize(const Ssid::FbsType &fbs_ssid);
|
D | channel_histogram.h | 57 bool Deserialize(const flatbuffers::Vector<uint8_t> &fbs_scan_count);
|
D | rpc_log_record.h | 69 bool Deserialize(const RpcLogRecord::FbsType &fbs_record);
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 182 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; 197 bool Deserialize(const uint8_t**, const uint8_t*) override { return true; }; in Deserialize() function 215 bool Deserialize(const uint8_t** /* buf_ptr */, const uint8_t* /* end */) override { in Deserialize() function 228 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize() function 254 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize() function 358 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; 387 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize() function 412 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; 443 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; 477 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; [all …]
|
/system/gatekeeper/tests/ |
D | gatekeeper_messages_test.cpp | 59 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST() 82 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST() 110 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST() 138 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST() 160 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST() 188 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST() 207 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST() 219 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST() 231 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST() 243 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST() [all …]
|
/system/keymaster/tests/ |
D | key_blob_test.cpp | 97 keymaster_error_t Deserialize() { in Deserialize() function in keymaster::test::KeyBlobTest 163 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Deserialize()); in TEST_P() 177 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_P() 192 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_P() 208 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_P() 220 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_P() 242 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_P() 262 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_P() 273 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_P() 288 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_P() [all …]
|
/system/keymaster/key_blob_utils/ |
D | integrity_assured_key_blob.cpp | 131 if (!key_material->Deserialize(&p, end) || // in DeserializeIntegrityAssuredBlob_NoHmacCheck() 132 !hw_enforced->Deserialize(&p, end) || // in DeserializeIntegrityAssuredBlob_NoHmacCheck() 133 !sw_enforced->Deserialize(&p, end)) in DeserializeIntegrityAssuredBlob_NoHmacCheck()
|
D | auth_encrypted_key_blob.cpp | 253 if (!retval.encrypted_key.nonce.Deserialize(buf_ptr, end) || // in DeserializeAuthEncryptedBlob() 254 !retval.encrypted_key.ciphertext.Deserialize(buf_ptr, end) || // in DeserializeAuthEncryptedBlob() 255 !retval.encrypted_key.tag.Deserialize(buf_ptr, end)) { in DeserializeAuthEncryptedBlob() 266 if (!retval.hw_enforced.Deserialize(buf_ptr, end) || // in DeserializeAuthEncryptedBlob() 267 !retval.sw_enforced.Deserialize(buf_ptr, end)) { in DeserializeAuthEncryptedBlob()
|
/system/keymaster/tests/fuzzers/ |
D | message_serializable_fuzz.cpp | 34 serializable->Deserialize(&data_ptr, data_ptr + in_buf.size()); in LLVMFuzzerTestOneInput()
|