Home
last modified time | relevance | path

Searched refs:StorageModule (Results 1 – 18 of 18) sorted by relevance

/system/bt/gd/storage/
Dstorage_module.cc52 const std::string StorageModule::kInfoSection = "Info";
53 const std::string StorageModule::kFileSourceProperty = "FileSource";
54 const std::string StorageModule::kTimeCreatedProperty = "TimeCreated";
55 const std::string StorageModule::kTimeCreatedFormat = "%Y-%m-%d %H:%M:%S";
57 const std::string StorageModule::kAdapterSection = "Adapter";
59 StorageModule::StorageModule( in StorageModule() function in bluetooth::storage::StorageModule
79 StorageModule::~StorageModule() { in ~StorageModule()
84 const ModuleFactory StorageModule::Factory = ModuleFactory([]() { in __anon224f9c2b0102()
85 return new StorageModule( in __anon224f9c2b0102()
89 struct StorageModule::impl {
[all …]
Dstorage_module_test.cc43 using bluetooth::storage::StorageModule;
77 class TestStorageModule : public StorageModule {
85 : StorageModule( in TestStorageModule()
93 return StorageModule::GetConfigCache(); in GetConfigCachePublic()
97 return StorageModule::GetMemoryOnlyConfigCache(); in GetMemoryOnlyConfigCachePublic()
101 StorageModule::SaveImmediately(); in SaveImmediatelyPublic()
139 test_registry.InjectTestModule(&StorageModule::Factory, storage); in TEST_F()
149 ASSERT_TRUE(config->HasSection(StorageModule::kInfoSection)); in TEST_F()
151 …config->GetProperty(StorageModule::kInfoSection, StorageModule::kFileSourceProperty), Optional(Str… in TEST_F()
154 …auto timestamp = config->GetProperty(StorageModule::kInfoSection, StorageModule::kTimeCreatedPrope… in TEST_F()
[all …]
Dstorage_module.h41 class StorageModule : public bluetooth::Module {
50 ~StorageModule();
131 StorageModule(
149 DISALLOW_COPY_AND_ASSIGN(StorageModule);
/system/bt/gd/security/test/
Dfake_storage_module.h28 class FakeStorageModule : public storage::StorageModule {
30 …FakeStorageModule() : storage::StorageModule("/tmp/temp_config.txt", kTestConfigSaveDelay, 100, fa… in FakeStorageModule()
33 return StorageModule::GetConfigCache(); in GetConfigCachePublic()
37 StorageModule::SaveImmediately(); in SaveImmediatelyPublic()
/system/bt/gd/hci/
Dhci_metrics_logging.h25 …std::unique_ptr<CommandView>& command_view, EventView packet, storage::StorageModule* storage_modu…
29 void log_link_layer_connection_other_hci_event(EventView packet, storage::StorageModule* storage_mo…
36 …const Address& address, uint32_t connection_handle, ErrorCode status, storage::StorageModule* stor…
Dacl_manager.cc176 …auto irk = GetDependency<storage::StorageModule>()->GetAdapterConfig().GetLeIdentityResolvingKey(); in SetPrivacyPolicyForInitiatorAddress()
285 list->add<storage::StorageModule>(); in ListDependencies()
Dhci_layer.cc302 …event(command_queue_.front().command_view, event, module_.GetDependency<storage::StorageModule>()); in on_hci_event()
532 list->add<storage::StorageModule>(); in ListDependencies()
Dhci_metrics_logging.cc28 …std::unique_ptr<CommandView>& command_view, EventView event_view, storage::StorageModule* storage_… in log_hci_event()
318 void log_link_layer_connection_other_hci_event(EventView packet, storage::StorageModule* storage_mo… in log_link_layer_connection_other_hci_event()
849 …const Address& address, uint32_t connection_handle, ErrorCode status, storage::StorageModule* stor… in log_remote_device_information()
/system/bt/gd/security/record/
Dsecurity_record_storage.h42 SecurityRecordStorage(storage::StorageModule* storage_module, os::Handler* handler);
70 storage::StorageModule* storage_module_ __attribute__((unused));
Dsecurity_record_storage_test.cc35 fake_registry_.InjectTestModule(&storage::StorageModule::Factory, storage_module_); in SetUp()
Dsecurity_record_storage.cc101 SecurityRecordStorage::SecurityRecordStorage(storage::StorageModule* storage_module, os::Handler* h… in SecurityRecordStorage()
/system/bt/gd/security/
Dsecurity_module.cc48 storage::StorageModule* storage_module, in impl()
73 storage::StorageModule* storage_module_;
99 list->add<storage::StorageModule>(); in ListDependencies()
111 GetDependency<storage::StorageModule>(), in Start()
/system/bt/main/shim/
Dstack.cc68 modules.add<storage::StorageModule>(); in StartIdleMode()
71 ASSERT(stack_manager_.GetInstance<storage::StorageModule>() != nullptr); in StartIdleMode()
100 modules.add<storage::StorageModule>(); in StartEverything()
136 modules.add<storage::StorageModule>(); in StartEverything()
141 ASSERT(stack_manager_.GetInstance<storage::StorageModule>() != nullptr); in StartEverything()
Dentry.h70 class StorageModule; variable
92 storage::StorageModule* GetStorage();
Dentry.cc117 storage::StorageModule* GetStorage() { in GetStorage()
120 ->GetInstance<storage::StorageModule>(); in GetStorage()
/system/bt/test/mock/
Dmock_main_shim_entry.cc72 storage::StorageModule* GetStorage() { return nullptr; } in GetStorage()
/system/bt/gd/security/internal/
Dsecurity_manager_impl.h63 storage::StorageModule* storage_module,
254 storage::StorageModule* storage_module_ __attribute__((unused));
Dsecurity_manager_impl.cc670 storage::StorageModule* storage_module, in SecurityManagerImpl()