Loading system/btif/include/btif_keystore.h +0 −8 Original line number Diff line number Diff line Loading @@ -59,14 +59,6 @@ class BtifKeystore { */ std::string Decrypt(const std::string& input_filename); /** * Check for existence of keystore key. * * This key can be cleared if a user manually wipes bluetooth storage data * b/133214365 */ bool DoesKeyExist(); private: std::unique_ptr<keystore::KeystoreClient> keystore_client_; std::mutex api_mutex_; Loading system/btif/src/btif_config.cc +1 −3 Original line number Diff line number Diff line Loading @@ -183,9 +183,7 @@ static BtifKeystore btif_keystore(new keystore::KeystoreClientImpl); static future_t* init(void) { std::unique_lock<std::recursive_mutex> lock(config_lock); if (is_factory_reset() || (use_key_attestation() && !btif_keystore.DoesKeyExist())) delete_config_files(); if (is_factory_reset()) delete_config_files(); std::string file_source; Loading system/btif/src/btif_keystore.cc +0 −4 Original line number Diff line number Diff line Loading @@ -98,8 +98,4 @@ KeyStoreNativeReturnCode BtifKeystore::GenerateKey(const std::string& name, &software_enforced_characteristics); } bool BtifKeystore::DoesKeyExist() { return keystore_client_->doesKeyExist(kKeyStore); } } // namespace bluetooth Loading
system/btif/include/btif_keystore.h +0 −8 Original line number Diff line number Diff line Loading @@ -59,14 +59,6 @@ class BtifKeystore { */ std::string Decrypt(const std::string& input_filename); /** * Check for existence of keystore key. * * This key can be cleared if a user manually wipes bluetooth storage data * b/133214365 */ bool DoesKeyExist(); private: std::unique_ptr<keystore::KeystoreClient> keystore_client_; std::mutex api_mutex_; Loading
system/btif/src/btif_config.cc +1 −3 Original line number Diff line number Diff line Loading @@ -183,9 +183,7 @@ static BtifKeystore btif_keystore(new keystore::KeystoreClientImpl); static future_t* init(void) { std::unique_lock<std::recursive_mutex> lock(config_lock); if (is_factory_reset() || (use_key_attestation() && !btif_keystore.DoesKeyExist())) delete_config_files(); if (is_factory_reset()) delete_config_files(); std::string file_source; Loading
system/btif/src/btif_keystore.cc +0 −4 Original line number Diff line number Diff line Loading @@ -98,8 +98,4 @@ KeyStoreNativeReturnCode BtifKeystore::GenerateKey(const std::string& name, &software_enforced_characteristics); } bool BtifKeystore::DoesKeyExist() { return keystore_client_->doesKeyExist(kKeyStore); } } // namespace bluetooth