/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/src/ |
H A D | cgroup_controller.cpp | 28 #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 D | process_group_util.cpp | 50 std::string StringPrintf(const char* fmt, ...) in StringPrintf() function
|
/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/ |
H A D | external_volume_info.cpp | 83 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 D | process.cpp | 95 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 D | volume_manager.cpp | 54 std::string volId = StringPrintf("vol-%u-%u", major(device), minor(device)); in CreateVolume()
|
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/ |
H A D | user_manager.cpp | 166 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 D | mount_manager.cpp | 490 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 D | process_group_util.h | 27 std::string StringPrintf(const char* fmt, ...);
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | app_clone_key_manager.cpp | 34 std::string keyPath = StringPrintf(NEED_RESTORE_PATH.c_str(), userId); in ActiveAppCloneUserKey()
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/utils/ |
H A D | string_utils.h | 23 std::string StringPrintf(const char *format, ...);
|
/foundation/filemanagement/storage_service/test/fuzztest/stringutils_fuzzer/ |
H A D | stringutils_fuzzer.cpp | 30 StorageDaemon::StringPrintf(character); in StringUtilsFuzzTest()
|
/foundation/filemanagement/storage_service/services/storage_daemon/utils/ |
H A D | string_utils.cpp | 36 std::string StringPrintf(const char *format, ...) in StringPrintf() function
|
/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/ |
H A D | disk_info.cpp | 41 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 D | util.h | 76 std::string StringPrintf(const char *format, ...);
|
/foundation/distributedhardware/distributed_input/common/include/ |
H A D | input_hub.h | 141 std::string StringPrintf(const char *format, ...) const;
|
H A D | input_hub.cpp | 958 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 D | storage_total_status_service_test.cpp | 144 path = StringPrintf(dir.path.c_str(), userId); in HWTEST_F()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_windows_manager.cpp | 1516 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 D | input_manager_impl.cpp | 725 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 D | util.cpp | 528 std::string StringPrintf(const char *format, ...) in StringPrintf() function
|
/foundation/filemanagement/storage_service/services/storage_daemon/disk/test/ |
H A D | disk_info_test.cpp | 428 std::string id = StringPrintf("disk-%d-%d", major(device), minor(device)); in HWTEST_F()
|