Home
last modified time | relevance | path

Searched refs:GetPreference (Results 1 - 16 of 16) sorted by relevance

/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_timed_collect_tool.cpp35 bool PreferencesUtil::GetPreference() in GetPreference() function in OHOS::PreferencesUtil
44 HILOGE("GetPreference error code is %{public}d", errCode); in GetPreference()
63 if (!GetPreference()) { in Save()
95 if (!GetPreference()) { in ObtainAll()
118 if (!GetPreference()) { in Obtain()
119 HILOGI("Obtain GetPreference failed"); in Obtain()
139 if (!GetPreference()) { in RefreshSync()
140 HILOGI("RefreshSync GetPreference failed"); in RefreshSync()
156 if (!GetPreference()) { in IsExist()
157 HILOGI("IsExist GetPreference faile in IsExist()
[all...]
/foundation/communication/nfc/services/src/external_deps/
H A Dnfc_preferences.cpp37 std::shared_ptr<NativePreferences::Preferences> NfcPreferences::GetPreference(const std::string& fileName) in GetPreference() function in OHOS::NFC::NfcPreferences
45 std::shared_ptr<NativePreferences::Preferences> pref = GetPreference(fileName_); in SetString()
57 std::shared_ptr<NativePreferences::Preferences> pref = GetPreference(fileName_); in GetString()
68 std::shared_ptr<NativePreferences::Preferences> pref = GetPreference(fileName_); in SetInt()
80 std::shared_ptr<NativePreferences::Preferences> pref = GetPreference(fileName_); in GetInt()
91 std::shared_ptr<NativePreferences::Preferences> pref = GetPreference(fileName_); in Clear()
103 std::shared_ptr<NativePreferences::Preferences> pref = GetPreference(fileName_); in Delete()
H A Dnfc_preferences.h40 std::shared_ptr<NativePreferences::Preferences> GetPreference(const std::string& fileName);
/foundation/arkui/ace_engine/adapter/ohos/capability/preference/
H A Dstorage_impl.cpp19 std::shared_ptr<NativePreferences::Preferences> StorageImpl::GetPreference(const std::string& fileName) in GetPreference() function in OHOS::Ace::StorageImpl
32 std::shared_ptr<NativePreferences::Preferences> pref = GetPreference(fileName_); in SetString()
42 std::shared_ptr<NativePreferences::Preferences> pref = GetPreference(fileName_); in GetString()
50 std::shared_ptr<NativePreferences::Preferences> pref = GetPreference(fileName_); in Clear()
60 std::shared_ptr<NativePreferences::Preferences> pref = GetPreference(fileName_); in Delete()
H A Dstorage_impl.h58 std::shared_ptr<NativePreferences::Preferences> GetPreference(const std::string& fileName);
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_preference_helper.cpp34 bool NetFirewallPreferenceHelper::GetPreference() in GetPreference() function in OHOS::NetManagerStandard::NetFirewallPreferenceHelper
39 NETMGR_EXT_LOG_E("GetPreference error code is %{public}d", errCode); in GetPreference()
45 bool NetFirewallPreferenceHelper::GetPreference(const std::string &filePath) in GetPreference() function in OHOS::NetManagerStandard::NetFirewallPreferenceHelper
51 NETMGR_EXT_LOG_E("GetPreference error code is %{public}d", errCode); in GetPreference()
69 if (!GetPreference()) { in Save()
111 if (!GetPreference()) { in Obtain()
112 NETMGR_EXT_LOG_I("Obtain GetPreference failed"); in Obtain()
132 if (!GetPreference()) { in RefreshSync()
133 NETMGR_EXT_LOG_I("RefreshSync GetPreference failed"); in RefreshSync()
149 if (!GetPreference(filePat in Clear()
[all...]
H A Dnetfirewall_policy_manager.cpp56 preferencesHelper_->GetPreference(FIREWALL_PREFERENCE_PATH + std::to_string(userId) + ".xml"); in SetNetFirewallPolicy()
123 preferencesHelper_->GetPreference(FIREWALL_PREFERENCE_PATH + std::to_string(userId) + ".xml"); in IsNetFirewallOpen()
212 preferencesHelper_->GetPreference(FIREWALL_PREFERENCE_PATH + std::to_string(userId) + ".xml"); in LoadPolicyFormPreference()
/foundation/window/window_manager/utils/src/
H A Dpersistent_storage.cpp37 auto pref = GetPreference(storageType); in HasKey()
50 auto pref = GetPreference(storageType); in Delete()
60 std::shared_ptr<PersistentPerference> PersistentStorage::GetPreference(PersistentStorageType storageType) in GetPreference() function in OHOS::Rosen::PersistentStorage
69 WLOGD("[PersistentStorage] GetPreference fileName: %{public}s, errCode: %{public}d", fileName.c_str(), errCode); in GetPreference()
76 auto pref = GetPreference(storageType); in Insert()
103 auto pref = GetPreference(storageType); in Get()
/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_persistent_storage.h44 auto pref = GetPreference(storageType); in Insert()
71 auto pref = GetPreference(storageType); in Get()
101 static std::shared_ptr<PersistentPerference> GetPreference(ScenePersistentStorageType storageType);
/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_persistent_storage.cpp29 auto pref = GetPreference(storageType); in HasKey()
42 auto pref = GetPreference(storageType); in Delete()
52 std::shared_ptr<PersistentPerference> ScenePersistentStorage::GetPreference(ScenePersistentStorageType storageType) in GetPreference() function in OHOS::Rosen::ScenePersistentStorage
61 WLOGD("[ScenePersistentStorage] GetPreference file: %{public}s, errCode: %{public}d", fileName.c_str(), errCode); in GetPreference()
/foundation/communication/netmanager_ext/services/netfirewallmanager/include/
H A Dnetfirewall_preference_helper.h86 bool GetPreference(const std::string &filePath);
89 bool GetPreference();
/foundation/bundlemanager/app_domain_verify/frameworks/common/src/config/
H A Dwhite_list_config_mgr.cpp38 preferences_ = GetPreference(DEFAULT_WHITE_LIST_PRE_PATH); in LoadDefault()
53 preferences_ = GetPreference(DYNAMIC_WHITE_LIST_PRE_PATH); in LoadDynamic()
94 std::shared_ptr<NativePreferences::Preferences> WhiteListConfigMgr::GetPreference(const std::string& path) in GetPreference() function in OHOS::AppDomainVerify::WhiteListConfigMgr
101 APP_DOMAIN_VERIFY_HILOGE(APP_DOMAIN_VERIFY_MODULE_COMMON, "WhiteListConfigMgr::GetPreference failed."); in GetPreference()
/foundation/window/window_manager/utils/include/
H A Dpersistent_storage.h43 static std::shared_ptr<PersistentPerference> GetPreference(PersistentStorageType storageType);
/foundation/bundlemanager/app_domain_verify/frameworks/common/include/config/
H A Dwhite_list_config_mgr.h37 std::shared_ptr<NativePreferences::Preferences> GetPreference(const std::string& path);
/foundation/systemabilitymgr/samgr/services/samgr/native/include/collect/
H A Ddevice_timed_collect_tool.h40 bool GetPreference();
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_delegate.cpp1528 std::shared_ptr<OHOS::NWeb::NWebPreference> setting = nweb_->GetPreference(); in GetDefaultUserAgent()
2557 auto setting = nweb_->GetPreference(); in UpdateSettting()
2952 std::shared_ptr<OHOS::NWeb::NWebPreference> setting = delegate->nweb_->GetPreference(); in UpdateUserAgent()
2970 std::shared_ptr<OHOS::NWeb::NWebPreference> setting = delegate->nweb_->GetPreference(); in UpdateBackgroundColor()
2987 std::shared_ptr<OHOS::NWeb::NWebPreference> setting = delegate->nweb_->GetPreference(); in UpdateInitialScale()
3075 std::shared_ptr<OHOS::NWeb::NWebPreference> setting = delegate->nweb_->GetPreference(); in UpdateJavaScriptEnabled()
3093 std::shared_ptr<OHOS::NWeb::NWebPreference> setting = delegate->nweb_->GetPreference(); in UpdateAllowFileAccess()
3111 std::shared_ptr<OHOS::NWeb::NWebPreference> setting = delegate->nweb_->GetPreference(); in UpdateBlockNetworkImage()
3129 std::shared_ptr<OHOS::NWeb::NWebPreference> setting = delegate->nweb_->GetPreference(); in UpdateLoadsImagesAutomatically()
3147 std::shared_ptr<OHOS::NWeb::NWebPreference> setting = delegate->nweb_->GetPreference(); in UpdateMixedContentMode()
[all...]

Completed in 12 milliseconds