Home
last modified time | relevance | path

Searched refs:StringPrintf (Results 1 - 21 of 21) sorted by relevance

/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/src/
H A Dcgroup_controller.cpp28 #include "process_group_util.h" // for StringPrintf, GetRealPath, ReadFileT...
123 std::string cgTag = StringPrintf(":%s:", name_.c_str()); in GetTaskGroup()
142 filePath = StringPrintf("%s/tasks", path_.c_str()); in AddThreadSchedPolicy()
144 filePath = StringPrintf("%s/%s/tasks", path_.c_str(), subgroup.c_str()); in AddThreadSchedPolicy()
164 filePath = StringPrintf("%s/cgroup.procs", path_.c_str()); in AddThreadGroupSchedPolicy()
166 filePath = StringPrintf("%s/%s/cgroup.procs", path_.c_str(), subgroup.c_str()); in AddThreadGroupSchedPolicy()
H A Dprocess_group_util.cpp50 std::string StringPrintf(const char* fmt, ...) in StringPrintf() function
/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/
H A Dexternal_volume_info.cpp83 devPath_ = StringPrintf(devPathDir_.c_str(), (id).c_str()); in DoCreate()
117 auto mountData = StringPrintf("context=u:object_r:mnt_external_file:s0"); in DoMount4Hmfs()
127 auto mountData = StringPrintf("rw,uid=%d,gid=%d,dmask=0007,fmask=0007", UID_FILE_MANAGER, UID_FILE_MANAGER); in DoMount4Ntfs()
129 mountData = StringPrintf("ro,uid=%d,gid=%d,dmask=0007,fmask=0007", UID_FILE_MANAGER, UID_FILE_MANAGER); in DoMount4Ntfs()
144 auto mountData = StringPrintf("rw,uid=%d,gid=%d,dmask=0007,fmask=0007", UID_FILE_MANAGER, UID_FILE_MANAGER); in DoMount4Exfat()
146 mountData = StringPrintf("ro,uid=%d,gid=%d,dmask=0007,fmask=0007", UID_FILE_MANAGER, UID_FILE_MANAGER); in DoMount4Exfat()
162 auto mountData = StringPrintf("uid=%d,gid=%d,dmask=0007,fmask=0007", UID_FILE_MANAGER, UID_FILE_MANAGER); in DoMount4OtherType()
175 mountPath_ = StringPrintf(mountPathDir_.c_str(), fsUuid_.c_str()); in DoMount()
H A Dprocess.cpp95 auto path = StringPrintf("%s/maps", pidPath.c_str()); in CheckMaps()
134 auto path = StringPrintf("%s/fd", pidPath.c_str()); in CheckFds()
164 std::string pidPath = StringPrintf("/proc/%d", pid); in UpdatePidByPath()
H A Dvolume_manager.cpp54 std::string volId = StringPrintf("vol-%u-%u", major(device), minor(device)); in CreateVolume()
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/
H A Duser_manager.cpp166 if (!PrepareDir(StringPrintf(dir.path.c_str(), level.c_str(), userId), dir.mode, dir.uid, dir.gid)) { in PrepareDirsFromVec()
180 err = RmDirRecurse(StringPrintf(dir.path.c_str(), level.c_str(), userId)); in DestroyDirsFromVec()
201 temp.path = StringPrintf(item.path.c_str(), level.c_str(), userId); in PrepareDirsFromIdAndLevel()
213 temp.path = StringPrintf(item.path.c_str(), level.c_str(), userId); in PrepareDirsFromIdAndLevel()
249 if (!PrepareDir(StringPrintf(bundle_.c_str(), userId), MODE_0711, OID_ROOT, OID_ROOT)) { in PrepareEl1BundleDir()
257 temp.path = StringPrintf(bundle_.c_str(), userId); in PrepareEl1BundleDir()
270 if (!RmDirRecurse(StringPrintf(bundle_.c_str(), userId))) { in DestroyEl1BundleDir()
297 if (!PrepareDir(StringPrintf(dir.path.c_str(), userId), dir.mode, dir.uid, dir.gid)) { in PrepareEl2BackupDir()
308 if (!RmDirRecurse(StringPrintf(dir.path.c_str(), userId))) { in DestroyEl2BackupDir()
319 if (!PrepareDir(StringPrintf(di in PrepareEl1Dir()
[all...]
H A Dmount_manager.cpp490 opt = StringPrintf("fd=%i," in CloudMount()
955 std::string sharePath = StringPrintf("/data/service/el2/%d/share", userId); in ClearRedundantResources()
1020 std::string filesPath = StringPrintf("/data/service/el2/%d/hmdfs/account/files/", userId); in PrepareFileManagerDir()
1025 std::string path = StringPrintf(dir.path.c_str(), userId); in PrepareFileManagerDir()
1102 if (!PrepareDir(StringPrintf(dir.path.c_str(), userId), dir.mode, dir.uid, dir.gid)) { in PrepareHmdfsDirs()
1113 if (!PrepareDir(StringPrintf(dir.path.c_str(), userId), dir.mode, dirUid, dir.gid)) { in PrepareFileManagerDirs()
1124 std::string path = StringPrintf(dir.path.c_str(), userId); in CreateVirtualDirs()
1139 std::string dstPath = StringPrintf("/mnt/data/%d/hmdfs/%s/", userId, deviceId.c_str()); in MountDfsDocs()
1172 std::string dstPath = StringPrintf("/mnt/data/%d/hmdfs/%s", userId, deviceId.c_str()); in UMountDfsDocs()
1196 std::string path = StringPrintf(di in RestoreconSystemServiceDirs()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/include/
H A Dprocess_group_util.h27 std::string StringPrintf(const char* fmt, ...);
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dapp_clone_key_manager.cpp34 std::string keyPath = StringPrintf(NEED_RESTORE_PATH.c_str(), userId); in ActiveAppCloneUserKey()
/foundation/filemanagement/storage_service/services/storage_daemon/include/utils/
H A Dstring_utils.h23 std::string StringPrintf(const char *format, ...);
/foundation/filemanagement/storage_service/test/fuzztest/stringutils_fuzzer/
H A Dstringutils_fuzzer.cpp30 StorageDaemon::StringPrintf(character); in StringUtilsFuzzTest()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dstring_utils.cpp36 std::string StringPrintf(const char *format, ...) in StringPrintf() function
/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/
H A Ddisk_info.cpp41 id_ = StringPrintf("disk-%d-%d", major(device), minor(device)); in DiskInfo()
44 devPath_ = StringPrintf("/dev/block/%s", id_.c_str()); in DiskInfo()
/foundation/multimodalinput/input/util/common/include/
H A Dutil.h76 std::string StringPrintf(const char *format, ...);
/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_hub.h141 std::string StringPrintf(const char *format, ...) const;
H A Dinput_hub.cpp958 std::string InputHub::StringPrintf(const char *format, ...) const in StringPrintf() function in OHOS::DistributedHardware::DistributedInput::InputHub
978 rawDescriptor += StringPrintf(":%04x:%04x:", identifier.vendor, in GenerateDescriptor()
/foundation/filemanagement/storage_service/services/storage_manager/storage/test/
H A Dstorage_total_status_service_test.cpp144 path = StringPrintf(dir.path.c_str(), userId); in HWTEST_F()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dinput_windows_manager.cpp1516 window += StringPrintf("windowId:["); in UpdateDisplayInfo()
1535 window += StringPrintf("%d,", item.id); in UpdateDisplayInfo()
1537 dump += StringPrintf("pointChangeAreas:["); in UpdateDisplayInfo()
1539 dump += StringPrintf("%d,", it); in UpdateDisplayInfo()
1541 dump += StringPrintf("]\n"); in UpdateDisplayInfo()
1543 dump += StringPrintf("transform:["); in UpdateDisplayInfo()
1545 dump += StringPrintf("%f,", it); in UpdateDisplayInfo()
1547 dump += StringPrintf("]\n"); in UpdateDisplayInfo()
1557 window += StringPrintf("]\n"); in UpdateDisplayInfo()
4074 dump += StringPrintf("\ in UpdateDisplayInfo()
[all...]
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dinput_manager_impl.cpp725 dump += StringPrintf("pointChangeAreas:["); in PrintWindowInfo()
727 dump += StringPrintf("%d,", it); in PrintWindowInfo()
729 dump += StringPrintf("] transform:["); in PrintWindowInfo()
731 dump += StringPrintf("%f,", it); in PrintWindowInfo()
733 dump += StringPrintf("]\n"); in PrintWindowInfo()
/foundation/multimodalinput/input/util/common/src/
H A Dutil.cpp528 std::string StringPrintf(const char *format, ...) in StringPrintf() function
/foundation/filemanagement/storage_service/services/storage_daemon/disk/test/
H A Ddisk_info_test.cpp428 std::string id = StringPrintf("disk-%d-%d", major(device), minor(device)); in HWTEST_F()

Completed in 31 milliseconds