Searched refs:partition_name (Results 1 - 12 of 12) sorted by relevance
/system/update_engine/common/ |
H A D | fake_boot_control.h | 45 bool GetPartitionDevice(const std::string& partition_name, 50 auto part_it = devices_[slot].find(partition_name); 88 void SetPartitionDevice(const std::string partition_name, argument 92 devices_[slot][partition_name] = device;
|
H A D | boot_control_stub.cc | 34 bool BootControlStub::GetPartitionDevice(const string& partition_name, argument
|
H A D | boot_control_stub.h | 41 bool GetPartitionDevice(const std::string& partition_name,
|
H A D | boot_control_interface.h | 53 // |partition_name| is a platform-specific name that identifies a partition on 56 virtual bool GetPartitionDevice(const std::string& partition_name,
|
H A D | utils.cc | 473 bool SplitPartitionName(const string& partition_name, argument 476 if (!base::StartsWith(partition_name, "/dev/", 478 LOG(ERROR) << "Invalid partition device name: " << partition_name; 482 size_t last_nondigit_pos = partition_name.find_last_not_of("0123456789"); 484 (last_nondigit_pos + 1) == partition_name.size()) { 485 LOG(ERROR) << "Unable to parse partition device name: " << partition_name; 490 if (partition_name[last_nondigit_pos] == '_') { 494 partition_name.find_last_not_of("0123456789", last_nondigit_pos - 1); 497 LOG(ERROR) << "Unable to parse partition device name: " << partition_name; 509 if (partition_name[last_nondigit_po 543 string partition_name = disk_name; local [all...] |
H A D | utils.h | 168 bool SplitPartitionName(const std::string& partition_name,
|
/system/update_engine/ |
H A D | boot_control_chromeos.h | 46 bool GetPartitionDevice(const std::string& partition_name, 69 // |partition_name| and |slot|. In case of invalid data, returns -1. 70 int GetPartitionNumber(const std::string partition_name,
|
H A D | boot_control_android.h | 43 bool GetPartitionDevice(const std::string& partition_name,
|
H A D | boot_control_chromeos.cc | 142 bool BootControlChromeOS::GetPartitionDevice(const string& partition_name, argument 145 int partition_num = GetPartitionNumber(partition_name, slot); 279 const string partition_name, 292 string partition_lower = base::ToLowerASCII(partition_name); 300 LOG(ERROR) << "Unknown Chrome OS partition name \"" << partition_name << "\""; 278 GetPartitionNumber( const string partition_name, BootControlInterface::Slot slot) const argument
|
H A D | boot_control_android.cc | 94 bool BootControlAndroid::GetPartitionDevice(const string& partition_name, argument 97 // We can't use fs_mgr to look up |partition_name| because fstab 103 // partition. This helps us locate the disk that |partition_name| 106 // |partition_name| and suffix corresponding to |slot|, e.g. 133 base::FilePath path = misc_device.DirName().Append(partition_name + suffix);
|
/system/core/init/ |
H A D | devices.cpp | 66 const char *partition_name; member in struct:uevent 373 uevent->partition_name = NULL; 402 uevent->partition_name = msg; 504 if (uevent->partition_name) { 505 p = strdup(uevent->partition_name); 507 if (strcmp(uevent->partition_name, p)) 508 NOTICE("Linking partition '%s' as '%s'\n", uevent->partition_name, p);
|
/system/update_engine/payload_consumer/ |
H A D | delta_performer.cc | 287 << partitions_[current_partition_].partition_name() << "\""; 341 << partition.partition_name() << " on slot " 353 << partition.partition_name() << " on slot " 360 << " operations to partition \"" << partition.partition_name() 381 "old " + partition.partition_name()); 383 "new " + partition.partition_name()); 839 install_part.name = partition.partition_name(); 1689 if (partitions_[i].partition_name() != install_plan_->partitions[i].name) { 1693 << partitions_[i].partition_name() 1708 LogVerifyError(partitions_[i].partition_name(), [all...] |
Completed in 148 milliseconds