Home
last modified time | relevance | path

Searched refs:DeleteKey (Results 1 – 25 of 42) sorted by relevance

12

/system/connectivity/shill/vpn/
Dvpn_driver_unittest.cc257 EXPECT_CALL(storage, DeleteKey(kStorageID, kEapCaCertPemProperty)).Times(0); in TEST_F()
258 EXPECT_CALL(storage, DeleteKey(kStorageID, kProviderTypeProperty)) in TEST_F()
260 EXPECT_CALL(storage, DeleteKey(kStorageID, kL2tpIpsecCaCertPemProperty)); in TEST_F()
261 EXPECT_CALL(storage, DeleteKey(kStorageID, kPSKProperty)); in TEST_F()
262 EXPECT_CALL(storage, DeleteKey(kStorageID, kVPNHostProperty)); in TEST_F()
272 EXPECT_CALL(storage, DeleteKey(kStorageID, _)).Times(AnyNumber()); in TEST_F()
273 EXPECT_CALL(storage, DeleteKey(kStorageID, kPasswordProperty)); in TEST_F()
274 EXPECT_CALL(storage, DeleteKey(kStorageID, kPSKProperty)); in TEST_F()
275 EXPECT_CALL(storage, DeleteKey(kStorageID, kEapCaCertPemProperty)); in TEST_F()
276 EXPECT_CALL(storage, DeleteKey(kStorageID, kL2tpIpsecCaCertPemProperty)); in TEST_F()
Dvpn_driver.cc108 storage->DeleteKey(storage_id, property); in Save()
116 storage->DeleteKey(storage_id, property); in Save()
/system/update_engine/common/
Dprefs.h54 virtual bool DeleteKey(const std::string& key) = 0;
116 bool DeleteKey(const std::string& key) override;
154 bool DeleteKey(const std::string& key) override;
Dprefs.cc85 TEST_AND_RETURN_FALSE(storage_->DeleteKey(key)); in Delete()
147 bool Prefs::FileStorage::DeleteKey(const string& key) { in DeleteKey() function in chromeos_update_engine::Prefs::FileStorage
188 bool MemoryPrefs::MemoryStorage::DeleteKey(const string& key) { in DeleteKey() function in chromeos_update_engine::MemoryPrefs::MemoryStorage
/system/connectivity/shill/
Dkey_file_store_unittest.cc285 TEST_F(KeyFileStoreTest, DeleteKey) { in TEST_F() argument
295 EXPECT_TRUE(store_->DeleteKey(kGroup, kKeyDead)); in TEST_F()
296 EXPECT_TRUE(store_->DeleteKey(kGroup, "random-key")); in TEST_F()
297 EXPECT_FALSE(store_->DeleteKey("random-group", kKeyAlive)); in TEST_F()
703 EXPECT_TRUE(store_->DeleteKey(kGroup, kKey1)); in TEST_F()
835 EXPECT_TRUE(store_->DeleteKey(kGroupB, kKeyString)); in TEST_F()
836 EXPECT_TRUE(store_->DeleteKey(kGroupB, kKeyString)); in TEST_F()
Deap_credentials_unittest.cc296 EXPECT_CALL(store, DeleteKey(_, _)).Times(AnyNumber()); in TEST_F()
298 EXPECT_CALL(store, DeleteKey(kId, EapCredentials::kStorageEapIdentity)); in TEST_F()
301 EXPECT_CALL(store, DeleteKey(kId, EapCredentials::kStorageEapPassword)); in TEST_F()
307 EXPECT_CALL(store, DeleteKey(_, _)).Times(AnyNumber()); in TEST_F()
Dstore_interface.h74 virtual bool DeleteKey(const std::string& group, const std::string& key) = 0;
Dmock_store.h48 MOCK_METHOD2(DeleteKey, bool(const std::string& group,
Dstub_storage.h50 bool DeleteKey(const std::string& group, const std::string& key) in DeleteKey() function
Dpending_activation_store_unittest.cc279 EXPECT_CALL(*mock_store, DeleteKey(PendingActivationStore::kIccidGroupId, in TEST_F()
284 EXPECT_CALL(*mock_store, DeleteKey(PendingActivationStore::kIccidGroupId, in TEST_F()
Dkey_file_store.h52 bool DeleteKey(const std::string& group, const std::string& key) override;
Dfake_store.h50 bool DeleteKey(const std::string& group, const std::string& key) override;
Dpending_activation_store.cc178 if (!storage_->DeleteKey(IdentifierTypeToGroupId(type), identifier)) { in RemoveEntry()
Djson_store_unittest.cc360 EXPECT_TRUE(store_->DeleteKey("group_a", "knob_1")); in TEST_F()
368 EXPECT_TRUE(store_->DeleteKey("group_a", "knob_1")); in TEST_F()
375 EXPECT_TRUE(store_->DeleteKey("group_a", "knob_2")); in TEST_F()
383 EXPECT_FALSE(store_->DeleteKey("group_b", "knob_1")); in TEST_F()
1070 store_->DeleteKey("group_a", "knob_1"); in TEST_F()
Ddhcp_properties.cc106 storage->DeleteKey(id, GetFullPropertyName(name)); in Save()
Djson_store.h51 bool DeleteKey(const std::string& group, const std::string& key) override;
Dservice.cc613 storage->DeleteKey(id, kStorageAutoConnect); in Save()
617 storage->DeleteKey(id, kStorageFavorite); in Save()
620 storage->DeleteKey(id, kStorageCheckPortal); in Save()
631 storage->DeleteKey(id, kStoragePriority); in Save()
637 storage->DeleteKey(id, kStoragePriorityWithinTechnology); in Save()
1433 storage->DeleteKey(id, key); in SaveString()
/system/keymaster/include/keymaster/
Dkeymaster_context.h134 virtual keymaster_error_t DeleteKey(const KeymasterKeyBlob& /* blob */) const { in DeleteKey() function
Dandroid_keymaster.h75 void DeleteKey(const DeleteKeyRequest& request, DeleteKeyResponse* response);
Dsoft_keymaster_context.h78 keymaster_error_t DeleteKey(const KeymasterKeyBlob& blob) const override;
/system/keymaster/
Dkeymaster0_engine.h53 bool DeleteKey(const KeymasterKeyBlob& blob) const;
Dkeymaster1_engine.h55 keymaster_error_t DeleteKey(const KeymasterKeyBlob& blob) const;
Dsoft_keymaster_context.cpp695 keymaster_error_t SoftKeymasterContext::DeleteKey(const KeymasterKeyBlob& blob) const { in DeleteKey() function in keymaster::SoftKeymasterContext
697 keymaster_error_t error = km1_engine_->DeleteKey(blob); in DeleteKey()
720 if (error == KM_ERROR_OK && km0_engine_->DeleteKey(key_material)) in DeleteKey()
723 km0_engine_->DeleteKey(blob); in DeleteKey()
/system/security/keystore/
Dkeystore_cli_v2.cpp307 int DeleteKey(const std::string& name) { in DeleteKey() function
447 return DeleteKey(command_line->GetSwitchValueASCII("name")); in main()
/system/tpm/attestation/server/
Dattestation_service.h248 void DeleteKey(const std::string& username,

12