Home
last modified time | relevance | path

Searched refs:sysPath (Results 1 - 13 of 13) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_manager/disk/test/
H A Ddisk_manager_service_test.cpp50 std::string sysPath = "/"; in HWTEST_F() local
54 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
81 std::string sysPath = "/"; in HWTEST_F() local
85 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
113 std::string sysPath = "/"; in HWTEST_F() local
117 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
146 std::string sysPath = "/"; in HWTEST_F() local
150 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
176 std::string sysPath = "/"; in HWTEST_F() local
180 Disk disk(diskId, sizeBytes, sysPath, vendo in HWTEST_F()
206 std::string sysPath = "/"; HWTEST_F() local
237 std::string sysPath = "/"; HWTEST_F() local
265 std::string sysPath = "/"; HWTEST_F() local
296 std::string sysPath = "/"; HWTEST_F() local
325 std::string sysPath = "/"; HWTEST_F() local
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/disk/test/
H A Ddisk_info_test.cpp58 std::string sysPath = data->GetSyspath(); in HWTEST_F() local
65 auto mock = std::make_shared<DiskInfoTestMock>(sysPath, devPath, device, flag); in HWTEST_F()
91 std::string sysPath = data->GetSyspath(); in HWTEST_F() local
98 auto mock = std::make_shared<DiskInfoTestMock>(sysPath, devPath, device, flag); in HWTEST_F()
124 std::string sysPath = data->GetSyspath(); in HWTEST_F() local
131 auto mock = std::make_shared<DiskInfoTestMock>(sysPath, devPath, device, flag); in HWTEST_F()
157 std::string sysPath = data->GetSyspath(); in HWTEST_F() local
164 auto mock = std::make_shared<DiskInfoTestMock>(sysPath, devPath, device, flag); in HWTEST_F()
190 std::string sysPath = data->GetSyspath(); in HWTEST_F() local
197 auto mock = std::make_shared<DiskInfoTestMock>(sysPath, devPat in HWTEST_F()
223 std::string sysPath = data->GetSyspath(); HWTEST_F() local
256 std::string sysPath = data->GetSyspath(); HWTEST_F() local
289 std::string sysPath = data->GetSyspath(); HWTEST_F() local
322 std::string sysPath = data->GetSyspath(); HWTEST_F() local
355 std::string sysPath = data->GetSyspath(); HWTEST_F() local
388 std::string sysPath = data->GetSyspath(); HWTEST_F() local
421 std::string sysPath = data->GetSyspath(); HWTEST_F() local
455 std::string sysPath = data->GetSyspath(); HWTEST_F() local
488 std::string sysPath = data->GetSyspath(); HWTEST_F() local
522 std::string sysPath = data->GetSyspath(); HWTEST_F() local
555 std::string sysPath = data->GetSyspath(); HWTEST_F() local
590 std::string sysPath = data->GetSyspath(); HWTEST_F() local
623 std::string sysPath = data->GetSyspath(); HWTEST_F() local
655 std::string sysPath = data->GetSyspath(); HWTEST_F() local
688 std::string sysPath = data->GetSyspath(); HWTEST_F() local
720 std::string sysPath = data->GetSyspath(); HWTEST_F() local
752 std::string sysPath = data->GetSyspath(); HWTEST_F() local
[all...]
H A Ddisk_info_test_mock.h26 DiskInfoTestMock(std::string &sysPath, std::string &devPath, dev_t device, int flags) in DiskInfoTestMock() argument
27 :DiskInfo(sysPath, devPath, device, flags) {}; in DiskInfoTestMock()
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/test/
H A Ddisk_test.cpp47 std::string sysPath = "/"; in HWTEST_F() local
50 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
56 EXPECT_EQ(result3, sysPath); in HWTEST_F()
79 std::string sysPath = "/"; in HWTEST_F() local
82 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
87 EXPECT_EQ(parcel.ReadString(), sysPath); in HWTEST_F()
107 std::string sysPath = "/"; in HWTEST_F() local
113 parcel.WriteString(sysPath); in HWTEST_F()
121 EXPECT_EQ(result->GetSysPath(), sysPath); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/src/
H A Ddisk.cpp22 Disk::Disk(std::string diskId, int64_t sizeBytes, std::string sysPath, std::string vendor, int32_t flag) in Disk() argument
23 : diskId_(diskId), sizeBytes_(sizeBytes), sysPath_(sysPath), vendor_(vendor), flag_(flag) {} in Disk()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/
H A Dstorage_manager_client_test.cpp64 std::string sysPath = "test"; in HWTEST_F() local
68 DiskInfo diskInfo(sysPath, devPath, device, flag); in HWTEST_F()
/foundation/filemanagement/storage_service/interfaces/innerkits/storage_manager/native/
H A Ddisk.h30 Disk(std::string diskId, int64_t sizeBytes, std::string sysPath, std::string vendor, int32_t flag);
/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/
H A Ddisk_manager.cpp96 std::string sysPath = data->GetSyspath(); in MatchConfig() local
110 auto diskInfo = std::make_shared<DiskInfo>(sysPath, devPath, device, static_cast<int>(flag)); in MatchConfig()
H A Ddisk_info.cpp39 DiskInfo::DiskInfo(std::string &sysPath, std::string &devPath, dev_t device, int flag) in DiskInfo() argument
42 sysPath_ = sysPath; in DiskInfo()
/foundation/multimodalinput/input/intention/services/device_manager/include/
H A Ddevice.h70 void SetSysPath(const std::string &sysPath) override;
166 inline void Device::SetSysPath(const std::string &sysPath) in SetSysPath() argument
168 sysPath_ = sysPath; in SetSysPath()
/foundation/multimodalinput/input/intention/prototype/include/
H A Di_device.h58 virtual void SetSysPath(const std::string &sysPath) = 0;
/foundation/multimodalinput/input/service/device_manager/src/
H A Dinput_device_manager.cpp353 std::string sysPath = udev_device_get_syspath(udevDevice); in GetInputIdentification() local
355 if ((deviceVendor < 0) || (deviceProduct < 0) || sysPath.empty()) { in GetInputIdentification()
367 std::string deviceIdentification = sysPath.substr(0, sysPath.find(vendorProduct)) + vendorProduct; in GetInputIdentification()
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/
H A Dstorage_manager_proxy_test.cpp496 std::string sysPath = "/"; in HWTEST_F() local
499 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
888 std::string sysPath = "/"; in HWTEST_F() local
891 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()

Completed in 9 milliseconds