/system/core/fastboot/device/ |
D | variables.h | 22 class FastbootDevice; variable 24 bool GetVersion(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 25 bool GetBootloaderVersion(FastbootDevice* device, const std::vector<std::string>& args, 27 bool GetBasebandVersion(FastbootDevice* device, const std::vector<std::string>& args, 29 bool GetOsVersion(FastbootDevice* device, const std::vector<std::string>& args, 31 bool GetVndkVersion(FastbootDevice* device, const std::vector<std::string>& args, 33 bool GetProduct(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 34 bool GetSerial(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 35 bool GetSecure(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 36 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& args, [all …]
|
D | commands.h | 24 class FastbootDevice; variable 34 using CommandHandler = std::function<bool(FastbootDevice*, const std::vector<std::string>&)>; 36 bool DownloadHandler(FastbootDevice* device, const std::vector<std::string>& args); 37 bool SetActiveHandler(FastbootDevice* device, const std::vector<std::string>& args); 38 bool ShutDownHandler(FastbootDevice* device, const std::vector<std::string>& args); 39 bool RebootHandler(FastbootDevice* device, const std::vector<std::string>& args); 40 bool RebootBootloaderHandler(FastbootDevice* device, const std::vector<std::string>& args); 41 bool RebootFastbootHandler(FastbootDevice* device, const std::vector<std::string>& args); 42 bool RebootRecoveryHandler(FastbootDevice* device, const std::vector<std::string>& args); 43 bool GetVarHandler(FastbootDevice* device, const std::vector<std::string>& args); [all …]
|
D | variables.cpp | 47 bool GetVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetVersion() argument 53 bool GetBootloaderVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetBootloaderVersion() argument 59 bool GetBasebandVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetBasebandVersion() argument 65 bool GetOsVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetOsVersion() argument 71 bool GetVndkVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetVndkVersion() argument 77 bool GetProduct(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetProduct() argument 83 bool GetSerial(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetSerial() argument 89 bool GetSecure(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetSecure() argument 95 bool GetVariant(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetVariant() 116 bool GetBatteryVoltageHelper(FastbootDevice* device, int32_t* battery_voltage) { in GetBatteryVoltageHelper() [all …]
|
D | fastboot_device.cpp | 45 FastbootDevice::FastbootDevice() in FastbootDevice() function in FastbootDevice 87 FastbootDevice::~FastbootDevice() { in ~FastbootDevice() 91 void FastbootDevice::CloseDevice() { in CloseDevice() 95 std::string FastbootDevice::GetCurrentSlot() { in GetCurrentSlot() 111 bool FastbootDevice::WriteStatus(FastbootResult result, const std::string& message) { in WriteStatus() 139 bool FastbootDevice::HandleData(bool read, std::vector<char>* data) { in HandleData() 148 void FastbootDevice::ExecuteCommands() { in ExecuteCommands() 181 bool FastbootDevice::WriteOkay(const std::string& message) { in WriteOkay() 185 bool FastbootDevice::WriteFail(const std::string& message) { in WriteFail() 189 bool FastbootDevice::WriteInfo(const std::string& message) { in WriteInfo()
|
D | utility.h | 67 class FastbootDevice; variable 73 std::string GetSuperSlotSuffix(FastbootDevice* device, const std::string& partition_name); 76 bool LogicalPartitionExists(FastbootDevice* device, const std::string& name, 78 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle); 80 std::vector<std::string> ListPartitions(FastbootDevice* device); 84 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name,
|
D | flashing.h | 22 class FastbootDevice; variable 24 int Flash(FastbootDevice* device, const std::string& partition_name); 25 bool UpdateSuper(FastbootDevice* device, const std::string& super_name, bool wipe);
|
D | commands.cpp | 59 std::function<bool(FastbootDevice*, const std::vector<std::string>&, std::string*)> get; 61 std::function<std::vector<std::vector<std::string>>(FastbootDevice*)> get_all_args; 64 static bool IsSnapshotUpdateInProgress(FastbootDevice* device) { in IsSnapshotUpdateInProgress() 73 static bool IsProtectedPartitionDuringMerge(FastbootDevice* device, const std::string& name) { in IsProtectedPartitionDuringMerge() 82 static void GetAllVars(FastbootDevice* device, const std::string& name, in GetAllVars() 105 bool GetVarHandler(FastbootDevice* device, const std::vector<std::string>& args) { in GetVarHandler() 167 bool EraseHandler(FastbootDevice* device, const std::vector<std::string>& args) { in EraseHandler() 192 bool OemCmdHandler(FastbootDevice* device, const std::vector<std::string>& args) { in OemCmdHandler() 210 bool DownloadHandler(FastbootDevice* device, const std::vector<std::string>& args) { in DownloadHandler() 238 bool SetActiveHandler(FastbootDevice* device, const std::vector<std::string>& args) { in SetActiveHandler() [all …]
|
D | fastboot_device.h | 34 class FastbootDevice { 36 FastbootDevice(); 37 ~FastbootDevice();
|
D | utility.cpp | 52 bool OpenLogicalPartition(FastbootDevice* device, const std::string& partition_name, in OpenLogicalPartition() 80 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle) { in OpenPartition() 123 bool LogicalPartitionExists(FastbootDevice* device, const std::string& name, bool* is_zero_length) { in LogicalPartitionExists() 156 std::vector<std::string> ListPartitions(FastbootDevice* device) { in ListPartitions() 212 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name, in UpdateAllPartitionMetadata() 227 std::string GetSuperSlotSuffix(FastbootDevice* device, const std::string& partition_name) { in GetSuperSlotSuffix()
|
D | main.cpp | 25 FastbootDevice device; in main()
|
D | flashing.cpp | 50 void WipeOverlayfsForPartition(FastbootDevice* device, const std::string& partition_name) { in WipeOverlayfsForPartition() 147 int Flash(FastbootDevice* device, const std::string& partition_name) { in Flash() 171 bool UpdateSuper(FastbootDevice* device, const std::string& super_name, bool wipe) { in UpdateSuper()
|
/system/extras/tests/bootloader/ |
D | bootloadertest.py | 29 cls.fastboot = fastboot.FastbootDevice()
|