Home
last modified time | relevance | path

Searched defs:filePath (Results 1 – 25 of 110) sorted by relevance

12345

/base/sensors/miscdevice/utils/src/
Dfile_utils.cpp33 std::string ReadJsonFile(const std::string &filePath) in ReadJsonFile()
63 int32_t GetFileSize(const std::string& filePath) in GetFileSize()
73 bool CheckFileDir(const std::string& filePath, const std::string& dir) in CheckFileDir()
82 bool CheckFileSize(const std::string& filePath) in CheckFileSize()
92 bool CheckFileExtendName(const std::string& filePath, const std::string& checkExtension) in CheckFileExtendName()
107 std::string ReadFile(const std::string &filePath) in ReadFile()
/base/msdp/device_status/libs/src/
Ddevicestatus_data_parse.cpp86 std::string DeviceStatusDataParse::ReadJsonFile(const std::string &filePath) in ReadJsonFile()
116 int32_t DeviceStatusDataParse::GetFileSize(const std::string& filePath) in GetFileSize()
126 bool DeviceStatusDataParse::CheckFileDir(const std::string& filePath, const std::string& dir) in CheckFileDir()
135 int32_t DeviceStatusDataParse::CheckFileSize(const std::string& filePath) in CheckFileSize()
145 bool DeviceStatusDataParse::CheckFileExtendName(const std::string& filePath, const std::string& che… in CheckFileExtendName()
160 std::string DeviceStatusDataParse::ReadFile(const std::string &filePath) in ReadFile()
/base/request/request/test/unittest/common/napi/requestTest/
DRequestJsunit.test.js60 filePath: `/data/storage/el2/base/haps/entry/files/`, property
111 filePath: `/data/storage/el2/base/haps/entry/files/`, property
155 filePath: `/data/storage/el2/base/haps/entry/files/`, property
205 filePath: `/data/storage/el2/base/haps/entry/files/`, property
254 filePath: `/data/storage/el2/base/haps/entry/files/`, property
299 filePath: `/data/storage/el2/base/haps/entry/files/`, property
347 filePath: `/data/storage/el2/base/haps/entry/files/`, property
392 filePath: `/data/storage/el2/base/haps/entry/files/`, property
437 filePath: `/data/storage/el2/base/haps/entry/files/`, property
482 filePath: `/data/storage/el2/base/haps/entry/files/`, property
[all …]
/base/customization/config_policy/test/unittest/
Dconfig_policy_utils_test.cpp32 char *filePath = nullptr; in TestGetCfgFile() local
110 char *filePath = cfgDir->paths[i]; variable
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_write.cpp62 bool WriteEventToFile(const std::string& filePath, const std::string& event) in WriteEventToFile()
106 std::string filePath = FileUtil::GetFilePathByDir(dirPath, GetStorageFileName()); in WriteEvent() local
/base/hiviewdfx/blackbox/
Dblackbox_detector.c18 int UploadEventByFile(const char *filePath) in UploadEventByFile()
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dhap_verify_test.cpp145 std::string filePath = "./signed_inner.hap"; variable
166 std::string filePath[TEST_FILE_NUM] = {"./signed_ecc.hap", "./signed_rsa.hap"}; variable
242 std::string filePath = "./signed_ecc.hap"; variable
Dtrusted_root_ca_test.cpp125 std::string filePath = "./trusted_root_ca.json"; variable
/base/hiviewdfx/faultloggerd/test/systemtest/src/
Dfaultloggerd_system_test.cpp231 std::string filePath; in GetLogFileName() local
250 std::string filePath = GetLogFileName(prefix); in GetfileNamePrefix() local
262 std::string filePath = GetLogFileName(prefix); in GetstackfileNamePrefix() local
266 int FaultLoggerdSystemTest::CheckKeywords(std::string& filePath, std::string *keywords, int length,… in CheckKeywords()
300 int FaultLoggerdSystemTest::CheckCountNum(std::string& filePath, std::string& pid, std::string& Err… in CheckCountNum()
330 int FaultLoggerdSystemTest::CheckCountNumAbort(std::string& filePath, std::string& pid) in CheckCountNumAbort()
341 int FaultLoggerdSystemTest::CheckCountNumPCZero(std::string& filePath, std::string& pid) in CheckCountNumPCZero()
351 int FaultLoggerdSystemTest::CheckCountNumOverStack(std::string& filePath, std::string& pid) in CheckCountNumOverStack()
361 int FaultLoggerdSystemTest::CheckCountNumMultiThread(std::string& filePath, std::string& pid) in CheckCountNumMultiThread()
388 int FaultLoggerdSystemTest::CheckCountNumStackTop(std::string& filePath, std::string& pid, std::str… in CheckCountNumStackTop()
[all …]
/base/security/appverify/interfaces/innerkits/appverify/src/interfaces/
Dhap_verify.cpp78 int HapVerify(const std::string& filePath, HapVerifyResult& hapVerifyResult) in HapVerify()
87 int ParseHapProfile(const std::string& filePath, HapVerifyResult& hapVerifyV1Result) in ParseHapProfile()
/base/hiviewdfx/faultloggerd/utils/
Dfile_ex.cpp33 bool LoadStringFromFile(const string& filePath, string& content) in LoadStringFromFile()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
Dfile_util.cpp91 std::string filePath = GetFilePathByDir(dir, dirInfo->d_name); in ForceRemoveDirectory() local
119 std::string filePath = GetFilePathByDir(dir, ent->d_name); in GetDirFiles() local
177 std::string filePath = dir; in GetFilePathByDir() local
/base/hiviewdfx/hiview/adapter/utility/
Dfile_util.cpp40 bool LoadStringFromFile(const string& filePath, string& content) in LoadStringFromFile()
59 bool LoadBufferFromNodeFile(const string& filePath, vector<char>& content) in LoadBufferFromNodeFile()
91 bool LoadBufferFromFile(const std::string& filePath, std::vector<char>& content) in LoadBufferFromFile()
125 bool SaveStringToFile(const std::string& filePath, const std::string& content, bool truncated) in SaveStringToFile()
150 bool SaveBufferToFile(const string& filePath, const vector<char>& content, bool truncated) in SaveBufferToFile()
/base/update/updater/services/ui/
Dupdater_ui_tools.cpp28 void UpdaterUiTools::SaveUxBuffToFile(const std::string &filePath) in SaveUxBuffToFile()
/base/request/request/upload/frameworks/libs/src/
Dobtain_file.cpp93 bool ObtainFile::IsValidPath(const std::string &filePath) in IsValidPath()
123 std::string filePath = fileAdapter_->InternalGetFilePath(context); in GetInternalFile() local
/base/security/device_auth/deps_adapter/os_adapter/interfaces/liteos/
Dhc_file.h32 char filePath[MAX_FILE_PATH_SIZE]; member
/base/request/request/download/services/src/
Ddownload_background_notification.cpp29const std::string &filePath, uint32_t percent) in PublishDownloadNotification()
/base/location/test/location_locator/source/
Dlocation_config_manager_test.cpp46 … std::string filePath = LOCATION_DIR + SWITCH_CONFIG_NAME + "_" + std::to_string(userId) + ".conf"; in GetLocationSwitchConfigPath() local
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_file.c29 int InitVerify(FileRead *file, const char *filePath, int *handle) in InitVerify()
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/
Dfile_util.cpp36 bool LoadStringFromFile(const std::string& filePath, std::string& content) in LoadStringFromFile()
46 bool SaveStringToFile(const std::string& filePath, const std::string& content, bool truncated) in SaveStringToFile()
56 bool LoadBufferFromFile(const std::string& filePath, std::vector<char>& content) in LoadBufferFromFile()
61 bool SaveBufferToFile(const std::string& filePath, const std::vector<char>& content, bool truncated) in SaveBufferToFile()
/base/location/services/location_locator/locator/source/
Dlocation_config_manager.cpp95 … std::string filePath = LOCATION_DIR + SWITCH_CONFIG_NAME + "_" + std::to_string(userId) + ".conf"; in GetLocationSwitchConfigPath() local
106 std::string filePath; in GetPrivacyTypeConfigPath() local
/base/web/webview/ohos_adapter/datashare_adapter/src/
Ddatashare_adapter_impl.cpp72 char filePath[PATH_MAX] = {'\0'}; in GetFileDisplayName() local
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/
Dsignal_handler_test.cpp102 static int CheckKeyWords(const string& filePath, string *keywords, int length) in CheckKeyWords()
136 static bool CheckLocalCrashKeyWords(const string& filePath, pid_t pid, int sig) in CheckLocalCrashKeyWords()
/base/update/updater/test/unittest/applypatch_test/
Dpartition_update_record_unittest.cpp63 std::string filePath = "/data/updater/applypatch/misc_test"; variable
Dcommandsfunction_unittest.cpp64 std::string filePath = "/data/updater/updater/allCmdUnitTest.bin"; variable

12345