Home
last modified time | relevance | path

Searched refs:AdapterDeviceConfig (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dadapter_device_config.cpp25 AdapterDeviceConfig *AdapterDeviceConfig::g_instance = nullptr;
27 struct AdapterDeviceConfig::impl {
44 AdapterDeviceConfig::AdapterDeviceConfig() : pimpl(std::make_unique<impl>()){}; in AdapterDeviceConfig() function in OHOS::bluetooth::AdapterDeviceConfig
46 AdapterDeviceConfig::~AdapterDeviceConfig() in ~AdapterDeviceConfig()
49 bool AdapterDeviceConfig::Load() in Load()
62 bool AdapterDeviceConfig::Reload() in Reload()
76 bool AdapterDeviceConfig::Save() in Save()
113 bool AdapterDeviceConfig::SetValue( in SetValue()
119 bool AdapterDeviceConfig::SetValue( in SetValue()
126 bool AdapterDeviceConfig::SetValue( in SetValue()
[all …]
H A Dadapter_device_config.h268 class AdapterDeviceConfig : public IAdapterDeviceConfig {
450 AdapterDeviceConfig();
455 ~AdapterDeviceConfig();
458 static AdapterDeviceConfig *g_instance;
H A Dadapter_manager.cpp373AdapterDeviceConfig::GetInstance()->SetValue(SECTION_HOST, propertynames[transport], (int)true); in Enable()
374 AdapterDeviceConfig::GetInstance()->Save(); in Enable()
407AdapterDeviceConfig::GetInstance()->SetValue(SECTION_HOST, propertynames[transport], (int)false); in Disable()
408 AdapterDeviceConfig::GetInstance()->Save(); in Disable()
482 if (!AdapterDeviceConfig::GetInstance()->Reload()) { in ClearAllStorage()
835AdapterDeviceConfig::GetInstance()->GetValue(SECTION_HOST, adapterConfigTbl[btStateFlag].first, tu… in RestoreTurnOnState()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/gatts/
H A Dgeneric_attribute_service.cpp132 AdapterDeviceConfig::GetInstance()->SetValue(SECTION_GENERIC_ATTRIBUTE_SERVICE, in StoreNotifyInformation()
136 AdapterDeviceConfig::GetInstance()->SetValue(SECTION_GENERIC_ATTRIBUTE_SERVICE, in StoreNotifyInformation()
140 AdapterDeviceConfig::GetInstance()->SetValue(SECTION_GENERIC_ATTRIBUTE_SERVICE, in StoreNotifyInformation()
148 AdapterDeviceConfig::GetInstance()->Save(); in StoreNotifyInformation()
154 AdapterDeviceConfig::GetInstance()->Load(); in LoadNotifyInformation()
157 AdapterDeviceConfig::GetInstance()->GetSubSections(SECTION_GENERIC_ATTRIBUTE_SERVICE, devices); in LoadNotifyInformation()
162 AdapterDeviceConfig::GetInstance()->GetValue( in LoadNotifyInformation()
164 AdapterDeviceConfig::GetInstance()->GetValue( in LoadNotifyInformation()
167 if (!AdapterDeviceConfig::GetInstance()->GetValue( in LoadNotifyInformation()
177 AdapterDeviceConfig::GetInstance()->RemoveSection(SECTION_GENERIC_ATTRIBUTE_SERVICE, dev); in LoadNotifyInformation()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/gas/
H A Dgeneric_access_service.cpp251 AdapterDeviceConfig::GetInstance()->GetValue(SECTION_HOST, PROPERTY_DEVICE_NAME, result); in GetDeviceName()
258 AdapterDeviceConfig::GetInstance()->GetValue(SECTION_HOST, PROPERTY_BLE_APPEARANCE, appearance); in GetAppearance()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_config.cpp32 ClassicConfig::ClassicConfig() : config_(AdapterDeviceConfig::GetInstance()) in ClassicConfig()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_config.cpp32 config_ = AdapterDeviceConfig::GetInstance(); in BleConfig()