Searched refs:blockDevice (Results 1 - 4 of 4) sorted by relevance
/base/update/updater/services/fs_manager/ |
H A D | mount.cpp | 339 std::string blockDevice = PARTITION_PATH + mountPoint; in GetBlockDeviceByMountPoint() local 341 blockDevice = PARTITION_PATH + "/" + mountPoint; in GetBlockDeviceByMountPoint() 346 blockDevice = item->deviceName; in GetBlockDeviceByMountPoint() 349 return blockDevice; in GetBlockDeviceByMountPoint() 366 std::string blockDevice = PARTITION_PATH + mountPoint; in GetBlockDevicesByMountPoint() local 368 blockDevice = PARTITION_PATH + "/" + mountPoint; in GetBlockDevicesByMountPoint() 370 blockDevices.push_back(blockDevice); in GetBlockDevicesByMountPoint()
|
/base/update/sys_installer/services/module_update/src/ |
H A D | module_update.cpp | 330 void ModuleUpdate::WaitDevice(const std::string &blockDevice) const in WaitDevice() 334 while (!CheckPathExists(blockDevice) && time++ < waitTime) { in WaitDevice() 367 string blockDevice = loopbackDevice.name; in MountModulePackage() local 369 if (!CreateDmDevice(moduleFile, blockDevice)) { in MountModulePackage() 370 LOG(ERROR) << "Could not create dm-verity device on " << blockDevice; in MountModulePackage() 371 Loop::ClearDmLoopDevice(blockDevice, false); in MountModulePackage() 375 WaitDevice(blockDevice); in MountModulePackage() 377 ret = mount(blockDevice.c_str(), mountPoint.c_str(), imageStat.fsType, mountFlags, nullptr); in MountModulePackage() 380 Loop::ClearDmLoopDevice(blockDevice, true); in MountModulePackage()
|
/base/update/sys_installer/services/module_update/include/ |
H A D | module_update.h | 42 void WaitDevice(const std::string &blockDevice) const;
|
/base/startup/init/test/unittest/ueventd/ |
H A D | ueventd_event_unittest.cpp | 337 std::string blockDevice = "/dev/block/block_device_test"; in HWTEST_F() local 339 int ret = stat(blockDevice.c_str(), &st); in HWTEST_F() 364 std::string blockDevice = "/dev/block/block_device_test"; in HWTEST_F() local 366 int ret = stat(blockDevice.c_str(), &st); in HWTEST_F() 369 std::cout << "Warning. Block device " << blockDevice << " is not exist.\n"; in HWTEST_F() local 372 ret = stat(blockDevice.c_str(), &st); in HWTEST_F()
|
Completed in 3 milliseconds