Home
last modified time | relevance | path

Searched refs:WriteToFile (Results 1 - 25 of 33) sorted by relevance

12

/foundation/resourceschedule/memmgr/test/unittest/phone/
H A Dkernel_interface_test.cpp156 ret = KernelInterface::GetInstance().WriteToFile(path, line1); // curr content: "line1" in HWTEST_F()
161 ret = KernelInterface::GetInstance().WriteToFile(path, line1, false); // curr content: "line1line1" in HWTEST_F()
166 ret = KernelInterface::GetInstance().WriteToFile(path, "", false); // curr content: "line1line1" in HWTEST_F()
171 ret = KernelInterface::GetInstance().WriteToFile(path, "", true); // curr content: "" in HWTEST_F()
192 ret = KernelInterface::GetInstance().WriteToFile(path, line1); // curr content: "line1" in HWTEST_F()
193 ret = ret && KernelInterface::GetInstance().WriteToFile(path, "\n", false); // curr content: "line1\n" in HWTEST_F()
194 ret = ret && KernelInterface::GetInstance().WriteToFile(path, line2, false); // curr content: "line1\nline2" in HWTEST_F()
199 ret = KernelInterface::GetInstance().WriteToFile(path, lines); // curr content: "line1\nline2\nline3" in HWTEST_F()
240 bool ret = KernelInterface::GetInstance().WriteToFile(path, line1, false); in HWTEST_F()
241 ret = ret || KernelInterface::GetInstance().WriteToFile(pat in HWTEST_F()
[all...]
H A Dmemcg_mgr_test.cpp108 KernelInterface::GetInstance().WriteToFile("/dev/memcg/cgroup.procs", "1", false); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/image/test/unittest/
H A Dimage_compressor_test.cpp95 instance->WriteToFile(key, compressData, {width, height}); in HWTEST_F()
118 instance->WriteToFile(key, compressData, {width, height}); in HWTEST_F()
141 instance->WriteToFile(key, compressData, {width, height}); in HWTEST_F()
163 instance->WriteToFile(key, compressData, {width, height}); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_compressor.h62 void WriteToFile(std::string key, sk_sp<SkData> compressdImage, Size size);
65 void WriteToFile(std::string key, std::shared_ptr<RSData> compressdImage, Size size);
/foundation/graphic/graphic_3d/lume/metaobject/test/src/
H A Dserialisation_utils.cpp121 WriteToFile(data_.Data(), file); in Dump()
129 void WriteToFile(const BASE_NS::vector<char>& vec, BASE_NS::string_view file) in WriteToFile() function
H A Dserialisation_utils.h75 void WriteToFile(const BASE_NS::vector<char>&, BASE_NS::string_view file);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/benchmarks/
H A Dfile_utils.cpp64 bool WriteToFile(uintptr_t data, size_t size, const std::string& filePath) in WriteToFile() function
138 return OHOS::Rosen::Benchmarks::WriteToFile(buf, sz, drawCmdListFile) && in WriteMessageParcelToFile()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dhi_audit.cpp118 WriteToFile(auditLog.TitleString() + "\n"); in Write()
127 WriteToFile(writeLog); in Write()
185 void HiAudit::WriteToFile(const std::string& content) in WriteToFile() function in OHOS::HiAudit
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dhi_audit.cpp116 WriteToFile(auditLog.TitleString() + "\n"); in Write()
125 WriteToFile(writeLog); in Write()
179 void HiAudit::WriteToFile(const std::string& content) in WriteToFile() function in OHOS::Media::HiAudit
/foundation/filemanagement/app_file_service/utils/src/b_hiaudit/
H A Dhi_audit.cpp120 WriteToFile(auditLog.TitleString()); in Write()
129 WriteToFile(writeLog); in Write()
190 void HiAudit::WriteToFile(const std::string &content) in WriteToFile() function in OHOS::FileManagement::Backup::HiAudit
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/benchmarks/
H A Dfile_utils.h30 RSB_EXPORT bool WriteToFile(uintptr_t data, size_t size, const std::string& filePath);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/benchmarks/
H A Dfile_utils_test.cpp49 bool ret = Benchmarks::WriteToFile(messageParcel.GetData(), messageParcel.GetDataSize(), testFile); in HWTEST_F()
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dsharing_manager.cpp104 bool WriteToFile(const char *fileName, const char *value) in WriteToFile() function
240 bool ipv6Success = WriteToFile(option.c_str(), value); in SetIpv6PrivacyExtensions()
248 bool ipv6Success = WriteToFile(option.c_str(), value); in SetEnableIpv6()
256 bool ipv4Success = WriteToFile(IPV4_FORWARDING_PROC_FILE, value); in SetIpFwdEnable()
257 bool ipv6Success = WriteToFile(IPV6_FORWARDING_PROC_FILE, value); in SetIpFwdEnable()
/foundation/filemanagement/storage_service/services/storage_daemon/include/utils/
H A Dhi_audit.h61 void WriteToFile(const std::string& log);
/foundation/filemanagement/app_file_service/utils/include/b_hiaudit/
H A Dhi_audit.h71 void WriteToFile(const std::string &log);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/
H A Dcache_data.h55 void WriteToFile();
H A Dshader_cache.cpp170 cacheData_->WriteToFile(); in WriteToDisk()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dhi_audit.h100 void WriteToFile(const std::string& log);
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_strategy_manager/
H A Davail_buffer_manager.cpp110 return KernelInterface::GetInstance().WriteToFile(fullPath, NumsToString()); in WriteAvailBufferToKernel()
/foundation/ability/ability_runtime/services/appdfr/include/
H A Dappfreeze_manager.h79 std::string WriteToFile(const std::string& fileName, std::string& content);
/foundation/resourceschedule/memmgr/common/include/
H A Dkernel_interface.h53 bool WriteToFile(const std::string& path, const std::string& content, bool truncated = true);
/foundation/resourceschedule/memmgr/common/src/
H A Dmemmgr_config_manager.cpp176 return KernelInterface::GetInstance().WriteToFile(path, content); in WriteReclaimRatiosConfigToKernel()
/foundation/ability/ability_runtime/services/appdfr/src/
H A Dappfreeze_manager.cpp179 fullStackPath = WriteToFile(fileName, catcherStack); in AppfreezeHandleWithStack()
187 fullStackPath = WriteToFile(fileName, catchJsonStack); in AppfreezeHandleWithStack()
198 std::string AppfreezeManager::WriteToFile(const std::string& fileName, std::string& content) in WriteToFile() function in OHOS::AppExecFwk::AppfreezeManager
287 std::string fullStackPath = WriteToFile(fileName, binderInfo); in AcquireStack()
/foundation/graphic/graphic_surface/surface/src/
H A Dbuffer_utils.cpp385 void WriteToFile(std::string prefixPath, std::string pid, void* dest, size_t size, int32_t format, int32_t width, in WriteToFile() function
452 std::thread file_writer(WriteToFile, prefixPath, std::to_string(pid), dest, size, buffer->GetFormat(), in DumpToFileAsync()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/render_context/
H A Dcache_data_test.cpp318 cacheData1->WriteToFile(); in HWTEST_F()
321 cacheData2->WriteToFile(); in HWTEST_F()

Completed in 11 milliseconds

12