/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/ |
H A D | preferences_helper_test.cpp | 67 …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 D | preferences_file_test.cpp | 88 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 D | preferences_test.cpp | 66 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 D | preferences_xml_utils_test.cpp | 88 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 D | preferences_helper.h | 52 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 D | dfx_analyzer.cpp | 45 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 D | dfx_worker.cpp | 68 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 D | dfx_reporter.cpp | 91 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 D | dfx_manager.cpp | 323 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 D | multimodal_input_preferences_manager.cpp | 84 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 D | napi_preferences_helper.cpp | 76 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 D | napi_preferences_helper.cpp | 77 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 D | preferences_wrapper.cpp | 32 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 D | preferences_helper.cpp | 152 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 D | napi_system_storage.cpp | 241 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 D | netfirewall_preference_helper.cpp | 37 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 D | cloud_pref_impl.cpp | 44 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 D | mock_preferences_helper.cpp | 26 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 D | mock_preferences_helper.cpp | 30 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 D | preferences_helper.h | 46 …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 D | dfx_reporter.cpp | 43 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in ReportDfxMessage()
|
H A D | dfx_worker.cpp | 60 NativePreferences::PreferencesHelper::GetPreferences(DFX_COMMON_XML, errCode); in InitCycleThread()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/preference/ |
H A D | storage_impl.cpp | 26 auto pref = NativePreferences::PreferencesHelper::GetPreferences(fileName, errCode_); in GetPreference()
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | preferences_enhance_impl.h | 35 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 D | scene_persistent_storage.cpp | 60 auto pref = NativePreferences::PreferencesHelper::GetPreferences(fileName, errCode); in GetPreference()
|