/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_filter.cc | 38 bool ScanFilter::Deserialize(const ScanFilter::FbsType &fbs_filter) { in Deserialize() function in wifi_offload::ScanFilter
|
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 | 85 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/ |
D | auth_encrypted_key_blob.cpp | 70 !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()
|
D | integrity_assured_key_blob.cpp | 140 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/ |
D | flatbuffersserialization_test.cc | 25 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 | 122 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/ |
D | key_blob_test.cpp | 82 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/ |
D | gatekeeper_messages_test.cpp | 59 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 …]
|