Home
last modified time | relevance | path

Searched refs:path_ (Results 1 - 25 of 39) sorted by relevance

12

/base/telephony/core_service/utils/preferences/src/
H A Dtel_profile_util.cpp31 return NativePreferences::PreferencesHelper::DeletePreferences(path_); in DeleteProfiles()
36 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString()
47 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString()
56 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt()
67 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainInt()
76 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveBool()
87 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainBool()
96 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveLong()
107 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainLong()
116 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode in SaveFloat()
[all...]
/base/telephony/telephony_data/common/src/
H A Dpreferences_util.cpp37 return NativePreferences::PreferencesHelper::DeletePreferences(path_); in DeleteProfiles()
42 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString()
53 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString()
62 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt()
73 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainInt()
82 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveBool()
93 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainBool()
102 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveLong()
113 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainLong()
122 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode in SaveFloat()
[all...]
/base/theme/screenlock_mgr/utils/src/
H A Dpreferences_util.cpp35 return NativePreferences::PreferencesHelper::DeletePreferences(path_); in DeleteProfiles()
40 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString()
51 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString()
60 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt()
71 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainInt()
80 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveBool()
91 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainBool()
100 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveLong()
111 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainLong()
120 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode in SaveFloat()
[all...]
/base/hiviewdfx/hiview/base/logstore/
H A Dlog_store_ex.cpp42 path_(path) in LogStoreEx()
47 if (!FileUtil::FileExists(path_)) { in Init()
48 FileUtil::ForceCreateDirectory(path_); in Init()
49 FileUtil::ChangeModeDirectory(path_, DEFAULT_LOG_DIR_MODE); in Init()
71 return path_; in GetPath()
78 FileUtil::GetDirFiles(path_, fileVec); in GetLogFiles()
107 if (!FileUtil::ForceRemoveDirectory(path_)) { in Clear()
121 FileUtil::RemoveFile(it->path_); in DoDeleteLogFiles()
122 HIVIEW_LOGI("Remove file:%{public}s.", it->path_.c_str()); in DoDeleteLogFiles()
130 auto size = FileUtil::GetFolderSize(path_); in ClearOldestFilesIfNeeded()
[all...]
H A Dlog_file.cpp30 LogFile::LogFile(const std::string& fullPath) : path_(fullPath) in LogFile()
/base/update/updater/services/applypatch/
H A Draw_writer.h30 RawWriter(const std::string path, uint64_t offset) : fd_(-1), path_(path), offset_(offset) {} in RawWriter()
32 path_(path), offset_(startAddr + offset) {} in RawWriter()
50 std::string path_; member in Updater::RawWriter
H A Draw_writer.cpp45 fd_ = OpenPath(path_); in Write()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cleaner/include/
H A Dapp_event_cleaner.h26 AppEventCleaner(const std::string& path) : path_(path) {} in AppEventCleaner()
33 std::string path_; member in OHOS::HiviewDFX::AppEventCleaner
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cleaner/
H A Dapp_event_log_cleaner.cpp34 return FileUtil::GetDirSize(path_); in GetFilesSize()
41 FileUtil::GetDirFiles(path_, files); in ClearSpace()
68 FileUtil::GetDirFiles(path_, files); in ClearData()
H A Dapp_event_db_cleaner.cpp72 return FileUtil::GetFileSize(path_ + DATABASE_NAME); in GetFilesSize()
/base/hiviewdfx/hidumper/frameworks/native/src/common/
H A Ddumper_opts.cpp62 path_.clear(); // for zip in Reset()
103 path_ = opts.path_; in operator =()
139 return DumpCommonUtils::StartWith(path_, PATH_SEPARATOR); in IsDumpZip()
192 std::string path = TrimStr(path_); in CheckOptions()
194 errStr = path_; in CheckOptions()
H A Ddumper_parameter.cpp51 opts_.path_ = path; in SetOutputFilePath()
56 return opts_.path_; in GetOutputFilePath()
/base/powermgr/battery_manager/charger/src/
H A Dpower_supply_provider.cpp50 path_ = POWER_SUPPLY_BASE_PATH; in PowerSupplyProvider()
107 FormatPath(batterySysfsInfo_.capacityPath, PATH_MAX, "%s/%s/capacity", path_.c_str(), in FormatSysfsPaths()
110 batterySysfsInfo_.temperaturePath, PATH_MAX, "%s/%s/temp", path_.c_str(), nodeNamePathMap_["temp"].c_str()); in FormatSysfsPaths()
112 batterySysfsInfo_.chargeStatePath, PATH_MAX, "%s/%s/status", path_.c_str(), nodeNamePathMap_["status"].c_str()); in FormatSysfsPaths()
179 dir = opendir(path_.c_str()); in InitPowerSupplySysfs()
181 BATTERY_HILOGE(FEATURE_CHARGING, "cannot open path_"); in InitPowerSupplySysfs()
247 std::string batteryPath = path_ + "/" + path; in CheckSubfolderNode()
376 path_ = MOCK_POWER_SUPPLY_BASE_PATH; in InitDefaultSysfs()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
H A Dfd_output.cpp45 path_ = parameter->GetOutputFilePath(); in PreExecute()
46 if ((fd_ < 0) && (!path_.empty())) { in PreExecute()
47 fd_ = open(path_.c_str(), O_WRONLY | O_CREAT | O_APPEND, OPEN_ARGV); in PreExecute()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
H A Devent_logger_catcher_test.h28 std::string path_ = "/data/test/log"; member in OHOS::HiviewDFX::EventloggerCatcherTest
/base/hiviewdfx/hidumper/test/unittest/common/
H A Dhidumper_output_test.cpp86 opts.path_ = FILE_ROOT + "GZ_HidumperOutputTest001.gz"; in HWTEST_F()
127 opts.path_ = FILE_ROOT + "GZ_HidumperOutputTest002.gz"; in HWTEST_F()
169 opts.path_ = FILE_ROOT + "GZ_HidumperOutputTest003.gz"; in HWTEST_F()
211 opts.path_ = FILE_ROOT + "GZ_HidumperOutputTest004.gz"; in HWTEST_F()
258 opts.path_ = FILE_ROOT + "GZ_HidumperOutputTest005.gz"; in HWTEST_F()
289 opts.path_ = FILE_ROOT + "GZ_HidumperOutputTest006.gz"; in HWTEST_F()
314 opts.path_ = FILE_ROOT + "zipOutputTest.gz"; in HWTEST_F()
358 opts.path_ = FILE_ROOT + "GZ_HidumperOutputTest008.gz"; in HWTEST_F()
/base/hiviewdfx/hiview/base/logstore/test/unittest/common/
H A Dlog_store_unit_test.cpp84 ASSERT_EQ(testLogDir, file.path_); in HWTEST_F()
91 ASSERT_EQ(testLogDir, file1.path_); in HWTEST_F()
99 ASSERT_EQ(testLogFile, file2.path_); in HWTEST_F()
/base/hiviewdfx/hiview/base/logstore/include/
H A Dlog_file.h43 std::string path_ = ""; member in OHOS::HiviewDFX::LogFile
H A Dlog_store_ex.h77 std::string path_; member in OHOS::HiviewDFX::LogStoreEx
/base/hiviewdfx/hidumper/frameworks/native/include/executor/
H A Dfd_output.h52 std::string path_; member in OHOS::HiviewDFX::FDOutput
/base/hiviewdfx/hidumper/frameworks/native/include/common/
H A Ddumper_opts.h43 std::string path_; // for zip member
/base/global/resource_management/interfaces/js/innerkits/core/src/
H A Dresource_manager_napi_sync_impl.cpp129 dataContext->path_ = ResourceManagerNapiUtils::GetResNameOrPath(env, argc, argv); in InitPathAddon()
145 "Failed to init para in GetRawFileListSync by %{public}s", dataContext->path_.c_str()); in GetRawFileListSync()
150 RState state = dataContext->addon_->GetResMgr()->GetRawFileList(dataContext->path_.c_str(), in GetRawFileListSync()
153 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get rawfile list by %{public}s", dataContext->path_.c_str()); in GetRawFileListSync()
170 "Failed to init para in GetRawFileContentSync by %{public}s", dataContext->path_.c_str()); in GetRawFileContentSync()
175 RState state = dataContext->addon_->GetResMgr()->GetRawFileFromHap(dataContext->path_, in GetRawFileContentSync()
178 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get rawfile by %{public}s", dataContext->path_.c_str()); in GetRawFileContentSync()
194 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to init para in GetRawFdSync by %{public}s", dataContext->path_.c_str()); in GetRawFdSync()
199 RState state = dataContext->addon_->GetResMgr()->GetRawFileDescriptorFromHap(dataContext->path_, in GetRawFdSync()
202 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get rawfd by %{public}s", dataContext->path_ in GetRawFdSync()
[all...]
/base/telephony/core_service/utils/preferences/include/
H A Dtel_profile_util.h54 std::string path_ = "/data/service/el1/public/telephony/telephonyProperties.xml"; member in OHOS::Telephony::TelProfileUtil
/base/telephony/telephony_data/common/include/
H A Dpreferences_util.h53 std::string path_ = "/data/storage/el1/database/telephony_data_preferences.xml"; member in OHOS::Telephony::PreferencesUtil
/base/theme/screenlock_mgr/utils/include/
H A Dpreferences_util.h53 std::string path_ = "/data/service/el1/public/screenlock/screenlock_state.xml"; member in OHOS::ScreenLock::PreferencesUtil

Completed in 9 milliseconds

12