Searched refs:AdapterDeviceConfig (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | adapter_device_config.cpp | 25 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 D | adapter_device_config.h | 268 class AdapterDeviceConfig : public IAdapterDeviceConfig { 450 AdapterDeviceConfig(); 455 ~AdapterDeviceConfig(); 458 static AdapterDeviceConfig *g_instance;
|
H A D | adapter_manager.cpp | 373 … AdapterDeviceConfig::GetInstance()->SetValue(SECTION_HOST, propertynames[transport], (int)true); in Enable() 374 AdapterDeviceConfig::GetInstance()->Save(); in Enable() 407 … AdapterDeviceConfig::GetInstance()->SetValue(SECTION_HOST, propertynames[transport], (int)false); in Disable() 408 AdapterDeviceConfig::GetInstance()->Save(); in Disable() 482 if (!AdapterDeviceConfig::GetInstance()->Reload()) { in ClearAllStorage() 835 …AdapterDeviceConfig::GetInstance()->GetValue(SECTION_HOST, adapterConfigTbl[btStateFlag].first, tu… in RestoreTurnOnState()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/gatts/ |
H A D | generic_attribute_service.cpp | 132 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 D | generic_access_service.cpp | 251 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 D | classic_config.cpp | 32 ClassicConfig::ClassicConfig() : config_(AdapterDeviceConfig::GetInstance()) in ClassicConfig()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_config.cpp | 32 config_ = AdapterDeviceConfig::GetInstance(); in BleConfig()
|