Searched refs:partitions (Results 1 - 2 of 2) sorted by relevance
/base/update/updater/services/updater_binary/ |
H A D | update_partitions.cpp | 50 bool UpdatePartitions::SetPartitionInfo(const cJSON *partitions, int idx, struct Partition *myPartition) const in SetPartitionInfo() argument 52 cJSON *thisPartition = cJSON_GetArrayItem(partitions, idx); in SetPartitionInfo() 100 cJSON* partitions = cJSON_GetObjectItem(root, "Partition"); in ParsePartitionInfo() local 101 if (partitions == nullptr) { in ParsePartitionInfo() 106 int number = cJSON_GetArraySize(partitions); in ParsePartitionInfo() 108 LOG(ERROR) << "Error partitions number: " << number; in ParsePartitionInfo() 121 if (!SetPartitionInfo(partitions, i, myPartition)) { in ParsePartitionInfo() 139 LOG(INFO) << "partitions not changed,Skip."; in DoNewPartitions() 143 Utils::UpdaterDoReboot("updater", "Updater finish do new partitions"); in DoNewPartitions()
|
H A D | update_partitions.h | 19 #include "fs_manager/partitions.h" 33 bool SetPartitionInfo(const cJSON* partitions, int idx, struct Partition* myPartition) const;
|
Completed in 1 milliseconds