Home
last modified time | relevance | path

Searched refs:GetPreferences (Results 1 – 25 of 46) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_helper_test.cpp67 …std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences("/data/test/test_helper", er…
92 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences("", errCode);
95 pref = PreferencesHelper::GetPreferences("data/test/test_helper", errCode);
98 pref = PreferencesHelper::GetPreferences(":data/test/test_helper", errCode);
102 pref = PreferencesHelper::GetPreferences(path, errCode);
105 pref = PreferencesHelper::GetPreferences(":data/test/test_helper/", errCode);
117 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences("", errCode);
120 pref = PreferencesHelper::GetPreferences("data/test/test_helper", errCode);
H A Dpreferences_file_test.cpp88 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
117 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
148 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
162 pref = PreferencesHelper::GetPreferences(file, errCode);
181 pref = PreferencesHelper::GetPreferences(file, errCode);
206 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
222 pref = PreferencesHelper::GetPreferences(file, errCode);
243 pref = PreferencesHelper::GetPreferences(file, errCode);
H A Dpreferences_test.cpp66 pref = PreferencesHelper::GetPreferences("/data/test/test", errCode); in SetUpTestCase()
678 pref1 = PreferencesHelper::GetPreferences("/data/test/test1", errCode);
694 auto pref1 = PreferencesHelper::GetPreferences("/data/test/test1", errCode);
701 pref1 = PreferencesHelper::GetPreferences("/data/test/test1", errCode);
727 pref1 = PreferencesHelper::GetPreferences("/data/test/test1", errCode);
753 pref1 = PreferencesHelper::GetPreferences("/data/test/test1", errCode);
779 pref1 = PreferencesHelper::GetPreferences("/data/test/test1", errCode);
805 pref1 = PreferencesHelper::GetPreferences("/data/test/test1", errCode);
837 pref1 = PreferencesHelper::GetPreferences("/data/test/test1", errCode);
934 pref1 = PreferencesHelper::GetPreferences("/data/test/test1", errCode);
[all …]
H A Dpreferences_xml_utils_test.cpp88 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(fileName, errCode);
169 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
207 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
247 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
287 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
317 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
349 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
381 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(file, errCode);
415 std::shared_ptr<Preferences> pref = PreferencesHelper::GetPreferences(fileName, errCode);
/ohos5.0/base/security/security_guard/test/unittest/mock/preferences/
H A Dpreferences_helper.h52 virtual std::shared_ptr<Preferences> GetPreferences(const Options &options, int &errCode);
59 … MOCK_METHOD2(GetPreferences, std::shared_ptr<Preferences>(const Options &options, int &errCode));
64 static std::shared_ptr<Preferences> GetPreferences(const Options &options, int &errCode) in GetPreferences() function
69 return instance_->GetPreferences(options, errCode); in GetPreferences()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_dfx/src/
H A Ddfx_analyzer.cpp45 NativePreferences::PreferencesHelper::GetPreferences(THUMBNAIL_ERROR_XML, errCode); in FlushThumbnail()
70 NativePreferences::PreferencesHelper::GetPreferences(COMMON_BEHAVIOR_XML, errCode); in FlushCommonBehavior()
99 NativePreferences::PreferencesHelper::GetPreferences(DELETE_BEHAVIOR_XML, errCode); in FlushDeleteBehavior()
120 … NativePreferences::PreferencesHelper::GetPreferences(ADAPTATION_TO_MOVING_PHOTO_XML, errCode); in FlushAdaptationToMovingPhoto()
H A Ddfx_worker.cpp68 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in HandleLoopTask()
94 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in Prepare()
119 NativePreferences::PreferencesHelper::GetPreferences(THUMBNAIL_ERROR_XML, errCode); in IsThumbnailUpdate()
138 NativePreferences::PreferencesHelper::GetPreferences(DELETE_BEHAVIOR_XML, errCode); in IsDeleteStatisticUpdate()
H A Ddfx_reporter.cpp91 NativePreferences::PreferencesHelper::GetPreferences(THUMBNAIL_ERROR_XML, errCode); in ReportThumbnailError()
131 NativePreferences::PreferencesHelper::GetPreferences(COMMON_BEHAVIOR_XML, errCode); in ReportCommonBehavior()
158 NativePreferences::PreferencesHelper::GetPreferences(DELETE_BEHAVIOR_XML, errCode); in ReportDeleteStatistic()
306 … NativePreferences::PreferencesHelper::GetPreferences(ADAPTATION_TO_MOVING_PHOTO_XML, errCode); in ReportAdaptationToMovingPhoto()
369 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in ReportCloudSyncThumbGenerationStatus()
H A Ddfx_manager.cpp323 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in HandleHalfDayMissions()
433 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in IsReported()
445 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in SetReported()
643 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in ResetStartTime()
656 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in SetStartTime()
/ohos5.0/foundation/multimodalinput/input/service/module_loader/src/
H A Dmultimodal_input_preferences_manager.cpp84 NativePreferences::PreferencesHelper::GetPreferences(PATH + MOUSE_FILE_NAME, errCode); in GetPreferencesSettings()
87 NativePreferences::PreferencesHelper::GetPreferences(PATH + KEYBOARD_FILE_NAME, errCode); in GetPreferencesSettings()
90 NativePreferences::PreferencesHelper::GetPreferences(PATH + TOUCHPAD_FILE_NAME, errCode); in GetPreferencesSettings()
186 NativePreferences::PreferencesHelper::GetPreferences(filePath, errCode); in SetIntValue()
222 NativePreferences::PreferencesHelper::GetPreferences(filePath, errCode); in SetBoolValue()
243 … NativePreferences::PreferencesHelper::GetPreferences(PATH + SHORT_KEY_FILE_NAME, errCode); in GetShortKeyDuration()
264 NativePreferences::PreferencesHelper::GetPreferences(PATH + SHORT_KEY_FILE_NAME, errCode); in SetShortKeyDuration()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/src/
H A Dnapi_preferences_helper.cpp76 napi_value GetPreferences(napi_env env, napi_callback_info info) in GetPreferences() function
86 context->proxy = PreferencesHelper::GetPreferences(options, errCode); in GetPreferences()
145 DECLARE_NAPI_FUNCTION_WITH_DATA("getPreferences", GetPreferences, ASYNC), in InitPreferencesHelper()
146 DECLARE_NAPI_FUNCTION_WITH_DATA("getPreferencesSync", GetPreferences, SYNC), in InitPreferencesHelper()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/src/
H A Dnapi_preferences_helper.cpp77 napi_value GetPreferences(napi_env env, napi_callback_info info) in GetPreferences() function
87 context->proxy = PreferencesHelper::GetPreferences(options, errCode); in GetPreferences()
142 DECLARE_NAPI_FUNCTION_WITH_DATA("getPreferences", GetPreferences, ASYNC), in InitPreferencesHelper()
143 DECLARE_NAPI_FUNCTION_WITH_DATA("getPreferencesSync", GetPreferences, SYNC), in InitPreferencesHelper()
/ohos5.0/base/security/security_guard/services/data_collect/store/src/
H A Dpreferences_wrapper.cpp32 NativePreferences::PreferencesHelper::GetPreferences(PATH, errCode); in PutInt()
50 NativePreferences::PreferencesHelper::GetPreferences(PATH, errCode); in GetInt()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_helper.cpp152 std::shared_ptr<Preferences> PreferencesHelper::GetPreferences(const Options &options, int &errCode) in GetPreferences() function in OHOS::NativePreferences::PreferencesHelper
177 pref = PreferencesEnhanceImpl::GetPreferences(options); in GetPreferences()
181 pref = PreferencesImpl::GetPreferences(options); in GetPreferences()
185 pref = PreferencesImpl::GetPreferences(options); in GetPreferences()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/system_storage/src/
H A Dnapi_system_storage.cpp241 auto pref = PreferencesHelper::GetPreferences(context->prefName, context->output); in NapiGet()
259 auto pref = PreferencesHelper::GetPreferences(context->prefName, context->output); in NapiSet()
277 auto pref = PreferencesHelper::GetPreferences(context->prefName, context->output); in NapiDelete()
290 auto pref = PreferencesHelper::GetPreferences(context->prefName, context->output); in NapiClear()
/ohos5.0/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_preference_helper.cpp37 ptr_ = NativePreferences::PreferencesHelper::GetPreferences(filePath_, errCode); in GetPreference()
49 ptr_ = NativePreferences::PreferencesHelper::GetPreferences(filePath_, errCode); in GetPreference()
/ohos5.0/foundation/filemanagement/dfs_service/utils/preference/src/
H A Dcloud_pref_impl.cpp44 pref_ = NativePreferences::PreferencesHelper::GetPreferences(fileName_, errCode); in CloudPrefImpl()
54 pref_ = NativePreferences::PreferencesHelper::GetPreferences(fileName_, errCode); in CloudPrefImpl()
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/distributeddatamgr/src/
H A Dmock_preferences_helper.cpp26 std::shared_ptr<Preferences> PreferencesHelper::GetPreferences(const Options &options, int& errCode) in GetPreferences() function in OHOS::NativePreferences::PreferencesHelper
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/
H A Dmock_preferences_helper.cpp30 std::shared_ptr<Preferences> PreferencesHelper::GetPreferences(const Options& options, int& errCode) in GetPreferences() function in OHOS::NativePreferences::PreferencesHelper
/ohos5.0/foundation/distributeddatamgr/preferences/interfaces/inner_api/include/
H A Dpreferences_helper.h46 …PREF_API_EXPORT static std::shared_ptr<Preferences> GetPreferences(const Options &options, int &er…
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_dfx/src/
H A Ddfx_reporter.cpp43 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in ReportDfxMessage()
H A Ddfx_worker.cpp60 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in InitCycleThread()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/preference/
H A Dstorage_impl.cpp26 auto pref = NativePreferences::PreferencesHelper::GetPreferences(fileName, errCode_); in GetPreference()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpreferences_enhance_impl.h35 static std::shared_ptr<PreferencesEnhanceImpl> GetPreferences(const Options &options) in GetPreferences() function
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_persistent_storage.cpp60 auto pref = NativePreferences::PreferencesHelper::GetPreferences(fileName, errCode); in GetPreference()

12