Home
last modified time | relevance | path

Searched refs:WriteKey (Results 1 – 8 of 8) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/test/
Dsecurity_manager_unittest.cc43 TEST_F(SecurityManagerTest, WriteKey) { in TEST_F() argument
55 EXPECT_EQ(1, sm.WriteKey(btaddr1, kTestKey)); in TEST_F()
56 EXPECT_EQ(1, sm.WriteKey(btaddr2, kTestKey)); in TEST_F()
57 EXPECT_EQ(1, sm.WriteKey(btaddr3, kTestKey)); in TEST_F()
59 EXPECT_EQ(0, sm.WriteKey(btaddr4, kTestKey)); in TEST_F()
72 sm.WriteKey(btaddr1, kTestKey); in TEST_F()
73 sm.WriteKey(btaddr2, kTestKey); in TEST_F()
91 sm.WriteKey(btaddr1, kTestKey); in TEST_F()
95 sm.WriteKey(btaddr2, kTestKey); in TEST_F()
112 sm.WriteKey(btaddr1, kTestKey); in TEST_F()
[all …]
/system/keymaster/android_keymaster/
Dpure_soft_secure_key_storage.cpp31 bool WriteKey(km_id_t keyid);
50 bool PureSoftSecureStorageMap::WriteKey(km_id_t keyid) { in WriteKey() function in keymaster::PureSoftSecureStorageMap
87 keymaster_error_t PureSoftSecureKeyStorage::WriteKey(const km_id_t keyid, in WriteKey() function in keymaster::PureSoftSecureKeyStorage
94 if (!pure_soft_secure_storage_map_->WriteKey(keyid)) { in WriteKey()
/system/keymaster/include/keymaster/
Dsecure_key_storage.h43 virtual keymaster_error_t WriteKey(const km_id_t keyid, const KeymasterKeyBlob& blob) = 0;
Dpure_soft_secure_key_storage.h37 keymaster_error_t WriteKey(const km_id_t keyid, const KeymasterKeyBlob& blob) override;
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dsecurity_manager.h70 uint16_t WriteKey(const Address& addr, const std::array<uint8_t, 16>& key);
Dsecurity_manager.cc47 uint16_t SecurityManager::WriteKey(const Address& addr, in WriteKey() function in test_vendor_lib::SecurityManager
Dlink_layer_controller.cc1776 security_manager_.WriteKey(peer, key); in LinkKeyRequestReply()
1870 security_manager_.WriteKey(peer, key_vec); in SaveKeyAndAuthenticate()
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp206 return pure_soft_secure_key_storage_->WriteKey(keyid, *blob); in CreateKeyBlob()