/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/ |
H A D | device_timed_collect_tool.cpp | 35 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 D | nfc_preferences.cpp | 37 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 D | nfc_preferences.h | 40 std::shared_ptr<NativePreferences::Preferences> GetPreference(const std::string& fileName);
|
/foundation/arkui/ace_engine/adapter/ohos/capability/preference/ |
H A D | storage_impl.cpp | 19 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 D | storage_impl.h | 58 std::shared_ptr<NativePreferences::Preferences> GetPreference(const std::string& fileName);
|
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/ |
H A D | netfirewall_preference_helper.cpp | 34 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 D | netfirewall_policy_manager.cpp | 56 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 D | persistent_storage.cpp | 37 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 D | scene_persistent_storage.h | 44 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 D | scene_persistent_storage.cpp | 29 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 D | netfirewall_preference_helper.h | 86 bool GetPreference(const std::string &filePath); 89 bool GetPreference();
|
/foundation/bundlemanager/app_domain_verify/frameworks/common/src/config/ |
H A D | white_list_config_mgr.cpp | 38 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 D | persistent_storage.h | 43 static std::shared_ptr<PersistentPerference> GetPreference(PersistentStorageType storageType);
|
/foundation/bundlemanager/app_domain_verify/frameworks/common/include/config/ |
H A D | white_list_config_mgr.h | 37 std::shared_ptr<NativePreferences::Preferences> GetPreference(const std::string& path);
|
/foundation/systemabilitymgr/samgr/services/samgr/native/include/collect/ |
H A D | device_timed_collect_tool.h | 40 bool GetPreference();
|
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_delegate.cpp | 1528 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...] |